/* ==========================================================================
   DOSCH — styles
   Brand colours and type are set once, right here.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0;
}

:root {
  --paper: #F2EEE6;      /* warm off-white */
  --ink: #121212;        /* nearly black */
  --pink: #FF2E8B;       /* DOSCH magenta — use sparingly */
  --steel: #A6A9A7;      /* stainless steel */
  --warm: #8A7B6A;       /* warm neutral for small text */
  --line: rgba(18,18,18,.16);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;          /* contemporary DOSCH */
  --serif: "Instrument Serif", "Didot", Georgia, serif;           /* classic café & printed-menu accent */
  --g: clamp(16px, 4vw, 56px);               /* side margin */
  --space: clamp(96px, 16vw, 240px);         /* space between sections */
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
::selection { background: var(--pink); color: var(--ink); }
[hidden] { display: none !important; }
.vh, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.kicker, .nav, .popup, .btn, .field > span, .foot__legal, .hero__line {
  font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase;
}
.kicker { margin: 0 0 28px; }
.display {
  font-size: clamp(36px, 6.2vw, 96px); font-weight: 800; font-stretch: 100%;
  line-height: .95; letter-spacing: -.035em; margin: 0;
}
.display--paper { color: var(--paper); }
/* Classic serif accent — used sparingly, like a printed menu */
.serif, .display--serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.display--serif { font-size: clamp(48px, 8vw, 132px); line-height: .92; }
.display .serif { display: inline-block; font-size: 1.12em; line-height: .9; }
/* Dotted leader, as on a bistro menu */
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 1.5px dotted currentColor; transform: translateY(-.3em); opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 26px; border: 1px solid currentColor; border-radius: 0;
  background: none; color: inherit; cursor: pointer; font-family: var(--font);
  transition: background .25s, color .25s, border-color .25s;
}
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.btn--pink { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.btn--pink:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
.nav {
  position: fixed; z-index: 40; inset: 0 0 auto 0;
  display: flex; align-items: center; gap: 28px; padding: 16px var(--g);
  color: var(--paper); transition: background .35s var(--ease), color .35s var(--ease);
}
.nav.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav__mark { display: block; width: 104px; margin-right: auto; opacity: 0; transition: opacity .35s; }
.nav__mark:hover { color: inherit; }
.nav.is-solid .nav__mark, .nav.is-open .nav__mark { opacity: 1; }
.nav__menu { display: flex; gap: 28px; }
.nav__menu a:hover, .nav__toggle:hover { color: inherit; opacity: .6; }
.nav__reserve { background: var(--pink); color: var(--ink); padding: 8px 12px; }
.nav__reserve:hover { color: var(--ink); background: var(--paper); }
.nav__toggle { display: none; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 8px 0; cursor: pointer; }

@media (max-width: 760px) {
  .nav { gap: 16px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1; background: var(--ink); color: var(--paper);
    flex-direction: column; justify-content: flex-end; gap: 6px; padding: 100px var(--g) 48px;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav__menu a { font-size: clamp(36px, 11vw, 56px); font-weight: 900; font-stretch: 125%; letter-spacing: -.03em; text-transform: none; line-height: 1.05; }
  .nav.is-open { color: var(--paper); background: transparent; box-shadow: none; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero__photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.45) 0%, rgba(18,18,18,0) 22%, rgba(18,18,18,0) 55%, rgba(18,18,18,.55) 100%); }
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--g) clamp(14px, 2.4vw, 32px); }
.hero__line { text-align: right; margin-top: clamp(10px, 1.4vw, 20px); }
/* The DOSCH logo (svg) fills the width */
.logo { display: block; width: 100%; height: auto; overflow: visible; }
.hero__word { margin: 0; display: flex; align-items: flex-end; gap: 1.6%; color: var(--paper); }
.hero__word .logo { flex: 1 1 auto; min-width: 0; filter: drop-shadow(0 2px 24px rgba(0,0,0,.25)); }

/* ---------- Pop-up announcement ---------- */
.popup {
  display: grid; grid-template-columns: 1fr; gap: 4px; align-items: baseline;
  background: var(--pink); color: var(--ink); padding: 22px var(--g);
}
.popup__label { font-family: var(--serif); font-style: italic; font-size: 26px; letter-spacing: 0; text-transform: none; font-weight: 400; font-stretch: 100%; line-height: 1; }
.popup__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15px; letter-spacing: .06em; }
.popup__note { font-size: 15px; letter-spacing: .06em; }
.popup__line .leader { display: none; }
.popup__line { flex-direction: column; }
.popup__label { grid-column: 1 / -1; }
.popup__cta { grid-column: 1 / -1; margin-top: 10px; justify-self: start; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.popup__cta:hover { color: var(--paper); border-color: var(--paper); }
@media (min-width: 900px) {
  .popup { grid-template-columns: auto 1fr auto; gap: 40px; padding-block: 26px; }
  .popup__line { flex-wrap: nowrap; flex-direction: row; }
  .popup__line .leader { display: block; }
  .popup__note { display: none; }
  .popup__label { grid-column: auto; }
  .popup__cta { grid-column: auto; margin: 0; justify-self: end; }
}

/* ---------- Intro ---------- */
.intro { padding: var(--space) var(--g) calc(var(--space) * .6); }
.intro__text {
  font-size: clamp(40px, 7.6vw, 128px); font-weight: 800; line-height: .94; letter-spacing: -.04em;
}
.intro__text span { display: block; margin-top: .35em; font-family: var(--serif); font-style: italic; font-size: max(28px, .5em); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; max-width: 22ch; }

/* ---------- Photo sequences (asymmetric editorial grid) ---------- */
.seq {
  display: grid; row-gap: clamp(12px, 2vw, 28px); column-gap: clamp(12px, 2vw, 28px);
  grid-template-columns: [full-start] calc(var(--g) - clamp(12px, 2vw, 28px)) [main-start] repeat(12, minmax(0, 1fr)) [main-end] calc(var(--g) - clamp(12px, 2vw, 28px)) [full-end];
}
.ph { margin: 0; overflow: hidden; background: #2a2a2a; }
.ph img { height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ph:hover img { transform: scale(1.02); }

/* mobile first */
.ph--a { grid-column: 4 / span 10; aspect-ratio: 4 / 5; }
.ph--b { grid-column: full-start / full-end; aspect-ratio: 3 / 2; }
.ph--c { grid-column: 2 / span 9; aspect-ratio: 3 / 2; }
.ph--full { grid-column: full-start / full-end; aspect-ratio: 4 / 5; }
.ph--d { grid-column: 2 / span 6; aspect-ratio: 4 / 5; }
.ph--f { grid-column: 8 / span 6; aspect-ratio: 4 / 5; margin-top: 30%; }
.ph--e { grid-column: 3 / span 10; aspect-ratio: 1 / 1; }
.ph--g { grid-column: full-start / full-end; aspect-ratio: 3 / 2; }
.ph--h { grid-column: 6 / span 8; aspect-ratio: 4 / 5; }

@media (min-width: 900px) {
  .ph--a { grid-column: 2 / span 4; grid-row: 1 / span 2; align-self: start; }
  .ph--b { grid-column: 7 / full-end; grid-row: 1; margin-top: 18vw; }
  .ph--c { grid-column: 5 / span 6; grid-row: 3; margin-top: 4vw; }
  .ph--full { aspect-ratio: 16 / 9; }
  .ph--d { grid-column: 2 / span 3; grid-row: 2; }
  .ph--e { grid-column: 6 / span 4; grid-row: 2; margin-top: 12vw; }
  .ph--f { grid-column: 11 / span 3; grid-row: 2; margin-top: 4vw; }
  .ph--g { grid-column: full-start / span 9; grid-row: 3; margin-top: 6vw; }
  .ph--h { grid-column: 11 / span 3; grid-row: 3; align-self: end; }
}

/* ---------- About ---------- */
.about { display: grid; gap: 36px; padding: var(--space) var(--g); }
.about__photo { margin: 0 calc(var(--g) * -1) 0 18%; aspect-ratio: 4 / 5; overflow: hidden; background: #2a2a2a; }
.about__photo img { height: 100%; object-fit: cover; }
.about__title { font-size: clamp(32px, 4.4vw, 68px); font-weight: 800; line-height: .95; letter-spacing: -.035em; margin: 0 0 32px; }
.about__body { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 28px); line-height: 1.22; letter-spacing: -.003em; max-width: 34ch; }
.about__body p + p { margin-top: .8em; }
.about__body p { text-wrap: pretty; }
.about__sign { margin-top: 28px; font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--warm); }
@media (min-width: 900px) {
  .about { grid-template-columns: repeat(12, 1fr); column-gap: 28px; align-items: end; }
  .about__photo { grid-column: 1 / span 6; margin: 0 0 0 calc(var(--g) * -1); }
  .about__text { grid-column: 8 / span 5; padding-bottom: 2vw; }
}

/* ---------- Graphic break: outlined wordmark on magenta ---------- */
.mark-band { background: var(--pink); overflow: hidden; padding: clamp(20px, 3vw, 40px) 0; margin-bottom: var(--space); }
.mark-band { color: var(--ink); }
.mark-band .logo { width: calc(100% - 2 * var(--g)); margin: 0 auto; }

/* ---------- Restaurant (future) ---------- */
.restaurant { display: grid; gap: 32px; padding: var(--space) var(--g) 0; }
.restaurant__photo { margin: 0 calc(var(--g) * -1); aspect-ratio: 3 / 2; overflow: hidden; background: #2a2a2a; }
.restaurant__photo img { height: 100%; object-fit: cover; }
.restaurant__address { font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 24px; }
.restaurant__hours { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 12px; margin: 0 0 24px; font-family: var(--serif); font-size: 20px; }
.restaurant__hours dd { margin: 0; }
.restaurant__hours .leader { align-self: end; transform: translateY(-.35em); }
.restaurant__address { font-family: var(--serif); font-weight: 400 !important; font-style: italic; letter-spacing: -.01em !important; }
.restaurant__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.news { border-top: 1px solid var(--ink); padding-top: 24px; }
.news__list { list-style: none; margin: 0; padding: 0; }
.news__list li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news__list time { font-size: 12px; color: var(--warm); }
@media (min-width: 900px) {
  .restaurant { grid-template-columns: repeat(12, 1fr); column-gap: 28px; }
  .restaurant__photo { grid-column: 1 / span 7; margin: 0 0 0 calc(var(--g) * -1); }
  .restaurant__info { grid-column: 9 / span 4; align-self: end; }
  .news { grid-column: 1 / -1; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 56px; padding: calc(var(--space) * .6) 0 var(--space); margin: calc(var(--space) * .6) var(--g) 0; border-top: 4px double var(--ink); }
.contact__sub { margin-top: 24px; color: var(--warm); max-width: 32ch; }
.about__sign, .news__list time { font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; text-transform: none; font-weight: 400; font-stretch: 100%; }
.contact__mail { margin-top: 18px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }
.contact__mail a { border-bottom: 2px solid var(--pink); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-bottom: 26px; }
.field { display: grid; gap: 6px; grid-column: 1 / -1; }
.field > span { font-size: 11px; }
.field em { font-style: normal; font-weight: 400; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--warm); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 17px var(--font); -webkit-appearance: none; appearance: none;
}
.field select { background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 10px) 52% / 5px 5px no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 5px) 52% / 5px 5px no-repeat; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--pink); }
.field [aria-invalid="true"] { border-bottom-color: #C4122F; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__status { font-size: 14px; min-height: 1.4em; }
.form__status.is-error { color: #C4122F; }
.form__status.is-ok { font-weight: 700; }
@media (min-width: 560px) { .field { grid-column: auto; } .field--full { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .contact { grid-template-columns: repeat(12, 1fr); column-gap: 28px; }
  .contact__head { grid-column: 1 / span 5; }
  .form { grid-column: 7 / span 6; }
}

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; height: 18px; margin: 1px 0 0; border: 1px solid currentColor; border-radius: 0; display: grid; place-content: center; cursor: pointer; background: transparent; color: inherit; }
.check input::after { content: ""; width: 10px; height: 10px; background: var(--pink); transform: scale(0); transition: transform .15s; }
.check input:checked::after { transform: scale(1); }

/* ---------- Newsletter ---------- */
.letter { background: var(--ink); color: var(--paper); padding: var(--space) var(--g) calc(var(--space) * .55); }
.letter__text { margin: 24px 0 40px; max-width: 34ch; color: rgba(242,238,230,.75); font-size: 18px; }
.letter__form { max-width: 720px; }
.letter__row { display: flex; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid rgba(242,238,230,.5); padding-bottom: 12px; margin-bottom: 20px; }
.letter__row:focus-within { border-bottom-color: var(--pink); }
.letter__row input { flex: 1 1 220px; min-height: 50px; border: 0; background: none; color: var(--paper); font: 500 clamp(20px, 2.4vw, 28px) var(--font); letter-spacing: -.02em; }
.letter__row input::placeholder { color: rgba(242,238,230,.4); }
.letter__row input:focus { outline: none; }
.check--paper { color: rgba(242,238,230,.75); }
.letter .form__status { margin-top: 16px; }
.letter .form__status.is-error { color: #FF8FB8; }
.letter .form__status.is-ok { color: var(--pink); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 0 var(--g) 28px; overflow: hidden; }
.foot__word { margin: 0 0 32px; color: var(--paper); }
.foot__motto { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); text-align: center; padding: 18px 0; border-top: 4px double rgba(242,238,230,.35); border-bottom: 1px solid rgba(242,238,230,.25); }
.foot__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 6px 24px; padding: 24px 0; border-top: 4px double rgba(242,238,230,.35); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; color: rgba(242,238,230,.55); font-size: 11px; }

/* ---------- Simple pages ---------- */
.page { max-width: 760px; padding: 140px var(--g) 96px; }
.page h1 { margin-bottom: 40px; }
.page h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: -.01em; margin: 44px 0 10px; }
.page p, .page li { margin-bottom: 12px; }
.page a { text-decoration: underline; text-underline-offset: 2px; }
.todo { background: rgba(255,46,139,.16); padding: 1px 6px; }
.warning { border: 2px solid var(--pink); padding: 16px 18px; font-size: 14px; margin-bottom: 40px; }
.page-nav { position: static; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.page-nav .nav__mark { opacity: 1; }

/* ---------- Gentle reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Even line breaks for short lines of copy */
.intro__text span, .letter__text, .contact__sub { text-wrap: balance; }
.intro__text span { max-width: 24ch; }
