:root {
  --bg: #0c0b0a;
  --line: #2a2a2a;
  --text: #ffffff;
  --muted: #9a9a9a;
  --dim: #7a7a7a;
  --accent: #ffffff;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 {
  font-stretch: 125%;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1 { font-size: clamp(2rem, 6.2vw, 5.4rem); line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.12rem; font-weight: 500; color: var(--text); }

.container { width: min(1180px, 100% - 64px); margin-inline: auto; }

.wordmark {
  font-stretch: 125%;
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark-small { font-size: 1.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.1em;
  padding: 1em 1.8em;
  border: 1px solid var(--text);
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn:focus-visible, .big-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.btn-small { padding: 0.55em 1.2em; font-size: 0.95rem; }

.arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

.site-header { position: relative; z-index: 2; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a:not(.btn) { color: var(--muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 11vw, 150px) 0 clamp(120px, 14vw, 200px);
}
.hero-photo {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -2%;
  width: 62%;
  aspect-ratio: 16 / 9;
  transform: translateY(-46%);
  background: url("images/harrison-mountain.jpg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
  opacity: 0.9;
}
.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 300;
  color: #d0d0d0;
  max-width: 36ch;
  margin-bottom: 2.4rem;
}

.section { padding: clamp(110px, 14vw, 190px) 0; }

.facts-section { padding: 2rem 0 0; }
.facts { margin: 0; }
.facts > div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  padding: 2.2rem 0;
  border-bottom: 0;
}
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-stretch: 125%; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }
.facts dd { margin: 0; color: var(--muted); max-width: 42ch; align-self: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}
.body { color: #d0d0d0; font-size: 1.12rem; font-weight: 300; max-width: 50ch; }

.pricing-head { align-items: start; margin-bottom: clamp(3rem, 6vw, 5rem); }
.pricing-head .body { margin: 0; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.plan { padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; }
.plan { background: #141414; border-radius: 12px; }
.plan:first-child { background: #1a1a1a; }
.plan-when { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.95rem; }
.plan-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.plan-desc { margin: 0.8rem 0 2rem; color: #d0d0d0; font-weight: 300; }
.plan-list { list-style: none; padding: 0; margin: 0 0 auto; }
.plan-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.plan-list span { color: var(--dim); font-size: 0.9rem; }
.plan-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  align-self: flex-start;
  margin-top: 2rem;
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.plan-link:hover { border-color: var(--accent); }
.plan-link:hover .arrow { transform: translateX(4px); }
.plan-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.work-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.work-track {
  --edge: max(32px, (100vw - 1180px) / 2);
  list-style: none;
  margin: 0;
  padding: 0 var(--edge) 1.6rem;
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.work-track::-webkit-scrollbar { height: 6px; }
.work-track::-webkit-scrollbar-thumb { background: var(--line); }
.work-track li { flex: 0 0 min(520px, 82vw); scroll-snap-align: start; }

.work-marquee.is-looping { overflow: hidden; }
.work-marquee.is-looping .work-track {
  width: max-content;
  padding: 0 0 1.6rem;
  gap: 0;
  overflow: visible;
  scroll-snap-type: none;
  animation: work-loop var(--loop-time, 36s) linear infinite;
}
.work-marquee.is-looping .work-track li { margin-right: 1.6rem; }
.work-marquee.is-looping:hover .work-track,
.work-marquee.is-looping:focus-within .work-track { animation-play-state: paused; }
@keyframes work-loop { to { transform: translateX(-50%); } }
.work-card { display: block; }
.work-shot {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #141210;
}
.work-shot span { font-stretch: 125%; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--dim); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s ease; }
.work-card:hover .work-shot img { transform: scale(1.03); }
.work-card:hover .work-shot { border-color: var(--muted); }

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}
.work-meta strong { font-weight: 400; }
.work-meta span { color: var(--muted); font-size: 0.92rem; }

.contact .lead { max-width: 40ch; }
.big-link {
  display: inline-block;
  font-stretch: 125%;
  font-size: clamp(1.8rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  border-bottom: 2px solid var(--line);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.big-link:hover { border-color: var(--accent); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}
.footer-inner p { margin: 0; color: var(--dim); font-size: 0.85rem; }

@media (max-width: 900px) {
  .split, .facts > div { grid-template-columns: 1fr; gap: 1rem; }
  .split { gap: 1.8rem; }
  .hero-photo { width: 120%; right: -45%; opacity: 0.45; }
}

@media (max-width: 560px) {
  .container { width: min(1180px, 100% - 40px); }
  .nav { height: 76px; }
  .wordmark { font-size: 1.4rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a:not(.btn) { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plans { gap: 1rem; }
}

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