/* Deep Arora Studios: shared styles. "Ink & Stone" palette, Newsreader + DM Sans.
   Every text colour here passes WCAG AA (4.5:1) on Ink and Slate; see
   docs/specs/2026-10-16-deep-arora-studios-design.md before adding a colour. */

*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #111315;
  --slate: #1B1F23;
  --slate-2: #252A30;
  --stone: #ECE8E1;
  --mist: #9AA0A6;
  --text-gold: #C4A27A;   /* gold TEXT under ~24px: 7.8:1 on Ink */
  --gold: #A8845A;        /* buttons, rules, the mark */
  --error: #F4A99F;       /* 9:1 on Ink */
  --line: rgba(236, 232, 225, 0.14);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
}
@media (min-width: 760px) { :root { --gutter: 40px; } }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--ink); color: var(--stone);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--text-gold); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--stone); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 500; color: var(--stone); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h1 em, h2 em { font-style: italic; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.muted { color: var(--mist); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--mist); max-width: 40em; }
.eyebrow {
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 500;  /* 13px minimum */
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gold); margin: 0 0 1rem;
}

/* ── Accessibility helpers ─────────────────────────────────────────────── */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--stone); color: var(--ink); padding: 12px 18px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }
/* Keyboard focus only: a tap or click never shows the ring (Deep, 16 Oct). */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--text-gold); outline-offset: 3px; border-radius: 2px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 24px; border: 1px solid var(--gold); border-radius: 2px;
  background: var(--gold); color: var(--ink); font-family: var(--sans); font-size: 0.95rem;
  font-weight: 500; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--text-gold); border-color: var(--text-gold); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--stone); border-color: rgba(236, 232, 225, 0.45); }
.btn-ghost:hover { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.75rem; }
.text-link { font-size: 0.98rem; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17, 19, 21, 0.94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--stone); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--stone); }
.brand-mark { width: 36px; height: 36px; }
.brand-rule { width: 1px; height: 30px; background: var(--stone); opacity: 0.3; }
.brand-word { font-family: var(--serif); font-size: 1.32rem; line-height: 1; }
.brand-word .dot { color: var(--gold); }

.site-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-menu a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--stone); text-decoration: none; font-size: 0.95rem;
}
.site-menu a:not(.btn):hover { color: var(--text-gold); }
.site-menu a[aria-current="page"]:not(.btn) { color: var(--text-gold); text-decoration: underline; text-underline-offset: 0.45em; }
.menu-cta { margin-left: 10px; }
.menu-toggle { display: none; }

/* Small screens: the menu folds behind a button. Without JavaScript (no .js on
   <html>) the links simply wrap under the logo, so nothing is ever unreachable. */
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; }
  .site-menu { flex-wrap: wrap; padding-bottom: 10px; }
  .js .header-inner { flex-wrap: nowrap; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
    background: none; border: 1px solid var(--line); border-radius: 2px; color: var(--stone);
    font-family: var(--sans); font-size: 0.95rem; cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.2s;
  }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid var(--line);
  }
  .js .site-menu.open { display: flex; }
  .js .site-menu a:not(.btn) { min-height: 52px; font-size: 1.1rem; padding: 0; border-bottom: 1px solid var(--line); }
  .js .menu-cta { margin: 18px 0 0; }
  .js .menu-cta .btn { width: 100%; min-height: 52px; }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-slate { background: var(--slate); }
.section-tight { padding-top: 0; }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Hero: editorial. Headline on Ink first, photos after. */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(36px, 5vw, 56px); }
.hero h1 { max-width: 13em; }
.hero .lede { margin-top: 1.1rem; }
.page-hero { padding: clamp(44px, 7vw, 96px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { max-width: 15em; }

/* Three-photo mosaic */
.mosaic { display: grid; gap: 8px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4 / 3; }
.mosaic > :first-child { grid-row: 1 / span 2; }
@media (min-width: 900px) { .mosaic { aspect-ratio: 21 / 10; gap: 10px; } }
.mosaic picture, .mosaic img, .frame picture, .frame img { width: 100%; height: 100%; }
.mosaic img, .frame img { object-fit: cover; filter: brightness(0.96) contrast(1.03) saturate(0.96); }
.frame { overflow: hidden; background: var(--slate); }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1 { aspect-ratio: 1; }

/* Numbered service list */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 2.4rem 1fr 76px; gap: 14px 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); position: relative;
}
@media (min-width: 760px) { .service-row { grid-template-columns: 4rem 1fr 1fr 168px; padding: 30px 0; } }
.service-num { font-family: var(--serif); color: var(--text-gold); font-size: 1.3rem; }
.service-row h3 { margin: 0 0 4px; }
.service-row h3 a { color: var(--stone); text-decoration: none; }
.service-row h3 a::after { content: ""; position: absolute; inset: 0; }  /* whole row is the link */
.service-row:hover h3 a, .service-row h3 a:focus-visible { color: var(--text-gold); }
.service-row h3 a:focus-visible { outline: none; }
.service-row:focus-within { outline: 2px solid var(--text-gold); outline-offset: 4px; }
.service-meta { color: var(--mist); font-size: 0.95rem; margin: 0; }
.service-desc { display: none; color: var(--mist); margin: 0; }
@media (min-width: 760px) { .service-desc { display: block; } }
.service-thumb { width: 76px; aspect-ratio: 1; overflow: hidden; }
@media (min-width: 760px) { .service-thumb { width: 168px; aspect-ratio: 3 / 2; } }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); color: var(--text-gold); font-size: 1.6rem; margin-bottom: 8px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { color: var(--mist); margin: 0; }

/* Two columns of text + photo */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }

/* Offers / price cards */
.offers { display: grid; gap: 18px; }
@media (min-width: 760px) { .offers { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1040px) { .offers.three { grid-template-columns: repeat(3, 1fr); } }
.offer { background: var(--slate); border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; }
@media (min-width: 760px) { .offer { padding: 36px 32px; } }
.offer h3 { margin-bottom: 2px; }
.offer .price { font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; margin: 10px 0 4px; }
.offer .price small { font-family: var(--sans); font-size: 0.95rem; color: var(--mist); }
.offer .for { color: var(--mist); margin-bottom: 18px; }
.offer ul { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.offer li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; }
.offer li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 1px; background: var(--gold); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer-tag { display: inline-block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-gold); }

/* Price table (pricing page) */
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.price-table caption { text-align: left; font-family: var(--serif); font-size: 1.5rem; padding-bottom: 12px; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-gold); }
.price-table td:nth-child(2), .price-table th:nth-child(2) { white-space: nowrap; }
.price-table tbody th { font-weight: 500; }
.price-table td { color: var(--mist); }
.price-table td.amount { color: var(--stone); font-family: var(--serif); font-size: 1.2rem; }
@media (max-width: 640px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table tr { display: block; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .price-table th, .price-table td { display: block; border: 0; padding: 2px 0; }
}
.table-scroll { overflow-x: auto; }

/* Callout */
.callout { border-left: 2px solid var(--gold); padding: 6px 0 6px 20px; margin: 28px 0; }
.callout p:last-child { margin: 0; }

/* Detail list (what's included / small print) */
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .facts div { grid-template-columns: 220px 1fr; } }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; color: var(--mist); }

/* Galleries */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery figure { margin: 0; overflow: hidden; background: var(--slate); }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.96) contrast(1.03) saturate(0.96); }
.gallery picture { height: 100%; }
.credit { color: var(--mist); font-size: 0.95rem; margin-top: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; color: var(--stone); text-decoration: none; }
.jump a:hover { border-color: var(--text-gold); color: var(--text-gold); }

/* "Coming soon" slot for branding work: a deliberate, labelled panel, never a
   broken-looking empty box. */
.soon {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px;
  min-height: 220px; height: 100%; color: var(--stone);
  background:
    linear-gradient(to top, rgba(17,19,21,0.85), rgba(17,19,21,0) 60%),
    repeating-linear-gradient(135deg, var(--slate) 0 14px, var(--slate-2) 14px 28px);
  border: 1px solid var(--line);
}
.soon .eyebrow { margin: 0; }
.soon p { margin: 0; color: var(--stone); font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 60px; padding: 14px 0; font-family: var(--serif); font-size: 1.25rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--text-gold); font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 20px; color: var(--mist); max-width: 46em; }
.faq .answer p:last-child { margin: 0; }

/* Forms */
.form { display: grid; gap: 22px; max-width: 720px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 8px; padding: 0; }
.field .hint { display: block; color: var(--mist); font-size: 0.95rem; margin: -4px 0 8px; }
.field .optional { color: var(--mist); font-weight: 400; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--stone);
  background: var(--slate); border: 1px solid var(--mist); border-radius: 2px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:not([type="checkbox"]):focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--text-gold); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { display: block; color: var(--error); font-size: 0.95rem; margin-top: 6px; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
/* .field .choice beats the .field label rule above (display:block + margin),
   which otherwise knocks the box out of the row's vertical centre. */
.field .choice { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 10px 14px; font-weight: 400; line-height: 1.4; background: var(--slate); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
.field .choice input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--gold); flex-shrink: 0; }
.field .choice:has(input:checked) { border-color: var(--text-gold); }
.form-status { min-height: 1.5em; }
.form-status.error { color: var(--error); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); padding: 56px 0 28px; margin-top: 0; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr 2fr; } }
.footer-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--mist); max-width: 24em; }
.footer-cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr 1.7fr; } }
.footer-cols > div:last-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-cols > div:last-child { grid-column: auto; } }
.footer-h { font-family: var(--sans); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gold); margin-bottom: 12px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { color: var(--mist); font-size: 0.95rem; padding: 4px 0; overflow-wrap: break-word; }
.footer-cols a { color: var(--stone); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-cols a:hover { color: var(--text-gold); text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--mist); font-size: 0.92rem; }
@media (min-width: 900px) { .footer-bottom { grid-template-columns: auto 1fr auto; gap: 24px; } .footer-bottom p:nth-child(2) { text-align: center; } }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--stone); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.cta-band .lede { margin: 0 auto; }
.cta-band .actions { justify-content: center; }

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

/* Spacing that would otherwise need inline style="" (blocked by the CSP) */
.faq + .more { margin-top: 1.5rem; }
.table-scroll + p.muted { margin-bottom: 2.75rem; }

/* Crop anchors for photos where a centred crop would cut the subject */
.pos-top { object-position: 50% 22%; }
.pos-left { object-position: 32% 40%; }
