/* ═══════════════════════════════════════════════════
   SAMRO STUDIOS · the city web design pages (round 4, 2026-10-20)
   /web-design-<city> and /conception-web-<ville>, written by
   scripts/build-cities.mjs. The home page tokens: Plus Jakarta Sans over
   Inter, ivory paper, white cards, the dark hero, the gold pill. The header
   and footer are /consult/page-chrome.css. Zero em dashes.
   ═══════════════════════════════════════════════════ */

:root {
  --night: #070A12;
  --ink: #12141C;
  --ink-2: #4A4E58;
  --muted: #5C606B;
  --paper: #F6F5F1;
  --card: #FFFFFF;
  --line: rgba(18, 20, 28, 0.09);
  --gold: #D9A441;
  --gold-2: #F2C766;
  --gold-text: #85601A;
  --head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --pad: 40px;
  --wrap: 1180px;
}
@media (max-width: 760px) { :root { --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--gold-2); color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
main a:not([class]) { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(217, 164, 65, 0.7); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
main a:not([class]):hover { color: var(--gold-text); }
.eyebrow { display: inline-block; font: 700 12px/1.4 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }

/* hero */
.ch-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #F5F3EE; padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.ch-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 88% 10%, rgba(217, 164, 65, 0.18) 0%, rgba(217, 164, 65, 0) 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(242, 199, 102, 0.07) 0%, rgba(242, 199, 102, 0) 70%);
}
.ch-hero .eyebrow { color: #E2BC6C; }
.ch-hero h1 { margin-top: 18px; max-width: 16ch; color: #FFFFFF; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.06; }
.ch-hero .lede { margin-top: 22px; max-width: 62ch; color: rgba(245, 243, 238, 0.8); font-size: clamp(17px, 1.5vw, 19px); }
.ch-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.ch-hero__act .c-btn { margin: 0; }
.ch-hero__alt { color: rgba(245, 243, 238, 0.78); font: 600 15px/1.3 var(--head); text-decoration: none; border-bottom: 1px solid rgba(242, 199, 102, 0.5); padding-bottom: 2px; }
.ch-hero__alt:hover { color: #FFFFFF; }
.ch-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(44px, 6vw, 72px); list-style: none; }
.ch-tiles li { padding: 18px 20px; border: 1px solid rgba(245, 243, 238, 0.1); border-radius: 14px; background: rgba(245, 243, 238, 0.04); }
.ch-tiles b { display: block; font: 700 15px/1.3 var(--head); color: #FFFFFF; }
.ch-tiles span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: rgba(245, 243, 238, 0.66); }
@media (max-width: 900px) { .ch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ch-tiles { grid-template-columns: 1fr; } }

/* sections */
.ch-sec { padding: clamp(64px, 8vw, 112px) 0; }
.ch-sec + .ch-sec { padding-top: 0; }
.ch-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.ch-head h2 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 44px); }
.ch-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }

.ch-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.ch-card h2 { font-size: clamp(24px, 2.6vw, 32px); }
.ch-card h3 { font-size: 21px; }
.ch-card > * + * { margin-top: 16px; }
.ch-card p, .ch-card li { color: var(--ink-2); }
.ch-card .points { list-style: none; display: grid; gap: 12px; }
.ch-card .points li { position: relative; padding-left: 22px; }
.ch-card .points li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.ch-card .points b { color: var(--ink); font-weight: 600; }
.ch-stack { display: grid; gap: 16px; }
.ch-local { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ch-local .ch-card:only-child, .ch-local .ch-card--wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .ch-local { grid-template-columns: 1fr; } }

/* the case study */
.proof { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 24px; text-decoration: none; color: inherit; transition: transform 0.3s, box-shadow 0.3s; }
.proof:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -30px rgba(18, 20, 28, 0.35); }
.proof img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.proof > div { padding: clamp(26px, 3.6vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.proof-k { font: 700 12px/1.4 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.proof h2, .proof h3 { font-size: clamp(24px, 2.4vw, 30px); }
.proof p { color: var(--ink-2); }
.proof-go { font: 700 15px/1.3 var(--head); color: var(--ink); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* how it works: three numbered steps */
.ch-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.ch-steps li { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 3vw, 40px); }
.ch-steps .n { display: block; font: 800 15px/1 var(--head); letter-spacing: 0.08em; background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch-steps h3 { margin-top: 0; font-size: 22px; }
.ch-steps p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .ch-steps { grid-template-columns: 1fr; } }

.ch-builds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; list-style: none; }
.ch-builds li { padding: 20px 22px; background: transparent; border: 1px solid var(--line); border-radius: 16px; }
.ch-builds b { display: block; font: 700 16px/1.3 var(--head); }
.ch-builds span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 960px) { .ch-builds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ch-builds { grid-template-columns: 1fr; } }

/* FAQ */
.ch-faq { display: grid; gap: 10px; max-width: 900px; }
.ch-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; }
.ch-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; font: 700 18px/1.35 var(--head); letter-spacing: -0.01em; }
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font: 500 18px/1 var(--body); color: var(--gold-text); transition: transform 0.25s; }
.ch-faq details[open] summary::after { transform: rotate(45deg); }
.ch-faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 72ch; }

/* other cities */
.ch-cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
main .ch-cities a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: 600 14px/1.2 var(--head); color: var(--ink); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
main .ch-cities a:hover { border-color: var(--gold); color: var(--gold-text); }

/* the closing band */
.ch-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: var(--night); color: #F5F3EE; padding: clamp(40px, 6vw, 80px); }
.ch-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 0%, rgba(217, 164, 65, 0.22), rgba(217, 164, 65, 0) 60%); }
.ch-band h2 { color: #FFFFFF; font-size: clamp(30px, 3.8vw, 48px); max-width: 18ch; }
.ch-band p { margin-top: 16px; max-width: 60ch; color: rgba(245, 243, 238, 0.78); }
.ch-band .c-btn { margin-top: 28px; }
.ch-band .mail { display: block; margin-top: 18px; font-size: 15px; color: rgba(245, 243, 238, 0.66); }
.ch-band .mail a { color: #F5F3EE; text-decoration: underline; text-decoration-color: rgba(242, 199, 102, 0.6); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .proof, .ch-faq summary::after { transition: none; } }
