/* =========================================================
   Mustard Kick — Design System
   Modern editorial, warm minimal, mustard accent
   ========================================================= */

:root {
  /* Colour */
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --cream: #F2EFE7;
  --ink: #15140F;
  --ink-soft: #2E2C26;
  --ink-mid: #4A463E;
  --ink-muted: #807B70;
  --line: #E5E1D5;
  --line-soft: #EFECE3;
  --mustard: #FFC824;
  --mustard-deep: #C99A12;
  --mustard-tint: #FFF4D1;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max: 1280px;
  --content: 1100px;
  --narrow: 760px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}

::selection {
  background: var(--mustard);
  color: var(--ink);
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}

h1 {
  font-size: clamp(44px, 7.2vw, 104px);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  letter-spacing: -0.028em;
}

h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h4 {
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  margin: 0 0 1.1em;
}

p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 32ch;
}

.lede--wide { max-width: 48ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--mustard-deep);
}

.accent { color: var(--mustard-deep); }

mark {
  background: linear-gradient(180deg, transparent 60%, var(--mustard) 60%);
  color: inherit;
  padding: 0 2px;
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap--content { max-width: var(--content); }
.wrap--narrow  { max-width: var(--narrow); }

section { padding: clamp(72px, 10vw, 144px) 0; }
section.tight { padding: clamp(48px, 6vw, 80px) 0; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-mark .leaf { fill: var(--ink); }
.brand-mark .seed { fill: var(--mustard); }

/* Existing Mustard Kick logo (raster, white background) */
.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  /* Logo ships with a solid white background; multiply drops the white
     out against the warm off-white page so only the artwork shows. */
  mix-blend-mode: multiply;
}
@media (max-width: 560px) { .brand-logo { height: 46px; } }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links a {
  color: var(--ink-mid);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.is-current { color: var(--ink); }
.nav-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--mustard);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.nav-cta:hover { background: var(--mustard-deep); color: var(--ink); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 88px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
  }
  .nav.is-open .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(64px, 10vw, 144px) 0 clamp(64px, 8vw, 120px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
}

.hero h1 {
  max-width: 14ch;
}

.hero h1 .name {
  background-image: linear-gradient(180deg, transparent 70%, var(--mustard) 70%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 0.05em;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 8px;
}

.hero-meta .lede { max-width: 38ch; }

.hero-figure {
  position: absolute;
  right: -2vw;
  top: 8%;
  width: clamp(220px, 28vw, 420px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { right: -10vw; top: 60%; opacity: 0.12; }
}

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 32px);
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 60px);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}

.stat-num .unit { font-size: 0.5em; color: var(--mustard-deep); margin-left: 4px; }

.stat-label {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Section header ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: clamp(40px, 5vw, 72px);
  align-items: end;
}

.section-head h2 { max-width: 16ch; }
.section-head .lede { max-width: 44ch; }

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Strategies ---------- */

.strategies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.strategy {
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .3s var(--ease);
}

.strategy:hover { background: var(--surface); }

.strategy-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--mustard-deep);
  letter-spacing: 0.04em;
}

.strategy h3 { color: var(--ink); }

.strategy p { color: var(--ink-mid); margin: 0; }

.strategy-vehicle {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.strategy-vehicle a {
  color: var(--ink-mid);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.strategy-vehicle a:hover { color: var(--mustard-deep); border-bottom-color: var(--mustard-deep); }

@media (max-width: 720px) {
  .strategies { grid-template-columns: 1fr; }
}

/* ---------- Portfolio grid ---------- */

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.holding {
  background: var(--bg);
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  transition: background .3s var(--ease);
  position: relative;
}

.holding:hover { background: var(--surface); }

.holding .name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.holding .desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.holding .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
}

.holding a.link { color: var(--ink-mid); border-bottom: 1px solid var(--line); }
.holding a.link:hover { color: var(--mustard-deep); border-bottom-color: var(--mustard-deep); }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mustard-tint);
  color: var(--mustard-deep);
}

.tag--exit { background: var(--ink); color: var(--bg); }
.tag--vehicle { background: var(--cream); color: var(--ink-mid); }

@media (max-width: 900px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .portfolio { grid-template-columns: 1fr; } }

/* ---------- Featured / hero portfolio item ---------- */

.holding--feature {
  grid-column: span 2;
  background: var(--cream);
  min-height: 240px;
}

.holding--feature .name { font-size: clamp(28px, 2.8vw, 40px); }
.holding--feature .desc { font-size: 16px; max-width: 50ch; color: var(--ink-mid); }

@media (max-width: 900px) { .holding--feature { grid-column: span 1; } }

/* ---------- Quote / pull ---------- */

.pullquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
}

.pullquote-source {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Founder cards ---------- */

.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.founder {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founder-portrait {
  aspect-ratio: 4 / 5;
  background: var(--cream) linear-gradient(135deg, #F2EFE7 0%, #E5E1D5 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.founder-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,200,36,0.08), transparent 60%);
}

.founder-portrait .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 120px);
  color: var(--ink);
  opacity: 0.12;
  letter-spacing: -0.04em;
}

.founder h3 { font-size: clamp(24px, 2.4vw, 32px); }
.founder .role { font-size: 13px; color: var(--mustard-deep); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
.founder .bio { color: var(--ink-mid); margin-top: 12px; }

@media (max-width: 720px) { .founders { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  font-family: var(--sans);
}

.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--mustard-deep); color: var(--ink); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--mustard:hover { background: var(--mustard-deep); }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #C9C5BA;
  padding: clamp(64px, 8vw, 120px) 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid #2C2A24;
}

.footer-brand { color: #FAFAF7; font-family: var(--serif); font-size: 28px; letter-spacing: -0.02em; }
.footer-brand .brand-mark .leaf { fill: #FAFAF7; }

.footer-tagline {
  margin-top: 20px;
  font-size: 15px;
  color: #908A7E;
  max-width: 28ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #908A7E;
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: #C9C5BA; }
.footer-col a:hover { color: var(--mustard); }

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  font-size: 12px;
  color: #6E695E;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Forms ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  resize: vertical;
  transition: border-color .25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--mustard-deep);
}

.field textarea { min-height: 120px; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */

.contact-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-info { font-size: 17px; line-height: 1.6; color: var(--ink-mid); }
.contact-info a { color: var(--ink); border-bottom: 1px solid var(--mustard); padding-bottom: 1px; }
.contact-info a:hover { color: var(--mustard-deep); }

.contact-info strong { color: var(--ink); font-weight: 500; }

@media (max-width: 720px) { .contact-block { grid-template-columns: 1fr; } }

.address { font-style: normal; color: var(--ink-mid); margin: 16px 0; line-height: 1.65; }

/* Subtle botanical decoration */
.botanical {
  position: absolute;
  pointer-events: none;
  opacity: 0.10;
  z-index: 0;
}

/* Tabular numerals where helpful */
.tnum { font-variant-numeric: tabular-nums; }
