/* =========================================================
   Roslyn Hair Design — Stylesheet (mobile first)
   Palette of the original site:
   ink #171717 · sage #92A589 · greige #D6D4D4 · white
   + a whisper of lavender from the salon's chandelier

   Breakpoints (min-width):  480 · 768 · 1024 · 1280
   ========================================================= */

/* ---------- metric-matched fallbacks (prevent layout shift while fonts load) ---------- */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Times New Roman"), local("Times"), local("Liberation Serif");
  size-adjust: 88%; ascent-override: 104%; descent-override: 32%; line-gap-override: 0%;
}
@font-face {
  font-family: "Raleway Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 104%; ascent-override: 90%; descent-override: 23%; line-gap-override: 0%;
}

:root {
  --ink: #171717;
  --ink-2: #222321;
  --sage: #92a589;
  --sage-deep: #5f7257;
  --sage-pale: #e1e7dc;
  --greige: #d6d4d4;
  --paper: #ecebe8;
  --white: #ffffff;
  --mute: #6f6f6f;
  --text-2: #3d3d3b;
  --lilac: #c9bce3;
  --error: #a8473a;

  --serif: "Cormorant Garamond", "Cormorant Fallback", "Times New Roman", serif;
  --sans: "Raleway", "Raleway Fallback", Arial, sans-serif;

  --gutter: 16px;
  --section-y: 4.5rem;
  --nav-h: 64px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* the `font:` shorthand resets numeric variants per element → enforce lining figures everywhere
   (Raleway defaults to old-style figures, which make "09:00" read like "o9:oo") */
body, body * { font-variant-numeric: lining-nums !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; }
::selection { background: var(--sage); color: var(--white); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: 8px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* paper grain for a printed, tactile feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .045; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--sage); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 60;
}

.kicker {
  font: 600 .68rem/1.4 var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--sage-deep); margin: 0 0 1.2rem;
  display: flex; align-items: center; gap: .8rem;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); flex: none; }
.dot.is-open { background: var(--sage); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(146,165,137,.6); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(146,165,137,0); }
}

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: 1rem 1.6rem; border-radius: 999px;
  font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--fg); background: var(--bg);
  border: 1px solid var(--ink); cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sage); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--ink { --bg: var(--ink); --fg: var(--white); }
.btn--ink:hover { border-color: var(--sage); }
.btn--line:hover { color: var(--white); border-color: var(--sage); }
.btn--sage { --bg: var(--sage); --fg: var(--ink); border-color: var(--sage); }
.btn--sage::before { background: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 8px; left: 8px; right: 8px; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 8px 0 14px; border-radius: 999px;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(236,235,232,.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(23,23,23,.06), 0 12px 40px -18px rgba(23,23,23,.25);
}
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); }
/* official wordmark (from the signage file), coloured via currentColor */
.brand__logo { display: block; height: 28px; width: 106px; flex: none; fill: currentColor; }

.nav__links, .nav__cta { display: none; }

.nav__burger {
  display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
.nav.is-menu .nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-menu .nav__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav.is-menu { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-menu .brand { color: var(--white); }

.drawer {
  position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--nav-h) + 48px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 40px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.drawer nav { display: flex; flex-direction: column; gap: .2rem; }
.drawer nav a { text-decoration: none; font: 300 clamp(2.4rem, 11vw, 4.4rem)/1.15 var(--serif); display: flex; align-items: baseline; gap: 1rem; padding: .2rem 0; }
.drawer nav a i { font: 500 .72rem/1 var(--sans); color: var(--sage); letter-spacing: .15em; font-style: normal; width: 1.6rem; }
.drawer__foot { display: flex; flex-direction: column; gap: .4rem; color: var(--greige); font-size: .9rem; }
.drawer__tel { color: var(--sage); font: 200 2rem/1.2 var(--sans); text-decoration: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 4rem;
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(146,165,137,.22), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(201,188,227,.18), transparent 60%),
    var(--paper);
}
.hero > * { position: relative; z-index: 1; }
.hero__title {
  margin: 0 0 1.6rem; font-family: var(--serif); font-weight: 300;
  font-size: clamp(4.5rem, 25vw, 12.5rem); line-height: .85; letter-spacing: -.02em;
}
/* overflow:hidden is needed for the rise animation; the extra bottom padding (offset by a negative
   margin) gives descenders like g / y room so they are not clipped */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .3em; margin-bottom: -.22em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.3s var(--ease) .1s forwards; }
.hero__title .line--italic { font-style: italic; color: var(--sage-deep); padding-left: .5em; font-size: .52em; letter-spacing: 0; }
.hero__title .line--italic > span { animation-delay: .25s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__lead { max-width: 34rem; font-size: 1.02rem; color: var(--text-2); margin: 0 0 2rem; }
.hero__actions { display: flex; flex-direction: column; gap: .7rem; }
.hero__actions .btn { width: 100%; }

.hero__visual { margin: 0 auto; width: 100%; max-width: 420px; position: relative; }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 18px 18px; background: var(--greige); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.arch--hero { aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(23,23,23,.45); }
.arch--hero img { filter: contrast(1.05) saturate(1.05); transform: scale(1.1); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.arch--hero::after {
  content: ""; position: absolute; inset: 12px; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.6); pointer-events: none;
}

.badge {
  position: absolute; left: -6px; bottom: 28px; width: 108px; height: 108px;
  border-radius: 50%; background: var(--ink); color: var(--white);
  display: grid; place-items: center;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { fill: var(--greige); font: 500 12.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.badge__core { font: italic 300 2.2rem/1 var(--serif); color: var(--sage); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__status {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  min-height: 36px; padding: .5rem .95rem; border-radius: 999px;
  background: var(--white); box-shadow: 0 10px 30px -14px rgba(23,23,23,.35);
  font: 500 .72rem/1 var(--sans); letter-spacing: .02em;
}


/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--ink); color: var(--greige); overflow: hidden; padding: 1.1rem 0; }
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: italic 300 1.7rem/1.2 var(--serif); white-space: nowrap; }
.marquee i { color: var(--sage); font-style: normal; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION HEADS
   ========================================================= */
.section-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  margin: 0 0 2.5rem; padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(23,23,23,.15);
}
.section-head h2 { margin: 0; font: 300 clamp(2.5rem, 11vw, 5.6rem)/1 var(--serif); letter-spacing: -.015em; }
.section-head h2 em { color: var(--sage-deep); }
.section-head__no {
  font: 500 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--sage-deep);
  border: 1px solid currentColor; border-radius: 999px; padding: .5rem .75rem;
}
.section-head--light { border-color: rgba(255,255,255,.15); }
.section-head--light h2 { color: var(--white); }
.section-head--light h2 em, .section-head--light .section-head__no { color: var(--sage); }

/* content width: sections stay full-bleed, their content is capped and centred.
   Selectors carry two classes on purpose (specificity 0,2,0) so that component rules
   like `.philo__quote { margin: 0 }` or `.svc { margin: 0 }` can never undo the centring. */
.philo > .kicker, .philo > .philo__quote, .philo > .philo__facts,
.team > .section-head, .team > .team__grid,
.services > .section-head, .services > .svc,
.contact > .section-head, .contact > .contact__grid,
.footer > .footer__row {
  width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto;
}
.prices > .section-head, .prices > .menu { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; }
.philo .kicker { margin-bottom: 1.2rem; }

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philo { padding: var(--section-y) var(--gutter); }
.philo__quote { margin: 0; font: 300 clamp(1.75rem, 7.2vw, 3.9rem)/1.2 var(--serif); letter-spacing: -.01em; }
.philo__quote .w { color: rgba(23,23,23,.18); transition: color .5s var(--ease); }
.philo__quote .w.on { color: var(--ink); }
.philo__quote .w.accent { font-style: italic; }
.philo__quote .w.accent.on { color: var(--sage-deep); }
.philo__facts {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; margin-top: 3rem;
  background: rgba(23,23,23,.14); border: 1px solid rgba(23,23,23,.14);
}
.fact { background: var(--paper); padding: 1.6rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.fact strong { font: 300 clamp(2rem, 8vw, 2.7rem)/1.05 var(--serif); color: var(--ink); }
.fact strong em { color: var(--sage-deep); }
.fact span { font-size: .9rem; color: #555; max-width: 22rem; }

/* =========================================================
   TEAM
   ========================================================= */
.team { padding: var(--section-y) var(--gutter); }
.team__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4rem; }
.arch--person { aspect-ratio: 4 / 5; }
.arch--person::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(146,165,137,.35), transparent 45%);
  opacity: 0; transition: opacity .8s var(--ease);
}
.person__body { padding: 1.6rem .15rem 0; }
.person__role { font: 600 .68rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sage-deep); margin: 0 0 .8rem; }
.person h3 { font: 300 clamp(2.4rem, 9vw, 3.6rem)/1 var(--serif); margin: 0 0 1rem; }
.person h3 em { color: var(--sage-deep); }
.person p { color: var(--text-2); margin: 0 0 1.3rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .78rem; letter-spacing: .04em; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(23,23,23,.2); }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--ink); color: var(--greige);
  padding: var(--section-y) var(--gutter);
  border-radius: 28px 28px 0 0;
}
.svc { list-style: none; margin: 0; padding: 0; }
.svc__item { border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.svc__item::before {
  content: ""; position: absolute; inset: 0; background: var(--sage); z-index: 0;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc__item.is-open::before { transform: scaleY(1); }
.svc__head {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: .6rem;
  padding: 1.3rem .25rem; background: none; border: 0; color: inherit; cursor: pointer; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.svc__no { font: 500 .74rem/1 var(--sans); letter-spacing: .12em; color: var(--sage); transition: color .5s; }
.svc__title { font: 300 clamp(1.6rem, 6.4vw, 3.6rem)/1.1 var(--serif); color: var(--white); transition: transform .6s var(--ease), color .5s; }
.svc__plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); position: relative; color: var(--white); transition: transform .6s var(--ease), border-color .5s; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.svc__body { position: relative; z-index: 1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc__body > div { overflow: hidden; min-height: 0; }
.svc__body p { margin: 0; padding: 0 .25rem 1.6rem 2.6rem; max-width: 52rem; font-size: 1rem; color: var(--ink); }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__item.is-open .svc__title { color: var(--ink); font-style: italic; }
.svc__item.is-open .svc__no { color: var(--ink); }
.svc__item.is-open .svc__plus { transform: rotate(180deg); border-color: var(--ink); color: var(--ink); }
.svc__item.is-open .svc__plus::after { transform: translate(-50%, -50%) rotate(0); }

/* =========================================================
   PRICES
   ========================================================= */
.prices { background: var(--greige); padding: var(--section-y) var(--gutter); }
.menu { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; max-width: 1180px; margin: 0 auto; }
.menu__tabs {
  position: sticky; top: calc(var(--nav-h) + 12px); z-index: 5;
  display: flex; gap: .4rem; overflow-x: auto; overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1); padding: .5rem var(--gutter);
  background: var(--greige); scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tabs button {
  flex: none; scroll-snap-align: start; cursor: pointer;
  font: 500 .8rem/1 var(--sans); color: rgba(23,23,23,.7);
  min-height: 44px; padding: 0 1.05rem; border-radius: 999px;
  background: transparent; border: 1px solid rgba(23,23,23,.25);
  transition: background .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.menu__tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.menu__card {
  position: relative; background: var(--paper);
  border-radius: 160px 160px 22px 22px / 110px 110px 22px 22px;
  padding: 4.2rem 1.7rem 1.8rem;
  box-shadow: 0 30px 70px -40px rgba(23,23,23,.4);
}
.menu__card::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(146,165,137,.55); border-radius: inherit;
}
.menu__corner { position: absolute; top: 1.9rem; left: 50%; transform: translateX(-50%); color: var(--sage-deep); font-size: 1rem; }
/* all panels share one grid cell → card height = tallest panel → no jump when switching tabs */
.menu__panels { display: grid; }
.menu__panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.menu__panel.is-active { visibility: visible; opacity: 1; transition: opacity .45s var(--ease) .05s, visibility 0s; }
.menu__panel h3 { font: 300 clamp(1.9rem, 7vw, 2.8rem)/1.1 var(--serif); margin: 0 0 1rem; text-align: center; }
.menu__panel .plist + h3 { margin-top: 2.4rem; }
.menu__panel h3 small {
  display: block; font: 600 .66rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-deep); margin-top: .7rem;
}
.plist { margin: 0; }
.plist > div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .3rem 1rem;
  padding: .9rem 0; border-bottom: 1px solid rgba(23,23,23,.08);
}
.plist dt { font-weight: 500; font-size: .95rem; line-height: 1.45; }
.plist dt em { color: var(--mute); font-size: 1.05em; }
.plist dd { margin: 0; font: 400 1rem/1.3 var(--sans); white-space: nowrap; text-align: right; }
.plist dd em { display: block; font-size: .8rem; color: var(--mute); font-family: var(--sans); font-style: normal; }
.menu__note {
  margin: 1.8rem auto 0; max-width: 30rem; padding: 1.1rem 1.2rem 1.2rem; text-align: center;
  font-size: .88rem; line-height: 1.6; color: #333;
  background: rgba(146,165,137,.12); border: 1px solid rgba(146,165,137,.45); border-radius: 12px;
}
.menu__note-label {
  display: block; margin-bottom: .45rem; font: 700 .7rem/1.4 var(--sans); letter-spacing: .2em;
  text-transform: uppercase; color: var(--sage-deep);
}
.menu__foot { margin: 2.4rem auto 0; max-width: 32rem; text-align: center; font-size: .86rem; color: #555; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; overflow: hidden; background: var(--ink-2); color: var(--greige); padding: var(--section-y) var(--gutter); }

.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
.contact small {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  font: 600 .68rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: .7rem;
}
.bigtel { display: block; width: max-content; max-width: 100%; text-decoration: none; font: 200 clamp(2.4rem, 12vw, 5rem)/1.05 var(--sans); letter-spacing: -.01em; color: var(--white); transition: color .4s; }
.bigtel:hover { color: var(--sage); }
.alt-tel { margin: .6rem 0 0; display: flex; align-items: baseline; gap: .6rem; color: rgba(255,255,255,.55); font-size: .9rem; }
.bigtel--sm { display: inline-block; font-size: clamp(1.5rem, 7vw, 2.2rem); color: var(--greige); }
/* special opening hours (from the Roslyn Cockpit) */
.hours__special { margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(146,165,137,.14); border: 1px solid rgba(146,165,137,.35); }
.hours__special p { margin: .2rem 0; color: var(--white); font-size: .92rem; }
.hours__special .hours__special-title { margin: 0 0 .4rem; font: 600 .68rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sage); }

.booking-note { margin: 1.2rem 0 0; max-width: 30rem; font-size: .84rem; line-height: 1.6; color: rgba(255,255,255,.62); }
.booking-note a { color: var(--white); text-decoration-color: var(--sage); text-underline-offset: 3px; }
.hours__note { margin: .9rem 0 0; font-size: .82rem; color: rgba(255,255,255,.55); }
.info-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin: 2.6rem 0; }
.info-row p { margin: 0 0 .5rem; color: var(--white); }
.link { color: var(--white); text-decoration: none; background: linear-gradient(var(--sage), var(--sage)) 0 100% / 100% 1px no-repeat; transition: color .3s; overflow-wrap: break-word; }
.link:hover { color: var(--sage); }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.72); }
.hours li.is-today { color: var(--white); }
.hours li.is-today span:first-child::before { content: "→ "; color: var(--sage); }
.hours__live { display: inline-flex; align-items: center; gap: .5rem; letter-spacing: .06em; text-transform: none; color: var(--greige); font-weight: 500; min-height: 1.4em; }


/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink-2); color: rgba(255,255,255,.6); padding: 0 var(--gutter) max(1.6rem, env(safe-area-inset-bottom)); overflow: hidden; }
.footer__logo {
  display: block; width: min(78%, 420px); height: auto; aspect-ratio: 324.06 / 168.89;
  margin: 0 auto; padding: 3rem 0 1.4rem; box-sizing: content-box;
  fill: var(--sage);
}
.footer { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.footer__row { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; font-size: .8rem; }
.footer__row nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer a { text-decoration: none; padding: .3rem 0; display: inline-block; }
.footer a:hover { color: var(--sage); }

/* =========================================================
   NOTICE PILL (Roslyn Cockpit) – fixed, so it never shifts the layout
   ========================================================= */
.notice {
  position: fixed; z-index: 39; left: 12px; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  margin: 0 auto; max-width: 640px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .8rem;
  padding: .95rem .8rem .95rem 1.2rem; border-radius: 18px;
  background: var(--ink); color: var(--white);
  box-shadow: inset 4px 0 0 var(--sage), 0 20px 50px -18px rgba(23,23,23,.55);
  transform: translateY(140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.notice.is-in { transform: none; opacity: 1; }
.notice__text { margin: 0; font-size: .9rem; font-weight: 500; line-height: 1.5; color: var(--white); overflow-wrap: anywhere; }
.notice__close {
  position: relative; flex: none; width: 36px; height: 36px; padding: 0; margin: -6px -2px -6px 0;
  border-radius: 50%; border: 0; cursor: pointer; font-size: 0;
  background: rgba(255,255,255,.08); color: var(--white);
  -webkit-tap-highlight-color: transparent;
}
/* das X als zwei Striche: immer exakt mittig, unabhängig von der Schrift */
.notice__close::before, .notice__close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px;
  background: currentColor; border-radius: 1px;
}
.notice__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.notice__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.notice__close:hover { background: rgba(255,255,255,.16); }
@media (min-width: 768px) {
  .notice { bottom: 24px; padding: 1rem 1rem 1rem 1.3rem; }
  .notice__text { font-size: .95rem; }
}

/* =========================================================
   SUBPAGES (Impressum, Datenschutz, AGB, 404, Danke)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 56px) var(--gutter) 3rem;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(146,165,137,.22), transparent 60%),
    var(--paper);
  border-bottom: 1px solid rgba(23,23,23,.1);
}
.page-hero h1 { margin: 0; font: 300 clamp(3rem, 14vw, 7rem)/.95 var(--serif); letter-spacing: -.02em; }
.page-hero h1 em { color: var(--sage-deep); }
.page-hero p { margin: 1rem 0 0; color: var(--text-2); max-width: 40rem; }

.legal { padding: 3rem var(--gutter) var(--section-y); }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h2 { font: 400 clamp(1.7rem, 6vw, 2.3rem)/1.15 var(--serif); margin: 2.8rem 0 .8rem; padding-top: 1.6rem; border-top: 1px solid rgba(23,23,23,.12); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font: 600 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); margin: 1.8rem 0 .5rem; }
.legal p, .legal li { color: var(--text-2); overflow-wrap: anywhere; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--ink); text-decoration-color: var(--sage); text-underline-offset: 3px; }
.legal address { font-style: normal; }
.legal .card { background: var(--white); border-radius: 18px; padding: 1.4rem 1.3rem; margin: 1rem 0; box-shadow: 0 20px 50px -35px rgba(23,23,23,.35); }
.legal .card p { margin: .2rem 0; }
.legal .card--summary { background: var(--sage-pale); box-shadow: none; border: 1px solid rgba(95,114,87,.25); margin: 0 0 2.6rem; }
.legal .card--summary h3 { margin-top: 0; }
.legal .card--summary ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.legal .card--summary li { margin: .45rem 0; }
.legal .card--summary + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.legal .stand { margin-top: 3rem; font-size: .85rem; color: var(--mute); }

.simple {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 4rem; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 500px at 80% 20%, rgba(146,165,137,.25), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(201,188,227,.2), transparent 60%),
    var(--paper);
}

.simple__big { font: 300 clamp(6rem, 40vw, 16rem)/.8 var(--serif); margin: 0; color: var(--sage-deep); }
.simple__big em { color: var(--ink); }
.simple h1 { font: 300 clamp(2.2rem, 9vw, 4rem)/1.05 var(--serif); margin: 1.2rem 0 .8rem; }
.simple p { color: var(--text-2); max-width: 30rem; margin: 0 auto 2rem; }
.hero__actions--center { justify-content: center; align-items: stretch; max-width: 26rem; margin: 0 auto; }
@media (min-width: 480px) { .hero__actions--center { max-width: none; } }

/* =========================================================
   REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .4s !important; }
.hero .reveal + .reveal { transition-delay: .55s !important; }
.hero .reveal + .reveal + .reveal { transition-delay: .7s !important; }

/* =========================================================
   ≥ 480px — large phones
   ========================================================= */
@media (min-width: 480px) {
  :root { --gutter: 24px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .info-row { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .badge { width: 124px; height: 124px; left: -12px; }
  .badge__core { font-size: 2.6rem; }
  .svc__head { grid-template-columns: 2.6rem minmax(0, 1fr) auto; padding: 1.5rem .25rem; }
  .svc__body p { padding-left: 3.2rem; }
  .menu__card { padding: 5rem 2rem 2.2rem; }
}

/* =========================================================
   ≥ 768px — tablets
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 40px; --section-y: 6.5rem; --nav-h: 68px; }
  .nav { top: 14px; left: 50%; right: auto; width: min(1200px, calc(100% - 28px)); transform: translateX(-50%); padding: 0 10px 0 20px; }
  .brand__logo { height: 32px; width: 122px; }

  .hero { padding-bottom: 5rem; }
  .hero__visual { max-width: 460px; }

  .section-head { flex-direction: row; align-items: flex-end; gap: 1.6rem; margin-bottom: 4rem; }
  .section-head__no { margin-bottom: .6rem; flex: none; }

  .philo__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { padding: 2rem 1.6rem; }
  .fact strong { font-size: clamp(2rem, 3.2vw, 2.8rem); }

  .team__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .person--offset { margin-top: 8rem; }

  .services { border-radius: 48px 48px 0 0; }
  .svc__head { grid-template-columns: 4rem minmax(0, 1fr) auto; padding: 1.8rem .5rem; }
  .svc__plus { width: 44px; height: 44px; }
  .svc__body p { padding: 0 .5rem 2.2rem 4.5rem; font-size: 1.05rem; }

  .menu__card { border-radius: 999px 999px 24px 24px / 200px 200px 24px 24px; padding: 6rem 3.5rem 2.6rem; }
  .menu__corner { top: 2.4rem; }
  .plist dt { font-size: 1rem; }
  .plist > div { display: flex; gap: .8rem; padding: 1rem 0; }
  .plist > div::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(23,23,23,.35); transform: translateY(-4px); min-width: 1.5rem; }
  .plist dd { order: 2; font-size: 1.05rem; }

  .footer__row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .legal .card { padding: 1.8rem 2rem; }
}

/* =========================================================
   ≥ 1024px — laptops
   ========================================================= */
@media (min-width: 1024px) {
  :root { --gutter: clamp(40px, 5vw, 72px); --section-y: clamp(7rem, 10vw, 9rem); }

  .nav__links { display: flex; gap: 2.2rem; }
  .nav__links a { position: relative; text-decoration: none; font: 500 .82rem/1 var(--sans); letter-spacing: .08em; padding: .5rem 0; }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
    background: var(--sage-deep); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
  }
  .nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
  .nav__cta {
    display: inline-flex; align-items: center; gap: .6rem;
    min-height: 48px; padding: 0 1.3rem; border-radius: 999px; background: var(--ink); color: var(--white);
    text-decoration: none; font: 500 .78rem/1 var(--sans); letter-spacing: .1em; transition: background .4s var(--ease);
  }
  .nav__cta:hover { background: var(--sage-deep); }
  .nav__burger, .drawer { display: none; }

  /* height follows the content (capped), so tall screens don't get an empty band under the hero */
  .hero {
    min-height: min(100vh, 860px); min-height: min(100svh, 860px);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 4vw;
    padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px;
  }
  .hero__title { font-size: clamp(6rem, 12vw, 12.5rem); }
  .hero__title .line--italic { font-size: .58em; padding-left: .55em; }
  .hero__lead { font-size: 1.08rem; margin-bottom: 2.4rem; }
  .hero__visual { justify-self: end; margin: 0; max-width: 470px; }
  .arch--hero { aspect-ratio: 4 / 5.3; }
  .arch--hero::after { inset: 14px; }
  .badge { left: -64px; bottom: 70px; width: 150px; height: 150px; }
  .badge__core { font-size: 3.2rem; }
  .hero__status { left: auto; right: 18px; top: 22px; bottom: auto; transform: none; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

  .marquee { padding: 1.4rem 0; }
  .marquee__track { gap: 2.4rem; }
  .marquee span { font-size: clamp(2rem, 3.2vw, 2.8rem); }

  .team__grid { gap: clamp(3rem, 6vw, 6rem); }
  .person--offset { margin-top: 11rem; }
  .person:hover .arch--person img { transform: scale(1.05); }
  .person:hover .arch--person::before { opacity: 1; }

  .services { border-radius: 64px 64px 0 0; }
  .svc__head:hover .svc__title { transform: translateX(14px); font-style: italic; }
  .svc__body p { padding-left: 5rem; }

  .menu { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .menu__tabs {
    flex-direction: column; gap: .2rem; overflow: visible;
    margin: 0; padding: 0; background: none; top: calc(var(--nav-h) + 48px);
  }
  .menu__tabs button {
    position: relative; text-align: left; border: 0; border-radius: 0; background: none;
    font: 300 1.7rem/1.2 var(--serif); color: rgba(23,23,23,.45);
    min-height: 0; padding: .5rem 0 .5rem 1.6rem;
    transition: color .4s var(--ease), padding .4s var(--ease);
  }
  .menu__tabs button::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
    border-radius: 50%; border: 1px solid currentColor; transition: background .4s, border-color .4s;
  }
  .menu__tabs button:hover { color: var(--ink); }
  .menu__tabs button[aria-selected="true"] { background: none; color: var(--ink); font-style: italic; padding-left: 2rem; }
  .menu__tabs button[aria-selected="true"]::before { background: var(--sage); border-color: var(--sage); }
  .menu__card { padding: 7rem 4.5rem 3rem; border-radius: 999px 999px 24px 24px / 220px 220px 24px 24px; }
  .menu__card::before { inset: 12px; }

  /* desktop: phone/address left, opening hours right */
  .contact__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .contact__grid > .hours { padding-top: .35rem; }

  .page-hero { padding-top: calc(var(--nav-h) + 90px); padding-bottom: 4rem; }
  .legal { padding-top: 4rem; }
}

/* =========================================================
   ≥ 1280px — large screens
   ========================================================= */
@media (min-width: 1280px) {
  .hero { padding-left: max(var(--gutter), calc((100vw - 1280px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1280px) / 2)); }
  .hero__visual { max-width: 500px; }
}

/* hover-capable devices only: no sticky hover states on touch */
@media (hover: none) {
  .btn:hover::before { transform: translateY(101%); }
  .btn--line:hover { color: var(--ink); border-color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}

@media print {
  .nav, .drawer, .marquee, .progress, .badge, .notice, body::after { display: none !important; }
  body { background: #fff; }
  .services, .contact, .footer { background: #fff; color: #000; }
}
