/* LeftField: shared brand layer over scrollcraft.css. Golden morning palette:
   cream, sand, navy, one gold accent. */
:root {
  --lf-cream: #f6efe2;
  --lf-sand: #e9dcc3;
  --lf-sand-2: #dcc9a6;
  --lf-navy: #0e1a2c;
  --lf-navy-2: #1b2b45;
  --lf-gold: #cc9900;
  --lf-gold-deep: #8a6400;   /* gold for text on cream: 5.0:1 */
  --lf-ink-soft: #46506a;    /* secondary text on cream: 7.4:1 */

  --sc-canvas: var(--lf-cream);
  --sc-surface: #fbf7ef;
  --sc-ink: var(--lf-navy);
  --sc-ink-soft: var(--lf-ink-soft);
  --sc-accent: var(--lf-gold);
  --sc-accent-ink: var(--lf-navy);
  --sc-shadow-color: 32 40% 20%;

  --sc-font-display: "Poppins", "Geist", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --sc-font-mono: "Geist Mono", ui-monospace, monospace;

  --lf-bar-h: 72px;
  --lf-line: color-mix(in oklab, var(--lf-navy) 14%, transparent);
  --sc-gutter: clamp(16px, 5vw, 5.5rem);
}
@media (max-width: 760px) { :root { --lf-bar-h: 60px; } }

html { background: var(--sc-canvas); }
:focus-visible { outline: 2px solid var(--lf-gold); outline-offset: 3px; border-radius: 3px; }
.lf-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lf-navy); color: var(--lf-cream); padding: 10px 14px; border-radius: 6px; }
.lf-skip:focus { top: 12px; }
.lf-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- button */
.lf-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font: 600 0.95rem/1 var(--sc-font-display); letter-spacing: 0.01em;
  background: var(--lf-gold); color: var(--lf-navy); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--lf-gold); border-radius: 999px; cursor: pointer;
  box-shadow: var(--sc-e1); transition: background 160ms, transform 160ms var(--sc-ease-out);
}
.lf-btn:hover { background: #e0ad12; }
.lf-btn:active { transform: translateY(1px); }
.lf-btn svg { width: 16px; height: 16px; }
.lf-btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.lf-link { color: inherit; text-decoration: underline; text-decoration-color: var(--lf-gold); text-underline-offset: 0.22em; }
.lf-link:hover { color: var(--lf-gold-deep); }

/* -------------------------------------------------------------- wordmark */
/* The white source PNG is used as a mask so one asset paints in any colour. */
.lf-word { position: relative; display: block; height: 18px; aspect-ratio: 1246 / 175; }
.lf-word__w { position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url(/assets/brand/wordmark-nobang.png) center / 100% 100% no-repeat;
          mask: url(/assets/brand/wordmark-nobang.png) center / 100% 100% no-repeat; }
.lf-word__bang { position: absolute; top: 0; height: 100%; left: 60.03%; width: 3.85%; }
.lf-word__bang img { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- header */
.lf-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--lf-bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--sc-gutter); color: var(--lf-navy);
  background: color-mix(in oklab, var(--lf-cream) 92%, transparent);
  border-bottom: 1px solid var(--lf-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lf-brand { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.lf-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.lf-nav a:not(.lf-btn) { color: inherit; text-decoration: none; font: 500 0.95rem/1 var(--sc-font-text); padding: 12px 2px; }
.lf-nav a:not(.lf-btn):hover, .lf-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lf-gold); text-underline-offset: 0.4em; text-decoration-thickness: 2px; }
@media (max-width: 560px) {
  .lf-word { height: 14px; }
  .lf-nav { gap: 12px; }
  .lf-nav a:not(.lf-btn) { font-size: 0.875rem; }
  .lf-nav .lf-btn { padding: 0 12px; min-height: 40px; font-size: 0.8125rem; }
}
@media (max-width: 380px) { .lf-nav .lf-nav__about { display: none; } }

/* Over the flight: the bar is minimal and clear, cream on film. */
.lf-bar--film { background: linear-gradient(to bottom, rgb(8 14 26 / 0.55), rgb(8 14 26 / 0)); border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--lf-cream); }
.lf-bar--film .lf-nav a:not(.lf-btn) { text-shadow: 0 1px 8px rgb(0 0 0 / 0.5); }

/* ----------------------------------------------------------------- pages */
.lf-page { padding-top: var(--lf-bar-h); }
.lf-wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--sc-gutter); }
.lf-section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.lf-section--sand { background: var(--lf-sand); }
.lf-kicker { font: 500 0.78rem/1.2 var(--sc-font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lf-gold-deep); margin: 0 0 18px; }
.lf-h1 { font: 600 clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem)/1.02 var(--sc-font-display); letter-spacing: -0.03em; margin: 0; text-wrap: balance; max-width: 18ch; }
.lf-h2 { font: 600 clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem)/1.1 var(--sc-font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.lf-h3 { font: 600 1.25rem/1.25 var(--sc-font-display); letter-spacing: -0.01em; margin: 0 0 8px; }
.lf-lede { font: 400 clamp(1.1rem, 1rem + 0.5vw, 1.35rem)/1.5 var(--sc-font-text); color: var(--lf-ink-soft); max-width: 46ch; margin: 22px 0 0; text-wrap: pretty; }
.lf-body { color: var(--lf-ink-soft); max-width: 62ch; margin: 0; text-wrap: pretty; }
.lf-body + .lf-body { margin-top: 16px; }
.lf-hero { padding-block: clamp(4rem, 12vh, 8rem) clamp(3rem, 8vh, 5rem);
  background: radial-gradient(90% 120% at 100% 0%, var(--lf-sand) 0%, transparent 60%), var(--lf-cream); }
.lf-hero .lf-btn { margin-top: 32px; }
.lf-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .lf-grid2 { grid-template-columns: 1fr; } }
.lf-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lf-line); }
.lf-list > li { padding: 22px 0; border-bottom: 1px solid var(--lf-line); }
.lf-list--num > li { display: grid; grid-template-columns: 3rem 1fr; gap: 16px; }
.lf-num { font: 600 1.6rem/1 var(--sc-font-display); color: var(--lf-gold-deep); }
.lf-pull { font: 500 clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem)/1.35 var(--sc-font-display); letter-spacing: -0.015em; margin: 28px 0 0; max-width: 32ch; }
.lf-pull::before { content: ""; display: block; width: 40px; height: 3px; background: var(--lf-gold); margin-bottom: 18px; }

/* ---------------------------------------------------------------- footer */
.lf-foot { background: var(--lf-navy); color: var(--lf-cream); padding-block: 56px 32px; }
.lf-foot a { color: inherit; }
.lf-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.lf-foot__tag { margin: 14px 0 0; color: color-mix(in oklab, var(--lf-cream) 78%, var(--lf-navy)); font-size: 0.95rem; }
.lf-foot h2 { font: 500 0.75rem/1 var(--sc-font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lf-gold); margin: 0 0 14px; }
.lf-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lf-foot li a, .lf-foot li span { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.lf-foot li a:hover { text-decoration: underline; text-decoration-color: var(--lf-gold); }
.lf-foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid color-mix(in oklab, var(--lf-cream) 16%, transparent); font-size: 0.875rem; color: color-mix(in oklab, var(--lf-cream) 78%, var(--lf-navy)); }
@media (max-width: 760px) { .lf-foot__grid { grid-template-columns: 1fr 1fr; } .lf-foot__grid > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ form */
.lf-form { display: grid; gap: 20px; background: var(--sc-surface); border: 1px solid var(--lf-line); border-radius: 16px;
  padding: clamp(20px, 4vw, 40px); box-shadow: var(--sc-e2); }
.lf-field { display: grid; gap: 8px; }
.lf-field label { font: 500 0.95rem/1.2 var(--sc-font-text); }
.lf-field .lf-opt { font-weight: 400; color: var(--lf-ink-soft); }
.lf-field input, .lf-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--lf-navy) 30%, transparent); background: #fff; color: var(--lf-navy);
  font: 400 1rem/1.4 var(--sc-font-text);
}
.lf-field textarea { min-height: 140px; resize: vertical; }
.lf-field input:focus-visible, .lf-field textarea:focus-visible { outline: 2px solid var(--lf-gold); outline-offset: 1px; border-color: var(--lf-navy); }
.lf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .lf-row2 { grid-template-columns: 1fr; } }
.lf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lf-form__note { font-size: 0.875rem; color: var(--lf-ink-soft); margin: 0; }
.lf-status { margin: 0; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.lf-status[hidden] { display: none; }
.lf-status--ok { background: #e6f2e4; color: #1d4a1a; border: 1px solid #9cc596; }
.lf-status--err { background: #fbe9e6; color: #7a1d10; border: 1px solid #e3a497; }
.lf-form[hidden] { display: none; }
[id] { scroll-margin-top: calc(var(--lf-bar-h) + 16px); }
.lf-done { text-align: left; }
.lf-done[hidden] { display: none; }
.lf-contact { display: grid; gap: 22px; margin-top: 36px; }
.lf-contact dt { font: 500 0.75rem/1 var(--sc-font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lf-gold-deep); margin-bottom: 6px; }
.lf-contact dd { margin: 0; font-size: 1.05rem; }
