/* Layout concept: an editorial counter. A 12-column grid with images
   bleeding off one edge, type set like a menu card, and one paper
   "counter slip" as the single interactive centrepiece. */
:root {
  /* palette taken from the Ossobuco logo: cream line art on warm black */
  --bone: #F2ECE1;        /* page ground */
  --paper: #FEF9EE;       /* logo cream: slip, text on dark */
  --stone: #DDD3C3;       /* personal-touch ground */
  --charcoal: #16120F;    /* logo black: text, dark sections */
  --ink-soft: #5F5850;    /* secondary text */
  --oxblood: #6B2128;     /* accent, used sparingly */
  --olive: #66653F;       /* secondary accent */
  --rule: rgba(22, 18, 15, .16);
  --rule-light: rgba(254, 249, 238, .16);

  --serif: "GFS Didot", "Noto Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", "Helvetica Neue", Arial, sans-serif;
  --brand: "Comfortaa", "Commissioner", "Helvetica Neue", Arial, sans-serif; /* rounded geometric caps, like the logo lettering */

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1380px;
  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 3.6vw, 3rem);
  --step-4: clamp(2.5rem, 5vw, 4.4rem);
  --step-5: clamp(3.1rem, 7.4vw, 7rem);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--bone); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 160px); }
.label {
  display: inline-block;
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.dark .label { color: rgba(237, 232, 224, .62); }
.lead { font-size: var(--step-1); line-height: 1.5; font-weight: 300; max-width: 34ch; }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--charcoal); border-radius: 2px;
  background: var(--charcoal); color: var(--bone);
  font-size: .9rem; font-weight: 500; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--oxblood); border-color: var(--oxblood); }
.btn--ghost { background: transparent; color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--bone); border-color: var(--charcoal); }
.dark .btn { background: var(--bone); color: var(--charcoal); border-color: var(--bone); }
.dark .btn:hover { background: transparent; color: var(--bone); }
.dark .btn--ghost { background: transparent; color: var(--bone); border-color: rgba(254,249,238,.5); }
.dark .btn--ghost:hover { background: var(--bone); color: var(--charcoal); }
.link {
  font-size: .9rem; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color .2s ease;
}
.link:hover { color: var(--oxblood); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* placeholder values the owner still needs to fill */
.todo {
  display: inline-block; padding: 1px 8px;
  border: 1px dashed currentColor; border-radius: 2px;
  font-size: .82em; opacity: .7; font-family: var(--sans); letter-spacing: 0;
}

/* ---------- Photo frames ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--tone, #9c8471); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--ph::before {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.photo--ph::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(248,245,240,.28); pointer-events: none;
}
.photo__brief {
  position: absolute; left: 26px; right: 26px; bottom: 22px;
  color: rgba(248,245,240,.88); font-size: .74rem; line-height: 1.45; max-width: 38ch;
}
.photo__brief b { display: block; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .64rem; opacity: .7; margin-bottom: 4px; }
.photo--small .photo__brief { left: 18px; right: 18px; bottom: 14px; font-size: .68rem; }
.photo--small::after { inset: 8px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease;
}
.header.is-scrolled { border-bottom-color: var(--rule); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 84px; transition: min-height .3s ease; }
.header.is-scrolled .header__in { min-height: 66px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.logo__pre { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); margin-bottom: 5px; }
.logo__name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .01em; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav a { font-size: .86rem; text-decoration: none; padding-block: 6px; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { font-weight: 500; }
.drawer nav a[aria-current="page"] { color: var(--oxblood); }
.header__tools { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; align-items: center; font-size: .82rem; font-weight: 500; letter-spacing: .06em; }
.lang button { background: none; border: 0; padding: 8px 6px; cursor: pointer; color: var(--ink-soft); }
.lang button[aria-pressed="true"] { color: var(--charcoal); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lang span { color: var(--rule); color: rgba(22,18,15,.3); }
.dark .lang button { color: rgba(254,249,238,.55); }
.dark .lang button[aria-pressed="true"] { color: var(--bone); }
.dark .lang span { color: rgba(254,249,238,.3); }
.header .btn { min-height: 42px; padding: 0 18px; font-size: .84rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); border-radius: 2px; min-height: 40px; padding: 0 14px; font-size: .84rem; cursor: pointer; }

.drawer { position: fixed; inset: 0; z-index: 60; background: var(--bone); padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gutter) 40px; display: flex; flex-direction: column; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.drawer nav { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--rule); }
.drawer nav a { font-family: var(--serif); font-size: 2rem; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(24px, 4vw, 56px); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.hero__text { grid-column: 1 / span 6; padding-bottom: clamp(24px, 4vw, 64px); }
.hero h1 { font-size: var(--step-5); line-height: .98; }
.hero h1 .a { display: block; }
.hero h1 .b { display: block; font-size: .48em; line-height: 1.12; margin-top: .45em; color: var(--ink-soft); max-width: 15ch; }
.hero__body { margin-top: 36px; max-width: 46ch; font-size: 1.08rem; }
.hero .btn-row { margin-top: 36px; }
.hero__detail { margin-top: clamp(40px, 6vw, 88px); font-size: .8rem; letter-spacing: .08em; color: var(--ink-soft); }
.hero__media { grid-column: 7 / span 6; margin-right: calc(-1 * var(--gutter)); }
.hero__media .photo { aspect-ratio: 4 / 5; max-height: 86vh; width: 100%; }
@media (min-width: 1380px) { .hero__media { margin-right: calc((var(--max) - 100vw) / 2 - var(--gutter)); } }

/* page-load sequence: the only ambient motion on the page */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .a, .hero h1 .b, .hero__body, .hero .btn-row { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 .b { animation-delay: .12s; }
  .hero__body { animation-delay: .24s; }
  .hero .btn-row { animation-delay: .34s; }
  .hero__media .photo { animation: unveil 1.3s cubic-bezier(.6,0,.2,1) both; }
}
@keyframes rise { from { opacity: .001; transform: translateY(18px); } }
@keyframes unveil { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.intro__media { grid-column: 1 / span 5; }
.intro__media .photo { aspect-ratio: 3 / 4; }
.intro__text { grid-column: 7 / span 6; align-self: center; }
.intro h2 { font-size: var(--step-4); line-height: 1.04; margin-top: 18px; max-width: 13ch; }
.intro__copy { margin-top: 36px; display: grid; gap: 20px; max-width: 54ch; }
.intro__quote { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; white-space: pre-line; color: var(--oxblood); }
.services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: clamp(24px, 4vw, 56px); }
.service { padding: 28px 28px 0 0; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--rule); }
.service h3 { font-size: var(--step-1); }
.service p { margin-top: 6px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Selection ---------- */
.selection { border-top: 1px solid var(--rule); }
.sel__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sel__head > div { grid-column: 1 / span 7; }
.sel__head h2 { font-size: var(--step-4); line-height: 1; margin-top: 16px; }
.sel__head p { grid-column: 9 / span 4; color: var(--ink-soft); max-width: 36ch; }
.sel__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.sel__media { grid-column: 1 / span 5; position: sticky; top: 100px; align-self: start; }
.sel__media .photo { aspect-ratio: 4 / 5; transition: background-color .5s ease; }
.sel__list { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cat {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px;
  padding: 26px 0 28px; border-bottom: 1px solid var(--rule); cursor: default;
}
.cat h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; transition: color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.cat p { color: var(--ink-soft); max-width: 46ch; }
.cat small { font-size: .82rem; color: var(--olive); }
.cat small b { font-weight: 500; }
.cat.is-active h3 { color: var(--oxblood); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .cat.is-active h3 { transform: translateX(10px); } }
.cat__thumb { display: none; }

/* ---------- Personal touch ---------- */
.personal { background: var(--stone); }
.per__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.per__media { grid-column: 1 / span 5; margin-left: calc(-1 * var(--gutter)); }
.per__media .photo { aspect-ratio: 4 / 5; height: 100%; min-height: 520px; }
.per__text { grid-column: 7 / span 6; }
.per__text h2 { font-size: var(--step-4); line-height: 1.04; margin-top: 18px; }
.per__text h2 .b { display: block; color: var(--oxblood); margin-top: .2em; }
.per__body { margin-top: 32px; max-width: 50ch; }
.per__factors { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.per__factors li { border: 1px solid rgba(22,18,15,.28); padding: 6px 12px; font-size: .86rem; border-radius: 2px; }

.slip {
  grid-column: 3 / span 10;
  position: relative; background: var(--paper); color: var(--charcoal);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 64px) clamp(28px, 4vw, 48px);
  box-shadow: 0 1px 0 rgba(22,18,15,.06), 0 18px 40px -28px rgba(22,18,15,.45);
  transform: rotate(-.35deg);
}
.slip::before { /* perforated top edge, like a counter ticket */
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--stone) 4px, transparent 4.5px) repeat-x;
  background-size: 18px 14px;
}
.slip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; border-bottom: 1px dashed rgba(22,18,15,.3); }
.slip__head h3 { font-size: var(--step-2); }
.slip__head p { font-size: .9rem; color: var(--ink-soft); }
.slip__sentence { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.55; margin-top: 26px; }
.slip__sentence select {
  font-family: var(--serif); font-size: inherit; line-height: 1.2;
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  border-bottom: 1.5px solid var(--oxblood); color: var(--oxblood); border-radius: 0;
  padding: 0 1.1em 0 .1em; margin: 0 .12em; cursor: pointer; max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B2128' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .1em center; background-size: .45em auto;
}
.slip__answer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; margin-top: 34px; padding-top: 26px; border-top: 1px dashed rgba(22,18,15,.3); }
.slip__answer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.slip__cuts { list-style: none; margin: 0; padding: 0; }
.slip__cuts li { font-family: var(--serif); font-size: var(--step-1); padding: 8px 0; border-bottom: 1px solid var(--rule); }
.slip__qty { font-family: var(--serif); font-size: var(--step-2); line-height: 1.15; }
.slip__qty small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.slip__notes { margin-top: 18px; display: grid; gap: 8px; font-size: .92rem; }
.slip__foot { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.slip__foot p { font-size: .82rem; color: var(--ink-soft); max-width: 52ch; }
@media (prefers-reduced-motion: no-preference) { .slip__answer.is-fresh .slip__cuts li { animation: rise .5s ease both; } .slip__answer.is-fresh .slip__cuts li:nth-child(2) { animation-delay: .05s; } .slip__answer.is-fresh .slip__cuts li:nth-child(3) { animation-delay: .1s; } }

/* ---------- Craft (dark) ---------- */
.dark { background: var(--charcoal); color: var(--paper); }
.craft__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: end; }
.craft__head h2 { grid-column: 1 / span 8; font-size: clamp(3rem, 8vw, 7.4rem); line-height: .95; margin-top: 18px; }
.craft__head p { grid-column: 9 / span 4; color: rgba(254,249,238,.75); max-width: 40ch; }
.craft__list { list-style: none; padding: 0; margin: clamp(56px, 8vw, 110px) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.craft__item .photo { aspect-ratio: 3 / 4; }
.craft__item:nth-child(even) { margin-top: 64px; }
.craft__item h3 { font-size: var(--step-1); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule-light); }
.craft__item p { margin-top: 8px; font-size: .92rem; color: rgba(254,249,238,.68); }

/* ---------- Kitchen ---------- */
.kit__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
.kit__head h2 { font-size: var(--step-4); line-height: 1.02; margin-top: 16px; max-width: 14ch; }
.kit__head p { color: var(--ink-soft); max-width: 34ch; }
.kit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px; }
.kcard { min-width: 0; }
.kcard:nth-child(1) { grid-column: 1 / span 6; }
.kcard:nth-child(2) { grid-column: 8 / span 5; margin-top: 120px; }
.kcard:nth-child(3) { grid-column: 2 / span 5; }
.kcard:nth-child(4) { grid-column: 7 / span 6; margin-top: 80px; }
.kcard .photo { aspect-ratio: 5 / 4; }
.kcard:nth-child(2) .photo, .kcard:nth-child(3) .photo { aspect-ratio: 4 / 5; }
.kcard h3 { font-size: var(--step-3); margin-top: 24px; line-height: 1.05; }
.kcard > p { margin-top: 10px; color: var(--ink-soft); max-width: 46ch; }
.kcard details { margin-top: 18px; border-top: 1px solid var(--rule); }
.kcard summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: .9rem; font-weight: 500; }
.kcard summary::-webkit-details-marker { display: none; }
.kcard summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; transition: transform .3s ease; }
.kcard details[open] summary::after { transform: rotate(45deg); }
.kcard__more { padding-bottom: 8px; display: grid; gap: 14px; }
.kcard__more .cuts { font-family: var(--serif); font-size: var(--step-1); line-height: 1.35; }
.kcard__more .tip { font-size: .92rem; padding-left: 14px; border-left: 2px solid var(--olive); }
.kcard__more .tip b { display: block; font-weight: 500; font-size: .76rem; color: var(--olive); margin-bottom: 2px; }

/* ---------- Tips ---------- */
.tips { border-top: 1px solid var(--rule); }
.tips__head h2 { font-size: var(--step-4); line-height: 1.02; margin-top: 16px; max-width: 16ch; }
.tips__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.tip-feature { grid-column: 1 / span 6; }
.tip-feature .photo { aspect-ratio: 4 / 3; }
.tip-list { grid-column: 8 / span 5; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.article-card { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; }
.article-card:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 4px; }
.tip-feature .article-card h3 { font-size: var(--step-3); line-height: 1.08; margin-top: 26px; }
.tip-feature .article-card p { margin-top: 12px; color: var(--ink-soft); max-width: 48ch; }
.tip-list li { border-bottom: 1px solid var(--rule); }
.tip-list .article-card { padding: 26px 0; display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 20px; align-items: start; }
.tip-list h3 { font-size: 1.55rem; line-height: 1.15; }
.tip-list p { margin-top: 8px; font-size: .92rem; color: var(--ink-soft); }
.tip-list .photo { aspect-ratio: 1; }
.tip-list .photo .photo__brief { display: none; }
.meta { margin-top: 14px; font-size: .8rem; color: var(--olive); display: flex; gap: 14px; }
.meta span:first-child { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.article-card:hover h3 { color: var(--oxblood); }
.article-card h3 { transition: color .25s ease; }

.reader { border: 0; padding: 0; max-width: min(720px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 48px); background: var(--paper); color: var(--charcoal); }
.reader::backdrop { background: rgba(22,18,15,.55); }
.reader[open] { animation: rise .35s ease both; }
.reader__in { padding: clamp(28px, 5vw, 56px); }
.reader__close { position: sticky; top: 0; float: right; margin: 14px 14px 0 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; min-height: 40px; padding: 0 14px; cursor: pointer; font-size: .84rem; }
.reader h2 { font-size: var(--step-3); line-height: 1.08; margin-top: 14px; }
.reader .lede { margin-top: 16px; font-size: var(--step-1); line-height: 1.45; font-weight: 300; }
.reader .body { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; gap: 18px; max-width: 60ch; }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--paper); }
.phil h2 { font-size: var(--step-4); line-height: 1.06; margin-top: 18px; max-width: 18ch; }
.phil__list { list-style: none; padding: 0; margin: clamp(56px, 7vw, 100px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.phil__list li { border-top: 1px solid var(--charcoal); padding-top: 22px; }
.phil__list h3 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1; }
.phil__list p { margin-top: 14px; color: var(--ink-soft); max-width: 30ch; }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.visit__main { grid-column: 1 / span 6; }
.visit__main h2 { font-size: var(--step-4); line-height: 1.04; margin-top: 18px; }
.visit__main h2 .b { display: block; color: var(--ink-soft); margin-top: .15em; }
.visit__body { margin-top: 26px; max-width: 46ch; }
.address { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; font-style: normal; }
.address span { display: block; }
.address span:last-child { color: var(--ink-soft); }
.visit .btn-row { margin-top: 32px; }
.visit__side { grid-column: 8 / span 5; display: grid; gap: 40px; align-content: start; }
.map { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; text-decoration: none; }
.map svg { width: 100%; height: 100%; display: block; }
.map__cta { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 10px 14px; font-size: .84rem; font-weight: 500; border-radius: 2px; transition: background .25s ease, color .25s ease; }
.map:hover .map__cta { background: var(--charcoal); color: var(--bone); }
.info h3 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hours tr:first-child td { border-top: 1px solid var(--rule); }
.hours td:last-child { text-align: right; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.contact-list li > span:first-child { color: var(--ink-soft); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--rule); }

/* ---------- Gallery ---------- */
.gallery { border-top: 1px solid var(--rule); }
.gal__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.gal__head h2 { font-size: var(--step-4); line-height: 1.02; margin-top: 16px; }
.gal__head p { color: var(--ink-soft); margin-top: 12px; }
.gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 240px); gap: 12px; }
.gal__grid .photo { height: 100%; }
.gal__grid .g1 { grid-row: span 2; }
.gal__grid .g4 { grid-column: span 2; }
.gal__grid .g6 { grid-row: span 2; }
.gal__grid .g7 { grid-column: span 2; }

/* ---------- Finale ---------- */
.finale { text-align: left; padding-block: clamp(100px, 14vw, 200px); }
.finale h2 { font-size: clamp(3.2rem, 10vw, 9.5rem); line-height: .96; }
.finale h2 span { display: block; }
.finale h2 span:nth-child(2) { padding-left: 1.2em; }
.finale h2 span:nth-child(3) { padding-left: 2.4em; color: var(--oxblood); }
.finale .btn-row { margin-top: 56px; }

/* ---------- Footer ---------- */
.footer { padding-block: 72px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule-light); }
.footer .logo__pre { color: rgba(254,249,238,.55); }
.footer__brand { grid-column: 1 / span 4; }
.footer__brand address { margin-top: 20px; font-style: normal; color: rgba(254,249,238,.7); font-size: .94rem; }
.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 6 / span 2; }
.footer__col h3 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(254,249,238,.5); margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .8rem; color: rgba(254,249,238,.55); }

/* ---------- Inner page header ---------- */
.phead { padding-top: clamp(48px, 7vw, 110px); padding-bottom: clamp(48px, 6vw, 96px); border-bottom: 1px solid var(--rule); }
.phead--photo { padding-bottom: 0; border-bottom: 0; }
.phead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: end; }
.phead__text { grid-column: 1 / span 8; }
.phead--photo .phead__text { grid-column: 1 / span 6; padding-bottom: clamp(24px, 4vw, 64px); }
.phead h1 { font-size: var(--step-5); line-height: 1; margin-top: 20px; max-width: 14ch; }
.phead h1 .b { display: block; font-size: .5em; line-height: 1.15; margin-top: .4em; color: var(--ink-soft); }
.phead__lead { margin-top: 32px; font-size: var(--step-1); line-height: 1.5; font-weight: 300; max-width: 44ch; }
.phead__media { grid-column: 7 / span 6; margin-right: calc(-1 * var(--gutter)); }
.phead__media .photo { aspect-ratio: 5 / 4; }
@media (prefers-reduced-motion: no-preference) {
  .phead h1, .phead__lead { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .phead__lead { animation-delay: .12s; }
}

/* ---------- Home: short blocks ---------- */
.intro--teaser .intro__media .photo { aspect-ratio: 4 / 5; }
.intro__short { margin-top: 28px; font-size: var(--step-1); line-height: 1.5; font-weight: 300; max-width: 40ch; }
.intro--teaser .intro__quote { margin-bottom: 32px; }

.seltease { border-top: 1px solid var(--rule); padding-block: clamp(64px, 8vw, 120px); }
.seltease__names { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: .05em .5em; font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: 1.12; }
.seltease__names li:not(:last-child)::after { content: ","; color: var(--ink-soft); }
.seltease__names a { text-decoration: none; transition: color .25s ease; }
.seltease__names a:hover { color: var(--oxblood); }
.seltease__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; }
.seltease__foot p { color: var(--ink-soft); max-width: 52ch; }

.visit--compact .visit__main { align-self: start; }
.visit--compact .visit__side { gap: 28px; }
.visit--compact .address { margin-top: 0; padding-top: 0; border-top: 0; }
.visit--compact .btn-row { margin-top: 0; }

.more { border-top: 1px solid var(--rule); }
.more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more__list li + li { border-left: 1px solid var(--rule); }
.more__list a { display: grid; gap: 10px; padding: clamp(32px, 4vw, 52px) 28px; text-decoration: none; height: 100%; transition: background-color .25s ease; }
.more__list li:first-child a { padding-left: 0; }
.more__list a:hover { background: var(--paper); }
.more__name { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; }
.more__name::after { content: ""; display: block; width: 28px; height: 1px; background: var(--oxblood); margin-top: 14px; transition: width .3s ease; }
.more__list a:hover .more__name::after { width: 56px; }
.more__text { color: var(--ink-soft); font-size: .95rem; max-width: 34ch; }

/* ---------- Help band (inner pages) ---------- */
.band { background: var(--stone); padding-block: clamp(48px, 6vw, 80px); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band h2 { font-size: var(--step-3); line-height: 1.1; }
.band p { margin-top: 8px; color: var(--ink-soft); max-width: 50ch; }

/* ---------- Inner page sections ---------- */
.selection--page { border-top: 0; }
.kitchen--page .kcard__title { font-size: var(--step-3); margin-top: 24px; line-height: 1.05; }
.kitchen--page .kcard > p { margin-top: 10px; color: var(--ink-soft); max-width: 46ch; }
.kitchen--page .kcard__more { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.kcard__more h3 { margin-top: 0; line-height: 1.4; font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.tips--page { border-top: 0; }
.tips__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.tips__toc { grid-column: 1 / span 3; position: sticky; top: 100px; align-self: start; }
.tips__toc h2 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.tips__toc ol { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.tips__toc li { border-bottom: 1px solid var(--rule); }
.tips__toc a { display: block; padding: 12px 0; text-decoration: none; font-size: .92rem; line-height: 1.4; }
.tips__toc a:hover { color: var(--oxblood); }
.tips__articles { grid-column: 5 / span 8; display: grid; gap: clamp(72px, 9vw, 128px); }
.tip-article .photo { aspect-ratio: 16 / 9; }
.tip-article .meta { margin-top: 22px; }
.tip-article .meta span:first-child { text-decoration: none; font-weight: 400; }
.tip-article h2 { font-size: var(--step-4); line-height: 1.04; margin-top: 10px; max-width: 18ch; }
.tip-article .lede { margin-top: 18px; font-size: var(--step-1); line-height: 1.45; font-weight: 300; max-width: 46ch; }
.tip-article .body { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; gap: 18px; max-width: 62ch; }

.visit--page .address { margin-top: 0; padding-top: 0; border-top: 0; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.info--contact { margin-top: 56px; }
.copy-btn { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 1px; margin-left: 8px; cursor: pointer; font-size: .86rem; }
.copy-btn:hover { color: var(--oxblood); }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .craft__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .craft__item:nth-child(even) { margin-top: 0; }
}
@media (max-width: 860px) {
  .header__tools .btn { display: none; }
  .header__in { min-height: 68px; gap: 14px; }
  .logo__name { font-size: 1.35rem; }

  .hero__grid, .intro__grid, .sel__head, .sel__grid, .per__grid, .craft__head, .kit__grid, .tips__grid, .visit__grid, .footer__grid, .phead__grid, .tips__layout { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > *, .intro__grid > *, .sel__head > *, .sel__grid > *, .per__grid > *, .craft__head > *, .kit__grid > *, .tips__grid > *, .visit__grid > *, .footer__grid > *, .phead__grid > *, .tips__layout > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .phead__media { margin-inline: calc(-1 * var(--gutter)) !important; }
  .phead--photo .phead__text { padding-bottom: 0; }
  .tips__toc { position: static; margin-bottom: 56px; }
  .more__list { grid-template-columns: minmax(0, 1fr); }
  .more__list li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .more__list a, .more__list li:first-child a { padding: 28px 0; }
  .more__list a:hover { background: transparent; }
  .hero__text { padding-bottom: 36px; }
  .hero__media { margin-inline: calc(-1 * var(--gutter)) !important; }
  .hero__media .photo { aspect-ratio: 4 / 5; max-height: none; }
  .hero__detail { margin-top: 36px; }

  .intro__media { margin-right: 18% ; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service, .service + .service { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); }

  .sel__head p { margin-top: 16px; }
  .sel__media { display: none; }
  .cat { grid-template-columns: minmax(0, 1fr) 88px; column-gap: 18px; }
  .cat > div { grid-column: 1; }
  .cat__thumb { display: block; grid-column: 2; grid-row: 1 / span 3; }
  .cat__thumb .photo { aspect-ratio: 1; }
  .cat__thumb .photo__brief { display: none; }

  .per__media { margin-inline: calc(-1 * var(--gutter)) !important; }
  .per__media .photo { min-height: 0; aspect-ratio: 5 / 4; }
  .slip { transform: none; }
  .slip__answer { grid-template-columns: minmax(0, 1fr); }

  .craft__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 8px; }
  .craft__item { flex: 0 0 72%; scroll-snap-align: start; }

  .kit__grid { row-gap: 56px; }
  .kcard .photo, .kcard:nth-child(2) .photo, .kcard:nth-child(3) .photo { aspect-ratio: 4 / 3; }

  .tip-list { margin-top: 40px; }
  .tip-list .article-card { grid-template-columns: minmax(0, 1fr) 72px; }

  .phil__list { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 8px; }
  .gal__grid .g4, .gal__grid .g7 { grid-column: span 2; }
  .gal__grid .g1, .gal__grid .g6 { grid-row: span 1; }
  .gal__grid .photo__brief { display: none; }

  .finale h2 span:nth-child(2) { padding-left: .6em; }
  .finale h2 span:nth-child(3) { padding-left: 1.2em; }

  .footer__col, .footer__col:first-of-type { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--rule); border-top: 1px solid var(--rule);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(110%); transition: transform .35s ease;
  }
  .actionbar.is-visible { transform: none; }
  .actionbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--bone); text-decoration: none; font-size: .86rem; font-weight: 500; }
  .actionbar a:last-child { background: var(--charcoal); color: var(--bone); }
}
@media (max-width: 420px) {
  .btn-row .btn { flex: 1 1 100%; }
  .slip__sentence { font-size: 1.38rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* =====================================================================
   OSSOBUCO BRAND LAYER
   Monoline, rounded, wide-tracked caps and cream-on-black, from the logo.
   ===================================================================== */
.label, .btn, .nav a, .menu-btn, .lang, .meta, .slip__answer h4, .info h3, .footer__col h3,
.tips__toc h2, .kcard__more h3, .photo__brief b, .map__cta, .hero__detail {
  font-family: var(--brand);
}
.label { font-weight: 600; font-size: .68rem; letter-spacing: .22em; }
.btn { font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; min-height: 50px; padding: 0 24px; }
.link { font-family: var(--brand); font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.hero__detail { text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 500; }

/* header: logo on the brand black */
.header { background: var(--charcoal); border-bottom-color: transparent; }
.header.is-scrolled { border-bottom-color: var(--rule-light); }
.header__in { min-height: 96px; }
.header.is-scrolled .header__in { min-height: 72px; }
.logo { margin-right: auto; display: block; }
.logo img { height: 72px; width: auto; transition: height .3s ease; }
.header.is-scrolled .logo img { height: 54px; }
.nav a { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(254,249,238,.78); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { font-weight: 600; }
.header .btn { min-height: 42px; padding: 0 18px; font-size: .68rem; }
.dark .menu-btn { border-color: var(--rule-light); color: var(--paper); }
.menu-btn { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lang { font-size: .74rem; font-weight: 600; letter-spacing: .1em; }

.drawer .logo img { height: 56px; }
.drawer nav { border-top-color: var(--rule-light); }
.drawer nav a { border-bottom-color: var(--rule-light); }
.drawer nav a[aria-current="page"] { color: var(--paper); opacity: .6; }

/* hero sits on black, continuing the header */
.hero { padding-top: clamp(16px, 3vw, 40px); }
.hero h1 .b { color: rgba(254,249,238,.6); }
.hero__body { color: rgba(254,249,238,.86); }
.hero__detail { color: rgba(254,249,238,.55); }
.hero__text { padding-bottom: clamp(40px, 6vw, 96px); }

/* footer logo */
.footer .logo img { height: 132px; }

/* counter slip carries the shop's stamp */
.slip__stamp { position: absolute; top: 22px; right: 26px; width: 96px; height: auto; opacity: .13; transform: rotate(9deg); pointer-events: none; }
.slip__head { padding-right: 110px; }

/* the logo's vertical lines, used once above the closing statement */
.lines { display: flex; align-items: flex-end; gap: 9px; margin-bottom: 40px; }
.lines i { display: block; width: 2px; border-radius: 2px; background: var(--charcoal); }

@media (max-width: 860px) {
  .header__in { min-height: 76px; }
  .logo img { height: 58px; }
  .header.is-scrolled .header__in { min-height: 64px; }
  .header.is-scrolled .logo img { height: 46px; }
  .slip__stamp { width: 64px; top: 16px; right: 16px; }
  .slip__head { padding-right: 70px; }
  .hero__text { padding-bottom: 36px; }
}
.actionbar a { font-family: var(--brand); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) { .logo img { height: 62px; } }
