/* onrampfleet.com staging redesign.
   Brand source: marketing's Figma Brand Library (key Cez45OJ8nbvEZlOfve4ao3, 2026-09-02):
   logotype in black or white only, the icon tile in brand yellow, Aeonik display, Inter
   paragraph, IBM Plex Mono callouts, 8px spacing steps. Tokens below are her palette. */

@font-face { font-family: "Aeonik"; src: url("../fonts/aeonik/Aeonik-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("../fonts/aeonik/Aeonik-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("../fonts/aeonik/Aeonik-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --accent: #FFF800;            /* Yellow, brand primary */
  --black: #181818;
  --dark: #383838;
  --slate: #5A6067;
  --greige: #B4B3BF;
  --grey: #D7D7DD;
  --ghost: #F2F3F8;
  --appbg: #F8F9FF;
  --white: #FFFFFF;
  --blue: #4286F5;
  --green: #00B512;
  --red: #F1564D;

  --display: "Aeonik", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --slant: clamp(20px, 3.2vw, 48px);
  --radius: 12px;
  --shadow: 0 12px 32px rgba(24, 24, 24, 0.10);
  --header-h: 88px;
}

/* Staging-only: the 2026-10-19 color and glyph options, previewed on the same pages. */
html[data-brand="sunflower"] { --accent: #FFD000; }
html[data-brand="lemon"] { --accent: #FFE600; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-photo :focus-visible { outline-color: var(--accent); }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--black); color: var(--white); padding: 12px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-weight: 400; font-size: 16px; line-height: 1.4; letter-spacing: 0; color: var(--slate); }
.on-dark .eyebrow, .on-photo .eyebrow { color: var(--accent); }
.hero .eyebrow { font-size: clamp(16px, 1.5vw, 22px); }
.d1, .d2, .d3, .d4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.d1 { font-size: clamp(42px, 6.2vw, 80px); line-height: 1.02; }
.d2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.06; }
.d3 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
.d4 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }
.lede { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.75vw, 24px); line-height: 1.45; text-wrap: pretty; }
.p-lg { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--dark); text-wrap: pretty; }
.on-dark .p-lg { color: var(--grey); }
.mono { font-family: var(--mono); }
.hl { background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 94%, transparent 94%); padding: 0 0.08em; }
.on-photo .hl-text { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 20px; min-height: 60px; padding: 8px 8px 8px 28px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1; background: #FAFAFA; color: var(--black); box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn .dot { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform 0.15s ease; }
.btn .dot { color: var(--black); }
.btn .dot svg { width: 22px; height: 22px; }
.btn:hover .dot { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.on-dark .btn, .on-photo .btn { box-shadow: none; }
.btn-dark { background: var(--black); color: var(--white); box-shadow: none; padding: 8px 28px; min-height: 52px; gap: 0; font-weight: 500; font-size: 17px; }
.btn-dark:hover { background: var(--dark); }
.arrow-btn { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; text-decoration: none; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.arrow-btn svg { width: 24px; height: 24px; }
.arrow-btn:hover { background: var(--accent); color: var(--black); transform: translateX(3px); }
.text-link { font-family: var(--display); font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.on-dark .text-link, .on-photo .text-link { color: var(--white); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--grey); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; color: var(--black); text-decoration: none; }
.logo svg { height: 44px; width: auto; }
/* Icon + primary lockup wherever it fits; the primary logo alone on a narrow header.
   Both stay at marketing's 44 px digital minimum. */
.site-header .logo .primary { display: none; }
@media (max-width: 560px) { .site-header .logo .lockup { display: none; } .site-header .logo .primary { display: block; } }
.logo .glyph { display: none; }
html:not([data-brand]) .logo .glyph-library, html[data-brand="library"] .logo .glyph-library { display: inline; }
html[data-brand="sunflower"] .logo .glyph-sunflower { display: inline; }
html[data-brand="lemon"] .logo .glyph-lemon { display: inline; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.nav a.link { font-family: var(--display); font-weight: 500; font-size: 17px; text-decoration: none; color: var(--black); padding: 6px 2px; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 88% / 0 38%; transition: background-size 0.18s ease; }
.nav a.link:hover, .nav a.link[aria-current="page"] { background-size: 100% 38%; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ghost); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--grey); padding: 8px var(--gutter) 24px; display: none; }
  .nav.open { display: flex; }
  .nav a.link { font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--ghost); background: none; }
  .nav a.link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--black); text-underline-offset: 6px; }
  .nav .btn-dark { margin-top: 20px; justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.on-dark { background: var(--black); color: var(--white); }
.on-app { background: var(--appbg); }
.on-ghost { background: var(--ghost); }
.slant-top { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(-1 * var(--slant)); padding-top: calc(clamp(64px, 9vw, 128px) + var(--slant)); }
.slant-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slant))); padding-bottom: calc(clamp(64px, 9vw, 128px) + var(--slant)); }

/* ---------- home hero ---------- */
.hero-photo { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
.hero-photo .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 60%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(24, 24, 24, 0.88) 0%, rgba(24, 24, 24, 0.62) 42%, rgba(24, 24, 24, 0.10) 78%), linear-gradient(0deg, rgba(24, 24, 24, 0.55) 0%, rgba(24, 24, 24, 0) 40%); }
.hero-photo .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: calc(clamp(56px, 8vw, 112px) + var(--slant)); }
.hero-photo .copy { max-width: 600px; display: grid; gap: 28px; }
.hero-photo h1 { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 0 3px rgba(0, 0, 0, 0.5); }
@media (max-width: 1024px) {
  /* Phone and tablet: the photo fills the top of the hero and the copy sits on solid black
     below it, so the headline never crosses the white trailer. */
  .hero-photo .bg { height: 48%; object-position: 46% 70%; }
  .hero-photo::before { background: linear-gradient(0deg, #181818 0%, #181818 54%, rgba(24, 24, 24, 0) 70%); }
  .hero-photo .wrap { padding-top: min(52%, 420px); }
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-photo .cta { margin-top: 8px; }
.hero .cta { margin-top: 12px; }
.hero .cta .btn { margin-top: 0; }
/* Proof strip: a few logos the live site already shows, on white chips so they read on dark. */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.proof .eyebrow { font-size: 13px; }
.proof ul { display: flex; gap: 8px; }
.proof li { display: grid; place-items: center; width: 58px; height: 40px; padding: 6px 8px; border-radius: 8px; background: var(--white); }
.proof img { max-height: 28px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 640px) {
  /* Phone first screen (375 x 812): headline, a contact link and the proof strip all sit
     above the fold, so the photo is a fixed band and the gaps tighten. */
  .hero-photo { min-height: 0; }
  .hero-photo .bg { height: 250px; object-position: 46% 70%; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(24, 24, 24, 0) 120px, #181818 250px); }
  .hero-photo .wrap { padding-top: 226px; padding-bottom: calc(32px + var(--slant)); }
  .hero-photo .copy, .hero .copy { gap: 18px; }
  .hero { padding-top: 36px; }
  .hero .d2 { font-size: 32px; }
  .hero .lede { font-size: 17px; line-height: 1.4; }
  .checks li { padding: 10px 0; font-size: 18px; }
  .btn { min-height: 52px; font-size: 17px; }
  .btn .dot { width: 38px; height: 38px; }
  .proof li { width: 52px; height: 36px; }
}

/* ---------- statement band ---------- */
.statement { background: var(--accent); color: var(--black); position: relative; z-index: 3; }
.statement .d2 { max-width: 20ch; }
.statement .d2 em { font-style: normal; box-shadow: inset 0 -0.12em 0 var(--black); }
.statement .long { font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.3vw, 32px); line-height: 1.32; letter-spacing: -0.01em; max-width: 44ch; text-wrap: pretty; }

/* ---------- investors ---------- */
.investors { padding: clamp(48px, 6vw, 80px) 0; }
.investors .eyebrow { text-align: center; margin-bottom: 36px; }
.investors ul { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 40px; align-items: center; }
.investors li { display: grid; place-items: center; height: 56px; }
.investors img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.9; }
@media (max-width: 960px) { .investors ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .investors ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- home audience blocks ---------- */
.audience .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.audience .intro { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.audience .intro .num { display: flex; align-items: center; gap: 16px; }
.audience .intro .num::after { content: ""; flex: 1; height: 1px; background: var(--grey); }
.audience .intro .btn { justify-self: start; margin-top: 8px; }
.audience .intro .art { width: min(100%, 360px); max-height: 240px; object-fit: contain; object-position: left center; margin-top: 24px; }
@media (max-width: 960px) { .audience .intro .art { width: min(100%, 280px); max-height: 180px; } }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 248px; padding: 28px; border-radius: var(--radius); background: var(--ghost); color: var(--black); text-decoration: none; transition: background 0.18s ease, color 0.18s ease; }
.on-app .card { background: var(--white); }
.card .icon { position: relative; width: 72px; height: 72px; }
.card .icon::before { content: ""; position: absolute; right: -6px; bottom: -6px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); }
.card .icon img { position: relative; width: 72px; height: 72px; object-fit: contain; }
.card .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.card .title { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; text-wrap: balance; }
.card .go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--white); transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease; }
.card .go svg { width: 18px; height: 18px; }
.card:hover { background: var(--black); color: var(--white); }
.card:hover .icon img { filter: invert(1); }
.card:hover .icon::before { opacity: 0.0; }
.card:hover .go { background: var(--accent); color: var(--black); transform: translateX(3px); }
.cards .card.wide { grid-column: 1 / -1; min-height: 200px; }
.audience .shot { border-radius: var(--radius); overflow: hidden; background: var(--appbg); display: grid; place-items: center; }
.audience .shot img { width: 100%; max-height: 520px; object-fit: contain; }
.identity { font-family: var(--mono); font-size: 15px; line-height: 1.6; color: var(--slate); max-width: 78ch; padding: 20px 24px; border-left: 3px solid var(--black); background: var(--appbg); margin-bottom: clamp(48px, 7vw, 96px); }
.feature.drawn .media { padding: clamp(24px, 4vw, 56px); }
.feature.drawn .media img { width: min(100%, 460px); height: auto; max-height: 300px; }
@media (max-width: 960px) { .audience .grid { grid-template-columns: 1fr; } .audience .intro { position: static; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card { min-height: 200px; } }

/* ---------- inner page hero (her "Hero example") ---------- */
.hero { padding: clamp(56px, 7vw, 104px) 0 calc(clamp(56px, 7vw, 104px) + var(--slant)); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slant))); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .copy { display: grid; gap: 28px; }
.hero .copy .btn { justify-self: start; margin-top: 12px; }
.hero .lede { max-width: 34ch; }
.hero.solo .grid { grid-template-columns: minmax(0, 1fr); }
.hero.solo .d2 { max-width: 22ch; }
.hero.solo .lede { max-width: 48ch; }
.hero .art { position: relative; }
.hero .art img.main { width: 100%; border-radius: var(--radius); }
.hero .art img.float { position: absolute; right: -4%; bottom: -10%; width: 34%; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45)); }
.hero .art .chip { position: absolute; left: -24px; top: -24px; width: 96px; height: 72px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%); z-index: -1; }
.checks { display: grid; }
.checks li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--dark); font-family: var(--display); font-size: clamp(19px, 1.8vw, 24px); }
.checks li svg { flex: none; width: 28px; height: 28px; color: var(--accent); }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; } .hero .art img.float { right: 0; } .hero .art .chip { left: -8px; top: -16px; } }

/* ---------- feature rows ---------- */
.features { display: grid; gap: clamp(24px, 4vw, 48px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; border-radius: var(--radius); overflow: hidden; background: var(--appbg); scroll-margin-top: calc(var(--header-h) + 24px); }
.feature .text { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(28px, 5vw, 72px); }
.feature .text .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; }
.feature .text .row .label { font-family: var(--display); font-weight: 500; font-size: 18px; }
.feature .media { display: grid; place-items: center; min-height: 320px; background: var(--appbg); }
.feature .media img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.feature:nth-child(even) .media { order: -1; }
.feature .eyebrow { display: flex; align-items: center; gap: 12px; }
.feature .eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--accent); outline: 1px solid var(--black); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .media { order: -1 !important; min-height: 0; } }

/* ---------- photo with mono callout (her "Website" example) ---------- */
.callout-fig { position: relative; padding-bottom: clamp(48px, 8vw, 120px); }
.callout-fig img { width: min(100%, 880px); aspect-ratio: 3 / 2; object-fit: cover; }
.callout-fig figcaption, .callout-fig .callout { position: absolute; right: 0; bottom: 0; width: min(100%, 520px); background: var(--black); color: var(--white); padding: clamp(24px, 3vw, 40px); font-family: var(--mono); font-size: clamp(15px, 1.5vw, 20px); line-height: 1.6; }
@media (max-width: 720px) { .callout-fig { padding-bottom: 0; } .callout-fig figcaption, .callout-fig .callout { position: static; width: 100%; } }

/* ---------- story rows (About) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.story + .story { margin-top: clamp(64px, 9vw, 128px); }
.story.flip .pic { order: 2; }
.story .pic img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.story .pic.line { background: var(--appbg); border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); }
.story .pic.line img { aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.story .body { display: grid; gap: 20px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story.flip .pic { order: 0; } }

/* ---------- merchant logo wall ---------- */
.network .head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-bottom: clamp(32px, 5vw, 64px); }
.network .head img { width: 100%; max-height: 300px; object-fit: contain; object-position: left center; }
.logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.logos li { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--white); border-radius: var(--radius); padding: 16px; }
.logos img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 1100px) { .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .logos li { padding: 10px; } .network .head { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- jobs ---------- */
.jobs { border-top: 1px solid var(--grey); margin-top: 32px; }
.jobs li a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--grey); text-decoration: none; }
.jobs .role { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
.jobs .meta { font-family: var(--mono); font-size: 15px; color: var(--slate); margin-top: 6px; }
.jobs li a:hover .arrow-btn { background: var(--accent); color: var(--black); transform: translateX(3px); }

/* ---------- contact ---------- */
.contact .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .intro { display: grid; gap: 24px; }
.contact .intro img.photo { width: min(100%, 520px); aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-top: 16px; }
.form { background: var(--white); color: var(--black); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-family: var(--display); font-weight: 500; font-size: 16px; }
.form input, .form textarea { width: 100%; border: 1px solid var(--greige); border-radius: 8px; background: var(--appbg); padding: 14px 16px; font-family: var(--body); font-size: 16px; color: var(--black); }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; border-color: var(--black); }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; background: var(--black); color: var(--white); box-shadow: none; }
.form .note { font-family: var(--mono); font-size: 14px; color: var(--slate); min-height: 1.6em; }
@media (max-width: 860px) { .contact .grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(48px, 7vw, 96px) 0 40px; border-top: 1px solid var(--dark); }
.site-footer .top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--dark); }
.site-footer .brand { display: grid; gap: 28px; justify-items: start; }
.site-footer .brand .logo { color: var(--white); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.site-footer .links a { font-family: var(--display); font-weight: 500; font-size: 20px; text-decoration: none; color: var(--white); }
.site-footer .links a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 3px; }
.site-footer .bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--grey); }
.site-footer .legal a { color: var(--grey); text-underline-offset: 3px; }
.site-footer .signoff { font-family: var(--mono); font-size: 14px; color: var(--grey); }

/* icon tile: glyph swaps with the brand option */
.tile-svg .glyph { display: none; }
html:not([data-brand]) .tile-svg .glyph-library, html[data-brand="library"] .tile-svg .glyph-library { display: inline; }
html[data-brand="sunflower"] .tile-svg .glyph-sunflower { display: inline; }
html[data-brand="lemon"] .tile-svg .glyph-lemon { display: inline; }
.tile-svg .bg { fill: var(--accent); }

/* ---------- staging switch (not part of the design) ---------- */
.staging { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(24, 24, 24, 0.94); color: var(--white); font-family: var(--mono); font-size: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); border: 1px solid var(--dark); }
.staging .tag { padding: 0 10px 0 12px; color: var(--greige); letter-spacing: 0.06em; }
.staging button { border: 0; border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--white); cursor: pointer; font-family: var(--mono); font-size: 12px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.staging button::before { flex: none; }
@media (max-width: 560px) { .staging .lg { display: none; } }
.staging button::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--sw); }
.staging button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.staging { flex-wrap: wrap; max-width: calc(100vw - 32px); border-radius: 22px; }
.staging .sep { width: 1px; height: 20px; background: var(--slate); margin: 0 6px; }
.staging a { border-radius: 999px; padding: 8px 12px; color: var(--white); text-decoration: none; white-space: nowrap; }
.staging a[aria-current="page"] { background: var(--white); color: var(--black); }
html[data-chrome="0"] .staging { display: none; }
@media (max-width: 560px) { .staging .tag { display: none; } .staging button { padding: 8px 9px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
