:root {
  --paper:   #F7F4EF;
  --paper-2: #F1ECE3;
  --ink:     #1C1C1A;
  --muted:   #6E6A62;
  --line:    #E1DACE;
  --accent:  #1F4339;   /* deep evergreen */
  --accent-2:#2D5C4F;
  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
header.scrolled {
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-color: var(--line);
}

/* default: header sits over the image hero -> light text */
header .brand { color: #F6F1E7; }
header .brand .mark { border-color: rgba(246,241,231,.65); color: #F6F1E7; }
header .brand small { color: rgba(246,241,231,.78); }
header nav ul a { color: rgba(246,241,231,.85); }
header nav ul a:hover { color: #fff; }
header nav ul a::after { background: #F6F1E7; }

/* scrolled: solid paper bar -> dark text */
header.scrolled .brand { color: var(--ink); }
header.scrolled .brand .mark { border-color: var(--accent); color: var(--accent); }
header.scrolled .brand small { color: var(--muted); }
header.scrolled nav ul a { color: var(--muted); }
header.scrolled nav ul a:hover { color: var(--ink); }
header.scrolled nav ul a::after { background: var(--accent); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .01em;
}
.brand .mark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  font-size: 14px;
  letter-spacing: .02em;
  align-self: center;
  transform: translateY(-1px);
}
.brand small {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
nav ul { display: flex; gap: 34px; list-style: none; }
nav ul a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
  position: relative;
  transition: color .25s var(--ease);
}
nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .3s var(--ease);
}
nav ul a:hover { color: var(--ink); }
nav ul a:hover::after { width: 100%; }
@media (max-width: 680px) { .nav-links { display: none; } }

/* ---------- Hero (full-bleed image) ---------- */
.hero {
  position: relative;
  margin-top: -76px;                 /* slide up under the transparent sticky header */
  padding: calc(76px + clamp(70px, 14vh, 150px)) 0 clamp(90px, 16vh, 170px);
  min-height: clamp(560px, 92vh, 840px);
  display: flex;
  align-items: center;
  background-color: var(--accent);
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #F6F1E7;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(16,26,22,.58) 0%,
    rgba(16,26,22,.34) 42%,
    rgba(16,26,22,.50) 74%,
    var(--paper) 100%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: #E9CF9C;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: #E9CF9C;
  display: inline-block;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #FBF7EE;
  text-shadow: 0 2px 30px rgba(10,18,14,.35);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: #EBC98E;
  font-size: clamp(24px, 3.6vw, 42px);
  display: block;
  margin-top: 16px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(10,18,14,.4);
}
.hero p.lede {
  margin-top: 34px;
  max-width: 60ch;
  font-size: clamp(18px, 2.2vw, 21px);
  color: rgba(247,243,235,.94);
  line-height: 1.6;
  text-shadow: 0 1px 18px rgba(10,18,14,.45);
}
.hero-actions { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(247,243,235,.55); color: #FBF7EE; }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn-primary { background: var(--accent); color: #F4F1EA; border: 1.5px solid var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* ---------- Section scaffolding ---------- */
section { padding: clamp(60px, 9vh, 110px) 0; }
.section-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 48px;
}
.section-num {
  font-family: "Fraunces", serif;
  font-size: 15px; color: var(--accent-2); font-weight: 500;
}
.section-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
}
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Two-column content grid (about / company / principal teaser) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split-grid p { color: #3a3833; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tag-pill {
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 100px; padding: 7px 15px;
}
.facts { display: flex; flex-direction: column; gap: 0; }
.fact {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt { color: var(--muted); letter-spacing: .04em; }
.fact dd {
  font-family: "Fraunces", serif; font-weight: 500;
  text-align: right; color: var(--ink);
}
@media (max-width: 760px) { .split-grid { grid-template-columns: 1fr; } }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-2);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 16px; margin-top: 6px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Credentials ---------- */
.alt-bg { background: var(--paper-2); }
.cred-list { display: flex; flex-direction: column; }
.cred {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px 40px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.cred:last-child { border-bottom: 1px solid var(--line); }
.cred:hover { padding-left: 14px; }
.cred h3 {
  font-family: "Fraunces", serif; font-weight: 500;
  font-size: clamp(20px, 2.6vw, 26px);
}
.cred p { color: var(--muted); margin-top: 4px; font-size: 15px; max-width: 60ch; }
.cred .meta {
  font-family: "Fraunces", serif; font-size: 15px; font-weight: 500;
  color: var(--accent-2); white-space: nowrap; justify-self: end;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px); align-items: start;
}
.contact-grid h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 500;
  font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05;
  letter-spacing: -0.02em;
}
.contact-grid h3 em { font-style: italic; color: var(--accent); }
.contact-intro { margin-top: 18px; font-size: 18px; color: #3a3833; max-width: 42ch; }
.contact-links { display: flex; flex-direction: column; gap: 2px; margin-top: 30px; }
.clink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.contact-links .clink:last-child { border-bottom: 1px solid var(--line); }
.clink:hover { color: var(--accent); padding-left: 10px; }
.clink .label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.clink .val { font-family: "Fraunces", serif; font-size: 18px; font-weight: 500; }
.clink .arrow { color: var(--accent); transition: transform .3s var(--ease); }
.clink:hover .arrow { transform: translate(3px,-3px); }

/* ---------- Form ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 24px 48px -32px rgba(31,67,57,.28);
}
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a7a299; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field textarea { min-height: 132px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 14.5px; font-weight: 500; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #9a3b2f; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.foot .legal { letter-spacing: .02em; }
.photo-credit { width: 100%; margin-top: 16px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.photo-credit a { text-decoration: underline; text-underline-offset: 2px; color: var(--muted); }
.photo-credit a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
