/* Ivory Lounge kit (Draknar Webworks, 2026-10-05), rewritten from Tooplate 2166 "Ivory Flow".
   Every colour comes from the palette variables (--bg, --surface, --ink, --muted, --accent,
   --accent-ink, --line, --blush) that head.html.j2 writes from the intake. Two typefaces only. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 20px;
  --shadow: 0 10px 40px color-mix(in srgb, var(--ink) 9%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--surface); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Preview strip */
.strip {
  background: var(--ink);
  color: var(--surface);
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px var(--gutter);
}

/* Floating pill nav: a zero-height sticky header, so the pill floats over the hero */
.top {
  position: sticky; top: 0; z-index: 50;
  height: 0;
  display: flex; justify-content: center;
}
.pill {
  margin-top: 12px;
  height: max-content;
  display: flex; align-items: center;
  padding: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: 0 4px 24px color-mix(in srgb, var(--ink) 8%, transparent);
}
.pill a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.pill a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.pill .pill-brand {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 4px 16px 4px 14px;
}
.pill .pill-call { background: var(--ink); color: var(--surface); padding-inline: 18px; }
.pill .pill-call:hover { background: var(--accent); color: var(--accent-ink); }
.pill .pill-brand, .pill .pill-call { display: none; }

/* Buttons and the template's expanding-underline link */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--surface); }

.cta-link {
  position: relative;
  display: inline-block;
  padding: 10px 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}
.cta-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.cta-link:hover::after, .cta-link:focus-visible::after { transform: scaleX(1); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
section[id] { scroll-margin-top: 72px; }

/* Hero: split screen (stacked on phones) */
.hero { background: var(--bg); display: grid; grid-template-columns: 1fr; }
.hero-media { position: relative; height: 40svh; min-height: 250px; max-height: 480px; overflow: hidden; background: var(--line); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.hero-tag {
  position: absolute; left: var(--gutter); bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--surface);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-copy { padding: 30px var(--gutter) 44px; }
.hero-name {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 1.9rem + 5vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-headline {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.rule { display: block; width: 56px; height: 1px; margin: 22px 0 18px; background: var(--accent); }
.hero-sub { max-width: 34em; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }

/* Services: a menu card beside a sticky arched photo */
.menu {
  position: relative;
  background: var(--surface);
  display: grid;
  gap: 48px;
  padding: 72px var(--gutter);
}
.menu-note { margin-top: 16px; color: var(--muted); }
.menu-note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.menu-group { margin-top: 48px; }
.menu-group-title {
  display: flex; align-items: center; gap: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.menu-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu-list { margin-top: 8px; }
.menu-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-item dt { font-family: var(--serif); font-size: 1.625rem; font-weight: 500; line-height: 1.15; }
.menu-item dd { margin-top: 4px; color: var(--muted); }
.menu-item .menu-price { color: var(--ink); font-weight: 600; }
.menu-media { justify-self: center; width: min(100%, 420px); }
.arch {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% 50%;
  border-radius: 999px 999px 28px 28px;
  border: 10px solid var(--bg);
  box-shadow: var(--shadow);
  background: var(--line);
}

/* Notes band: the template's dark timeline, without step numbers */
.notes { position: relative; background: var(--ink); color: var(--surface); padding: 80px var(--gutter); }
.notes-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 40px; }
.notes .section-title { color: var(--surface); }
.notes-list { position: relative; padding-left: 30px; }
.notes-list::before {
  content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent));
}
.notes-list li { position: relative; padding-bottom: 40px; }
.notes-list li:last-child { padding-bottom: 0; }
.notes-list li::before {
  content: ""; position: absolute; left: -30px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--ink);
}
.notes-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blush);
}
.notes-text {
  margin-top: 10px;
  max-width: 24em;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--surface);
}

/* Gallery: the lookbook, as native sideways scroll with snap points */
.look { position: relative; background: var(--blush); padding: 72px 0 56px; }
.look-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); margin-bottom: 32px;
}
.look-arrows { display: flex; gap: 10px; }
.look-arrows[hidden] { display: none; }
.look-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), opacity 0.3s;
}
.look-arrow:hover { background: var(--ink); color: var(--surface); }
.look-arrow:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--ink); }
.look-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.look-track {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  padding-bottom: 22px;
}
.look-track:focus-visible { outline-offset: -3px; border-radius: 0; }
.look-list { display: flex; gap: 18px; width: max-content; padding: 6px var(--gutter) 18px; }
.look-card { scroll-snap-align: start; }
.look-card img {
  width: min(80vw, 440px);
  border-radius: 28px;
  border: 8px solid var(--surface);
  box-shadow: var(--shadow);
  background: var(--line);
  transition: transform 0.8s var(--ease);
}
.look-card:hover img { transform: translateY(-4px); }

/* Visit: the template's signature block, over a faint oversized name */
.visit {
  --mark: clamp(2.5rem, 12.5vw, 13rem);
  position: relative; overflow: hidden; background: var(--bg);
  padding: calc(var(--mark) + 56px) var(--gutter) 88px;
}
.visit-mark::before {
  content: attr(data-mark);
  position: absolute; left: 50%; top: 36px;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: var(--mark);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
}
.visit-inner { position: relative; max-width: 1000px; margin: 0 auto; }
.visit .section-title { text-align: center; }
.visit-grid {
  display: grid; gap: 36px;
  margin-top: 40px;
  padding: 32px 24px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.visit-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.visit-address, .visit-phone {
  margin: 8px 0 22px;
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.2;
}
.visit-phone a { text-decoration: none; }
.visit-phone a:hover { color: var(--accent); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hours { width: 100%; margin-top: 10px; border-collapse: collapse; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours th { font-weight: 600; padding-right: 16px; }
.hours td { text-align: right; color: var(--muted); white-space: nowrap; }

/* Footer */
.foot { background: var(--ink); color: var(--surface); padding: 56px var(--gutter) 112px; }
.foot-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 6px; }
.foot-name { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin-bottom: 8px; }
.foot a { text-underline-offset: 3px; }
.foot :focus-visible { outline-color: var(--blush); }
.foot-note { margin-top: 18px; max-width: 46em; font-size: 0.875rem; color: var(--line); }
.foot-credit { margin-top: 10px; font-size: 0.875rem; color: var(--line); }

/* Phone call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; min-height: 50px; padding: 0 16px; }
.callbar { transition: transform 0.45s var(--ease), visibility 0.45s; }
.callbar.is-tucked { transform: translateY(110%); visibility: hidden; }

@media (max-width: 359px) {
  .pill a { padding: 8px 10px; letter-spacing: 0.08em; }
}

@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .pill .pill-brand, .pill .pill-call { display: block; }
  .pill a { padding: 9px 16px; }
  .callbar { display: none; }
  .foot { padding-bottom: 56px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px 56px; }
  .visit-hours { border-left: 1px solid var(--line); padding-left: 56px; }
  .look-card img { width: auto; height: clamp(320px, 52vh, 500px); }
  .notes-inner { grid-template-columns: 0.9fr 1.3fr; gap: 64px; align-items: start; }
}

@media (min-width: 1024px) {
  :root { --gutter: 64px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 100svh; }
  .is-preview .hero { min-height: calc(100svh - 36px); }
  .hero-media { height: auto; min-height: 0; max-height: none; }
  .hero-tag { left: 32px; bottom: 32px; }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 120px 72px 72px 64px; }
  .menu { grid-template-columns: 1.15fr 0.85fr; gap: 72px; padding-block: 112px; align-items: start; }
  .menu-copy { max-width: 620px; }
  .menu-media { position: sticky; top: 96px; width: 100%; max-width: 440px; }
  .notes { padding-block: 112px; }
  .look { padding-block: 104px 80px; }
  .visit { padding-bottom: 120px; }
}

/* The template's stacking sections, kept for the hero only: on tall desktop screens the page
   slides up over the hero. Off for reduced motion. */
@media (min-width: 1024px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  .hero { position: sticky; top: 0; }
  .hero ~ section { position: relative; z-index: 1; }
  .menu { box-shadow: 0 -24px 48px color-mix(in srgb, var(--ink) 6%, transparent); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .look-card:hover img { transform: none; }
}
