/* ═══════════════════════════════════════════════════════════════════════
   Turagh Technologies — site.css
   Public marketing pages only (home, contact). Links after brand.css.
   ═══════════════════════════════════════════════════════════════════════ */

section{ position:relative; padding:clamp(84px, 11vw, 150px) 0; }
.section-head{ display:grid; gap:20px; max-width:660px; margin-bottom:64px; }
.section-head.wide{ max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.section-head.wide > div{ display:grid; gap:18px; max-width:640px; }
.section-head.centered{ margin:0 auto 56px; text-align:center; justify-items:center; }
/* Left-aligned, but aligned to the ANSWERS rather than the page edge. The FAQ
   list below sits in the 840px reading measure, so a heading
   spanning the full 1220px wrap would start further left than every question
   under it and line up with nothing. */
.section-head.narrow{ max-width:840px; margin-left:auto; margin-right:auto; }
.band{
  border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
  background:linear-gradient(180deg, var(--lift), transparent 40%), var(--surface-2);
}

/* ═══════════════ Hero ═══════════════ */
.hero{ position:relative; min-height:100svh; display:flex; align-items:center; overflow:hidden; isolation:isolate; }
.hero::before{
  content:""; position:absolute; inset:-30%; z-index:-2;
  background:
    radial-gradient(38% 44% at 74% 24%, var(--glow-a), transparent 62%),
    radial-gradient(44% 50% at 22% 78%, var(--glow-b), transparent 64%);
  animation:drift 26s var(--ease) infinite alternate;
}
@keyframes drift{ 0%{ transform:translate3d(0,0,0) scale(1);} 100%{ transform:translate3d(2.5%,-2%,0) scale(1.08);} }
.hero canvas{ position:absolute; inset:0; width:100%; height:100%; z-index:-1; opacity:.75; }
.spot{
  position:absolute; z-index:-1; width:520px; height:520px; margin:-260px 0 0 -260px;
  border-radius:50%; pointer-events:none; opacity:0;
  background:radial-gradient(circle, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 66%);
  transition:opacity .6s var(--ease);
}
.hero:hover .spot{ opacity:1; }

.hero-inner{ position:relative; padding:150px 0 96px; width:100%; display:grid; gap:28px; justify-items:start; }
.hero h1{ font-size:clamp(2.8rem, 8.6vw, 7.4rem); max-width:14ch; }
.hero h1 .ln{ display:block; overflow:hidden; }
.hero h1 .w1{ color:var(--accent); font-weight:500; }
.hero h1 .w2{ font-weight:200; }
.hero h1 .w3{ color:var(--accent-2); font-weight:500; }
.scramble{ display:inline-block; }
.hero .lede{ font-size:1.16rem; max-width:56ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:18px; align-items:center; margin-top:6px; }

.reassure{
  display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:4px;
  font-family:var(--font-display); font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--text-dim);
}
.reassure span{ display:inline-flex; align-items:center; gap:8px; }
.reassure svg{ width:13px; height:13px; color:var(--accent-2); flex:none; }

.hero-foot{
  position:absolute; left:0; right:0; bottom:0;
  border-top:1px solid var(--hair);
  background:color-mix(in srgb, var(--bg) 40%, transparent);
  backdrop-filter:blur(6px);
}
.hero-foot .wrap{ display:flex; flex-wrap:wrap; }
.hero-foot .cell{
  flex:1 1 0; min-width:170px; padding:18px 24px;
  border-right:1px solid var(--hair); display:grid; gap:2px;
}
.hero-foot .cell:first-child{ padding-left:0; }
.hero-foot .cell:last-child{ border-right:none; }
.hero-foot .k{
  font-family:var(--font-display); font-weight:600; font-size:1.4rem;
  letter-spacing:-.01em; color:var(--accent-2); font-variant-numeric:tabular-nums;
}
.hero-foot .v{ font-family:var(--font-display); font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim); }
@media (max-width:900px){
  .hero{ min-height:auto; }
  .hero-inner{ padding:132px 0 56px; }
  .hero-foot{ position:static; backdrop-filter:none; }
  .hero-foot .cell{ flex:1 1 45%; border-right:none; border-bottom:1px solid var(--hair); padding-left:0; }
}

/* ═══════════════ Methodology marks ═══════════════ */
.marks{ border-bottom:1px solid var(--hair); }
.marks .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px 40px; padding-top:24px; padding-bottom:24px; }
.marks span{
  font-family:var(--font-display); font-weight:500; font-size:.71rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim);
  display:inline-flex; align-items:center; gap:10px;
}
.marks span::before{
  content:""; width:5px; height:5px; border-radius:50%; background:var(--accent-2);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--accent-2) 18%, transparent); flex:none;
}

/* ═══════════════ Outcomes ═══════════════ */
.outcomes{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
@media (max-width:900px){ .outcomes{ grid-template-columns:1fr; } }
.outcome{ display:grid; gap:14px; align-content:start; }
.outcome .oi{
  width:42px; height:42px; border:1px solid var(--border); border-radius:2px;
  display:flex; align-items:center; justify-content:center; color:var(--accent);
}
.outcome .oi svg{ width:20px; height:20px; }
.outcome h3{ font-family:var(--font-display); font-weight:500; font-size:1.22rem; letter-spacing:-.01em; }
.outcome p{ color:var(--text-dim); font-size:.96rem; }

/* ═══════════════ Services index (accordion) ═══════════════ */
.index{ border-top:1px solid var(--hair); }
.row{ position:relative; border-bottom:1px solid var(--hair); transition:background .5s var(--ease); }
.row::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:2px;
  background:var(--accent-2); transform:scaleY(0); transform-origin:top;
  transition:transform .5s var(--ease-out);
}
.row.is-open::before{ transform:scaleY(1); }
.row.is-open{ background:color-mix(in srgb, var(--surface) 55%, transparent); }
.row-head{
  width:100%; display:grid; grid-template-columns:96px 1fr 44px; gap:28px;
  align-items:center; padding:32px 28px 32px 32px; text-align:left;
  transition:padding-left .5s var(--ease-out);
}
.row:hover .row-head{ padding-left:44px; }
.row-num{
  font-family:var(--font-display); font-weight:200; font-size:2.1rem; line-height:1;
  color:transparent; -webkit-text-stroke:1px var(--border); font-variant-numeric:tabular-nums;
  transition:-webkit-text-stroke-color .4s var(--ease);
}
.row:hover .row-num, .row.is-open .row-num{ -webkit-text-stroke-color:var(--accent-2); }
.row-title{
  font-family:var(--font-display); font-weight:400;
  font-size:clamp(1.35rem, 2.5vw, 2rem); letter-spacing:-.015em;
  transition:color .4s var(--ease);
}
.row.is-open .row-title{ color:var(--accent-2); }
.row-sign{
  width:34px; height:34px; border:1px solid var(--border); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--text-dim); justify-self:end;
  transition:border-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease-out);
}
.row.is-open .row-sign{ border-color:var(--accent-2); color:var(--accent-2); transform:rotate(135deg); }
.row-sign svg{ width:13px; height:13px; }
.row-body{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .55s var(--ease-out); }
.row.is-open .row-body{ grid-template-rows:1fr; }
.row-body > div{ overflow:hidden; }
.row-inner{ display:grid; grid-template-columns:96px 1fr; gap:28px; padding:0 32px 38px 32px; }
.row-inner .icon{ width:44px; height:44px; color:var(--accent); justify-self:start; }
.row-inner p{ color:var(--text-dim); font-size:1rem; max-width:60ch; }
.row-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.row-tags span{
  font-family:var(--font-display); font-size:.68rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--text-dim);
  border:1px solid var(--border); border-radius:100px; padding:5px 13px;
}
@media (max-width:760px){
  .row-head{ grid-template-columns:50px 1fr 34px; gap:16px; padding:24px 16px; }
  .row:hover .row-head{ padding-left:20px; }
  .row-num{ font-size:1.35rem; }
  .row-inner{ grid-template-columns:1fr; padding:0 16px 30px; }
  .row-inner .icon{ display:none; }
}

/* ═══════════════ Deliverable ═══════════════ */
.deliver{ display:grid; grid-template-columns:.95fr 1.05fr; gap:64px; align-items:start; }
@media (max-width:980px){ .deliver{ grid-template-columns:1fr; gap:48px; } }
.doc-bar{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:16px 24px; border-bottom:1px solid var(--hair);
  background:color-mix(in srgb, var(--surface-2) 60%, transparent);
}
.doc-bar .t{ font-family:var(--font-display); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim); }
.doc-bar .dots{ display:flex; gap:6px; }
.doc-bar .dots i{ width:7px; height:7px; border-radius:50%; background:var(--border); display:block; }
.doc-bar .dots i:first-child{ background:var(--accent); }
.doc-list{ display:grid; }
.doc-item{
  display:grid; grid-template-columns:40px 1fr; gap:18px;
  padding:18px 24px; border-bottom:1px solid var(--hair);
  transition:background .35s var(--ease);
}
.doc-item:last-child{ border-bottom:none; }
.doc-item:hover{ background:color-mix(in srgb, var(--surface-2) 45%, transparent); }
.doc-item .n{
  font-family:var(--font-display); font-size:.72rem; letter-spacing:.08em;
  color:var(--accent-2); font-variant-numeric:tabular-nums; padding-top:3px;
}
.doc-item h4{ font-family:var(--font-display); font-weight:500; font-size:1rem; margin-bottom:3px; }
.doc-item p{ color:var(--text-dim); font-size:.9rem; line-height:1.5; }

.checks{ display:grid; gap:16px; margin-top:34px; }
.check{ display:grid; grid-template-columns:22px 1fr; gap:14px; align-items:start; }
.check svg{ width:18px; height:18px; color:var(--accent-2); margin-top:3px; }
.check b{ font-family:var(--font-display); font-weight:600; font-size:.98rem; display:block; margin-bottom:2px; }
.check span{ color:var(--text-dim); font-size:.93rem; }

/* ═══════════════ Approach rail ═══════════════ */
.rail{ position:relative; display:grid; gap:0; padding-left:60px; }
.rail::before{ content:""; position:absolute; left:15px; top:12px; bottom:12px; width:1px; background:var(--border); }
.rail-fill{
  position:absolute; left:15px; top:12px; width:1px; height:0;
  background:linear-gradient(180deg, var(--accent), var(--accent-2));
  transition:height .2s linear;
}
.stage{ position:relative; padding:0 0 58px; }
.stage:last-child{ padding-bottom:0; }
.stage .dot{
  position:absolute; left:-52px; top:9px; width:11px; height:11px; border-radius:50%;
  background:var(--bg); border:1px solid var(--border);
  transition:border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.stage.is-live .dot{
  border-color:var(--accent-2); background:var(--accent-2);
  box-shadow:0 0 0 5px color-mix(in srgb, var(--accent-2) 16%, transparent);
}
.stage .idx{
  font-family:var(--font-display); font-size:.66rem; letter-spacing:.22em;
  text-transform:uppercase; color:var(--text-dim); display:flex; gap:14px; margin-bottom:12px;
}
.stage .idx em{ font-style:normal; color:var(--accent); }
.stage h3{
  font-family:var(--font-display); font-weight:300;
  font-size:clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing:-.02em; margin-bottom:12px;
}
.stage p{ color:var(--text-dim); font-size:1rem; max-width:52ch; }
.stage .out{
  margin-top:14px; font-family:var(--font-display); font-size:.74rem;
  letter-spacing:.1em; text-transform:uppercase; color:var(--text);
  display:inline-flex; align-items:center; gap:9px;
  border:1px solid var(--border); border-radius:100px; padding:6px 14px;
}
.stage .out::before{ content:""; width:5px; height:5px; border-radius:50%; background:var(--accent); }
@media (max-width:640px){ .rail{ padding-left:36px; } .rail::before,.rail-fill{ left:7px; } .stage .dot{ left:-34px; } }

/* ═══════════════ Portfolio ═══════════════ */

/* country reach strip */
.reach{
  display:flex; flex-wrap:wrap; gap:10px;
  padding:26px 0 0; margin-top:6px;
}
.reach span{
  font-family:var(--font-display); font-weight:500; font-size:.72rem;
  letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim);
  border:1px solid var(--border); border-radius:100px; padding:7px 15px;
  display:inline-flex; align-items:center; gap:9px;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.reach span:hover{ border-color:var(--accent-2); color:var(--text); }
.reach span i{ font-style:normal; font-size:.95rem; line-height:1; }

/* Three groups of uneven length, balanced across two columns: the tall group
   (VAPT, 8 files) spans both rows on the left, the two shorter ones stack on
   the right. Explicit placement rather than auto-flow, which would leave a
   hole bottom-right. If a group's length changes enough to unbalance this,
   move the span rather than adding a column — three columns cannot hold these
   titles without wrapping every one of them. */
.folio{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
.folio > :nth-child(1){ grid-column:1; grid-row:1 / span 2; }
.folio > :nth-child(2){ grid-column:2; grid-row:1; }
.folio > :nth-child(3){ grid-column:2; grid-row:2; }
@media (max-width:980px){
  .folio{ grid-template-columns:1fr; gap:20px; }
  .folio > :nth-child(1),
  .folio > :nth-child(2),
  .folio > :nth-child(3){ grid-column:1; grid-row:auto; }
}

.folio-group{ padding:0; overflow:hidden; }
.folio-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding:22px 26px; border-bottom:1px solid var(--hair);
  background:color-mix(in srgb, var(--surface-2) 55%, transparent);
}
.folio-head h3{
  font-family:var(--font-display); font-weight:500; font-size:1.02rem;
  letter-spacing:-.005em;
}
.folio-head .n{
  font-family:var(--font-display); font-weight:600; font-size:.7rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent-2);
  white-space:nowrap;
}

.folio-item{
  display:grid; grid-template-columns:66px 1fr; gap:18px;
  padding:18px 26px; border-bottom:1px solid var(--hair);
  transition:background .35s var(--ease), padding-left .35s var(--ease-out);
}
.folio-item:last-child{ border-bottom:none; }
.folio-item:hover{ background:color-mix(in srgb, var(--surface-2) 40%, transparent); padding-left:34px; }
.folio-item .fno{
  font-family:var(--font-display); font-size:.66rem; font-weight:600;
  letter-spacing:.1em; color:var(--accent-2);
  font-variant-numeric:tabular-nums; padding-top:4px; white-space:nowrap;
}
.folio-item .fbody{ display:grid; gap:8px; }
.folio-item h4{
  font-family:var(--font-display); font-weight:400; font-size:1rem;
  line-height:1.35; letter-spacing:-.005em;
}
.folio-item .floc{
  font-family:var(--font-display); font-size:.66rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--text-dim);
  display:inline-flex; align-items:center; gap:8px; justify-self:start;
}
.folio-item .floc::before{
  content:""; width:4px; height:4px; border-radius:50%;
  background:var(--accent); flex:none;
}
.folio-item .floc.withheld{ color:var(--accent); }
@media (max-width:520px){
  .folio-item{ grid-template-columns:1fr; gap:8px; padding:18px 20px; }
  .folio-item:hover{ padding-left:24px; }
  .folio-head{ padding:20px; }
}

/* ═══════════════ Case files ═══════════════ */
.cases{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
@media (max-width:960px){ .cases{ grid-template-columns:1fr; } }
.case{ display:grid; gap:20px; align-content:start; }
.case-tag{
  font-family:var(--font-display); font-size:.68rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent-2);
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom:14px; border-bottom:1px solid var(--hair);
}
.case-tag em{ font-style:normal; color:var(--text-dim); font-weight:500; }
.case h3{ font-family:var(--font-display); font-weight:400; font-size:1.28rem; letter-spacing:-.01em; line-height:1.25; }
.case dl{ margin:0; display:grid; gap:14px; }
.case dt{
  font-family:var(--font-display); font-size:.64rem; letter-spacing:.18em;
  text-transform:uppercase; color:var(--text-dim); margin-bottom:4px;
}
.case dd{ margin:0; font-size:.93rem; color:var(--text-dim); line-height:1.55; }
.case .result{
  margin-top:4px; padding-top:16px; border-top:1px solid var(--hair);
  font-family:var(--font-display); font-weight:500; font-size:.95rem; color:var(--accent);
}

/* ═══════════════ Proof / terms ═══════════════ */
.proof{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:900px){ .proof{ grid-template-columns:1fr; } }
.proof h3{
  font-family:var(--font-display); font-weight:500; font-size:.72rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--text-dim); margin-bottom:22px;
}
.cred-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
@media (max-width:520px){ .cred-grid{ grid-template-columns:repeat(2,1fr); } }
.cred{
  aspect-ratio:16/9; border:1px dashed color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius:2px; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:10px;
  font-family:var(--font-display); font-size:.64rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent);
  background:color-mix(in srgb, var(--accent) 6%, transparent);
}
.terms{ display:grid; gap:0; }
.terms .t{
  display:flex; align-items:baseline; justify-content:space-between; gap:18px;
  padding:14px 0; border-bottom:1px solid var(--hair);
}
.terms .t:last-child{ border-bottom:none; }
.terms .tk{
  font-family:var(--font-display); font-size:.7rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-dim); flex:none;
}
.terms .tv{ font-size:.94rem; text-align:right; }
.fine{ margin-top:20px; font-size:.86rem; color:var(--text-dim); }

/* ═══════════════ Why us ═══════════════ */
.why{ display:grid; grid-template-columns:1fr 1fr; gap:76px; align-items:start; }
@media (max-width:960px){ .why{ grid-template-columns:1fr; gap:56px; } }
.team{ display:flex; flex-wrap:wrap; gap:26px; margin-top:36px; }
.member{ display:grid; gap:7px; justify-items:start; }
.member .avatar{
  width:52px; height:52px; border-radius:50%; border:1px solid var(--border);
  background:var(--surface-2); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:600; font-size:.8rem; color:var(--text-dim); margin-bottom:6px;
}
.member .n{ font-size:.86rem; }
.member .r{ font-size:.75rem; color:var(--text-dim); }
.quotes{ display:grid; gap:20px; }

/* Three rows: mark, quote, attribution. The quote takes the flexible one, so
   the attribution sits on the bottom edge of every card whatever the quote
   length — real testimonials run from one line to five, and without this the
   names float at different heights and the row reads as broken rather than
   varied. height:100% makes the cards match the tallest in view. */
.quote-card{
  display:grid; grid-template-rows:auto 1fr auto; gap:20px; height:100%;
}

/* An opening quotation mark: frames the quote and marks the card as speech
   without competing with the words.

   ::after with order:-1, NOT ::before. .panel::before is already taken — it is
   the 1px lift highlight along the card's top edge — and overriding it both
   removed that highlight and inherited its position:absolute, which took this
   mark out of the grid entirely and collapsed the three-row layout below.

   Drawn as a masked SVG rather than a " glyph so it cannot be re-metricked by
   a font swap or clipped by line-height guesswork; the mask means it still
   takes its colour from the palette. */
.quote-card::after{
  content:""; order:-1;
  width:34px; height:26px;
  background-color:var(--accent); opacity:.3;
  -webkit-mask:var(--quote-mark) no-repeat left top / contain;
          mask:var(--quote-mark) no-repeat left top / contain;
}

.quote-card .q{
  font-family:var(--font-display); font-weight:300;
  /* Down from 1.42rem. That size suited one quote spanning a full column; at
     two-up it forced long testimonials into a wall and short ones into a
     shout. */
  font-size:1.12rem; line-height:1.55; letter-spacing:-.003em; color:var(--text);
  align-self:start;
}

.quote-card .a{
  font-family:var(--font-display); font-weight:500; font-size:.72rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--text-dim);
  display:flex; align-items:center; gap:12px;
  padding-top:18px; border-top:1px solid var(--hair);
}
.quote-card .a::before{ content:""; width:22px; height:1px; background:var(--accent); flex:none; }

/* ── Carousel ─────────────────────────────────────────────────────────────
   Scroll-snap does the actual work, so this scrolls, swipes and keyboard-
   navigates with JavaScript disabled — the buttons and dots below are an
   enhancement over a control that already exists, not the control itself.

   One card per view. A carousel showing everything at once is a grid with
   arrows attached; a quote also reads better with the full width and no
   competing voice beside it.
   ───────────────────────────────────────────────────────────────────────── */
.carousel{ display:grid; gap:26px; }

.carousel-track{
  display:grid; grid-auto-flow:column; grid-auto-columns:100%;
  gap:22px; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scroll-behavior:smooth;
  /* The native bar is redundant next to the dots and sits awkwardly under a
     card; the track stays scrollable by drag, wheel and keyboard regardless. */
  scrollbar-width:none; -ms-overflow-style:none;
}
.carousel-track::-webkit-scrollbar{ display:none; }
.carousel-track > *{ scroll-snap-align:center; }

@media (min-width:900px){
  /* Two per view once there is room, so the next quote is visibly there to
     scroll to rather than being a surprise behind an arrow. */
  .carousel-track{ grid-auto-columns:calc((100% - 22px) / 2); }
}

.carousel-nav{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
/* A class with display: wins over the UA stylesheet's [hidden]{display:none},
   so hiding these from JS silently does nothing without this. The script hides
   the nav when there is only one slide, and the dots when the list has outgrown
   them. */
.carousel-nav[hidden], .carousel-dots[hidden], .carousel-count[hidden]{ display:none; }

.carousel-dots{ display:flex; gap:9px; }
.carousel-dots button{
  width:8px; height:8px; border-radius:50%; padding:0;
  background:var(--border); cursor:pointer;
  transition:background .3s var(--ease), transform .3s var(--ease);
}
.carousel-dots button[aria-current="true"]{ background:var(--accent); transform:scale(1.35); }

.carousel-count{
  font-family:var(--font-display); font-weight:500; font-size:.74rem;
  letter-spacing:.16em; color:var(--text-dim); font-variant-numeric:tabular-nums;
}

.carousel-arrows{ display:flex; gap:10px; }
.carousel-arrows button{
  width:42px; height:42px; border-radius:50%; display:grid; place-items:center;
  border:1px solid var(--border); background:var(--veil); color:var(--text);
  cursor:pointer; transition:border-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease);
}
.carousel-arrows button:hover:not(:disabled){ border-color:var(--accent); color:var(--accent); }
.carousel-arrows button:disabled{ opacity:.35; cursor:default; }
.carousel-arrows svg{ width:18px; height:18px; }

/* Reduced motion: jump rather than glide. The track still scrolls. */
@media (prefers-reduced-motion: reduce){
  .carousel-track{ scroll-behavior:auto; }
}

/* ═══════════════ FAQ ═══════════════ */
.faq{ display:grid; max-width:840px; margin:0 auto; border-top:1px solid var(--hair); }
.q-item{ border-bottom:1px solid var(--hair); }
.q-head{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:26px 4px; text-align:left;
  font-family:var(--font-display); font-weight:400; font-size:1.15rem; letter-spacing:-.005em;
  transition:color .3s var(--ease);
}
.q-head:hover{ color:var(--accent-2); }
.q-mark{
  width:26px; height:26px; flex:none; border-radius:50%; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--text-dim);
  transition:transform .45s var(--ease-out), border-color .3s var(--ease), color .3s var(--ease);
}
.q-mark svg{ width:11px; height:11px; }
.q-item.is-open .q-mark{ transform:rotate(135deg); border-color:var(--accent-2); color:var(--accent-2); }
.q-body{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .5s var(--ease-out); }
.q-item.is-open .q-body{ grid-template-rows:1fr; }
.q-body > div{ overflow:hidden; }
.q-body p{ color:var(--text-dim); font-size:.98rem; padding:0 40px 28px 4px; max-width:70ch; }

/* ═══════════════ Contact split ═══════════════ */
.contact{ display:grid; grid-template-columns:1fr 1fr; gap:76px; align-items:start; }
@media (max-width:960px){ .contact{ grid-template-columns:1fr; gap:52px; } }
.detail{ display:grid; margin-top:40px; }
.detail .r{
  display:flex; align-items:baseline; justify-content:space-between; gap:20px;
  padding:17px 0; border-top:1px solid var(--hair);
}
.detail .r:last-child{ border-bottom:1px solid var(--hair); }

/* The list's closing rule is right when buttons follow it, and wrong when a
   panel does: the panel brings its own top border, so the two read as a
   doubled line with a gap trapped between them. The panel already terminates
   the list, so the extra rule is dropped only in that case — :has() is what
   lets the list know what comes after it.

   Browsers without :has() keep the old doubled line, which is a cosmetic
   fallback rather than a broken one. */
.detail:has(+ .panel) .r:last-child{ border-bottom:none; }
.detail .k{
  font-family:var(--font-display); font-weight:500; font-size:.7rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim);
}
.detail .v{ font-size:.98rem; text-decoration:none; transition:color .3s var(--ease); text-align:right; }
a.v:hover{ color:var(--accent-2); }

/* ═══════════════ CTA strip ═══════════════ */
.cta-strip{ text-align:center; display:grid; gap:26px; justify-items:center; }
.cta-strip h2{ max-width:20ch; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:18px; justify-content:center; align-items:center; }

@media (prefers-reduced-motion: reduce){
  .hero::before{ animation:none; }
  .spot{ display:none; }
}

/* The list as the panel's opening content rather than a follow-on. */
.checks.flush{ margin-top:0; }

/* ═══════════════ Appreciations ═══════════════ */
.appr{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
@media (max-width:900px){ .appr{ grid-template-columns:1fr; } }

.appr-card{ display:grid; gap:22px; align-content:start; }
.appr-body{ display:grid; gap:10px; }
.appr-card h3{
  font-family:var(--font-display); font-weight:500; font-size:1.05rem;
  line-height:1.35; letter-spacing:-.005em;
}
.appr-card p{ font-size:.93rem; color:var(--text-dim); }
.appr-meta{
  font-family:var(--font-display); font-size:.7rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-dim);
}
.appr-actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.appr-open{
  font-family:var(--font-display); font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent-2); text-decoration:none; white-space:nowrap;
}
.appr-open:hover{ text-decoration:underline; }

/* Preview dialog. Sized in viewport units because a PDF has no useful
   intrinsic height — the frame has to be told how tall to be. */
.appr-dialog{
  width:min(920px, 94vw); height:min(88vh, 1000px); padding:0;
  border:1px solid var(--border); border-radius:3px; background:var(--surface);
  color:var(--text); overflow:hidden;
}
.appr-dialog::backdrop{ background:color-mix(in srgb, #06152d 62%, transparent); backdrop-filter:blur(3px); }
.appr-dialog[open]{ display:grid; grid-template-rows:auto 1fr; }
.appr-dialog-head{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:16px 20px; border-bottom:1px solid var(--hair);
}
.appr-dialog-head b{ font-family:var(--font-display); font-weight:500; font-size:.95rem; }
.appr-dialog-actions{ display:flex; align-items:center; gap:16px; }
.appr-close{ display:grid; place-items:center; width:30px; height:30px; color:var(--text-dim); }
.appr-close:hover{ color:var(--accent); }
.appr-close svg{ width:18px; height:18px; }
.appr-dialog iframe{ width:100%; height:100%; border:0; background:var(--surface-2); }

/* ── Long-form pages ──────────────────────────────────────────────────────
   Privacy and terms. One column, measured for reading rather than scanning.
   ───────────────────────────────────────────────────────────────────────── */
.legal{ max-width:720px; }
.legal h2{
  font-family:var(--font-display); font-weight:600; font-size:1.32rem;
  letter-spacing:-.01em; margin:52px 0 16px; padding-top:26px;
  border-top:1px solid var(--hair);
}
.legal h2:first-child{ margin-top:0; padding-top:0; border-top:none; }
.legal h3{
  font-family:var(--font-display); font-weight:600; font-size:.78rem;
  letter-spacing:.12em; text-transform:uppercase; color:var(--nav-ink);
  margin:30px 0 10px;
}
.legal p{ margin:0 0 16px; color:var(--text-dim); }
.legal strong{ color:var(--text); font-weight:600; }
.legal ul{ margin:0 0 18px; padding-left:1.1rem; color:var(--text-dim); }
.legal li{ margin-bottom:9px; }
.legal li::marker{ color:var(--accent-2); }
.legal a{ color:var(--accent-2); }
/* Date the document was last changed, under the title. */
.legal-stamp{
  font-family:var(--font-display); font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-dim);
}
