/* ==========================================================================
   components.css  -  reusable building blocks
   ========================================================================== */

/* ==========================================================================
   1. BUTTONS & LINKS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 30px;
  border: 1px solid transparent; border-radius: 999px; text-align: center; line-height: 1.3;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--ease); }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(5px); }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gold); }
.btn-outline { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: rgba(8, 8, 8, 0.28); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-dark { background: var(--black); color: var(--ivory); }
.btn-dark:hover { background: var(--gold); color: var(--black); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }
.btn-sm { min-height: 46px; padding: 10px 24px; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 8px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.link-arrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; opacity: 0.25; }
.link-arrow::before { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); z-index: 1; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover::before, .link-arrow:focus-visible::before { transform: scaleX(1); }
.link-arrow:hover svg, .link-arrow:focus-visible svg { transform: translateX(6px); }

/* ==========================================================================
   2. IMAGES & SCROLL REVEAL  (animations.js adds .is-visible)
   ========================================================================== */
.image-wrap { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); }
.image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-fade.is-visible { opacity: 1; }
/* Image reveal: the wrapper is observed (never clipped); the <img> inside wipes in */
.js .reveal-image { background: var(--cream); }
.js .reveal-image img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease); }
.js .reveal-image.is-visible img { clip-path: inset(0 0 0 0); transform: none; }
.js .hero-title .line > span { display: block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 0.13s + 0.1s); }
.js.hero-ready .hero-title .line > span { transform: none; }
.js .hero-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) 0.6s, transform 1s var(--ease) 0.6s; }
.js.hero-ready .hero-fade { opacity: 1; transform: none; }

/* ==========================================================================
   3. PRELOADER  (home page only, once per browser session)
   ========================================================================== */
.preloader { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: var(--ivory); }
.show-preloader .preloader { display: grid; }
.preloader.is-hidden { opacity: 0; visibility: hidden; transition: opacity 0.8s var(--ease), visibility 0.8s; }
.preloader .logo-crop { --logo-w: clamp(210px, 28vw, 320px); animation: fadeUp 1s var(--ease) both; }
.preloader-line { display: block; width: 120px; height: 1px; margin: 30px auto 0; background: var(--gold); transform-origin: left; animation: lineGrow 1.3s var(--ease) 0.2s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ==========================================================================
   4. SECTOR MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; padding: 30px 0; background: var(--white); border-bottom: 1px solid var(--border-dark); }
.marquee-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; align-items: center; }
.marquee-list li { display: flex; align-items: center; font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.015em; font-size: clamp(1.1rem, 1.75vw, 1.55rem); color: var(--muted); white-space: nowrap; }
.marquee-list li::after { content: ''; width: 6px; height: 6px; margin: 0 clamp(32px, 4vw, 64px); border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* Logo version of the strip (home page): every <li> holds one division logo. */
.marquee--logos { --scale: 1; padding: 36px 0; }
.marquee--logos .marquee-list li img { height: calc(var(--h, 44px) * var(--scale)); width: auto; max-width: none; }
/* Without JavaScript the strip is a still, centred row of logos */
html:not(.js) .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
html:not(.js) .marquee-list { flex-wrap: wrap; justify-content: center; }
html:not(.js) .marquee-list[aria-hidden='true'] { display: none; }

/* ==========================================================================
   5. INTRODUCTION
   ========================================================================== */
.intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.intro-body p { color: var(--muted); font-size: 1.1rem; }
.intro-body .link-arrow { margin-top: 12px; }

/* ==========================================================================
   6. STATISTICS  (edit the data-count values in the HTML)
   ========================================================================== */
.stats-head { margin-bottom: clamp(48px, 6vw, 88px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stat-line, var(--border)); }
.stat { padding: 44px clamp(18px, 2vw, 32px) 20px 0; }
.stat + .stat { padding-left: clamp(18px, 2vw, 32px); border-left: 1px solid var(--stat-line, var(--border)); }
.stat-number { display: block; font-family: var(--font-heading); font-weight: 300; letter-spacing: -0.05em; font-size: clamp(5rem, 11vw, 11.5rem); line-height: 0.92; color: var(--ivory); font-variant-numeric: lining-nums; }
.stat-label { display: block; margin: 28px 0 12px; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.stat-text { margin: 0; max-width: 28ch; color: var(--muted-on-dark); font-size: 0.95rem; }

/* Statistics section on a light photo (home "Our foundations"): the photo is almost white, so text switches to dark */
.section--photo { position: relative; isolation: isolate; overflow: hidden; background: var(--white); color: var(--black); --stat-line: var(--border-dark); }
.section--photo > .section-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.section--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.35); }
.section--photo .stat-number { color: var(--black); }
.section--photo .stat-label { color: var(--gold-ink); }
.section--photo .stat-text { color: var(--muted); }

/* ==========================================================================
   7. PORTFOLIO  (large alternating items on the home page)
   ========================================================================== */
.section-head { max-width: 920px; margin-bottom: clamp(56px, 8vw, 110px); }
.section-head .lead { margin: 28px 0 0; }
.portfolio-list { display: grid; gap: clamp(72px, 10vw, 140px); }
.portfolio-item { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 48px); align-items: center; }
.portfolio-content { grid-column: 1 / span 5; grid-row: 1; transition: transform 0.7s var(--ease); }
.portfolio-image { grid-column: 6 / span 7; grid-row: 1; display: block; }
.portfolio-item:nth-child(even) .portfolio-content { grid-column: 8 / span 5; }
.portfolio-item:nth-child(even) .portfolio-image { grid-column: 1 / span 7; }
.portfolio-image .image-wrap { aspect-ratio: 7 / 5; }
.portfolio-number { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--gold-ink); }
.portfolio-number::after { content: ''; width: 36px; height: 1px; background: var(--gold); transition: width 0.7s var(--ease); }
.portfolio-name { font-size: clamp(1.6rem, 2.7vw, 2.6rem); font-weight: 500; text-transform: uppercase; line-height: 1.1; }
.portfolio-category { margin: 18px 0 22px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.portfolio-text { max-width: 44ch; color: var(--muted); margin-bottom: 30px; }
.portfolio-item:hover .portfolio-content { transform: translateX(10px); }
.portfolio-item:hover .portfolio-number::after { width: 96px; }
.portfolio-item:hover .image-wrap img { transform: scale(1.06); }
.portfolio-item:hover .link-arrow::before { transform: scaleX(1); }
.portfolio-item:hover .link-arrow svg { transform: translateX(8px); }

/* ==========================================================================
   8. BUSINESSES PAGE: filter + detail tiles  (portfolio.js)
   ========================================================================== */
.biz-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 52px; }
.chip { min-height: 46px; padding: 10px 22px; border: 1px solid var(--border-dark); border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover { border-color: var(--black); }
.chip[aria-pressed='true'] { background: var(--black); color: var(--ivory); border-color: var(--black); }
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.biz-card { position: relative; isolation: isolate; min-height: 580px; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); color: var(--white); box-shadow: 0 0 0 1px var(--border-dark); scroll-margin-top: 110px; }
.biz-card[hidden] { display: none; }
.biz-media { position: absolute; inset: 0; z-index: -2; }
.biz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.biz-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,8,0) 30%, rgba(8,8,8,0.88) 100%); }
.biz-card:hover .biz-media img { transform: scale(1.06); }
.biz-front { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; }
.biz-front .num { font-family: var(--font-heading); font-weight: 600; color: var(--gold-light); }
.biz-front h3 { margin: 8px 0 10px; font-size: 1.35rem; text-transform: uppercase; }
.biz-front p { margin: 0; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.biz-toggle { position: absolute; right: 24px; top: 24px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(8,8,8,0.55); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); transition: background 0.3s, color 0.3s; }
.biz-toggle:hover { background: var(--gold); color: var(--black); }
.biz-toggle svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.biz-card.is-open .biz-toggle svg { transform: rotate(45deg); }
.biz-links { display: grid; gap: 14px; justify-items: start; }   /* tiles with their own page: the "+" is a link to that page */
.biz-detail { position: absolute; inset: 0; z-index: 2; padding: 36px 32px; overflow-y: auto; background: rgba(17,17,17,0.97); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.biz-card:hover .biz-detail, .biz-card:focus-within .biz-detail, .biz-card.is-open .biz-detail { opacity: 1; visibility: visible; }
.biz-detail h3 { font-size: 1.35rem; text-transform: uppercase; padding-right: 56px; margin-bottom: 18px; }
.biz-detail > p { color: rgba(245,241,232,0.8); font-size: 0.98rem; }
.biz-detail dl { margin: 24px 0 28px; display: grid; gap: 10px; font-size: 0.95rem; }
.biz-detail dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.biz-detail dt { color: var(--gold); }
.biz-detail dd { margin: 0; color: var(--ivory); }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.also-grid li { padding-top: 22px; border-top: 1px solid var(--border-dark); }
.also-grid h3 { font-size: 1.2rem; margin-bottom: 10px; }
.also-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   9. APPROACH PRINCIPLES  (numbered rows with hairline separators)
   ========================================================================== */
.principles { margin-top: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--border); }
.principle { display: grid; grid-template-columns: 110px 1fr 1.15fr; gap: 24px 40px; align-items: baseline; padding: 40px 0; border-top: 1px solid var(--border); transition: border-color 0.5s var(--ease); }
.principle:hover { border-top-color: var(--gold); }
.principle-num { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--gold); }
.principle h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 500; text-transform: uppercase; transition: color 0.4s, transform 0.5s var(--ease); }
.principle:hover h3 { color: var(--gold-light); transform: translateX(8px); }
.principle p { margin: 0; color: var(--muted-on-dark); }
.principles--light { border-bottom-color: var(--border-dark); }
.principles--light .principle { border-top-color: var(--border-dark); }
.principles--light .principle:hover { border-top-color: var(--gold-ink); }
.principles--light .principle-num { color: var(--gold-ink); }
.principles--light .principle:hover h3 { color: var(--gold-ink); }
.principles--light .principle p { color: var(--muted); }

/* Dark sections on a photo (home "Our approach" in a rounded frame like the hero, and the Approach page).
   The photo is darkened so the white text stays readable. */
.section--bgimage { position: relative; isolation: isolate; overflow: hidden; background: var(--black); }
.section--bgimage > .section-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.section--bgimage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,8,0.72) 0%, rgba(8,8,8,0.64) 100%); }
.section--bgimage .section-label, .section--bgimage .principle-num { color: var(--gold-light); }
.section--bgimage .principle p, .section--bgimage .lead { color: rgba(255,255,255,0.88); }
.section--bgimage .principles { border-bottom-color: rgba(255,255,255,0.28); }
.section--bgimage .principle { border-top-color: rgba(255,255,255,0.28); }
.section--frame { margin: var(--frame); border-radius: var(--radius-lg); }

/* ==========================================================================
   10. PHILOSOPHY  (oversized editorial type + animated gold line)
   ========================================================================== */
.philosophy { text-align: left; }
.philosophy-title { font-size: clamp(1.9rem, 6vw, 5.6rem); line-height: 1.04; font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; overflow-wrap: break-word; text-wrap: balance; }
.gold-line { position: relative; display: block; width: 100%; height: 1px; margin: clamp(40px, 6vw, 72px) 0; background: rgba(138, 101, 22, 0.16); }
.gold-line::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light) 60%, transparent); transform-origin: left; }
.js .gold-line::before { transform: scaleX(0); transition: transform 1.9s var(--ease); }
.js .gold-line.is-visible::before { transform: scaleX(1); }
.philosophy-text { max-width: 38ch; font-family: var(--font-heading); font-weight: 400; letter-spacing: -0.015em; font-size: clamp(1.25rem, 2.1vw, 1.85rem); line-height: 1.5; color: var(--black); }

/* ==========================================================================
   11. AFRICAN OPPORTUNITY  (full-width image section)
   ========================================================================== */
.feature { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(94vh, 900px); padding-block: var(--section-padding); color: var(--white); background: var(--charcoal); }
.feature > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,8,0.35) 0%, rgba(8,8,8,0.82) 100%); }
.feature .lead { color: rgba(255,255,255,0.86); margin-top: 28px; }
.feature-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.28); }
.feature-points h3 { margin-bottom: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); }
.feature-points p { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.82); }

/* ==========================================================================
   12. PARTNERSHIP CTA (+ rotating badge)
   ========================================================================== */
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.cta .section-title { font-size: clamp(2rem, 5vw, 5rem); }
.cta .lead { margin: 32px 0 44px; }
.badge-circle { position: relative; display: grid; place-items: center; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--border); transition: border-color 0.4s, background 0.4s; }
.badge-circle:hover { border-color: var(--gold); background: rgba(200,155,60,0.08); }
.badge-circle svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-circle svg.ring text { font-family: var(--font-heading); font-weight: 600; font-size: 10.4px; letter-spacing: 0.3em; text-transform: uppercase; fill: var(--ivory); }
/* The emblem sits still in the middle while the text ring turns around it */
.badge-circle .badge-img { position: relative; width: 58%; height: auto; aspect-ratio: 1; border-radius: 50%; transition: transform 0.5s var(--ease); }
.badge-circle:hover .badge-img { transform: scale(1.06); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   13. LEADERSHIP
   ========================================================================== */
.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.leader-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; }   /* used when there are two people */
.leader:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.leader .image-wrap { aspect-ratio: 4 / 5; margin-bottom: 28px; }
.leader:hover .image-wrap img { transform: scale(1.04); }
.leader h3 { font-size: 1.45rem; margin-bottom: 6px; }
.leader-role { margin: 0 0 18px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.leader-bio { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 40ch; }
.leader-rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.leader-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 48px); align-items: center; }
.leader-row .image-wrap { grid-column: 1 / span 5; grid-row: 1; aspect-ratio: 4 / 5; }
.leader-row .leader-copy { grid-column: 7 / span 6; grid-row: 1; }
.leader-row:nth-child(even) .image-wrap { grid-column: 8 / span 5; }
.leader-row:nth-child(even) .leader-copy { grid-column: 1 / span 6; }
.leader-row h2 { font-size: clamp(1.7rem, 2.8vw, 2.7rem); font-weight: 500; text-transform: uppercase; margin-bottom: 12px; }
.leader-row .leader-bio { max-width: 52ch; font-size: 1.05rem; }

/* ==========================================================================
   14. INSIGHTS
   ========================================================================== */
.insight-list { border-bottom: 1px solid var(--border-dark); }
.insight { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px clamp(28px, 4vw, 64px); align-items: start; padding: 44px 0; border-top: 1px solid var(--border-dark); transition: padding 0.5s var(--ease); }
.insight:hover { padding-left: 14px; }
.insight-meta { display: grid; gap: 6px; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.insight-meta .cat { color: var(--gold-ink); }
.insight h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); margin-bottom: 12px; }
.insight p { margin: 0; max-width: 62ch; color: var(--muted); }
.article { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--border-dark); scroll-margin-top: 100px; }
.article:first-child { border-top: 0; padding-top: 0; }
.article-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 80px); }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 500; text-transform: uppercase; margin-bottom: 26px; }
.article-body { max-width: 66ch; color: var(--muted); font-size: 1.08rem; }
.article-body p:first-child { font-size: 1.25rem; color: var(--black); }

/* ==========================================================================
   15. CONTACT: details, form, map
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.contact-details .lead { margin: 28px 0 44px; }
.contact-company { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.contact-list { display: grid; gap: 28px; margin: 0; }
.contact-list dt { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.contact-list dd { margin: 0; font-size: 1.05rem; }
.contact-list a { border-bottom: 1px solid var(--border-dark); transition: border-color 0.3s, color 0.3s; }
.contact-list a:hover { border-color: var(--gold-ink); color: var(--gold-ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--gold-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 0; font: inherit; font-size: 1rem; color: var(--black);
  background: transparent; border: 0; border-bottom: 1px solid rgba(8,8,8,0.35); border-radius: 0; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23080808' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-ink); box-shadow: 0 1px 0 var(--gold-ink); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #b3261e; box-shadow: 0 1px 0 #b3261e; }
.field-error { min-height: 1.3em; margin: 0; font-size: 0.85rem; color: #b3261e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 34px; }
.form-note { margin: 0; max-width: 46ch; font-size: 0.85rem; color: var(--muted); }
.form-note a { text-decoration: underline; }
.form-status { display: none; margin-top: 28px; padding: 18px 22px; border-radius: var(--radius); font-size: 0.97rem; }
.form-status.is-success { display: block; background: #e8efe2; color: #26401d; }
.form-status.is-info { display: block; background: var(--cream); color: var(--black); }
.form-status.is-error { display: block; background: #f7e4e0; color: #7a1b13; }
.form-status a { text-decoration: underline; font-weight: 500; }

.map-wrap { height: clamp(320px, 34vw, 460px); overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.05); transition: filter 0.6s; }
.map-wrap:hover iframe { filter: none; }
/* Contact page: the map is a full-width strip (edge to edge) directly above the footer. Change the height here. */
.map-band { background: var(--white); }
.map-wrap--band { height: clamp(180px, 11.5vw, 230px); border-radius: 0; }

/* ==========================================================================
   16. FIXED EXTRAS: social rail + scroll progress (large screens only)
   ========================================================================== */
.social-rail { position: fixed; left: 26px; bottom: 36px; z-index: 50; display: none; flex-direction: column; gap: 10px; }
.social-rail a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ivory); color: var(--black); border: 1px solid var(--border-dark); transition: background 0.3s, transform 0.3s var(--ease); }
.social-rail a:hover { background: var(--gold); transform: translateY(-3px); }
.social-rail svg { width: 16px; height: 16px; }
.scroll-progress { position: fixed; right: 9px; top: 50%; z-index: 50; display: none; width: 1px; height: 120px; margin-top: -60px; background: rgba(255,255,255,0.55); mix-blend-mode: difference; pointer-events: none; }
.scroll-progress span { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: translateY(calc(var(--p, 0) * 113px)); }

/* ==========================================================================
   17. LEGAL / PROSE
   ========================================================================== */
.prose { max-width: 760px; }
.prose h2 { margin: 56px 0 18px; font-size: 1.6rem; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0 0 1.25em; padding-left: 1.2em; list-style: disc; }
.prose a { text-decoration: underline; color: var(--black); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal-side { position: sticky; top: 120px; max-width: 460px; }
.legal-side .image-wrap { aspect-ratio: 3 / 4; }
.legal-side img { object-position: 50% 20%; }
