/* Solomeicuks — editorial one-pager. Tokens first; every colour is a variable. */

:root {
  --paper: #f3eee5;
  --paper-deep: #e9e1d2;
  --ink: #1c1a16;
  --ink-soft: #3b372f;
  --muted: #6c655a;
  --line: #d5cab7;
  --accent: #b93f27;
  --on-accent: #fffaf3;
  --night: #1a1814;
  --night-text: #f3eee5;
  --night-muted: #b3a998;
  --night-line: #3a352d;

  --serif: "Noto Serif Display", "Iowan Old Style", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, blockquote, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }

/* Shared pieces */

.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font: 500 14px/1.3 var(--sans);
  letter-spacing: 0.01em;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.lead { max-width: 34em; color: var(--ink-soft); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.button:hover { background: #a3361f; }
.button:active { transform: scale(0.97); }
.button.small { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.button.light { background: var(--night-text); color: var(--night); }
.button.light:hover { background: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: 500 16px/1.4 var(--sans);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  cursor: pointer;
}
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 160px) var(--gutter) 0; }
.section-head h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; }
.section-head h2 em, .hero h1 em { color: var(--accent); }
.section-head .lead { margin-top: 24px; }

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header);
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.wordmark { display: flex; align-items: baseline; gap: 10px; margin-right: auto; font: 400 24px/1 var(--serif); letter-spacing: -0.01em; text-decoration: none; }
.wordmark span { color: var(--muted); font: 400 13px/1 var(--sans); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav > a { text-decoration: none; position: relative; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav > a:hover::after { transform: scaleX(1); }
.langs { display: flex; gap: 2px; padding-left: 20px; border-left: 1px solid var(--line); }
.langs a { padding: 4px 6px; color: var(--muted); font-size: 13px; text-decoration: none; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; }
.menu-toggle { display: none; }

@media (max-width: 959px) {
  .menu-toggle {
    position: relative;
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-toggle::before, .menu-toggle::after {
    content: "";
    position: absolute;
    left: 11px;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s var(--ease);
  }
  .menu-toggle::before { top: 18px; }
  .menu-toggle::after { top: 25px; }
  .menu-toggle[aria-expanded="true"]::before { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"]::after { transform: translateY(-3.5px) rotate(-45deg); }
  .header { gap: 16px; }
  .nav {
    position: fixed;
    inset: var(--header) 0 auto;
    height: calc(100svh - var(--header));
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav > a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font: 300 34px/1.1 var(--serif); }
  .nav > a::after { display: none; }
  .langs { margin-top: 28px; padding-left: 0; border-left: 0; gap: 8px; }
  .langs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
  .langs a[aria-current] { border-color: var(--ink); }
}
@media (max-width: 420px) {
  .wordmark { font-size: 21px; }
  .wordmark span { display: none; }
  .header .button.small { min-height: 38px; padding: 8px 14px; font-size: 14px; }
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  max-width: var(--max);
  min-height: calc(100svh - var(--header));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(40px, 6vw, 80px);
}
.hero h1 { font-size: clamp(48px, 7.4vw, 116px); line-height: 0.98; letter-spacing: -0.03em; }
.eyebrow { margin-bottom: 28px; color: var(--muted); font-size: 15px; }
.hero .lead { margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }
.hero-photo { align-self: stretch; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 40% 50%; }

@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; }
  .hero h1 { font-size: clamp(36px, 12vw, 64px); }
  .section-head h2, .events-text h2 { font-size: clamp(34px, 10.5vw, 56px); }
  .hero-photo img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Services index */

.services { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) 0; }
.index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  text-decoration: none;
}
.index-n { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.index-title { font: 300 clamp(30px, 3.4vw, 48px)/1.05 var(--serif); letter-spacing: -0.02em; transition: color 0.25s var(--ease), transform 0.35s var(--ease); }
.index-text { color: var(--ink-soft); }
.index-price { font-size: 15px; white-space: nowrap; text-align: right; }
.index-img {
  position: absolute;
  right: 18%;
  top: 50%;
  width: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0;
  transform: translateY(-50%) rotate(-3deg) scale(0.92);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (min-width: 960px) {
  .index a:hover .index-title { color: var(--accent); transform: translateX(8px); }
  .index a:hover .index-img { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
}
@media (max-width: 959px) {
  .index a { grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 22px 0; }
  .index-text, .index-price { grid-column: 2; text-align: left; }
  .index-price { color: var(--accent); font-weight: 500; }
  .index-img { display: none; }
}

/* Menus */

.tabs { display: flex; gap: 8px; margin: 48px 0 24px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tabs button span { color: var(--muted); font-size: 14px; font-weight: 400; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tabs button[aria-selected="true"] span { color: var(--night-muted); }
.menu-panels { display: grid; gap: 40px; margin-top: 48px; }
.js .menu-panels { margin-top: 0; }
.js .menu[data-inactive] { display: none; }
.menu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--night); color: var(--night-text); }
.menu-photo { overflow: hidden; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-sheet { padding: clamp(28px, 4vw, 64px); }
.menu-sheet header { padding-bottom: 28px; border-bottom: 1px solid var(--night-line); }
.menu-sheet h3 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.menu-sheet header p { margin-top: 10px; color: var(--night-muted); }
.menu-note { margin-top: 24px; color: var(--night-muted); font-size: 15px; }
.courses { display: grid; gap: 28px; margin-top: 28px; }
.course h4, .supplements h4 { margin-bottom: 10px; color: #e08a6f; font: 500 13px/1.3 var(--sans); letter-spacing: 0.02em; }
.dish { display: grid; gap: 2px; padding: 8px 0; }
.dish strong { font: 400 clamp(21px, 1.8vw, 25px)/1.2 var(--serif); }
.dish span { color: var(--night-muted); font-size: 15px; }
.supplements { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--night-line); }
.supplements ul { margin: 0; padding: 0; list-style: none; }
.supplements li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.menu-terms { display: grid; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--night-line); }
.menu-price { color: var(--night-muted); }
.menu-price strong { margin-right: 6px; color: var(--night-text); font: 300 52px/1 var(--serif); letter-spacing: -0.02em; }
.menu-facts { color: var(--night-muted); font-size: 15px; line-height: 1.7; }
.menu-terms .button { justify-self: start; }
.aside { margin-top: 32px; color: var(--ink-soft); }

@media (min-width: 1100px) {
  .menu .courses:has(.course:nth-child(3) .dish:nth-of-type(2)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 959px) {
  .menu { grid-template-columns: 1fr; }
  .menu-photo img { aspect-ratio: 16 / 10; }
  .tabs { mask-image: linear-gradient(to right, #000 85%, transparent); }
}

/* Personal chef */

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.tall-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.personal > .label { margin-top: clamp(64px, 8vw, 112px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { padding-top: 20px; border-top: 1px solid var(--ink); }
.steps span { display: block; margin-bottom: 28px; color: var(--accent); font: 300 56px/1 var(--serif); }
.steps h4 { margin-bottom: 8px; font: 500 18px/1.3 var(--sans); }
.steps p { color: var(--ink-soft); font-size: 16px; }
.personal-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 112px); }
.for { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.for dt { margin-bottom: 4px; font: 400 24px/1.2 var(--serif); }
.for dd { color: var(--ink-soft); font-size: 16px; }
.price-card { display: grid; gap: 16px; align-content: start; padding: clamp(28px, 3vw, 44px); background: var(--paper-deep); }
.price-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; font: 300 clamp(64px, 7vw, 96px)/1 var(--serif); letter-spacing: -0.03em; }
.price-big span { color: var(--muted); font: 400 16px/1.3 var(--sans); letter-spacing: 0; }
.price-card ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 15px; }
.price-card li { padding: 8px 0; border-top: 1px solid var(--line); }
.price-card .button { justify-self: start; margin-top: 8px; }

@media (max-width: 959px) {
  .split, .personal-foot { grid-template-columns: 1fr; }
  .tall-photo img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .steps span { margin-bottom: 16px; font-size: 44px; }
}
@media (max-width: 560px) {
  .steps, .for { grid-template-columns: 1fr; }
}

/* Events */

.events { padding-left: 0; padding-right: 0; max-width: none; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.events-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 6vw, 96px); max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 0; }
.events-text .label { grid-column: 1 / -1; }
.events-text h2 { grid-row: span 3; font-size: clamp(40px, 5vw, 72px); line-height: 1.02; }
.events-text h2 em { color: var(--accent); }
.events-price { margin: 20px 0 24px; font: 400 24px/1.2 var(--serif); }
.events-text .button { justify-self: start; }
@media (max-width: 959px) {
  .wide-photo img { aspect-ratio: 4 / 3; }
  .events-text { grid-template-columns: 1fr; }
  .events-text .lead { margin-top: 24px; }
}

/* About */

.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about blockquote p { font: 300 clamp(36px, 4.6vw, 68px)/1.05 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.about blockquote p::before { content: "“"; margin-left: -0.45em; color: var(--accent); }
.about blockquote p::after { content: "”"; color: var(--accent); }
.about-text { max-width: 34em; margin-top: 32px; color: var(--ink-soft); font-size: 18px; }
.signature { margin-top: 32px; font: 400 26px/1.2 var(--serif); }
.signature span { display: block; margin-top: 4px; color: var(--muted); font: 400 15px/1.4 var(--sans); }
@media (max-width: 959px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about blockquote p::before { margin-left: 0; }
}

/* Booking */

.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 112px); padding-bottom: clamp(80px, 10vw, 140px); }
.book .form { grid-column: 2; grid-row: 1 / span 2; }
.book .direct { grid-column: 1; grid-row: 2; align-self: end; }
.form { display: grid; gap: 24px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.choices legend { width: 100%; margin-bottom: 12px; padding: 0; color: var(--muted); font-size: 14px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 18px/1.4 var(--sans);
  appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1a16' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; }
.field textarea { resize: vertical; }
.field :focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.note { color: var(--muted); font-size: 14px; }
.direct ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font: 400 clamp(20px, 2vw, 28px)/1.3 var(--serif); overflow-wrap: anywhere; }
.direct a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.direct a:hover { background-size: 100% 1px; }
@media (max-width: 959px) {
  .book { grid-template-columns: minmax(0, 1fr); }
  .book .form, .book .direct { grid-column: auto; grid-row: auto; }
}

/* Footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--night);
  color: var(--night-muted);
  font-size: 14px;
}
.footer-mark { flex-basis: 100%; margin-bottom: 24px; color: var(--night-text); font: 300 clamp(44px, 15.5vw, 220px)/0.9 var(--serif); letter-spacing: -0.04em; }

/* Motion: reveal on scroll, only with JavaScript and when motion is welcome */

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.hero-photo img { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* The smallest phones: the hero's own button takes over from the header one. */
@media (max-width: 359px) {
  .header .button.small { display: none; }
}
@media (max-width: 420px) {
  .about blockquote p { font-size: clamp(28px, 9vw, 36px); hyphens: auto; }
  .field-row { grid-template-columns: 1fr; }
}

.not-found { min-height: 100svh; padding-top: 18vh; }
.not-found h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1; }
.not-found .lead { margin-top: 28px; }
