/* Nyaya Chambers: near-black, old gold, ivory and a deep wine. Cormorant Garamond for headings, Karla for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #14120F;
  --surface: #1D1A16;
  --soft: #1A1713;
  --ink: #EFE8DA;
  --muted: #B3AA98;
  --line: #34302A;
  --line-strong: #4A443A;
  --brand: #C9A45C;
  --brand-hover: #DDBA73;
  --brand-ink: #14120F;
  --brand-text: #D9B86F;
  --input-bg: #1A1713;
  --menu-bg: #14120F;
  --focus: #E7C98A;
  --badge-bg: #7A2E2E;
  --badge-ink: #F5E9D2;
  --out-bg: #0D0C0A;
  --out-ink: #EFE8DA;
  --out-accent: #D9B86F;
  --out-btn: #C9A45C;
  --out-btn-ink: #14120F;
  --cta-bg: #0D0C0A;
  --cta-ink: #EFE8DA;
  --danger: #F08A7A;
  --head: "Cormorant Garamond", Georgia, serif;
  --body: "Karla", system-ui, sans-serif;
  --fs-body: 1.04rem;
  --radius: 2px;
  --radius-lg: 4px;
  --btn-radius: 2px;
  --wrap: 1160px;
  --gap: 24px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
.eyebrow { color: var(--brand-text); letter-spacing: .22em; }
.btn { text-transform: uppercase; letter-spacing: .12em; font-size: .84rem; font-weight: 700; }
.btn-ghost { border-color: var(--brand); color: var(--brand-text); }
.btn-ghost:hover { background: rgba(201,164,92,.1); border-color: var(--brand); }
.ic { color: var(--brand); }
a { text-decoration-color: rgba(201,164,92,.6); }

/* header: logo centred over the menu on wide screens */
.header { background: rgba(20,18,15,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 600 1.6rem var(--head); letter-spacing: .02em; }
.logo small { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav a { font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-text); }
@media (min-width: 961px) {
  .hdr-center > .wrap { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; row-gap: 4px; padding-block: 14px 0; }
  .hdr-center .logo { grid-column: 2; justify-content: center; }
  .hdr-center .header-cta { grid-column: 3; grid-row: 1; justify-self: end; }
  .hdr-center .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; margin: 0; border-top: 1px solid var(--line); width: 100%; padding-block: 4px; }
  .hdr-center .nav a { padding: 10px 18px; }
  .hdr-center .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
}

/* hero */
.hero { position: relative; padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); text-align: center; overflow: hidden; background: radial-gradient(800px 400px at 50% 0%, rgba(201,164,92,.14), transparent 70%); }
.hero-inner { position: relative; display: grid; justify-items: center; }
.hero-scales { position: absolute; top: -48px; left: 50%; width: min(620px, 120%); transform: translateX(-50%); opacity: .1; pointer-events: none; }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 5.6rem); line-height: .98; margin: 18px 0 22px; max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--brand-text); }
.hero .lede { margin-inline: auto; }
.hero .t-actions { justify-content: center; margin-top: 30px; }
.hero-areas { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); text-align: left; }
.hero-areas a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 14px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 1.25rem var(--head); text-decoration: none; transition: background .2s; }
.hero-areas a:hover { background: rgba(201,164,92,.08); }
.hero-areas span { color: var(--brand); font-family: var(--body); }
@media (max-width: 760px) { .hero-areas { grid-template-columns: 1fr; } .hero { text-align: left; } .hero-inner { justify-items: start; } .hero .t-actions { justify-content: flex-start; } }

/* pillars */
.pillars { padding-block: clamp(40px, 6vw, 64px); background: var(--soft); border-block: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.pillars-grid > div { display: grid; gap: 6px; align-content: start; }
.pillars h2 { font-size: 1.45rem; }
.pillars p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pillars-grid { grid-template-columns: 1fr; } }

/* service cards */
.s-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.s-card { border-color: var(--line); }
.s-card:hover { border-color: var(--brand); }
.s-img { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.s-body h3 { font-size: 1.55rem; }
.s-cat { color: var(--brand-text); }
.s-facts, .s-facts div { background: var(--soft); }
.s-filters button { background: transparent; }
.s-filters button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* process */
.process { background: var(--soft); border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); }
@media (max-width: 860px) { .process-grid { grid-template-columns: minmax(0, 1fr); } }
.process-list { list-style: none; display: grid; }
.process-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-list span { font: italic 600 1.9rem/1 var(--head); color: var(--brand-text); }
.process-list h3 { font-size: 1.4rem; }
.process-list p { color: var(--muted); }

/* page head, about, quotes, footer */
.page-head { text-align: center; }
.page-head .lede { margin-inline: auto; }
.page-head .rule { display: block; width: 80px; height: 1px; margin: 28px auto 0; background: var(--brand); }
.quotes li { background: transparent; border: 0; border-top: 1px solid var(--brand); border-radius: 0; padding: 22px 0 0; }
.quotes blockquote { font: italic 500 1.4rem/1.35 var(--head); }
.numbers-band { border-block: 1px solid var(--line); }
.values li { border-top-width: 1px; }
.footer { background: #0D0C0A; border-top: 1px solid var(--line); }
.f-note { border: 1px solid var(--line); padding: 14px 16px; }
details summary { font: 600 1.25rem var(--head); }
.card { border-color: var(--line); }

/* finder tool */
.step h2 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; margin-bottom: 16px; }
.step h2 span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--brand); border-radius: 50%; font: 600 1.05rem var(--head); color: var(--brand-text); }
.tool-in .card { display: grid; gap: 14px; }
.tool-in .hint { color: var(--muted); font-size: .9rem; }
.sit-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.sit { position: relative; display: block; cursor: pointer; }
.sit input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sit span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); font-weight: 600; font-size: .95rem; }
.sit input:checked + span { border-color: var(--brand); background: rgba(201,164,92,.14); color: var(--brand-text); }
.sit input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pick { border-width: 1px; }
.pick small { color: var(--muted); }
.cal { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.cal button { font: 600 1.25rem/1.1 var(--head); }
.cal button small { font-family: var(--body); text-transform: uppercase; letter-spacing: .08em; }
.tool-out { border: 1px solid var(--brand); }
.tool-out .out-total { font: 600 clamp(1.8rem, 4vw, 2.4rem)/1.05 var(--head); }
.first-steps { list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.first-steps b { color: var(--ink); }
.out-warn { background: rgba(201,164,92,.12); color: var(--ink); }
.disclaimer { background: transparent; color: var(--muted); }
