/* Spring in Alaska – one-pager */
:root {
  --ink: #111111;
  --panel: #f5f5f2;
  --muted: #55555a;
  --line: #cfcfca;
  --accent: #2b4eff;
  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 64px);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  transition: background-color .3s ease;
}
.site-header.is-solid { background: rgba(17,17,17,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand img { height: 52px; width: auto; }
.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-nav a {
  color: #fff; text-decoration: none; font-family: var(--display); font-weight: 500;
  font-size: 1rem; letter-spacing: .02em; padding: 10px 2px; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }

/* ---------- Hero (fixed, content slides over it) ---------- */
.hero {
  position: fixed; inset: 0; z-index: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden; background: #1b1b1d;
}
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; }
.slide img, .slide video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.slide img { transform: scale(1.04); transition: transform 9s ease-out; }
.slide.is-active img { transform: scale(1.12); }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,0) 65%);
}
.hero-inner {
  position: absolute; left: var(--gutter); right: var(--gutter);
  bottom: clamp(48px, 9vh, 110px);
  color: #fff; max-width: 1100px;
  will-change: transform, opacity;
}
.hero h1 {
  margin: 0 0 .35em;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: .95; letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero p { margin: 0 0 1.6em; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.35rem); text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.scroll-cue {
  display: inline-block; color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem;
  border-bottom: 2px solid #fff; padding-bottom: 4px;
}

.hero-spacer { height: 100vh; height: 100lvh; }

/* ---------- Content panel (the reveal) ---------- */
.content {
  position: relative; z-index: 2;
  background: var(--panel);
  box-shadow: 0 -30px 60px rgba(0,0,0,.35);
}
.row { padding: clamp(72px, 12vw, 160px) var(--gutter) 0; }
.limit-width { max-width: 1240px; margin-inline: auto; }
.row + .row { padding-top: clamp(64px, 9vw, 120px); }

.eyebrow {
  margin: 0 0 1.2rem; font-family: var(--display); font-weight: 500;
  font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
h2 {
  margin: 0 0 1.2em; max-width: 18em;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.015em;
}
.about-copy { max-width: 46rem; columns: 1; }
.about-copy p { margin: 0 0 1.2em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--ink);
}
.services li { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.services h3 { margin: 0 0 .4em; font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; }
.services p { margin: 0; color: var(--muted); }

/* ---------- Contact form ---------- */
.contact-form { max-width: 720px; display: grid; gap: 28px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--display); font-weight: 500; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 0; font: inherit; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 2px 0 0 var(--accent); }
.field .invalid { border-bottom-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  justify-self: start; min-height: 52px; padding: 0 36px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn[disabled] { opacity: .55; cursor: wait; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 500; }
.form-status.is-ok { color: #0b6b3a; }
.form-status.is-error { color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(80px, 12vw, 160px); background: var(--ink); color: #fff; padding: 56px 0 48px; }
.footer-inner { padding-inline: var(--gutter); }
.footer-inner img { height: 72px; width: auto; margin-bottom: 20px; }
.footer-inner p { margin: 0 0 .3em; }
.footer-inner .fine { color: #b5b5ba; font-size: .9rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .services li.reveal:nth-child(2n) { transition-delay: .08s; }
.js .services li.reveal:nth-child(3n) { transition-delay: .16s; }

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }
  .site-nav a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition-duration: .01s; }
  .slide img, .slide.is-active img { transform: none; transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
