/* ==========================================================================
   Information pages: Contact, Our Story, FAQs, Terms, Privacy, 404.
   Uses the same tokens as the rest of the redesign.
   ========================================================================== */
.shero--s { min-height: 62svh; padding-top: 150px; }
.shero--s .shero__h { font-size: clamp(3rem, 8vw, 8rem); max-width: 14ch; }


/* two-column text pages */
.doc { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(3rem, 6vw, 6rem) var(--pad) clamp(4rem, 8vw, 7rem); }
.doc__side { align-self: start; position: sticky; top: 110px; color: var(--muted); font-size: 1rem; max-width: 32ch; }
.doc__side a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); transition: text-decoration-color .3s; }
.doc__side a:hover { text-decoration-color: var(--ink); }
.doc__body { min-width: 0; }
.clause { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.clause:last-child { border-bottom: 1px solid var(--line); }
.clause h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; display: flex; gap: 1rem; align-items: baseline; margin-bottom: .8rem; }
.clause h2 small { font-family: var(--serif); font-size: .85rem; letter-spacing: 0; color: var(--muted); min-width: 1.8rem; }
.clause p { color: var(--muted); font-size: 1.05rem; margin-left: 2.8rem; max-width: 78ch; }
.clause a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ accordion */
.fqs { min-width: 0; }
.fq { border-top: 1px solid var(--line); }
.fq:last-child { border-bottom: 1px solid var(--line); }
.fq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.03em; line-height: 1.12; -webkit-tap-highlight-color: transparent; }
.fq__q::-webkit-details-marker { display: none; }
.fq__q i { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, border-color .3s, transform .45s var(--ease); }
.fq__q i::before, .fq__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; translate: -50% -50%; transition: transform .45s var(--ease); }
.fq__q i::after { transform: rotate(90deg); }
.fq[open] .fq__q i { transform: rotate(180deg); }
.fq[open] .fq__q i::after { transform: rotate(0deg); }
.fq__q:hover i { border-color: var(--ink); }
.fq__q:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.fq__a { padding: 0 3.4rem 1.6rem 0; color: var(--muted); font-size: 1.05rem; display: grid; gap: .8rem; max-width: 80ch; }
.fq__a a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.fq__a ul { padding-left: 1.1rem; display: grid; gap: .5rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(3rem, 6vw, 6rem) var(--pad); align-items: start; }
.contact__l { display: grid; border-top: 1px solid var(--line); }
.cc { display: grid; gap: .5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); transition: opacity .3s; }
a.cc:hover .cc__a { transform: translate(4px, 0); }
a.cc:active { opacity: .7; }
.cc__l { font-size: .9rem; color: var(--muted); }
.cc__v { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -.035em; line-height: 1.05; display: flex; align-items: center; gap: .7rem; word-break: break-word; }
.cc__v--s { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0; font-style: normal; display: block; max-width: 36ch; }
.cc__a { display: inline-grid; font-size: .8em; transition: transform .4s var(--ease); }
.cc--main .cc__v { font-size: clamp(2rem, 4vw, 3.6rem); }
.social--l { display: flex; gap: 1.2rem; font-size: 1.3rem; }
.social--l a { opacity: .8; transition: opacity .3s, color .3s; }
.social--l a:hover { opacity: 1; color: var(--accent); }

.cform { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.cform__h { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.6rem); letter-spacing: -.035em; line-height: 1; }
.cform__p { color: var(--muted); font-size: 1rem; max-width: 46ch; }
.cform__p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.fld { display: grid; gap: .45rem; min-width: 0; }
.fld2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fld label { font-size: .9rem; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .6rem 0; outline: none; transition: border-color .3s; }
.fld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.6rem; }
.fld select option { color: #111; }
.fld textarea { resize: vertical; min-height: 7rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-bottom-color: var(--ink); }
.fld.is-bad input, .fld.is-bad textarea { border-bottom-color: #ee3b0b; }
.cform__go { justify-self: start; margin-top: .4rem; }
.cform__ok { min-height: 1.4em; color: var(--muted); font-size: .95rem; }
.cform__ok a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.map { position: relative; margin: 0 var(--pad) clamp(3rem, 6vw, 6rem); aspect-ratio: 21 / 8; min-height: 260px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
:root:not([data-theme="light"]) .map iframe { filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }
.map__open { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); font-size: .92rem; }
.map__open .arr { font-size: 1rem; }

/* Our Story */
.story { padding: clamp(2rem, 4vw, 4rem) var(--pad) clamp(4rem, 8vw, 7rem); display: grid; gap: clamp(2.4rem, 5vw, 5rem); }
.story__img { border-radius: 6px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-2); }
.story__img img, .story__gal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 3rem); }
.story__b { border-top: 1px solid var(--line); padding-top: 1.4rem; display: grid; gap: .9rem; align-content: start; }
.story__b h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.6rem); letter-spacing: -.035em; line-height: 1.02; display: grid; gap: .6rem; }
.story__b h2 small { font-family: var(--serif); font-size: .85rem; letter-spacing: 0; color: var(--muted); }
.story__b p { color: var(--muted); font-size: 1.05rem; }
.story__gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.story__gal figure { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--bg-2); }
.story__more { display: flex; justify-content: center; }

/* 404 */
.nf__links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }

@media (max-width: 1000px) {
  .doc { grid-template-columns: 1fr; gap: 1.6rem; }
  .doc__side { position: static; max-width: 50ch; }
  .contact { grid-template-columns: 1fr; }
  .story__cols { grid-template-columns: 1fr; }
  .story__gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) {
  .shero--s { min-height: 52svh; padding-top: 120px; }
  .fld2 { grid-template-columns: 1fr; }
  .clause p { margin-left: 0; }
  .fq__a { padding-right: 0; }
  .map { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .fq__q i, .fq__q i::before, .fq__q i::after { transition: none; } }

.doc__date { color: var(--ink); margin-bottom: .8rem; font-size: .92rem; }

/* ---------- Each information page gets its own colour of glow (Home and Past Projects keep the orange and teal) ---------- */
body[data-glow] .shero .orb .o1, body[data-glow] .shero .orb .o2 { background: radial-gradient(closest-side, var(--ga) 45%, color-mix(in srgb, var(--ga) 0%, transparent)); }
body[data-glow] .shero .orb .t1, body[data-glow] .shero .orb .t2 { background: radial-gradient(closest-side, color-mix(in srgb, var(--gb) 85%, transparent), color-mix(in srgb, var(--gb) 0%, transparent)); }
body[data-glow="faq"]     { --ga: #5a47f0; --gb: #12a3b8; }   /* indigo and cyan */
body[data-glow="contact"] { --ga: #1fa66a; --gb: #e0a21c; }   /* WhatsApp green and amber */
body[data-glow="story"]   { --ga: #e0961f; --gb: #b3202f; }   /* amber and crimson */
body[data-glow="terms"]   { --ga: #3d6fb4; --gb: #8a94a6; }   /* steel blue and slate */
body[data-glow="privacy"] { --ga: #0f9a82; --gb: #6a4fc0; }   /* emerald and violet */
body[data-glow="lost"]    { --ga: #c4164a; --gb: #1d4fb8; }   /* magenta and deep blue */
