:root {
  --ink: #07110f;
  --paper: #f7f3eb;
  --muted: #6b716f;
  --line: rgba(7, 17, 15, 0.16);
  --accent: #d7aa4a;
  --accent-dark: #7f5c13;
  --green: #24483f;
  --deep: #07110f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: rgba(215, 170, 74, 0.45);
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 56px);
  color: #fffaf0;
  animation: header-in 700ms ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(215, 170, 74, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  transition: color 180ms ease;
}

.nav a:hover {
  color: #fffaf0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
}

.hero__image,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.025);
  animation: image-settle 1800ms ease-out both;
  z-index: -3;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.9) 0%, rgba(7, 17, 15, 0.66) 34%, rgba(7, 17, 15, 0.18) 72%),
    linear-gradient(180deg, rgba(7, 17, 15, 0.16) 0%, rgba(7, 17, 15, 0.38) 100%);
  z-index: -2;
}

.hero__content {
  align-self: end;
  width: min(100% - 40px, 760px);
  margin: 0 0 clamp(28px, 6vw, 72px) clamp(20px, 8vw, 112px);
  color: #fffaf0;
  animation: copy-rise 900ms 160ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 760px;
  font-size: clamp(3.4rem, 6.25vw, 7rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero__lead {
  max-width: 660px;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: #1d1608;
}

.button--secondary {
  border-color: rgba(255, 250, 240, 0.36);
  color: #fffaf0;
}

.intro,
.platform,
.portland,
.contact {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px);
}

.intro {
  max-width: 1120px;
}

.intro h2,
.platform h2,
.portland h2,
.contact h2 {
  margin: 12px 0 24px;
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  font-weight: 790;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro p:not(.section-kicker),
.portland p,
.contact p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}

.platform {
  background: #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform__heading {
  max-width: 1000px;
}

.platform__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(44px, 7vw, 84px);
}

.platform article {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  animation: reveal linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 32%;
}

.metric {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
}

.platform p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.portland {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: start;
}

.signal-list {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.signal-list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.signal-list span {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-list strong {
  display: block;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.contact {
  background: var(--green);
  color: #fffaf0;
}

.contact p {
  color: rgba(255, 250, 240, 0.76);
}

.contact .button {
  margin-top: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 88px);
  background: var(--deep);
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.92rem;
}

@keyframes copy-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-settle {
  from {
    opacity: 0;
    transform: scale(1.07);
  }

  to {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 17, 15, 0.22) 0%, rgba(7, 17, 15, 0.86) 76%),
      linear-gradient(90deg, rgba(7, 17, 15, 0.48) 0%, rgba(7, 17, 15, 0.08) 100%);
  }

  .hero__content {
    width: calc(100% - 32px);
    margin: 0 16px max(32px, env(safe-area-inset-bottom));
  }

  h1 {
    font-size: clamp(3rem, 14vw, 5.4rem);
  }

  .platform__grid,
  .portland {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    white-space: normal;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

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