@font-face {
  font-family: Archivo;
  src: url('/assets/fonts/archivo-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Archivo;
  src: url('/assets/fonts/archivo-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sunlight: #FCF156;
  --earth: #61544A;
  --olive: #A6A337;
  --mist: #D2D8D5;
  --paper: #F4F4F4;
  --leaf-tint: #EAEFDE;
  font-family: Archivo, Arial, sans-serif;
  font-weight: 500;
  color: var(--earth);
  background: var(--sunlight);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--sunlight); background: var(--earth); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--earth); outline-offset: 8px; }

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 700px;
  min-height: max(700px, 100svh);
  overflow: hidden;
}

/* Background artwork: sunlight-and-foliage shadow study (see design/shadow-study-v2.md).
   Brand yellow sits behind the artwork; logo and text are live HTML above it. */
.foliage {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--sunlight) url('/assets/sunlight-shadows-v2-desktop.webp') center / cover no-repeat;
  pointer-events: none;
}
.foliage-motion {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--sunlight);
}
/* Keeps the header and footer bands on clean brand yellow over both the still and the video. */
.foliage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--sunlight), transparent 14%, transparent 86%, var(--sunlight));
}
@media (orientation: portrait) {
  .foliage { background-image: url('/assets/sunlight-shadows-v2-mobile.webp'); }
}
@media (min-width: 601px) and (orientation: landscape) and (prefers-reduced-motion: no-preference) {
  .foliage-motion { display: block; }
}
@media (prefers-reduced-data: reduce) {
  .foliage-motion { display: none; }
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: clamp(24px, 4.4vw, 80px);
}

.site-header { padding-block: 38px; }
.brand { display: block; width: clamp(168px, 15vw, 236px); flex-shrink: 0; }
.brand img { display: block; width: 100%; height: auto; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--earth);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status span { width: 5px; height: 5px; border-radius: 50%; background: var(--earth); }

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px 24px 72px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 30px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(72px, 9.6vw, 160px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.065em;
}
h1 span { display: block; }
.introduction { margin: 34px 0 0; font-size: 17px; font-weight: 500; line-height: 1.55; letter-spacing: -.015em; }

.site-footer { padding-block: 28px; font-size: 11px; line-height: 1.5; }
.site-footer p { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; gap: 12px; }
.site-footer .link-arrow { display: block; flex: none; overflow: visible; transition: transform 180ms ease; }
@media (hover: hover) {
  .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .site-footer a:hover .link-arrow { transform: translate(2px, -2px); }
}

@media (min-width: 1800px) {
  .page { min-height: max(880px, 100svh); }
  main { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  .page { min-height: max(660px, 100svh); }
  .site-header { padding-top: max(28px, env(safe-area-inset-top)); padding-bottom: 28px; gap: 16px; }
  .brand { width: 154px; }
  .status { font-size: 9px; padding: 10px 11px; letter-spacing: .05em; gap: 7px; }
  .status span { width: 4px; height: 4px; }
  main { padding: 28px 20px 66px; }
  .eyebrow { margin-bottom: 24px; font-size: 10px; }
  h1 { font-size: clamp(53px, 13.5vw, 81px); letter-spacing: -.06em; }
  .introduction { margin-top: 27px; font-size: 14px; line-height: 1.6; }
  .site-footer { align-items: flex-start; flex-direction: column-reverse; gap: 12px; font-size: 10px; padding-bottom: max(26px, env(safe-area-inset-bottom)); }
}

@media (max-width: 350px) {
  .site-header { padding-inline: 18px; }
  .brand { width: 135px; }
  .status { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
