:root {
  --wf-max: 1440px;
  --wf-edge: clamp(18px, 4vw, 72px);
  --wf-radius-sm: 18px;
  --wf-radius-md: 28px;
  --wf-radius-lg: 38px;
  --wf-bg: #f3eee7;
  --wf-surface: #fffaf4;
  --wf-surface-soft: rgba(255, 250, 244, 0.78);
  --wf-text: #25211d;
  --wf-muted: #6f675f;
  --wf-accent: #9b7659;
  --wf-accent-2: #d5b382;
  --wf-dark: #211c18;
  --wf-white: #fffaf4;
  --wf-shadow-sm: 0 18px 48px rgba(37, 33, 29, 0.09);
  --wf-shadow-md: 0 30px 90px rgba(37, 33, 29, 0.14);
  --wf-shadow-lg: 0 46px 140px rgba(20, 17, 14, 0.24);
  --wf-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 8% 10%, rgba(255,255,255,.78), transparent 68%),
    radial-gradient(760px 520px at 88% 20%, rgba(213,179,130,.18), transparent 66%),
    linear-gradient(155deg, #f7f2eb 0%, #efe4d8 42%, #e3d2bf 100%);
  color: var(--wf-text);
  font-family: var(--wf-font);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.wf-shell { width: min(var(--wf-max), calc(100vw - (var(--wf-edge) * 2))); margin-inline: auto; }
.wf-section { padding-block: clamp(64px, 8vw, 124px); }
.wf-eyebrow {
  margin: 0 0 12px;
  color: var(--wf-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.wf-h2 {
  margin: 0;
  max-width: 900px;
  color: var(--wf-dark);
  font-size: clamp(38px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.wf-lead {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--wf-muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.72;
}

/* Header */
.wf-header {
  position: fixed;
  z-index: 90;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--wf-max), calc(100vw - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(28,24,21,.60), rgba(28,24,21,.24));
  box-shadow: 0 18px 56px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.wf-brand {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wf-header-actions { display: flex; align-items: center; gap: 8px; }
.wf-icon-button, .wf-menu-button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  cursor: pointer;
}
.wf-menu-button { flex-direction: column; gap: 5px; }
.wf-menu-button span { width: 20px; height: 2px; border-radius: 99px; background: currentColor; }

/* Hero */
.wf-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--wf-white);
  background: #2d2722;
}
.wf-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 72% 20%, rgba(213,179,130,.36), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(120,91,68,.28), transparent 32%),
    linear-gradient(135deg, #322922, #171411 70%);
}
.wf-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,7,6,.74), rgba(8,7,6,.34) 58%, rgba(8,7,6,.18)),
    radial-gradient(880px 500px at 20% 42%, rgba(255,255,255,.10), transparent 66%);
}
.wf-hero-copy {
  width: min(var(--wf-max), calc(100vw - (var(--wf-edge) * 2)));
  margin-inline: auto;
  padding-top: 130px;
  padding-bottom: 96px;
}
.wf-hero-kicker {
  margin: 0 0 16px;
  color: var(--wf-accent-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.wf-hero h1 {
  margin: 0;
  max-width: 1050px;
  font-size: clamp(52px, 7.4vw, 122px);
  line-height: .9;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(0,0,0,.42);
}
.wf-hero h1 span { display: block; }
.wf-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255,250,244,.90);
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.58;
}
.wf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid transparent;
}
.wf-btn-primary { background: var(--wf-white); color: var(--wf-dark); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.wf-btn-ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }

/* Action Stage */
.wf-action-stage { position: relative; z-index: 3; margin-top: -42px; }
.wf-action-card {
  width: min(var(--wf-max), calc(100vw - (var(--wf-edge) * 2)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background: rgba(255,250,244,.84);
  box-shadow: var(--wf-shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.wf-action-copy { padding: 10px 14px; }
.wf-action-copy strong { display: block; font-size: 18px; color: var(--wf-dark); }
.wf-action-copy span { color: var(--wf-muted); }

/* Intent Router */
.wf-intent-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 34px; }
.wf-intent-card {
  padding: 22px;
  border-radius: var(--wf-radius-md);
  background: rgba(255,250,244,.76);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: var(--wf-shadow-sm);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wf-intent-card:hover { transform: translateY(-4px); box-shadow: var(--wf-shadow-md); }
.wf-intent-card small { display: block; color: var(--wf-accent); font-weight: 850; margin-bottom: 8px; }
.wf-intent-card strong { display: block; color: var(--wf-dark); font-size: 22px; line-height: 1.08; }
.wf-intent-card p { margin: 10px 0 0; color: var(--wf-muted); }

/* Bento Grid */
.wf-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: 42px;
}
.wf-project-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: var(--wf-radius-lg);
  background: linear-gradient(135deg, #665344, #29231f);
  color: #fff;
  box-shadow: var(--wf-shadow-md);
  isolation: isolate;
}
.wf-project-card:nth-child(8n+1) { grid-column: span 7; min-height: 500px; }
.wf-project-card:nth-child(8n+2) { grid-column: span 5; min-height: 500px; }
.wf-project-card:nth-child(8n+3), .wf-project-card:nth-child(8n+4) { grid-column: span 6; }
.wf-project-card:nth-child(8n+5), .wf-project-card:nth-child(8n+6), .wf-project-card:nth-child(8n+7) { grid-column: span 4; min-height: 330px; }
.wf-project-card:nth-child(8n+8) { grid-column: span 12; min-height: 420px; }
.wf-project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 14%, rgba(255,255,255,.20), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(213,179,130,.28), transparent 34%),
    linear-gradient(150deg, var(--card-a, #6f5948), var(--card-b, #211c18));
}
.wf-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.68));
}
.wf-project-content { position: absolute; inset: auto 0 0; padding: clamp(22px, 2.5vw, 34px); }
.wf-badge { display: inline-flex; margin-bottom: 12px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.20); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.wf-project-content h3 { margin: 0; font-size: clamp(28px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; }
.wf-project-content p { max-width: 620px; margin: 12px 0 0; color: rgba(255,255,255,.84); }
.wf-project-link { position: absolute; inset: 0; z-index: 4; }

/* Trust Story */
.wf-trust-story {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(340px,1.08fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(28px, 4vw, 62px);
  border-radius: var(--wf-radius-lg);
  background:
    radial-gradient(circle at 12% 14%, rgba(255,255,255,.78), transparent 34%),
    linear-gradient(135deg, rgba(255,250,244,.88), rgba(224,209,191,.62));
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--wf-shadow-md);
}
.wf-trust-cards { display: grid; gap: 14px; }
.wf-trust-card { padding: 22px; border-radius: var(--wf-radius-md); background: rgba(255,255,255,.56); border: 1px solid rgba(255,255,255,.78); }
.wf-trust-card small { color: var(--wf-accent); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.wf-trust-card strong { display: block; margin-top: 6px; font-size: 24px; color: var(--wf-dark); }
.wf-trust-card p { margin: 8px 0 0; color: var(--wf-muted); }

/* Footer */
.wf-footer { padding: 38px var(--wf-edge) 48px; color: rgba(255,255,255,.78); background: #211c18; }
.wf-footer-inner { width: min(var(--wf-max), calc(100vw - (var(--wf-edge) * 2))); margin-inline: auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wf-footer strong { color: #fff; }

/* Menu Overlay */
.wf-menu[hidden] { display: none; }
.wf-menu { position: fixed; inset: 0; z-index: 120; background: rgba(12,10,8,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wf-menu-panel { min-height: 100%; padding: clamp(20px,4vw,64px); background: linear-gradient(135deg, rgba(36,29,24,.96), rgba(16,14,12,.98)); color: #fff; overflow-y: auto; }
.wf-menu-top { width: min(var(--wf-max),100%); margin: 0 auto 38px; display: flex; align-items: center; justify-content: space-between; }
.wf-menu-close { width: 54px; height: 54px; border-radius: 999px; border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.10); color:#fff; font-size: 30px; cursor:pointer; }
.wf-menu-grid { width: min(var(--wf-max),100%); margin-inline:auto; display:grid; grid-template-columns:.7fr 1.3fr; gap:48px; }
.wf-menu-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.wf-menu-links a { min-height:120px; display:flex; align-items:flex-end; padding:20px; border-radius:26px; text-decoration:none; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.12); font-size:22px; font-weight:850; }

@media (max-width: 1040px) {
  .wf-intent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-project-card, .wf-project-card:nth-child(n) { grid-column: span 6; min-height: 360px; }
  .wf-trust-story, .wf-menu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --wf-edge: 12px; }
  .wf-header { width: calc(100vw - 18px); top: 9px; padding-left: 14px; }
  .wf-brand { font-size: 12px; letter-spacing: .08em; }
  .wf-icon-button, .wf-menu-button { width: 42px; height: 42px; }
  .wf-hero-copy { padding-top: 124px; padding-bottom: 86px; }
  .wf-hero h1 { font-size: clamp(46px, 15vw, 76px); line-height: .93; }
  .wf-action-card { grid-template-columns: 1fr; border-radius: 26px; }
  .wf-action-card .wf-btn { width: 100%; }
  .wf-intent-grid { grid-template-columns: 1fr; }
  .wf-bento { grid-template-columns: 1fr; }
  .wf-project-card, .wf-project-card:nth-child(n) { grid-column: 1; min-height: 320px; }
  .wf-menu-links { grid-template-columns: 1fr; }
  .wf-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
