/* Fennel Development & Advisory. White ground, Deep Fennel as the field color, Pollen only in the mark. */
:root {
  --deep-fennel: #2E4636;
  --frond: #9DAF8E;
  --frond-tint: #EDF0EA;
  --pollen: #D8A43B;
  --white: #FFFFFF;
  --root: #1F2622;
  --muted: #4A5A4F;
  --rule: #D5DBD3;
  --on-dark: #F4EFE4;
  --on-dark-muted: #C9D3BF;
  --photo: #DDE3D6;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);

  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--root);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--root);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.4vw, 6.25rem); line-height: 0.98; letter-spacing: -0.025em; word-spacing: 0.04em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; }
p { margin: 0 0 1rem; text-wrap: pretty; }

a { color: var(--deep-fennel); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--root); }
:focus-visible { outline: 3px solid var(--pollen); outline-offset: 3px; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--root); color: var(--white); padding: 12px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 42ch; }

/* Buttons: solid rectangles, no arrows */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--deep-fennel); color: var(--on-dark);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color .15s ease;
}
.button:hover { background: var(--root); color: var(--white); }
.button-small { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.button-light { background: var(--on-dark); color: var(--deep-fennel); }
.button-light:hover { background: var(--white); color: var(--root); }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--root); text-decoration: underline;
}
.text-link:hover { color: var(--deep-fennel); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep-fennel); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.625rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.button) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 500; color: var(--root);
}
.site-nav a:not(.button):hover { text-decoration: underline; }
.site-nav .button { margin-left: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--root);
  transition: transform .2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--rule); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 4px var(--gutter) 20px; gap: 0; }
  .site-nav a:not(.button) { padding: 0; border-bottom: 1px solid var(--rule); min-height: 52px; }
  .site-nav .button { margin: 16px 0 0; width: 100%; }
}

/* Photo placeholders: swap for <img> once real photography exists */
.photo { position: relative; background: var(--photo); overflow: hidden; }
.photo-label {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero: left-aligned copy, photo bleeds to the right edge */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-copy { padding-bottom: clamp(40px, 6vw, 88px); }
.hero-copy h1 { margin-bottom: 2rem; }
.hero-copy .lede { margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.photo-hero { height: clamp(420px, 52vw, 640px); margin-right: calc(-1 * var(--gutter)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .photo-hero { height: 300px; margin: 0 calc(-1 * var(--gutter)); }
}

/* Statement: full-bleed field of Deep Fennel, left-aligned */
.statement { background: var(--deep-fennel); color: var(--on-dark); padding: clamp(56px, 8vw, 112px) 0; }
.statement-grid { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.statement-mark { width: 96px; height: 96px; }
.statement p {
  font-family: var(--font-display); font-size: clamp(1.625rem, 3.4vw, 2.75rem);
  line-height: 1.2; letter-spacing: -0.02em; margin: 0; max-width: 28ch;
}
@media (max-width: 600px) {
  .statement-grid { grid-template-columns: 1fr; }
  .statement-mark { width: 64px; height: 64px; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-rule { border-top: 1px solid var(--rule); }
.section-tint { background: var(--frond-tint); }
.section h2 { margin-bottom: clamp(40px, 5vw, 64px); max-width: 22ch; }

/* Services: two columns divided by a rule, no cards */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--root); }
.split-col { padding: 32px 0 0; }
.split-col + .split-col { border-left: 1px solid var(--rule); padding-left: clamp(24px, 4vw, 56px); }
.split-col:first-child { padding-right: clamp(24px, 4vw, 56px); }
.split-col h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-bottom: 1rem; }
.split-col > p { color: var(--muted); max-width: 46ch; }
.plain-list { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--rule); }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: 0; padding-left: 0; margin-top: 48px; border-top: 1px solid var(--root); }
  .split-col:first-child { padding-right: 0; }
}

/* Focus: one featured project type, two supporting */
.focus-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-rows: auto auto; gap: 48px clamp(32px, 4vw, 56px);
}
.focus-feature { grid-row: span 2; }
.focus-grid h3 { margin: 20px 0 8px; }
.focus-grid p { color: var(--muted); margin: 0; max-width: 48ch; }
.focus-feature h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.photo-feature { aspect-ratio: 4 / 3.4; }
.photo-small { aspect-ratio: 16 / 10; }
@media (max-width: 860px) {
  .focus-grid { grid-template-columns: 1fr; }
  .focus-feature { grid-row: auto; }
}

/* Approach: definition rows */
.approach { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.approach-intro h2 { margin-bottom: 1.25rem; }
.approach-intro p { color: var(--muted); font-size: 1.125rem; max-width: 34ch; }
.rows { margin: 0; border-top: 1px solid var(--root); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row dt { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
.row dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .approach { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; gap: 6px; }
}

/* Contact */
.contact { background: var(--deep-fennel); color: var(--on-dark); padding: clamp(44px, 5vw, 72px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(32px, 6vw, 96px); align-items: center; }
.contact h2 { color: var(--on-dark); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.03em; }
.contact p { color: var(--on-dark-muted); font-size: 1.0625rem; margin-bottom: 1rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--root); color: var(--on-dark-muted); padding: 28px 0; font-size: 0.875rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.footer-name { color: var(--on-dark); font-weight: 600; }
.footer-credits { flex-basis: 100%; margin: 8px 0 0; font-size: 0.75rem; color: #9AA59C; }
.footer-credits a { color: inherit; }
.footer-credits a:hover { color: var(--on-dark); }

/* 404 */
.not-found { min-height: 60vh; display: flex; align-items: center; padding: 96px 0; }
.not-found h1 { margin-bottom: 1.5rem; max-width: 14ch; }
.not-found .lede { margin-bottom: 2rem; }

/* About the founder */
.founder { padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.photo-headshot { aspect-ratio: 4 / 5; }
.founder-copy h1 { font-size: clamp(2.75rem, 6vw, 5rem); margin-bottom: 0.75rem; }
.founder-role { font-size: 1.125rem; font-weight: 600; color: var(--deep-fennel); margin-bottom: 2rem; }
.founder-bio { font-size: 1.125rem; max-width: 60ch; margin-bottom: 1.5rem; }
.founder-bio p { color: var(--muted); }
.site-nav a[aria-current="page"] { text-decoration: underline; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .photo-headshot { max-width: 320px; }
}

/* In the news */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--root); }
.news-list li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) auto; gap: 8px 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.news-outlet { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.news-title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--root); text-decoration: none; }
.news-title:hover { text-decoration: underline; color: var(--deep-fennel); }
.news-date { font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .news-list li { grid-template-columns: 1fr; } }

/* Where we work: full-width fourth item */
.focus-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: 16px; border-top: 1px solid var(--rule); }
.photo-wide { aspect-ratio: 16 / 7; }
.focus-wide-copy h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-top: 0; }
@media (max-width: 860px) {
  .focus-wide { grid-column: auto; grid-template-columns: 1fr; padding-top: 0; border-top: 0; }
  .photo-wide { aspect-ratio: 16 / 10; }
}

/* Meet Caroline (home page) */
.meet-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.photo-meet { aspect-ratio: 4 / 5; }
.meet-copy h2 { margin-bottom: 0.75rem; }
.meet-role { font-weight: 600; color: var(--deep-fennel); margin-bottom: 1.5rem; }
.meet-copy p:not(.meet-role) { color: var(--muted); font-size: 1.125rem; max-width: 58ch; }
@media (max-width: 860px) {
  .meet-grid { grid-template-columns: 1fr; }
  .photo-meet { max-width: 320px; }
}
