/* Hallmark · genre: atmospheric salon · tone: soft, polished, trustworthy
   · anchor: dusty rose · macrostructure: visual hero → proof → interactive menu → asymmetrical visit split
   · pre-emit critique: P5 H5 E5 S5 R5 V4 · contrast: pass (40–41)
   · nav: N1b · footer: Ft4 · honest: pass (46) · chrome: pass (47)
   · tokens: pass (48) · responsive/mobile: pass (34, 49, 50–57) · icons: pass (30) */
/* Fonts are loaded via <link rel="preconnect"> + <link rel="stylesheet"> in each
   page's <head> (not @import here) — parallel fetch, faster LCP/FCP. */

:root {
  --ivory: #faf6f1;
  --cream: #f3ece3;
  --charcoal: #2b2724;
  --charcoal-soft: #55504b;
  --rose: #c98a8a;        /* dusty rose accent */
  --rose-deep: #985a5a;   /* dusty-rose accent, darkened to meet WCAG AA (4.5:1) as text/on buttons */
  --rose-pale: #f6e7e4;   /* soft rose surface for featured team tags */
  --gold: #c9a86a;        /* hairline detail */
  --gold-deep: #7a5e28;   /* deep gold accent, darkened to meet WCAG AA (4.5:1) as text */
  --gold-pale: #f2e6ce;   /* soft gold surface for featured team tags */
  --sage-deep: #55684a;   /* muted sage accent, darkened to meet WCAG AA (4.5:1) as text */
  --sage-pale: #e8ece0;   /* soft sage surface for featured team tags */
  --white: #ffffff;       /* true white — button labels, translucent overlays */
  --surface: #fffdfb;     /* warm off-white — card/panel surfaces (avoids flat #fff on the warm palette) */
  --shadow: 0 8px 30px rgba(43, 39, 36, 0.08);
  --radius: 10px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --maxw: 1120px;
  /* Motion tokens — named easings/durations instead of the browser default `ease` + `transition: all` */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 160ms;
  --dur-med: 220ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  overflow-x: clip;
}
h1, h2, h3 { min-width: 0; overflow-wrap: anywhere; font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--charcoal); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
a { color: var(--rose-deep); }
img { max-width: 100%; display: block; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; inset-block-start: 0.5rem; inset-inline-start: 0.5rem; z-index: 100;
  padding: 0.65rem 0.9rem; border-radius: 6px; background: var(--charcoal); color: var(--white);
  font-weight: 600; text-decoration: none; transform: translateY(-160%);
  clip-path: inset(50%);
  transition: transform var(--dur-short) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); clip-path: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-deep); font-weight: 500; margin: 0 0 0.5rem;
}
.hairline { height: 1px; background: var(--gold); opacity: 0.5; border: 0; margin: 1.5rem 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; text-decoration: none;
  cursor: pointer; border: 1px solid transparent;
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
  font-size: 0.98rem; white-space: nowrap;
}
.btn-primary { background: var(--rose-deep); color: var(--white); }
.btn-primary:hover { background: var(--charcoal); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(201, 168, 106, 0.35);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; text-decoration: none; color: var(--charcoal); white-space: nowrap; }
.brand span { color: var(--rose-deep); }
.site-nav { display: flex; align-items: center; gap: 1.15rem; align-self: stretch; }
/* :not(.btn) so these element-level rules don't override the .btn-primary
   label color (the nav "Book" CTA keeps its own white-on-rose styling). */
.site-nav a:not(.btn) { color: var(--charcoal); text-decoration: none; font-size: 0.95rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--rose-deep); }
.nav-giftcard { position: relative; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--charcoal); }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(43, 39, 36, 0.35); }
.nav-dropdown > a:not(.btn):hover, .nav-dropdown > a:not(.btn)[aria-current="page"] { text-decoration-color: rgba(152, 90, 90, 0.5); }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white); border: 1px solid rgba(201, 168, 106, 0.4);
  border-radius: 10px; box-shadow: var(--shadow); padding: 0.5rem;
  min-width: 210px; display: flex; flex-direction: column; gap: 0.1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); z-index: 60;
}
.dropdown-panel a { padding: 0.55rem 0.8rem; border-radius: 6px; font-size: 0.9rem; white-space: nowrap; }
.dropdown-panel a:hover { background: var(--cream); color: var(--rose-deep); }

/* Desktop hover only. .nav-dropdown stretches to the full header height so the
   hoverable area has no dead zone between the trigger and the panel below it —
   without this, the panel opens right where the mouse leaves the hoverable box. */
@media (min-width: 901px) {
  .nav-dropdown { align-self: stretch; display: flex; align-items: center; }
  .nav-dropdown:hover .dropdown-panel,
  .nav-dropdown:focus-within .dropdown-panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--gold);
    padding: 0.5rem 0; transform: translateY(-160%); transition: transform var(--dur-med) var(--ease-out);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .site-nav[data-open="true"] { transform: translateY(0); }
  .site-nav a { padding: 0.8rem 20px; width: 100%; }
  .site-nav .btn { width: calc(100% - 40px); margin: 0.6rem 20px; text-align: center; }
  .nav-dropdown { width: 100%; }
  .dropdown-panel {
    display: none; position: static; width: 100%; max-width: 100%; transform: none;
    opacity: 0; visibility: hidden; pointer-events: none;
    background: transparent; border: 0; box-shadow: none; border-radius: 0;
    padding: 0 0 0 1rem; margin-top: 0;
  }
  .nav-dropdown[data-open="true"] .dropdown-panel {
    display: flex; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .dropdown-panel a {
    color: var(--charcoal-soft); font-size: 0.88rem; white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .brand { font-size: 1.05rem; }
}

/* Promo banner */
.banner { background: var(--charcoal); color: var(--ivory); text-align: center; font-size: 0.9rem; padding: 0.55rem 20px; }

/* Hero */
.hero {
  background-image:
    linear-gradient(rgba(250, 246, 241, 0.1), rgba(250, 246, 241, 0.1)),
    url("images/hero-manicure.webp");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(201, 168, 106, 0.55);
}
.hero .container { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero-layout { display: flex; align-items: center; justify-content: center; min-height: clamp(500px, 66vh, 680px); }
.hero-copy { width: min(100%, 680px); min-width: 0; text-align: center; }
.hero h1 { margin: 0.4rem 0 0; }
.hero h1 .h1-accent { display: block; color: var(--rose-deep); }
.hero p.lead { font-size: 1.12rem; color: var(--charcoal-soft); max-width: 38ch; margin: 1rem auto 1.5rem; }
/* Reviews proof as a bordered badge — the salon's key differentiator */
.proof {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 500; color: var(--charcoal);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 168, 106, 0.55);
  padding: 0.5rem 1.05rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(43, 39, 36, 0.05);
}
.stars { color: var(--gold); letter-spacing: 2px; }
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-call { margin: 1.1rem 0 0; color: var(--charcoal-soft); font-size: 0.98rem; }
.hero-call a { font-weight: 600; color: var(--rose-deep); text-decoration: none; border-bottom: 1px solid rgba(152, 90, 90, 0.4); }
.hero-call a:hover { border-bottom-color: var(--rose-deep); }

@media (max-width: 760px) {
  .hero {
    background-image:
      linear-gradient(rgba(250, 246, 241, 0.08), rgba(250, 246, 241, 0.08)),
      url("images/hero-manicure-mobile.webp");
    background-position: center bottom;
    background-size: cover;
  }
  .hero .container { padding-top: 2.5rem; padding-bottom: 3.5rem; }
  .hero-layout { min-height: 0; }
  .hero .proof {
    gap: 0.4rem; padding: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; font-size: 0.82rem;
  }
  .hero .proof .stars { font-size: 0.78rem; letter-spacing: 1px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.55rem; margin-top: 1.35rem; }
  .hero-actions .btn-primary { min-width: 230px; }
  .hero-actions .btn-outline {
    padding: 0.25rem 0; border: 0; border-radius: 0;
    color: var(--rose-deep); background: transparent;
    text-decoration: underline; text-underline-offset: 0.2em;
  }
  .hero-actions .btn-outline:hover { color: var(--charcoal); background: transparent; }
  .hero-call { display: none; }
  .mobile-optional { display: none; }
}

/* Section ornament — a gold hairline with a center diamond, used under home headings */
.ornament { width: 56px; height: 12px; margin: 0.85rem auto 0; position: relative; }
.ornament::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--gold); opacity: 0.55; }
.ornament::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%) rotate(45deg); background: var(--gold); }

/* Cards + grids */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.review-card { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.review-card .stars { display: block; margin-bottom: 0.6rem; }
.review-card .author { margin-top: 0.8rem; font-weight: 500; color: var(--rose-deep); }

/* Homepage service selector — one focused category replaces a wall of cards. */
.service-tabs {
  display: flex; justify-content: center; gap: 0.45rem; flex-wrap: wrap;
  margin: 2rem auto 1rem;
}
.service-tabs button {
  border: 1px solid rgba(201, 168, 106, 0.55); border-radius: 999px;
  background: transparent; color: var(--charcoal); padding: 0.55rem 1rem;
  font: 500 0.9rem/1.2 var(--sans); cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
}
.service-tabs button:hover { border-color: var(--rose-deep); }
.service-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.service-tabs button[aria-selected="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.service-preview {
  max-width: 760px; margin: 0 auto; padding: clamp(1.1rem, 3vw, 1.6rem);
  background: var(--surface); border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.service-preview-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.service-preview-head h3 { margin: 0; }
.service-preview-head p { margin: 0.3rem 0 0; color: var(--charcoal-soft); }
.service-preview-head a { flex: 0 0 auto; font-size: 0.86rem; font-weight: 500; text-decoration: none; }
.service-preview-prices { margin-top: 1rem; border-top: 1px solid rgba(201, 168, 106, 0.3); }
.service-preview-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(201, 168, 106, 0.22); }
.service-preview-item:last-child { border-bottom: 0; padding-bottom: 0; }
.service-preview-item strong { font-family: var(--serif); white-space: nowrap; }
.service-preview-item strong,
.service-item .price,
.hours-list { font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .home-review-grid .home-review:not(:first-child) { display: none; }
  .home-review-grid { display: block; }
  .service-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; }
  .service-tabs button { width: 100%; white-space: nowrap; }
  .service-preview-head { display: block; }
  .service-preview-head a { display: inline-block; margin-top: 0.65rem; }
}

@media (max-width: 340px) {
  .service-preview-item { display: block; }
  .service-preview-item strong { display: block; margin-top: 0.2rem; white-space: normal; overflow-wrap: anywhere; }
}

/* A deliberately uneven split gives the lower homepage a visual anchor. */
.home-visit-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.home-visit-grid > :last-child {
  padding-inline-start: clamp(1.5rem, 4vw, 3rem);
  border-inline-start: 1px solid rgba(201, 168, 106, 0.45);
}

@media (max-width: 760px) {
  .home-visit-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .home-visit-grid > :last-child { padding-inline-start: 0; padding-block-start: 2rem; border-inline-start: 0; border-block-start: 1px solid rgba(201, 168, 106, 0.45); }
}

/* Services */
.service-group { margin-bottom: 2.2rem; scroll-margin-top: 88px; }
.service-group h3 { margin: 0 0 0.2rem; }
.service-group .blurb { color: var(--charcoal-soft); margin: 0 0 1rem; }
.service-group-note { display: inline-block; margin: 0 0 0.75rem; padding: 0.5rem 0.7rem; border-radius: 6px; background: var(--cream); color: var(--charcoal); font-size: 0.9rem; font-weight: 600; }
.service-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(201,168,106,0.25); }
.service-name-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem 0.65rem; }
.service-item .name { font-weight: 500; }
.service-item .duration { color: var(--charcoal-soft); font-size: 0.78rem; white-space: nowrap; }
.service-item .desc { color: var(--charcoal-soft); font-size: 0.92rem; }
.service-item .price { font-family: var(--serif); font-size: 1.1rem; white-space: nowrap; }
.pricing-note { background: var(--cream); border: 1px solid rgba(201, 168, 106, 0.4); padding: 1rem 1.2rem; border-radius: 8px; font-size: 0.92rem; }

@media (max-width: 600px) {
  .service-item { display: block; }
  .service-item .price { margin-top: 0.35rem; white-space: normal; line-height: 1.35; }
}

/* Hours + location */
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid rgba(201,168,106,0.2); }
.hours-list li.today { font-weight: 600; color: var(--rose-deep); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery-grid img, .gallery-ph { aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 8px; background: var(--cream); }
.gallery-grid img { width: 100%; height: 100%; box-shadow: var(--shadow); transition: transform var(--dur-med) var(--ease-out); }
.gallery-item { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: transparent; cursor: zoom-in; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery-lightbox { position: fixed; inset: 0; margin: auto; width: min(calc(100% - 2rem), 920px); height: fit-content; max-height: min(92dvh, 760px); padding: 0; border: 0; border-radius: var(--radius); background: var(--ivory); box-shadow: 0 24px 70px rgba(43, 39, 37, 0.3); }
.gallery-lightbox::backdrop { background: rgba(35, 30, 28, 0.72); backdrop-filter: blur(3px); }
.gallery-lightbox-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); max-height: min(92dvh, 760px); }
.gallery-lightbox-panel > img { width: 100%; height: 100%; max-height: min(92dvh, 760px); object-fit: contain; background: #1f1b19; }
.gallery-lightbox-copy { align-self: center; padding: 2rem; }
.gallery-lightbox-copy h2 { margin: 0.2rem 0 0.8rem; }
.gallery-lightbox-copy p:last-child { color: var(--charcoal-soft); }
.gallery-lightbox-close { position: absolute; z-index: 1; top: 0.75rem; right: 0.75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid rgba(43, 39, 37, 0.14); border-radius: 50%; background: rgba(255, 253, 248, 0.94); color: var(--charcoal); cursor: pointer; }
.gallery-lightbox-close svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.team-card h3 { margin-bottom: 0.7rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.team-tag { display: inline-flex; align-items: center; min-height: 1.8rem; padding: 0.3rem 0.65rem; border: 1px solid rgba(201, 168, 106, 0.42); border-radius: 999px; background: var(--cream); color: var(--charcoal-soft); font-size: 0.76rem; font-weight: 500; line-height: 1.2; }
.team-tag-featured { border-color: rgba(167, 91, 93, 0.35); background: var(--rose-pale); color: var(--rose-deep); }
.team-tag-enhancements { border-color: rgba(122, 94, 40, 0.35); background: var(--gold-pale); color: var(--gold-deep); }
.team-tag-specialty { border-color: rgba(85, 104, 74, 0.35); background: var(--sage-pale); color: var(--sage-deep); }
.team-portrait-note { max-width: 60ch; margin: 0.7rem auto 0; color: var(--charcoal-soft); font-size: 0.78rem; }
/* Two-up gallery on phones instead of a single tall column */
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .gallery-lightbox { width: calc(100% - 1rem); }
  .gallery-lightbox-panel { display: block; overflow-y: auto; }
  .gallery-lightbox-panel > img { max-height: 62dvh; }
  .gallery-lightbox-copy { padding: 1.25rem; }
}
/* Designed placeholder tiles — decorative motif over a soft gradient tint */
.gallery-ph {
  display: flex; align-items: center; justify-content: center;
  color: var(--rose-deep); border: 1px solid rgba(201, 168, 106, 0.35);
}
.gallery-ph svg { width: 46%; height: 46%; opacity: 0.9; }
.gallery-ph.tint-cream { background: linear-gradient(135deg, #f3ece3, var(--ivory)); }
.gallery-ph.tint-rose  { background: linear-gradient(135deg, #f6e7e4, var(--ivory)); color: var(--rose-deep); }
.gallery-ph.tint-gold  { background: linear-gradient(135deg, #f4eddd, var(--ivory)); color: var(--gold); }

/* Team monogram avatar — initial in serif on a warm gradient tile */
.avatar-mono {
  aspect-ratio: 1; margin-bottom: 0.8rem; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 7vw, 3.2rem);
  color: var(--rose-deep);
  background: linear-gradient(135deg, var(--cream), var(--ivory));
  border: 1px solid rgba(201, 168, 106, 0.4);
}

/* Policies — editorial list, gold hairline between sections */
.policy-list { display: grid; gap: 0; text-align: left; }
.policy { padding: 1.6rem 0; border-bottom: 1px solid rgba(201, 168, 106, 0.28); }
.policy:first-child { padding-top: 0; }
.policy:last-child { border-bottom: 0; }
.policy-title { font-size: 1.3rem; margin: 0 0 0.7rem; }
.policy-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.policy-points li { position: relative; padding-left: 1.3rem; color: var(--charcoal-soft); line-height: 1.6; }
.policy-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--rose); }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--cream); margin-top: 2rem; }
.footer-main { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: 3rem; padding-bottom: 2rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--rose); }
.site-footer a:focus-visible { outline-color: var(--cream); }
.social-row { display: flex; gap: 1rem; margin-top: 0.6rem; }
.social-row a { display: inline-flex; }
.social-row svg { width: 22px; height: 22px; }
.footer-bottom { text-align: center; font-size: 0.82rem; color: rgba(243,236,227,0.6); padding: 1rem 20px 2rem; }

/* Contact — warm editorial split with a tactile rose form card */
.contact-page { position: relative; overflow: hidden; background: radial-gradient(circle at 8% 20%, rgba(201, 138, 138, 0.13), transparent 26rem), radial-gradient(circle at 95% 75%, rgba(201, 168, 106, 0.12), transparent 24rem); }
.contact-page::before { content: ""; position: absolute; top: 5rem; left: calc(50% - 1px); width: 1px; height: calc(100% - 10rem); background: linear-gradient(transparent, rgba(201, 168, 106, 0.4), transparent); pointer-events: none; }
.contact-shell { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-intro { position: sticky; top: 7.5rem; padding-top: 1rem; }
.contact-intro h1 { margin: 0.35rem 0 1rem; }
.contact-lede { max-width: 38ch; color: var(--charcoal-soft); font-size: 1.05rem; }
.contact-details { display: grid; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(201, 168, 106, 0.45); }
.contact-detail { margin: 0; }
.contact-detail span { display: block; margin-bottom: 0.12rem; color: var(--rose-deep); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; }
.contact-detail a { color: var(--charcoal); text-decoration-color: rgba(152, 90, 90, 0.42); text-underline-offset: 0.2em; }
.contact-form-card { position: relative; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(152, 90, 90, 0.2); border-radius: 18px 18px 70px 18px; background: linear-gradient(145deg, var(--surface), #f8ebe8); box-shadow: 0 24px 70px rgba(90, 55, 50, 0.13); }
.contact-form-card::before { content: ""; position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-top: 1px solid rgba(201, 168, 106, 0.75); border-right: 1px solid rgba(201, 168, 106, 0.75); border-radius: 0 8px 0 0; }
.contact-form-card h2 { margin: 0 0 0.45rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.contact-form-note { margin: 0 0 1.6rem; color: var(--charcoal-soft); font-size: 0.88rem; }
.contact-form { display: grid; gap: 1rem; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-form label { display: grid; gap: 0.42rem; color: var(--charcoal); font-size: 0.84rem; font-weight: 500; }
.contact-form label small { color: var(--charcoal-soft); font: inherit; font-weight: 300; }
.contact-form input,
.contact-form textarea { width: 100%; border: 1px solid rgba(43, 39, 36, 0.18); border-radius: 7px; background: rgba(255, 253, 251, 0.78); color: var(--charcoal); font: inherit; font-weight: 300; transition: border-color var(--dur-short) var(--ease-out), background var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.contact-form input { min-height: 2.9rem; padding: 0.65rem 0.8rem; }
.contact-form textarea { min-height: 7.5rem; padding: 0.75rem 0.8rem; resize: vertical; }
.contact-form input:hover,
.contact-form textarea:hover { border-color: rgba(152, 90, 90, 0.46); }
.contact-form input:focus,
.contact-form textarea:focus { outline: 0; border-color: var(--rose-deep); background: var(--surface); box-shadow: 0 0 0 3px rgba(152, 90, 90, 0.12); }
.contact-form-actions { display: flex; align-items: center; gap: 1rem; min-height: 2.8rem; }
.contact-form .btn { border: 0; cursor: pointer; }
.contact-form .btn:disabled { cursor: wait; opacity: 0.7; }
.contact-form-status { margin: 0; color: var(--charcoal-soft); font-size: 0.82rem; line-height: 1.45; }
.contact-form-status.is-success { color: var(--sage-deep); }
.contact-form-status.is-error { color: var(--rose-deep); }
.contact-form-status a { text-decoration: underline; text-underline-offset: 0.15em; }

@media (max-width: 820px) {
  .contact-page::before { display: none; }
  .contact-shell { grid-template-columns: 1fr; gap: 2rem; }
  .contact-intro { position: static; padding-top: 0; }
  .contact-lede { max-width: 58ch; }
}

@media (max-width: 520px) {
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-form-actions { align-items: stretch; flex-direction: column; }
  .contact-form .btn { width: 100%; }
}

/* Utility */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
