@font-face {
  font-family: Cormorant;
  src: url("fonts/cormorant-garamond.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pine: #163029;
  --paper: #f8f8f1;
  --cream: #f0edde;
  --sage: #dce3ce;
  --muted: #485b4d;
  --line: #c5cdbe;
  --serif: Cormorant, Georgia, serif;
  --sans: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --section-space: clamp(40px, 5vw, 72px);
  --column-gap: clamp(24px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--pine); font: 16px/1.65 var(--sans); word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:where(a, summary):focus-visible { outline: 3px solid #ad631e; outline-offset: 4px; }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 10; transform: translateY(-160%); background: white; padding: 12px; }
.skip:focus { transform: none; }

.wrap { width: min(100%, 1360px); margin-inline: auto; padding-inline: var(--gutter); }
.topbar { border-bottom: 1px solid #1630291d; }
.head, .nav, .nav-wrap, .nav a, .identity { display: flex; align-items: center; }
.head { min-height: 72px; justify-content: space-between; gap: 16px; }
.identity { min-height: 44px; }
.identity img { width: 144px; }
.nav { gap: 28px; }
.nav a, .mobile-panel a { min-height: 44px; font-size: 14px; font-weight: 550; }
.nav .kit-link { padding-inline: 18px; border: 1px solid var(--line); border-radius: 99px; }
.mobile-nav { display: none; }

.hero { color: var(--paper); background: linear-gradient(90deg, #0a1e14ce, #0d221583 43%, #0a1b100b 84%), url("images/sunlit-garden.jpg") center 40% / cover, #173328; }
.hero-in { position: relative; display: flex; align-items: center; min-height: clamp(408px, 36vw, 520px); padding-block: 64px; }
.hero-copy { max-width: 85%; }
.eyebrow { font: 600 11px/1.4 var(--sans); letter-spacing: .15em; }
.ruled { display: flex; align-items: center; gap: 10px; }
.ruled::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero h1 { margin: 22px 0 16px; line-height: 1; }
.hero h1 img { width: clamp(310px, 43vw, 600px); filter: brightness(0) invert(96%); }
.lead { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.5; letter-spacing: -.035em; }
.hero-action { display: inline-flex; align-items: center; gap: 18px; margin-top: 24px; min-height: 44px; padding: 8px 18px; border-radius: 32px; background: var(--cream); color: var(--pine); font-size: 14px; font-weight: 650; }
.seal { position: absolute; right: var(--gutter); bottom: 24px; width: clamp(68px, 7vw, 96px); transform: rotate(-11deg); filter: drop-shadow(0 1px 4px #172b1e88); }

.garden { padding-top: var(--section-space); }
.section-head { margin-bottom: 24px; }
.section-head h2, .story h2 { margin-top: 6px; font: 500 clamp(42px, 4vw, 60px)/1 var(--serif); letter-spacing: -.04em; }
.project-feature, .story-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); align-items: center; }
.project-feature { padding-bottom: var(--section-space); }
.project-feature img { width: 100%; border-radius: 4px; }
.project-copy { max-width: 43ch; }
.project-type { color: var(--muted); font-size: 13px; }
.project-copy h3 { margin: 6px 0 12px; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.045em; }
.project-copy p, .story-text p { color: var(--muted); }
.project-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 14px; font-weight: 650; }
.story { background: var(--sage); }
.story-in { padding-block: var(--section-space); }
.story-label { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
.story-label img { width: clamp(56px, 5vw, 72px); }
.story-text { max-width: 54ch; }
.story-text h3 { margin-bottom: 12px; font-size: clamp(21px, 2vw, 28px); line-height: 1.35; letter-spacing: -.045em; }
.story-text p { line-height: 1.8; }
.foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding-block: 20px; color: var(--muted); font-size: 13px; }
.foot a { display: inline-flex; width: fit-content; align-items: center; min-height: 44px; }
.foot-brand { width: 108px; }
@media (hover: hover) {
  .nav a:hover, .foot a:hover, .project-feature:hover .project-more { text-decoration: underline; text-underline-offset: 4px; }
  .hero-action:hover { background: white; }
}
@media (max-width: 767px) {
  .head { min-height: 60px; }
  .identity img { width: 122px; }
  .nav-wrap { gap: 4px; }
  .nav a:not(.kit-link) { display: none; }
  .nav .kit-link { padding-inline: 14px; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::before, .mobile-nav summary::after { content: ""; display: block; width: 18px; height: 2px; background: var(--pine); }
  .mobile-panel { position: absolute; right: 0; top: 46px; z-index: 5; width: 148px; padding: 6px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
  .mobile-panel a { display: flex; align-items: center; }
  .hero { background-position: center, 58% 45%; }
  .hero-in { min-height: clamp(350px, 100vw, 430px); padding-block: 48px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { margin: 18px 0 14px; }
  .hero h1 img { width: min(75vw, 400px); }
  .hero-action { margin-top: 20px; }
  .seal { width: 56px; bottom: 20px; }
  .section-head { margin-bottom: 20px; }
  .project-feature, .story-in { grid-template-columns: 1fr; gap: 20px; }
  .project-copy { max-width: 52ch; }
  .project-copy h3 { margin-bottom: 8px; }
  .project-more { margin-top: 4px; }
  .story-label img { width: 52px; }
  .foot { grid-template-columns: 1fr auto; gap: 0 12px; padding-block: 16px; }
  .foot small { justify-self: end; }
  .foot a:last-child { grid-column: 1 / -1; }
}
