/* Aiyana Beauty — public site */
:root {
  --ivory: #F6F2EC;
  --sand: #E7DED3;
  --stone: #D9CDBF;
  --taupe: #6E5F55;      /* brand colour from the logo */
  --taupe-line: #8A7C71;
  --ink: #2B2420;
  --muted: #5C5049;
  --line: #DDD2C5;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 32px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--taupe); }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }

/* type */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 20px; }
.display.xl { font-size: clamp(46px, 7vw, 96px); line-height: 0.98; }
.eyebrow, .label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); margin: 0 0 18px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 52ch; margin: 0 0 32px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font: inherit; font-size: 15px; color: var(--ink); background: transparent; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--taupe); border-color: var(--taupe); color: var(--ivory); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header / footer */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(246, 242, 236, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.header-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 28px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.main-nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.main-nav a[aria-current="page"]:not(.btn) { border-bottom: 1px solid var(--ink); }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer-row img { height: 36px; width: auto; }

/* placeholder when no photo yet */
.ph { background: var(--stone); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ph img { width: 30%; opacity: 0.35; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: end; padding-top: clamp(32px, 6vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-art a { display: block; overflow: hidden; border-radius: 4px; background: var(--stone); }
.hero-art img:not(.ph img) { width: 100%; height: 100%; object-fit: cover; }
.hero-a { aspect-ratio: 3 / 4; }
.hero-stack { display: flex; flex-direction: column; gap: 16px; padding-top: 64px; }
.hero-b { aspect-ratio: 1 / 1; }
.hero-c { aspect-ratio: 4 / 3; }

.credits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credits-row { display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 24px); color: var(--muted); }
.credits-row .eyebrow { margin: 0; font-style: normal; }

/* grids & cards */
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.section-head .display { margin: 0; }
.more { font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 32px 16px; }
.card { text-decoration: none; display: block; }
.card figure { margin: 0; }
.card-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--stone); }
.card-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img > img { transform: scale(1.03); }
.card figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 15px; }
.tag-line { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 40px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 14px; }
.chip[aria-current="page"] { background: var(--ink); color: var(--ivory); }
.more-ig { margin-top: 48px; }

/* bands */
.band-sand { background: var(--sand); }
.band-taupe { background: var(--taupe); color: var(--ivory); }
.band-taupe a { color: var(--ivory); }
.band-taupe .eyebrow, .band-taupe .label { color: #EDE5DB; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 48px; }
.service { border-top: 1px solid var(--taupe-line); padding: 28px 0; }
.service .num { font-size: 12px; letter-spacing: 0.18em; margin: 0 0 12px; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0 0 10px; }
.service p:last-child { margin: 0; color: #EDE5DB; }
.cta { text-align: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* split (about) */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-art { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--stone); }
.split-art > img { width: 100%; height: 100%; object-fit: cover; }
.prose p:not(.lead):not(.eyebrow) { color: var(--muted); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 48px; }
.facts ul { list-style: none; margin: 0; padding: 0; font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.facts li + li { margin-top: 8px; }

/* work detail */
.back { display: inline-block; margin-bottom: 24px; }
.work-head { margin-bottom: 40px; }
.work-head .display { margin-bottom: 8px; }
.meta { color: var(--muted); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.work-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 48px; align-items: start; }
.work-body:not(:has(.work-notes)) { grid-template-columns: minmax(0, 1fr); }
.gallery { columns: 2 280px; column-gap: 16px; }
.g-item { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 4px; overflow: hidden; background: var(--stone); }
.work-notes { position: sticky; top: 96px; color: var(--muted); }
.work-notes .label { margin-top: 28px; }
.credit-list { list-style: none; padding: 0; margin: 0 0 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags .chip { min-height: 36px; padding: 0 14px; font-size: 13px; color: var(--ink); }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }

/* forms */
.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.field em { color: var(--taupe); font-style: normal; }
.field.full, .full-start { grid-column: 1 / -1; }
.full-start { justify-self: start; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; min-height: 50px; padding: 10px 14px; border: 1px solid #A89888; border-radius: 6px; background: #FBF9F6; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 6px; background: #F4DFD9; color: #7E2A1E; }
.notice { background: var(--sand); border-radius: 8px; padding: 32px; }
.notice h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; margin: 0 0 8px; }
.contact-list { margin: 0; display: grid; gap: 18px; }
.contact-list dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }
.contact-list dd { margin: 2px 0 0; font-size: 18px; }

@media (max-width: 860px) {
  .hero, .split, .two-col, .work-body { grid-template-columns: minmax(0, 1fr); }
  .hero-stack { padding-top: 32px; }
  .work-notes { position: static; }
}
@media (max-width: 520px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .site-header { position: static; }
  .main-nav { gap: 4px 18px; }
  .brand img { height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .card-img > img { transition: none; } }

/* ---------- booking intake ---------- */
.book { max-width: 880px; }
.book-head .lead { margin-bottom: 28px; }
.progress { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font-size: 13px; color: var(--muted); }
.progress li { display: flex; flex-direction: column; gap: 8px; }
.progress li::before { content: ''; height: 3px; border-radius: 2px; background: var(--line); }
.progress li.done::before, .progress li[aria-current]::before { background: var(--taupe); }
.progress li[aria-current] { color: var(--ink); font-weight: 500; }
.progress span { display: none; }
.step-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 40px); margin: 0 0 24px; outline: none; }
.sub { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.svc-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-cond, .q-only { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.q-cond .q-grid { display: block; }
.q { display: flex; flex-direction: column; gap: 8px; font-size: 15px; min-width: 0; border: 0; padding: 0; margin: 0; }
.q.full, .q-cond.full { grid-column: 1 / -1; }
.q > label, .q > legend { font-weight: 500; font-size: 15px; padding: 0; }
.q em { color: var(--taupe); font-style: normal; }
.q small, .hint { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.q input:not([type="radio"]):not([type="file"]), .q select, .q textarea { font: inherit; font-size: 16px; min-height: 50px; padding: 10px 14px; border: 1px solid #A89888; border-radius: 8px; background: #FBF9F6; color: var(--ink); width: 100%; }
.q textarea { resize: vertical; }
.q input[type="date"], .q input[type="time"] { max-width: 240px; }
.q select { max-width: 420px; }

.q:not(.full) input:not([type="radio"]), .q:not(.full) select { max-width: 360px; }
.q.full input[type="text"], .q.full input[type="url"] { max-width: 560px; }
.q:not(.full) input.w-sm { max-width: 180px; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #A89888; border-radius: 999px; font-size: 15px; background: #FBF9F6; }
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--taupe); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper input { width: 72px !important; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stp { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #A89888; background: #FBF9F6; font-size: 20px; cursor: pointer; color: var(--ink); }
.group { background: var(--sand); border-radius: 12px; padding: 18px 20px; }
.group-title { margin: 0 0 10px; font-weight: 500; font-size: 15px; }
.group-rows { display: grid; gap: 4px; max-width: 460px; }
.group .q-step { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.group .q-step > label { font-weight: 400; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid #CDBFB0; border-radius: 12px; background: #FBF9F6; cursor: pointer; }
.svc-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.svc-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.svc-card:has(input:focus-visible) { outline: 2px solid var(--taupe); outline-offset: 2px; }
.svc-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.svc-blurb { font-size: 14px; color: var(--muted); }
.svc-price { margin-top: auto; padding-top: 8px; font-size: 13px; letter-spacing: 0.04em; color: var(--taupe); }
.note { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; background: #EFE5D6; color: #5C4426; font-size: 14px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb { position: relative; width: 88px; height: 88px; border-radius: 8px; overflow: hidden; background: var(--stone); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 14px; border: 0; background: rgba(43,36,32,0.8); color: #fff; font-size: 16px; cursor: pointer; }
.step-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-nav [data-nav="next"], .step-nav [data-nav="send"] { margin-left: auto; min-width: 160px; }
.form-status { min-height: 1.5em; color: var(--muted); font-size: 14px; }
.review section { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); margin: 0 0 8px; font-weight: 500; }
.review dl { margin: 0; display: grid; gap: 6px; }
.review dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; font-size: 15px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; overflow-wrap: anywhere; }
.link-btn { border: 0; background: none; color: var(--ink); text-decoration: underline; font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; cursor: pointer; padding: 8px; }
@media (max-width: 600px) {
  .q-grid { grid-template-columns: minmax(0, 1fr); }
  .progress { font-size: 11px; }
  .review dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* address autocomplete */
.field { position: relative; }
.ac-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(43, 36, 32, .12); }
.ac-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 6px; cursor: pointer; font-size: 15px; }
.ac-list li span { color: var(--muted); font-size: 13px; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--ivory); }
