/* ---------- Design tokens ---------- */
:root {
  --cream: #f6f2e8;
  --cream-2: #efe9db;
  --stone: #e7e0cf;
  --ink: #201d16;
  --ink-soft: #4a4536;
  --forest: #1f3d2b;
  --forest-2: #2c4a34;
  --forest-light: #3f6b4d;
  --gold: #a9885f;
  --line: rgba(32, 29, 22, 0.1);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 999px;
  --radius-card: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Page loader (splash) ---------- */
/* Covers the page instantly on load (no fade-in — it needs to be there
   before the first paint, not animate over it) and fades itself out once
   main.js decides the intro has run long enough — see initPageLoader(). */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* The source clip has a solid white backdrop baked in (not transparent),
     so this matches it exactly rather than the site's usual cream — cream
     here would show as a visible mismatched box around the video. */
  background: #fff;
  transition: opacity 0.5s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.page-loader-video {
  width: min(220px, 42vw);
  height: auto;
}

/* Stops the page scrolling under the overlay while the intro plays. */
body.loader-active { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .page-loader { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--forest);
  color: #fdfbf5;
  box-shadow: 0 8px 20px -6px rgba(31, 61, 43, 0.55);
}
.btn-primary:hover {
  background: var(--forest-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(31, 61, 43, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-small { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(252, 250, 244, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 10px 12px 10px 20px;
  box-shadow: 0 10px 30px -14px rgba(32, 29, 22, 0.25);
  width: 100%;
  max-width: 760px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  margin-right: auto;
}

.nav-logo-mark {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--forest); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 4px;
  touch-action: manipulation;
}
.nav-toggle span { width: 18px; }
.nav-toggle span {
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: #fcfaf4;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-top: 8px;
  padding: 14px;
  width: 100%;
  max-width: 760px;
}
.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.mobile-menu a:hover { background: var(--cream-2); }
.mobile-menu .btn { justify-content: center; margin-top: 6px; }
.mobile-menu.open { display: flex; }

/* ---------- Hero (scroll-driven frame sequence) ---------- */

/* .hero-scroll is tall purely to give the pinned inner viewport (.hero-pin)
   scroll distance to react to — main.js reads scroll progress through this
   full height and maps it to which pre-extracted frame image is drawn onto
   the canvas plus the text's reveal, then .hero-pin's position:sticky
   releases once the page scrolls past this section, and normal document
   flow resumes.

   This used to scrub a <video> via currentTime, which stayed janky no
   matter how much the seek calls were throttled — every seek has real
   decode latency. It's now a <canvas> that draws one of ~100 pre-extracted
   JPEG frames per scroll update; drawImage has no comparable cost, so the
   scroll feel is limited only by the scroll listener itself, not decoding. */
.hero-scroll {
  position: relative;
  /* Shorter than earlier drafts of this runway on purpose: the pop-in's
     ease-out-back curve (see POP_START/POP_END in main.js) visually
     settles well before its own textProgress hits 1, so any extra height
     here just becomes dead scroll distance after the text has already
     stopped moving, before the pin releases into the focus section —
     exactly the "stops, then the page catches up" feeling this is meant
     to avoid. Keeping the runway shorter keeps that trailing gap small in
     absolute scroll distance, not just as a fraction of the runway. */
  height: 300vh;
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}

.hero-scroll-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* object-fit doesn't apply to canvas — main.js sizes the drawing buffer
     to match this box (at devicePixelRatio) and does the cover-fit math
     itself when drawing each frame. */
  filter: saturate(1.12) brightness(1.02);
}

/* The text sits directly over live footage for the whole scroll journey
   (bright sky and dark ocean alike), so — unlike the rest of this
   cream-background site — it needs a permanent dark scrim plus light text,
   the same treatment already used on .cta-section further down the page. */
.hero-scroll-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 42%, rgba(20, 39, 28, 0.32) 0%, rgba(20, 39, 28, 0.5) 100%),
    linear-gradient(180deg, rgba(20, 39, 28, 0.35) 0%, rgba(20, 39, 28, 0.2) 30%, rgba(20, 39, 28, 0.55) 100%);
}

.hero-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 39, 28, 0.45) 0%, rgba(20, 39, 28, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  padding: 0 24px;
  /* Base (scroll progress 0) state — main.js drives opacity/transform from
     here as the section scrolls, via inline style on this element. */
  opacity: 0;
  transform: translateY(18px) scale(0.86);
  /* Hints the browser to keep this on its own GPU layer since it's
     re-written every scroll frame — avoids re-compositing/painting the
     surrounding layout each time. */
  will-change: transform, opacity;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dcc99a;
}
.hero-content .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dcc99a;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.12;
  color: #fdfbf5;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero-title em {
  font-style: italic;
  color: #6fcf97;
  font-weight: 400;
}

.hero-sub {
  max-width: 560px;
  font-size: 17px;
  color: rgba(253, 251, 245, 0.82);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(253, 251, 245, 0.4);
  border-radius: 20px;
  transition: opacity 0.3s ease;
}
.hero-scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: #fdfbf5;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 10px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

.hero-skip {
  position: absolute;
  bottom: 34px;
  right: 24px;
  z-index: 2;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fdfbf5;
  border: 1.5px solid rgba(253, 251, 245, 0.4);
  border-radius: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hero-skip:hover,
.hero-skip:focus-visible {
  border-color: rgba(253, 251, 245, 0.8);
  background: rgba(253, 251, 245, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll { height: 100vh; }
  .hero-content { opacity: 1; transform: none; }
  .hero-skip { display: none; }
}

/* ---------- Stats strip / portfolio logo marquee ---------- */
.stats-strip {
  background: var(--forest);
  padding: 64px 0;
}

.logo-strip-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 251, 245, 0.55);
  margin-bottom: 28px;
}

.logo-marquee {
  overflow: hidden;
  /* Fades the two edges so logos scroll in/out softly instead of
     clipping abruptly against the section boundary. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 104px;
  animation: logo-scroll 36s linear infinite;
}
.logo-track:hover { animation-play-state: paused; }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  /* initLogoMarquee() in main.js clones the base 5 logos into an even
     number of identical back-to-back sets, sized so the whole track is
     always at least 2x the container width. That guarantees -50% is
     exactly one full loop with no visible seam and no gap of bare
     background at any viewport size. */
  to { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  /* Slightly dimmed by default so the marks read as quiet texture, not
     a competing row of buttons — brought to full brightness on hover so
     it's clearly interactive. Most of these marks are already light-on-
     transparent (drawn for a dark section), so dimming too far makes
     them illegible rather than "blended". */
  opacity: 0.82;
  filter: grayscale(0.3);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}
.logo-item:hover,
.logo-item:focus-visible {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.06);
}
.logo-item img {
  height: 76px;
  width: auto;
  display: block;
}
/* client-2.png is a flattened white-background PNG (the other four are
   transparent SVGs already colored for a dark section). Inverting it
   then screen-blending is the standard trick to drop a white background
   out against a dark section without needing to re-export the asset. */
.logo-invert-screen {
  filter: invert(1) brightness(1.3);
  mix-blend-mode: screen;
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--cream-2); }

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  margin-top: 16px;
  max-width: 620px;
}
.section-title em { font-style: italic; color: var(--forest); font-weight: 400; }

.section-lede {
  margin-top: 20px;
  max-width: 560px;
  font-size: 16.5px;
  color: var(--ink-soft);
}

/* Focus grid */
.focus-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.focus-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(32, 29, 22, 0.2);
}
.focus-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  margin-bottom: 20px;
}
.focus-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.focus-card p { color: var(--ink-soft); font-size: 14.5px; }

/* Process list */
.process-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
}
.process-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--forest);
  width: 40px;
  flex-shrink: 0;
}
.process-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-item p { color: var(--ink-soft); font-size: 14.5px; max-width: 520px; }

/* Differentiators */
.differentiators {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.diff-item {
  border-left: 2px solid var(--forest);
  padding-left: 18px;
}
.diff-item h4 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; font-family: var(--sans); }
.diff-item p { color: var(--ink-soft); font-size: 13.8px; }

/* Team */
.team-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
}
.team-card p { color: var(--ink-soft); font-size: 13.8px; }

/* CTA section */
.cta-section {
  /* Forest-tinted gradient over the skyline so the existing white/cream
     text (set below) keeps full contrast — the photo reads as texture
     behind the color, not a competing image. */
  background:
    linear-gradient(160deg, rgba(20, 39, 28, 0.93) 0%, rgba(31, 61, 43, 0.91) 55%, rgba(20, 39, 28, 0.95) 100%),
    url('../images/about/singapore-view.webp') center 30% / cover no-repeat,
    var(--forest);
  padding: 120px 0;
}
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.cta-section .section-eyebrow { color: #cfe0d3; }
.cta-section .eyebrow-dot { background: #cfe0d3; }
.cta-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: #fdfbf5;
}
.cta-title em { font-style: italic; color: #cfe0d3; font-weight: 400; }
.cta-sub { max-width: 480px; color: rgba(253, 251, 245, 0.75); font-size: 16px; }
.cta-section .btn-primary { background: #fdfbf5; color: var(--forest); }
.cta-section .btn-primary:hover { background: #fff; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(253, 251, 245, 0.8);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo-mark { height: 32px; width: auto; align-self: flex-start; }
.footer-name { font-family: var(--serif); font-size: 1.1rem; color: #fdfbf5; }
.footer-tag { font-size: 13.5px; color: rgba(253, 251, 245, 0.55); }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253, 251, 245, 0.5);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col p { font-size: 14px; margin-bottom: 10px; }
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(253, 251, 245, 0.75);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(253, 251, 245, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-pill > .btn-primary.btn-small { display: none; }
  .nav-logo { white-space: nowrap; }
  .nav-toggle { display: flex; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .differentiators { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 16px 80px; }
  /* Narrow viewports wrap the heading/subtext to more lines, pushing the
     text block further down than on desktop, so the reveal needs to sit
     a bit lower too to keep clear of it. */
  .hero-media {
    -webkit-mask-image: radial-gradient(ellipse 70% 34% at 50% 68%, #000 0%, #000 32%, rgba(0,0,0,0.55) 58%, rgba(0,0,0,0) 82%);
            mask-image: radial-gradient(ellipse 70% 34% at 50% 68%, #000 0%, #000 32%, rgba(0,0,0,0.55) 58%, rgba(0,0,0,0) 82%);
  }
  .focus-grid { grid-template-columns: 1fr; }
  .differentiators { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .process-item { gap: 18px; }
  .logo-track { gap: 64px; }
  .logo-item img { height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll-cue span { animation: none; }
  .btn, .focus-card { transition: none; }
  .logo-track { animation: none; }
}

/* ==========================================================================
   Get Funded page
   ========================================================================== */

.gf-hero { padding: 156px 0 64px; }
.gf-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.gf-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 1.14;
  margin-top: 18px;
}
.gf-hero-title em { font-style: italic; color: var(--forest); font-weight: 400; }
.gf-hero-copy .section-lede { margin-top: 18px; }

.gf-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: nowrap;
}
.gf-step { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.gf-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  flex-shrink: 0;
}
.gf-step-icon svg { width: 15px; height: 15px; }
.gf-step-label { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.gf-step-label b { font-family: var(--serif); font-weight: 500; color: var(--ink-soft); margin-right: 4px; }
.gf-step-line { width: 16px; height: 1px; background: var(--line); flex-shrink: 0; }

@media (max-width: 400px) {
  .gf-steps { gap: 6px; }
  .gf-step-line { width: 8px; }
  .gf-step-label { font-size: 11.5px; }
  .gf-step-icon { width: 28px; height: 28px; }
  .gf-step-icon svg { width: 13px; height: 13px; }
}

/* Globe graphic */
.gf-globe {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.gf-globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.gf-globe-pin {
  position: absolute;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(32, 29, 22, 0.14);
  transition: opacity 0.2s linear;
}

/* Apply card */
.gf-apply-section { padding-top: 0; }
.gf-apply-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.gf-card-heading {
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 14px;
}
.gf-card-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.gf-card-sub { margin-top: 20px; font-size: 13.5px; color: var(--ink-soft); max-width: 420px; }
.gf-understand .gf-understand-list { margin-top: 24px; }

.gf-understand-list { margin-top: 32px; display: flex; flex-direction: column; }
.gf-understand-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.gf-understand-item:last-child { border-bottom: 1px solid var(--line); }
.gf-understand-num {
  font-family: var(--serif);
  color: var(--ink-soft);
  font-size: 0.95rem;
  width: 20px;
  flex-shrink: 0;
  padding-top: 8px;
}
.gf-understand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cream-2);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gf-understand-icon svg { width: 18px; height: 18px; }
.gf-understand-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.gf-understand-item p { font-size: 13.5px; color: var(--ink-soft); }

/* Form */
.gf-form-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.gf-field { display: flex; flex-direction: column; gap: 8px; }
.gf-field-full { grid-column: 1 / -1; }
.gf-field label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.gf-field input,
.gf-field select,
.gf-field textarea {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  min-height: 46px;
}
.gf-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%234a4536' d='M2.5 4.5L6 8l3.5-3.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.gf-field input:focus,
.gf-field select:focus,
.gf-field textarea:focus {
  outline: none;
  border-color: var(--forest);
}
.gf-field input::placeholder,
.gf-field textarea::placeholder { color: rgba(32, 29, 22, 0.35); }
.gf-textarea { min-height: 120px; resize: vertical; }
.gf-char-count { margin-top: 6px; text-align: right; font-size: 12px; color: var(--ink-soft); }

.gf-label-caps {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
}
.gf-required { color: var(--gold); }

.gf-upload-notice {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--cream-2);
  border-radius: 12px;
  padding: 16px 18px;
}
.gf-upload-notice svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.gf-upload-notice strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 4px; }
.gf-upload-notice p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.gf-upload {
  margin-top: 16px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 46px;
  padding: 18px 14px;
}
.gf-upload:hover { border-color: var(--gold); background: var(--cream); }
.gf-upload svg { width: 20px; height: 20px; color: var(--forest); }
.gf-upload-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.gf-upload-sub { font-size: 12.5px; }
.gf-upload-browse { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.gf-upload-hint { font-size: 11.5px; }
.gf-upload-filename { font-size: 12px; font-weight: 600; color: var(--forest); }

.gf-upload-lg {
  padding: 44px 20px;
  gap: 10px;
}
.gf-upload-lg svg { width: 32px; height: 32px; }
.gf-upload-lg .gf-upload-title { font-size: 15px; }
.gf-upload-lg .gf-upload-hint { margin-top: 4px; opacity: 0.85; }

.gf-submit { margin-top: 32px; width: 100%; justify-content: center; }
.gf-form-status { margin-top: 16px; font-size: 13.5px; color: var(--forest); font-weight: 600; }

/* What happens next */
.gf-next-steps {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 24px;
}
.gf-next-item { position: relative; }
.gf-next-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.gf-next-num { font-family: var(--serif); color: var(--ink-soft); font-size: 0.95rem; }
.gf-next-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gf-next-icon svg { width: 19px; height: 19px; }
.gf-next-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 100%;
  width: 24px;
  border-top: 1px dashed var(--line);
}
.gf-next-item h4 { font-size: 0.98rem; margin-bottom: 6px; }
.gf-next-item p { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .gf-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .gf-apply-card { grid-template-columns: 1fr; padding: 32px; gap: 40px; }
  .gf-next-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .gf-next-item:not(:last-child)::after { display: none; }
}

@media (max-width: 640px) {
  .gf-hero { padding: 132px 0 48px; }
  .gf-form-grid { grid-template-columns: 1fr; }
  .gf-apply-card { padding: 24px; border-radius: 20px; }
  .gf-next-steps { grid-template-columns: 1fr; }
  .gf-globe-pin { display: none; }
}

/* Cookie & Privacy Consent Banner */
.pvc-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 720px;
  background-color: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(12px);
  color: #f5f5f4;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pvc-cookie-content {
  flex: 1 1 300px;
}

.pvc-cookie-content p {
  margin: 0;
  color: #e7e5e4;
  font-size: 13.5px;
}

.pvc-cookie-content a {
  color: #facc15;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pvc-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.pvc-cookie-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.pvc-cookie-btn-decline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #475569;
}

.pvc-cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pvc-cookie-btn-accept {
  background: #ca8a04;
  color: #ffffff;
  border: none;
  font-weight: 600;
}

.pvc-cookie-btn-accept:hover {
  background: #a16207;
}

@media (max-width: 640px) {
  .pvc-cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px 18px;
  }
  .pvc-cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
