@font-face {
  font-family: Switzer;
  src: url('./assets/switzer-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Switzer;
  src: url('./assets/switzer-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Golden;
  src: url('./assets/golden-olya-regular-amp9.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Editorial, Swiss-inspired composition. Existing brand palette and renderer.
   DESIGN_VARIANCE: 8 / MOTION_INTENSITY: 3 / VISUAL_DENSITY: 2.
   Golden is reserved for display type; functional type stays neutral.
   One light theme, one accent, square geometry. Motion is confined to the
   cover and very slowly moving apertures in the margins below it. */
:root {
  color-scheme: light;
  --paper: #efeee9;
  --ink: #45473f;
  --accent: #8e3129;
  --rule: rgb(69 71 63 / 25%);
  --font-sans: Switzer, Arial, sans-serif;
  --font-display: Golden, Georgia, serif;
  --type-meta: 14px;
  --type-ui: 16px;
  --type-body: 18px;
  --type-lead: clamp(28px, 2.8vw, 40px);
  --type-section: clamp(64px, 6.4vw, 96px);
  --gutter: clamp(24px, 4.2vw, 80px);
  --cover-offset: clamp(16px, 2.2vw, 32px);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--type-body);
  line-height: 1.5;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
}

* { box-sizing: border-box; }
body { position: relative; margin: 0; min-width: 320px; }
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
p, h1, h2, figure { margin: 0; }
h1, h2 { font-weight: 400; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
main, .site-header, .site-footer { position: relative; z-index: 1; }
main { overflow-x: clip; }
.section { position: relative; isolation: isolate; width: min(calc(100% - var(--gutter) * 2), 1440px); margin-inline: auto; }
.skip-link { position: fixed; top: 14px; left: 20px; z-index: 10; padding: 16px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.floral-relief { position: absolute; inset: 0 0 auto; z-index: 0; height: 100svh; overflow: hidden; pointer-events: none; background: var(--paper); contain: strict; }
.floral-relief::before { content: ''; position: absolute; inset: 0; background: url('./assets/floral-sprigs.webp') 0 0 / 1480px; opacity: .09; mix-blend-mode: multiply; }
.floral-relief canvas { position: relative; display: block; width: 100%; height: 100%; }
.floral-relief[data-renderer='webgl']::before { display: none; }
.floral-relief:not([data-renderer='webgl']) canvas { visibility: hidden; }

/* Static fallback ornaments for pages without JavaScript. */
.margin-relief {
  position: absolute;
  z-index: -1;
  width: min(29vw, 420px);
  height: 760px;
  pointer-events: none;
  background: url('./assets/floral-sprigs.webp') 62% 35% / 1040px auto no-repeat;
  mix-blend-mode: multiply;
  opacity: .40;
  mask-image: radial-gradient(ellipse 74% 73% at 50% 50%, black 20%, transparent 74%);
}
.atelier .margin-relief { right: calc(-1 * var(--gutter)); top: 1%; width: min(24vw, 345px); }
.closing-story .margin-relief { left: calc(-1 * var(--gutter)); top: 5%; background-position: 24% 12%; }
.appointments .margin-relief { right: calc(-1 * var(--gutter)); top: -35%; width: min(24vw, 345px); background-position: 75% 68%; }
.service-brows .margin-relief { left: calc(-1 * var(--gutter)); top: 8%; width: min(14vw, 200px); background-position: 20% 40%; }
.service-permanent .margin-relief { right: calc(-1 * var(--gutter)); top: -5%; height: 670px; background-position: 70% 12%; }


[data-curved-photo] { isolation: isolate; }
[data-curved-photo] img { transition: opacity 200ms ease; }
.curved-photo-canvas { position: absolute; left: calc(-4% - 64px); top: calc(-4% - 64px); width: calc(108% + 128px); height: calc(108% + 128px); pointer-events: none; opacity: 0; filter: drop-shadow(0 9px 14px rgb(69 71 63 / 9%)); transition: opacity 200ms ease; }
[data-photo-renderer='webgl'] img { opacity: 0; }
[data-photo-renderer='webgl'] .curved-photo-canvas { opacity: 1; }
[data-photo-renderer='fallback'] img,
[data-photo-renderer='fallback'] .curved-photo-canvas { transition: none; }

[data-image-title] { position: relative; }
.image-title-contrast {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--paper);
  -webkit-text-stroke: .65px var(--ink);
  paint-order: stroke fill;
  pointer-events: none;
  clip-path: inset(100%);
}

.site-header { height: 80px; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 1680px; margin: auto; }
.brand { font-family: Golden, Georgia, serif; font-size: 27px; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(24px, 3.6vw, 64px); font-size: var(--type-ui); }
.site-header nav a { padding-block: 12px; white-space: nowrap; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.site-header nav [aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }
.site-header .appointment-link { color: var(--accent); }
.appointment-link span { margin-left: 16px; font-size: var(--type-body); }

.cover { position: relative; isolation: isolate; min-height: 730px; height: calc(100svh - 80px); max-height: 1000px; max-width: 1680px; margin-inline: auto; }
.cover-lockup { position: absolute; z-index: 2; top: clamp(80px, 10vh, 110px); left: 13.7%; width: max-content; pointer-events: none; }
.cover-title { font: 400 clamp(115px, 13.8vw, 220px)/.91 Golden, Georgia, serif; letter-spacing: -.045em; }
.cover-title span { display: block; }
.cover-title span + span { margin-left: 13%; }
.cover-tagline { margin: 6px 0 0 13%; font-size: var(--type-lead); font-weight: 300; line-height: 1.2; letter-spacing: -.015em; white-space: nowrap; }
.cover-image { position: absolute; left: 55%; top: 26%; width: 34%; height: 66%; max-height: 720px; }
.cover-image img { object-position: 50% 47%; }
.cover-lockup, .cover-image, .treatments-tagline, .treatments-cover h1, .treatments-cover figure { translate: 0 var(--cover-offset); }
.cover-caption { position: absolute; left: 15%; top: 79%; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 0; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: var(--type-ui); line-height: 1.4; white-space: nowrap; }
.text-link span { font-size: 22px; line-height: 1; transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link:active { transform: translateY(1px); }
.cover-caption .text-link { margin-top: 0; }

.atelier { padding-top: clamp(160px, 19vw, 300px); padding-bottom: clamp(140px, 16vw, 250px); padding-left: 10.8%; }
.eyebrow { font-size: var(--type-meta); line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.atelier h2 { font-size: var(--type-lead); font-weight: 300; line-height: 1.2; letter-spacing: -.025em; margin-top: 35px; }
.atelier-note { margin-top: 65px; margin-left: 44%; }
.atelier-note p { font-size: var(--type-body); line-height: 1.65; }

.treatment-edit { position: relative; display: grid; grid-template-columns: 1.03fr 1fr; gap: 10.5%; align-items: center; padding-right: 4.5%; }
.edit-photo { aspect-ratio: 4 / 5; }
.edit-menu { margin-left: -5%; }
.edit-menu h2 { position: relative; margin-left: -54%; margin-bottom: 70px; font: 400 var(--type-section)/1.06 var(--font-display); letter-spacing: -.035em; }
.treatment-links { display: grid; }
.treatment-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); font-size: var(--type-lead); font-weight: 300; letter-spacing: -.025em; transition: color 180ms ease; }
.treatment-links a:hover { color: var(--accent); }
.treatment-links a > span:last-child { font-size: 23px; color: var(--accent); }

.closing-story { position: relative; margin-top: clamp(180px, 21vw, 340px); min-height: 750px; padding-top: 40px; }
.closing-story h2 { position: relative; z-index: 2; font: 400 var(--type-section)/1.06 var(--font-display); letter-spacing: -.04em; color: var(--accent); pointer-events: none; }
.closing-story h2 > span:not(.image-title-contrast), .closing-story .image-title-contrast > span { display: block; }
.closing-story h2 > span:first-child, .closing-story .image-title-contrast > span:first-child { margin-left: 18%; }
.closing-story h2 > span:nth-child(2), .closing-story .image-title-contrast > span:nth-child(2) { margin-left: 30%; }
.closing-story figure { width: 34%; aspect-ratio: 4 / 5; margin-left: 40%; margin-top: calc(-.9 * var(--type-section)); }

.appointments { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12%; padding: clamp(150px, 16vw, 260px) 8% 150px; align-items: end; }
.appointments > .eyebrow { grid-column: 1 / -1; margin-bottom: 36px; }
.appointments h2 { font: 400 var(--type-section)/1.06 var(--font-display); letter-spacing: -.035em; }
.appointment-action { padding-bottom: 8px; }
.appointment-action .text-link { font-size: var(--type-ui); width: min(100%, 295px); }
.appointment-action p { margin-top: 28px; font-size: var(--type-ui); line-height: 1.6; }
.site-footer { width: min(calc(100% - var(--gutter) * 2), 1440px); margin: 0 auto; padding: 30px 0 38px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer > p, .site-footer > a:not(.brand) { font-size: var(--type-ui); }
.site-footer > a > span { margin-left: 20px; }

.booking-dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--rule); width: min(560px, calc(100vw - 36px)); max-height: calc(100svh - 36px); padding: 72px 48px 48px; }
.booking-dialog::backdrop { background: rgb(69 71 63 / 35%); }
.booking-dialog h2 { font: 400 var(--type-section)/1.06 var(--font-display); letter-spacing: -.03em; margin: 28px 0; }
.booking-dialog > p:not(.eyebrow) { font-size: var(--type-ui); line-height: 1.6; }
.booking-dialog > .text-link { margin-top: 30px; }
.dialog-close { position: absolute; top: 20px; right: 24px; font-size: var(--type-ui); min-height: 44px; }
.dialog-close span { font-size: 22px; margin-left: 14px; vertical-align: middle; }
html:has(dialog[open]) { overflow: hidden; }

.treatments-cover { position: relative; isolation: isolate; min-height: 730px; height: calc(100svh - 80px); max-height: 1000px; max-width: 1680px; margin-inline: auto; }
.treatments-tagline { position: absolute; top: 9%; left: 11%; font-size: var(--type-lead); font-weight: 300; line-height: 1.2; letter-spacing: -.015em; }
.treatments-cover h1 { position: absolute; top: 20%; left: 11%; z-index: 2; font: 400 clamp(84px, 9.6vw, 156px)/1.06 Golden, Georgia, serif; letter-spacing: -.04em; pointer-events: none; }
.treatments-cover h1 span { padding-left: 9vw; }
.treatments-cover figure { position: absolute; top: 50%; right: 14%; width: 29%; height: 46%; }
.treatments-intro { position: absolute; top: 77%; left: 15%; }
.treatments-intro .text-link { margin-top: 0; }
.treatment-index { display: flex; justify-content: space-between; gap: 32px; padding-block: 90px 45px; border-bottom: 1px solid var(--rule); }
.treatment-index a { font-size: var(--type-body); letter-spacing: 0; padding-block: 12px; }
.treatment-index a:hover { color: var(--accent); }
.treatment-index span { margin-left: 24px; color: var(--accent); }
.service { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12%; padding-top: 170px; align-items: start; scroll-margin-top: 0; }
.service-heading { position: relative; z-index: 2; grid-column: 1; grid-row: 1; padding: 50px 0 0 10%; }
.service-heading h2 { font: 400 var(--type-section)/1.06 var(--font-display); letter-spacing: -.045em; }
.service-image { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.service-copy { grid-column: 1; grid-row: 2; padding-left: 10%; max-width: 415px; margin-top: 80px; align-self: end; }
.service-copy > p { font-size: var(--type-body); line-height: 1.6; max-width: 32ch; }
.service-copy details { margin-top: 35px; border-bottom: 1px solid var(--rule); }
.service-copy summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; font-size: var(--type-ui); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.disclosure-mark::before { content: '+'; font-size: 22px; color: var(--accent); }
details[open] .disclosure-mark::before { content: '−'; }
.service-copy details p { font-size: var(--type-ui); line-height: 1.6; padding: 16px 0 24px; max-width: 35ch; }
.service-lashes { margin-top: 100px; padding-left: 6%; grid-template-columns: 1fr .88fr; column-gap: 15%; }
.service-lashes .service-image { grid-column: 1; }
.service-lashes .service-heading, .service-lashes .service-copy { grid-column: 2; padding-left: 0; }
.service-lashes .service-heading { padding-top: 55px; margin-left: -65%; }
.service-lashes .service-copy { margin-top: 60px; }
.service-permanent { margin-top: 100px; grid-template-columns: 1.25fr .75fr; column-gap: 9%; }
.service-permanent .service-heading { padding: 20px 0 0 8%; }
.service-permanent .service-heading h2 { font-size: var(--type-section); }
.service-permanent .service-image { width: 83%; justify-self: end; margin-top: 220px; }
.service-permanent .service-copy { padding-left: 8%; margin-top: 70px; }

@media (min-width: 1680px) {
  .cover-title { font-size: 220px; }
  .treatments-cover h1 span { padding-left: 151px; }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .cover { min-height: 680px; max-height: 820px; }
  .cover-lockup { left: 9%; top: 80px; }
  .cover-title { font-size: 13.8vw; }
  .cover-image { left: 48%; width: 45%; top: 35%; height: 56%; }
  .cover-tagline { font-size: var(--type-lead); margin-top: 20px; margin-left: 0; }
  .cover-caption { left: 10%; top: 79%; }
  .closing-story { min-height: 650px; }
  .closing-story figure { width: 44%; margin-left: 39%; }
  .closing-story h2 > span:nth-child(2), .closing-story .image-title-contrast > span:nth-child(2) { margin-left: 15%; }
  .appointments { padding-inline: 3%; column-gap: 8%; }
  .treatments-cover h1 { left: 7%; }
  .treatments-cover figure { right: 8%; width: 38%; }
  .service { column-gap: 7%; }
  .service-heading, .service-copy { padding-left: 0; }
  .service-heading { padding-top: 0; }
  .service-copy { margin-top: 35px; }
  .service-lashes { padding-left: 0; column-gap: 12%; }
}

@media (pointer: coarse) { .floral-relief::before { background-size: 1006.4px; } }

@media (max-width: 640px) {
  :root { --gutter: 24px; --type-body: 16px; --type-lead: 28px; --type-section: clamp(52px, 13.2vw, 80px); scroll-padding-top: 24px; }
  .site-header { height: 78px; gap: 16px; }
  .brand { font-size: 22px; }
  .site-header nav { gap: 0; font-size: var(--type-ui); }
  .site-header nav a { min-height: 44px; display: flex; align-items: center; }
  .site-header nav > a:not(:first-child) { display: none; }
  .cover { min-height: max(780px, 145vw); height: calc(100svh - 78px); max-height: none; }
  .cover-lockup { top: 64px; left: 8%; }
  .cover-title { font-size: clamp(82px, 21.5vw, 138px); line-height: .98; }
  .cover-title span + span { margin-left: 10%; }
  .cover-image { top: calc(150px + 43vw); left: 24%; width: 70%; height: 43%; }
  .cover-tagline { margin: 18px 0 0 0; font-size: var(--type-lead); letter-spacing: -.02em; }
  .cover-caption { top: 89%; left: 9%; right: auto; }
  .cover-caption .text-link { font-size: var(--type-ui); gap: 25px; }
  .atelier { padding: 120px 0 130px; }
  .atelier h2 { font-size: var(--type-lead); margin-top: 28px; }
  .atelier-note { margin-top: 38px; margin-left: 20%; }
  .atelier-note p { font-size: var(--type-body); }
  .treatment-edit { display: block; padding-right: 0; }
  .edit-photo { width: 91%; }
  .edit-menu { margin-left: 12%; }
  .edit-menu h2 { margin: calc(-1 * var(--type-section)) 0 35px -4%; font-size: var(--type-section); }
  .treatment-links a { font-size: var(--type-lead); padding-block: 21px; }
  .closing-story { margin-top: 145px; min-height: 610px; padding-top: 0; }
  .closing-story h2 { font-size: var(--type-section); }
  .closing-story h2 > span:first-child, .closing-story .image-title-contrast > span:first-child { margin-left: 0; }
  .closing-story h2 > span:nth-child(2), .closing-story .image-title-contrast > span:nth-child(2) { margin-left: 5%; }
  .closing-story figure { margin: calc(-.85 * var(--type-section)) 0 0 19%; width: 81%; }
  .appointments { display: block; padding: 115px 0 90px; }
  .appointments > .eyebrow { margin-bottom: 25px; }
  .appointments h2 { font-size: var(--type-section); }
  .appointment-action { margin-top: 38px; margin-left: 18%; }
  .appointment-action .text-link { font-size: var(--type-ui); }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding-block: 25px 32px; }
  .site-footer .brand { font-size: 22px; grid-column: 1 / -1; }
  .site-footer > p, .site-footer > a:not(.brand) { font-size: var(--type-meta); }
  .site-footer > p { max-width: 160px; line-height: 1.4; }
  .site-footer > a > span { margin-left: 8px; }
  .booking-dialog { padding: 70px 28px 34px; }
  .treatments-cover { min-height: 760px; height: calc(100svh - 78px); max-height: 880px; }
  .treatments-tagline { top: 8%; left: 8%; font-size: var(--type-lead); }
  .treatments-cover h1 { top: 18%; left: 6%; font-size: clamp(45px, 12.2vw, 78px); line-height: 1.14; }
  .treatments-cover h1 span { padding-left: 3vw; }
  .treatments-cover figure { top: 37%; right: 6%; width: 67%; height: 43%; }
  .treatments-intro { top: 86%; left: 9%; right: auto; }
  .treatments-intro .text-link { margin: 0; font-size: var(--type-ui); gap: 25px; }
  .treatment-index { padding-block: 60px 26px; flex-wrap: wrap; gap: 8px 30px; }
  .treatment-index a { font-size: var(--type-body); }
  .treatment-index span { margin-left: 12px; }
  .service { display: flex; flex-direction: column; gap: 0; padding: 100px 0 0; }
  .service-heading { padding: 0; width: 100%; }
  .service-heading h2 { font-size: var(--type-section); }
  .service-image { width: 90%; margin: 35px 0 0 10%; }
  .service-copy { padding: 0; width: 90%; margin: 32px 0 0 10%; }
  .service-copy > p { font-size: var(--type-body); }
  .service-copy details { margin-top: 20px; }
  .service-lashes { margin-top: 30px; }
  .service-lashes .service-heading { margin-left: 12%; width: 88%; padding: 0; }
  .service-lashes .service-image { margin-left: 0; }
  .service-lashes .service-copy { margin-top: 32px; }
  .service-permanent { margin-top: 30px; }
  .service-permanent .service-heading { padding: 0; }
  .service-permanent .service-heading h2 { font-size: var(--type-section); }
  .service-permanent .service-image { width: 82%; margin-top: 35px; margin-left: 18%; }
  .service-permanent .service-copy { padding-left: 0; margin-top: 32px; }
  .margin-relief { opacity: .32; height: 570px; background-size: 820px; }
  .atelier .margin-relief { width: 135px; top: -70px; right: -52px; }
  .closing-story .margin-relief { width: 145px; top: 5%; left: -65px; }
  .appointments .margin-relief { width: 140px; top: -35%; right: -50px; }
  .service-brows .margin-relief { width: 95px; top: 25%; left: -50px; }
  .service-permanent .margin-relief { width: 160px; top: -80px; right: -55px; height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .margin-relief { animation: none; }
}

/* Optional editing controls, opened with E; the cover remains interactive. */
.photo-controls[hidden] { display: none; }
.photo-controls { position: fixed; z-index: 20; right: 24px; bottom: 24px; width: min(340px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: 24px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font-sans); }
.photo-controls-heading, .photo-controls-label, .photo-controls-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.photo-controls h2 { margin: 0; font: 400 18px/1.3 var(--font-sans); letter-spacing: 0; }
.photo-controls button { min-height: 44px; font: inherit; font-size: 14px; }
.photo-controls-label { margin-top: 22px; }
.photo-controls output { font-variant-numeric: tabular-nums; }
.photo-controls input { display: block; width: 100%; height: 44px; margin: 4px 0; accent-color: var(--accent); cursor: pointer; }
.photo-controls p { font-size: 14px; line-height: 1.5; margin: 8px 0 16px; }
.photo-controls-footer { border-top: 1px solid var(--rule); padding-top: 8px; font-size: 14px; }
.photo-controls-footer button { color: var(--accent); }
.photo-controls .grain-toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 10px; cursor: pointer; }
.photo-controls .grain-toggle input { width: 18px; height: 18px; margin: 0; }
