/* Page sections: ring-pattern hero, black-and-white route boxes, ticker, numbered steps, reviews, contact form. */

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(52px, 8vw, 108px) 0 clamp(64px, 9vw, 124px); background: var(--paper); border-top: 0; }
.hero > .container { position: relative; z-index: 2; }
.hero--page { padding: clamp(44px, 5vw, 76px) 0 clamp(52px, 6vw, 92px); }
.hero--page h1 { max-width: 980px; font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.hero--center { text-align: center; }
.hero--center .lead { margin-inline: auto; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 60px; }
.hero-copy { flex: 1 1 480px; }
.h1-line { display: block; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; border-top: 1px solid var(--ink); }
.trust-row li { flex: 1 1 180px; padding: 14px 18px 0 0; font-family: var(--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.trust-row li::before { content: "\25CF"; margin-right: 8px; color: var(--accent-text); font-size: 0.6rem; vertical-align: 2px; }

/* Concentric rings drawn with a repeating gradient */
.hero::before { content: ""; position: absolute; z-index: 0; right: -240px; top: -240px; width: 760px; height: 760px; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0, transparent 26px, rgba(14, 14, 14, 0.14) 26px, rgba(14, 14, 14, 0.14) 27px); }
.hero::after { content: ""; position: absolute; z-index: 0; right: -34px; top: -34px; width: 130px; height: 130px; border-radius: 50%; background: var(--accent); mix-blend-mode: multiply; opacity: 0.9; }

/* Route boxes */
.hero-visual { flex: 1 1 380px; margin: 0; display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; border: 1px solid var(--ink); background: var(--paper); box-shadow: 14px 14px 0 rgba(14, 14, 14, 0.12); }
.route-card { flex: 1 1 200px; padding: 26px 24px; }
.route-card--direct { background: var(--ink); color: #fff; }
.route-title { font-family: var(--label); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid currentColor; }
.route-card--direct .route-title { color: var(--accent-text); border-bottom-color: rgba(255, 255, 255, 0.3); }
.route { display: flex; flex-direction: column; gap: 14px; }
.route li { position: relative; padding: 9px 12px; border: 1px solid var(--ink); font-family: var(--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: var(--accent); }
.route-card--direct .route li { border-color: rgba(255, 255, 255, 0.5); }
.route--short li:last-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero-visual figcaption { flex: 1 1 100%; padding: 12px 16px; border-top: 1px solid var(--ink); font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* Ticker */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 20px 0; border-top: 1px solid var(--ink); }
.marquee-track { display: flex; flex-wrap: nowrap; width: max-content; }
.marquee .chips { flex-wrap: nowrap; flex: 0 0 auto; gap: 0; margin: 0; border: 0; }
.marquee .chips li { white-space: nowrap; border: 0; margin: 0; padding: 0 26px 0 0; font-size: 1.6rem; font-style: italic; color: #fff; }
.marquee .chips li::after { content: "\2726"; margin-left: 26px; color: var(--accent-text); font-style: normal; font-size: 1.1rem; vertical-align: 2px; }

/* Problems list */
.problem-list { display: flex; flex-direction: column; counter-reset: prob; border-top: 1px solid var(--ink); }
.problem-list li { counter-increment: prob; padding: 20px 0 20px 64px; position: relative; border-bottom: 1px solid var(--hair); font-family: var(--font-head); font-size: 1.2rem; line-height: 1.35; }
.problem-list li::before { content: counter(prob, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-family: var(--label); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-text); }

/* Process steps (on black) */
.steps { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.step { flex: 1 1 240px; padding: 34px 28px 34px 0; margin-right: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); position: relative; }
.step h3 { margin-bottom: 0.4em; }
.step p { margin: 0; color: #bdb9ad; }
.step-num { display: block; margin-bottom: 18px; font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 4.2rem; line-height: 1; color: var(--accent-text); }
.steps--stacked { flex-direction: column; flex-wrap: nowrap; }
.steps--stacked .step { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 20px 0; margin-right: 0; }
.steps--stacked .step-num { margin: 0; font-size: 2.6rem; }
.steps--stacked .step p { flex: 1 1 220px; color: #e9e6dd; }

/* Checkpoints */
.checkpoints { display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--ink); }
.checkpoint { flex: 1 1 240px; padding: 30px 26px 28px; border-right: 1px solid var(--ink); border-top: 4px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.checkpoint:nth-child(even) { border-top-color: var(--accent); }
.checkpoint p:last-child { margin-bottom: 0; color: var(--muted); }
.checkpoint-label { font-family: var(--label); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }

/* Projects page: filter bar + flat editorial cards (flex only) */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.project-filters[hidden] { display: none; }
.filter-btn { padding: 10px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--label); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, color 0.2s; }
.filter-btn:hover, .filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.project-list { display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--hair); }
.project-card { flex: 1 1 440px; max-width: 100%; display: flex; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.project-card[hidden] { display: none; }
.project-card > article { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 34px 30px 32px; border-top: 4px solid var(--ink); }
.project-category { margin: 0; font-family: var(--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.project-title { margin: 0; font-size: 1.6rem; }
.project-text { margin: 0; color: var(--muted); }
.project-outcome { margin: 0; padding-top: 14px; border-top: 1px solid var(--hair); width: 100%; font-weight: 600; }
.project-outcome span { color: var(--accent-text); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.project-tags li { padding: 5px 10px; border: 1px solid var(--hair); font-family: var(--label); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.project-note { margin-top: 48px; padding: 28px 30px; border-top: 4px solid var(--accent); background: var(--paper-2); }
.project-note h2 { margin: 0 0 10px; font-size: 1.3rem; }
.project-note p { margin: 0; color: var(--muted); max-width: 70ch; }

/* Reviews */
.review-list { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 40px; border-top: 1px solid var(--ink); }
.review { flex: 1 1 280px; display: flex; border-bottom: 1px solid var(--ink); }
.review + .review { border-left: 1px solid var(--hair); }
.review figure { margin: 0; flex: 1; padding: 34px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; position: relative; }
.review figure::before { content: "\201C"; position: absolute; left: 24px; top: -4px; font-family: var(--font-head); font-size: 5.5rem; line-height: 1; color: var(--accent-text); }
.review blockquote { margin: 0; padding-top: 44px; font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.55rem; line-height: 1.3; letter-spacing: -0.015em; }
.review blockquote p { margin: 0; }
.review figcaption { font-family: var(--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.review-source { font-weight: 500; color: var(--muted); }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.stat { display: flex; flex-direction: column-reverse; flex: 1 1 200px; padding: 26px 24px 26px 0; }
.stat dt { color: var(--muted); font-family: var(--label); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.stat dd { margin: 0; font-family: var(--font-head); font-style: italic; font-weight: 400; letter-spacing: -0.04em; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; color: var(--accent-text); }

/* Contact */
.contact-layout { display: flex; flex-wrap: wrap; gap: 52px 64px; align-items: flex-start; }
.contact-intro { flex: 1 1 360px; }
.contact-notes { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--ink); }
.contact-notes li { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.contact-notes strong { display: block; font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.contact-notes p { margin: 4px 0 0; color: var(--muted); }
.contact-notes a { color: var(--ink); }
.form-shell { flex: 1.2 1 420px; padding: clamp(26px, 4vw, 44px); background: #fff; color: var(--text); border: 1px solid var(--ink); border-top: 6px solid var(--accent); box-shadow: 14px 14px 0 rgba(14, 14, 14, 0.12); }
.form-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; margin-bottom: 28px; }
.form-head h2 { font-size: 2rem; margin-bottom: 0.2em; }
.form-head p { margin: 0; color: var(--muted); }
.form-badge { padding: 6px 12px; border: 1px solid var(--ink); font-family: var(--label); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.form-fields { display: flex; flex-wrap: wrap; gap: 22px 20px; }
.form-fields label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; font-family: var(--label); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.form-fields label.full { flex-basis: 100%; }
.form-fields input, .form-fields select, .form-fields textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-family: var(--font); font-size: 1.05rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.form-fields textarea { min-height: 140px; resize: vertical; border: 1px solid var(--ink); padding: 12px; }
.form-fields input:focus, .form-fields select:focus, .form-fields textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 2px 0 var(--accent); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.form-help { flex: 1 1 240px; margin: 0; font-size: 0.88rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Legal / long-form text */
.prose section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--ink); }
.prose h2 { font-size: 1.7rem; }
.prose p, .prose li { color: #3a3833; }
.prose .tick-list { margin-bottom: 1em; }

/* Form status message (contact form redirects with ?sent=...) */
.form-notice { margin: 0 0 22px; padding: 12px 16px; border: 1px solid var(--accent); border-left-width: 4px; background: #fff4f0; color: #8a2408; font-weight: 600; }
