/* Hair by Kaylie LaFoy - HBKL v2.0 (Kaylie's rebrand brief, 2026-11-09)
   Palette = her exact tokens. Contrast (WCAG 2.x, python tools/check_contrast.py):
   ivory on charcoal 15.5; ivory on --rasp-btn 4.99 (her #C13D78 is 4.34 with ivory, so filled
   buttons use the one-step-deeper #B23670); text tints for dark backgrounds: --rasp-text 6.2,
   --purple-text 7.1; orange 6.1, chartreuse 9.7, blue 5.9 on charcoal as-is. Raspberry and purple
   themselves are used for lines, borders and icons, never small text. */

:root {
  --charcoal: #17171B;
  --surface: #1F1E24;
  --surface-2: #29272F;
  --ivory: #F4EEE9;
  --muted: #BFB7B0;
  --rasp: #C13D78;
  --rasp-btn: #B23670;
  --rasp-btn-hover: #A8336A;
  --rasp-text: #E2769F;
  --orange: #E87932;
  --chartreuse: #B6C944;
  --blue: #6498C9;
  --purple: #8763A7;
  --purple-text: #B497D4;
  --line: rgba(244, 238, 233, .12);
  --line-strong: rgba(244, 238, 233, .24);

  --head: 'Outfit', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --label: 'DM Sans', 'Manrope', system-ui, sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --radius: 20px;
  --pill-space: 0px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ivory);
  background-color: var(--charcoal);
  /* subtle artistic texture: fine grain, very low contrast */
  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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: var(--pill-space);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rasp-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--rasp-text); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--charcoal); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.2rem, 7.4vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 5vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.label {
  font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px; display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent, var(--rasp)); }
.lede { font-size: clamp(1.1rem, 3.6vw, 1.3rem); line-height: 1.55; color: var(--ivory); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.light { font-weight: 300; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(23, 23, 27, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; position: relative; }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand img { height: 34px; width: auto; }
.brand .brand-wide { display: none; }
.site-nav ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.site-nav a:hover { color: var(--ivory); }
.site-nav a[aria-current="page"] { color: var(--ivory); box-shadow: inset 0 -2px 0 var(--rasp); }
.nav-desktop, .site-header .header-cta { display: none; }
.nav-mobile summary {
  list-style: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid var(--line-strong); cursor: pointer; color: var(--ivory);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav-mobile[open] summary { border-color: var(--rasp); }
.nav-mobile .nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--charcoal); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 16px; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .8); }
.nav-mobile ul { flex-direction: column; gap: 0; }
.nav-mobile li + li { border-top: 1px solid var(--line); }
.nav-mobile a { display: flex; min-height: 50px; padding: 0 4px; font-family: var(--head); font-size: 1.15rem; font-weight: 500; color: var(--ivory); }
.nav-mobile a[aria-current="page"] { box-shadow: none; color: var(--rasp-text); }
@media (min-width: 1140px) {
  .header-row { min-height: 76px; }
  .brand .brand-wide { display: block; height: 28px; }
  .brand .brand-compact { display: none; }
  .nav-mobile { display: none; }
  .nav-desktop { display: block; }
  .site-header .header-cta { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--body); font-size: 1rem; font-weight: 700; letter-spacing: .01em; text-decoration: none; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--rasp-btn); color: var(--ivory); box-shadow: 0 10px 26px -14px rgba(193, 61, 120, .9); }
.btn-primary:hover { background: var(--rasp-btn-hover); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--rasp); color: var(--ivory); }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 1.05rem; }
.btn-lg .arrow { margin-left: 4px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row:not(:has(> :not([hidden]))) { display: none; }
.note-line { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .95rem; margin: 16px 0 0; }
.note-line svg { width: 20px; height: 20px; margin-top: 2px; flex: none; fill: none; stroke: var(--chartreuse); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--rasp-text); }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.text-link:hover { color: var(--ivory); }

/* One persistent booking pill on phones and tablets (not a bar; page padding keeps it off content) */
.book-pill {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 999px; background: var(--rasp-btn); color: var(--ivory); font-weight: 700; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(244, 238, 233, .12);
}
.book-pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.book-pill:hover { background: var(--rasp-btn-hover); color: var(--ivory); }
.book-pill.is-tucked { opacity: 0; pointer-events: none; transform: translateY(12px); }
body { --pill-space: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 1140px) { .book-pill { display: none; } body { --pill-space: 0px; } }

/* ---------- Sections, cards ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
@media (min-width: 760px) { .card { padding: 32px; } }
.card-accent::before { content: ""; position: absolute; left: 22px; top: -1px; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent, var(--rasp)); }
.grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 18px; } .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.icon { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent, var(--rasp)); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Home hero: her logo lockup + tagline + text CTA (no photo background) ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 34px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 100% 0%, rgba(193, 61, 120, .09), transparent 70%),
              radial-gradient(60% 60% at 0% 100%, rgba(135, 99, 167, .06), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 18px; justify-items: center; text-align: center; }
.hero-logo { margin: 0; line-height: 0; width: min(84vw, 360px); }
.hero-logo img { width: 100%; height: auto; }
.tagline { font-family: var(--head); font-weight: 500; font-size: clamp(1.2rem, 5vw, 1.6rem); line-height: 1.3; margin: 0 0 20px; letter-spacing: -.005em; }
.tagline span { display: block; }
.tagline span:nth-child(2) { color: var(--rasp-text); }
.hero-copy .btn-row { justify-content: center; }
.hero-copy .note-line { justify-content: center; text-align: left; }
@media (max-width: 480px) { .hero-copy .btn-lg { width: 100%; justify-content: space-between; } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 60px; }
  .hero-grid { grid-template-columns: 1.05fr 1px 1fr; gap: 56px; align-items: center; justify-items: start; text-align: left; }
  .hero-grid::after { content: ""; grid-column: 2; grid-row: 1; align-self: stretch; background: var(--line-strong); }
  .hero-logo { grid-column: 1; grid-row: 1; justify-self: center; width: min(100%, 480px); }
  .hero-copy { grid-column: 3; grid-row: 1; }
  .hero-copy .btn-row { justify-content: flex-start; }
  .hero-copy .note-line { justify-content: flex-start; }
  .tagline { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
}

/* ---------- Selected work (editorial, asymmetric) ---------- */
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2fr 1fr; gap: 10px; align-items: stretch; position: relative; z-index: 0; }
.work-grid .w1 { grid-row: span 2; position: relative; }
.work-grid .w1::before { content: ""; position: absolute; inset: 14px -8px -8px 14px; border: 1px solid var(--rasp); border-radius: 18px; opacity: .6; z-index: -1; pointer-events: none; }
.work-grid .w4, .work-grid .w5 { display: none; }
.work-grid a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); height: 100%; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.work-grid .w1 img { aspect-ratio: auto; }
.work-frame { position: relative; padding: 0 8px 8px 0; }
@media (min-width: 760px) {
  .work-grid { grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
  .work-grid .w4, .work-grid .w5 { display: block; }
  .work-grid .w3, .work-grid .w5 { transform: translateY(28px); }
  .work-frame { padding-bottom: 28px; }
  .work-grid { gap: 18px; }
}

/* ---------- Services cards ---------- */
.svc-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.svc-card ul { list-style: none; margin: 0 0 6px; padding: 0; }
.svc-card li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.svc-price { flex: none; color: var(--ivory); font-family: var(--label); font-weight: 600; font-variant-numeric: tabular-nums; }
.svc-card li:last-child { border-bottom: 0; }

/* ---------- Meet Kaylie (no portrait: monogram card) ---------- */
.meet { display: grid; gap: 18px; }
.mono-card { display: grid; place-items: center; min-height: 200px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); padding: 28px; }
.mono-card { position: relative; overflow: hidden; }
.mono-card img { width: min(70%, 260px); height: auto; }
.mono-card .meet-feather { position: absolute; width: 74px; right: 14px; bottom: 10px; opacity: .55; }
.photo-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.headshot img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.studio-card .headshot img { border-radius: 14px; margin-bottom: 16px; }
@media (min-width: 860px) { .meet { grid-template-columns: 5fr 7fr; gap: 28px; align-items: center; } }

/* ---------- Studio info (one compact card) ---------- */
.info-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.info-item { display: flex; gap: 12px; align-items: flex-start; padding: 18px 16px; font-size: .95rem; line-height: 1.4; }
.info-item:nth-child(odd) { border-right: 1px solid var(--line); }
.info-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.info-item .icon { width: 24px; height: 24px; margin-top: 1px; }
.info-item strong { font-weight: 700; }
.c-chart { color: var(--chartreuse); }
.c-rasp { color: var(--rasp-text); }
@media (min-width: 900px) {
  .info-card { grid-template-columns: repeat(4, 1fr); }
  .info-item { padding: 22px 20px; }
  .info-item:nth-child(-n+2) { border-bottom: 0; }
  .info-item:not(:last-child) { border-right: 1px solid var(--line); }
}

/* ---------- Final CTA ---------- */
.cta-card { background: linear-gradient(135deg, rgba(193, 61, 120, .16), rgba(135, 99, 167, .08) 60%, var(--surface)); border: 1px solid rgba(193, 61, 120, .4); border-radius: 24px; padding: 32px 22px; }
.cta-card h2 { max-width: 18ch; }
@media (min-width: 760px) { .cta-card { padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; } .cta-card .btn-row { justify-content: flex-end; } }

/* ---------- Page heads ---------- */
.page-head { padding: 40px 0 8px; position: relative; overflow: hidden; }
.page-head h1 { margin-bottom: .3em; }
.page-head .sub { color: var(--muted); margin: 0; }
.head-feather { position: absolute; right: 2%; top: 26px; width: 120px; opacity: .4; pointer-events: none; display: none; }
@media (min-width: 900px) { .page-head { padding: 72px 0 16px; } .head-feather { display: block; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--accent, var(--line-strong)); background: transparent; color: var(--ivory); font-family: var(--body); font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.chip:hover { color: var(--ivory); background: rgba(244, 238, 233, .05); }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--accent, var(--rasp)) 26%, var(--charcoal)); }
.chip[data-filter="all"][aria-pressed="true"] { background: var(--rasp-btn); border-color: var(--rasp-btn); }

/* ---------- Services page ---------- */
.services-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .services-grid { grid-template-columns: 7fr 4fr; gap: 24px; } .side-card { position: sticky; top: 100px; } }
.dur { display: block; font-family: var(--body); font-size: .85rem; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* ---------- Price menu ---------- */
.menu-card { scroll-margin-top: 100px; }
.menu-card h2 { font-size: 1.7rem; display: flex; align-items: center; gap: 12px; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu li:last-child { border-bottom: 0; }
.menu .item { flex: 1 1 auto; font-weight: 600; }
.menu .price { flex: none; font-family: var(--label); font-weight: 600; font-size: 1.1rem; text-align: right; font-variant-numeric: tabular-nums; }
.menu .price small { font-family: var(--body); font-weight: 500; font-size: .82rem; color: var(--muted); margin-left: 6px; }
.menu .price small.pre { margin: 0 6px 0 0; }
@media (max-width: 479px) { .menu li { flex-direction: column; gap: 2px; } .menu .price { text-align: left; } }
.fine { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(244, 238, 233, .04); border: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.fine strong { color: var(--ivory); }

/* ---------- Long-form copy (About, Hair Care, Policies) ---------- */
.prose { max-width: 680px; }
.prose p { font-size: 1.06rem; }
.prose strong { font-weight: 700; color: var(--ivory); }
.prose .standout { font-family: var(--head); font-weight: 500; font-size: clamp(1.3rem, 4.4vw, 1.6rem); line-height: 1.35; margin: 1.3em 0; }
.prose .standout strong { font-weight: 600; }
.verse { margin: 1.6em 0; padding: 20px 22px; border-left: 3px solid var(--purple); background: rgba(135, 99, 167, .09); border-radius: 0 16px 16px 0; }
.verse p { font-family: var(--head); font-weight: 400; font-size: 1.25rem; line-height: 1.45; margin: 0; }
.verse cite { display: block; margin-top: 10px; font-style: normal; font-size: .9rem; color: var(--purple-text); font-weight: 600; }
.verse-intro { margin-bottom: .4em; }
.brand-line, .prose p.brand-line { font-family: var(--head); font-weight: 500; font-size: clamp(1.2rem, 4vw, 1.45rem); color: var(--rasp-text); margin: 1.3em 0; }
.sign, .prose p.sign { font-family: var(--head); font-weight: 500; font-size: 1.35rem; line-height: 1.35; margin: .4em 0 1em; }
.sign > span { display: block; }
.sign .heart-ch { display: inline; }
.sign .heart-ch { color: var(--rasp-text); }
.subtitle { font-family: var(--head); font-weight: 400; font-size: clamp(1.2rem, 4.2vw, 1.5rem); color: var(--muted); margin: 0 0 1em; }
.about-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 4fr 7fr; gap: 56px; } .about-grid .studio-card { position: sticky; top: 104px; } }
.studio-card img.mono { width: 150px; margin-bottom: 16px; }
.studio-card > p { margin-bottom: 12px; }
.studio-card ul { list-style: none; margin: 0; padding: 0; }
.studio-card li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: .97rem; }
.studio-card li .icon { width: 22px; height: 22px; }
.icon-head { display: flex; align-items: center; gap: 12px; }

.schedule { margin: 0; padding: 0; }
.schedule div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.schedule div:last-child { border-bottom: 0; }
.schedule dt { font-weight: 700; }
.schedule dd { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .schedule div { grid-template-columns: 2fr 3fr; gap: 24px; } }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li svg { position: absolute; left: 0; top: 14px; width: 18px; height: 18px; fill: none; stroke: var(--accent, var(--rasp)); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px; border: 1px solid var(--orange); border-radius: 16px; background: rgba(232, 121, 50, .1); }
.callout svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.callout p { margin: 0 0 .5em; } .callout p:last-child { margin: 0; }
.policy h3 { display: flex; align-items: center; gap: 10px; }
.policy h3 .icon { width: 20px; height: 20px; }
.policy p:last-child { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 12px 4px; font-family: var(--head); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--rasp-text); stroke-width: 1.8; stroke-linecap: round; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 16px; max-width: 680px; }
.faq .answer p:last-child { margin-bottom: 0; }

.care-grid { align-items: start; }
@media (min-width: 760px) { .care-wide { grid-column: 1 / -1; } }
.policy-grid { margin-top: 8px; }
.faq-wrap { max-width: 900px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--ivory); text-decoration: none; }
a.contact-item:hover { border-color: var(--rasp); color: var(--ivory); }
.contact-item.primary { background: var(--rasp-btn); border-color: var(--rasp-btn); }
.contact-item.primary .icon { stroke: var(--ivory); }
.contact-item.primary .ci-label { color: var(--ivory); }
a.contact-item.primary:hover { background: var(--rasp-btn-hover); }
.ci-label { display: block; font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ci-value { display: block; font-size: 1.08rem; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Portfolio ---------- */
.pf-sub { font-family: var(--label); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pf-count { min-height: 1.6em; margin: 12px 0 0; }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pf-grid li[hidden] { display: none; }
.pf-link { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.pf-link:hover { border-color: var(--rasp); }
.pf-link img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 760px) { .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1040px) { .pf-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.style-grid { display: grid; gap: 32px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; align-content: center; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon { width: 40px; height: 40px; stroke-width: 1.3; }
.feature h3 { font-family: var(--label); font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 4px; }
.feature p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .style-grid { grid-template-columns: 7fr 5fr; gap: 64px; } .features { border-left: 1px solid var(--line); padding-left: 48px; } }
.lightbox { padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--charcoal); color: var(--ivory); width: fit-content; max-width: 96vw; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 12, .9); }
.lightbox figure { margin: 0; width: min(92vw, calc(78vh * .8), 640px); }
.lightbox img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px 18px 0 0; background: var(--surface); }
.lightbox figcaption { padding: 14px 64px 16px 18px; color: var(--muted); font-size: .95rem; min-height: 52px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(23, 23, 27, .85); color: var(--ivory); display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { border-color: var(--rasp); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 10px; right: 10px; } .lb-prev { left: 10px; top: 40%; } .lb-next { right: 10px; top: 40%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 28px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; gap: 26px; }
.footer-mono { width: 150px; margin-bottom: 14px; }
.site-footer a { color: var(--ivory); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--rasp-text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-meta { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.notfound { min-height: 55vh; display: grid; align-items: center; }

/* ---------- Motion: only when the visitor has not asked for less ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .chip, .contact-item, .site-nav a, .text-link, .pf-link, .book-pill, .card { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s ease, opacity .25s ease; }
  .btn:active, .chip:active, .book-pill:active { transform: scale(.97); }
  .pf-link:hover, .work-grid a:hover { transform: translateY(-3px); }
  .text-link:hover svg { transform: translateX(3px); transition: transform .2s ease; }
  .js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
}

/* Phones: keep Meet Kaylie compact (headshot never takes the whole screen) */
@media (max-width: 859px) {
  .meet .photo-card { width: min(62%, 280px); justify-self: start; }
  .meet { position: relative; }
}
@media (max-width: 480px) {
  .hero-copy .btn-lg { padding: 0 18px; font-size: 1rem; gap: 10px; }
  .card { padding: 22px 18px; }
}
@media (max-width: 899px) { .studio-card .headshot { display: block; max-width: 240px; } }
