@view-transition {
  navigation: auto;
}

:root {
  --bg: #0f1014;
  --bg-soft: #171922;
  --panel: rgba(15, 16, 20, 0.72);
  --ink: #f2f4f8;
  --muted: #a6adba;
  --line: rgba(242, 244, 248, 0.14);
  --accent: #ff6900;
  --accent-2: #3b82f6;
  --accent-ink: #180d06;
  --font-display: "Geologica", sans-serif;
  --font-text: "Geologica", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 0;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fs-body: clamp(1rem, .95rem + .2vw, 1.125rem);
  --fs-small: .88rem;
  --fs-h1: clamp(2.5rem, 1rem + 7vw, 6rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.2vw, 4rem);
  --fs-display: clamp(4rem, 7vw, 10rem);
  --header-gap: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.58;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

h1,
h2,
h3,
p {
  margin: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

main section[id] {
  scroll-margin-top: 96px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem var(--gutter) 0;
  pointer-events: none;
}

.header-panel,
.mobile-menu {
  pointer-events: auto;
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.site-header.scrolled .header-panel {
  background: rgba(15, 16, 20, 0.88);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: 1rem;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .84rem;
  text-transform: uppercase;
}

.desktop-nav a,
.mobile-menu a,
.edge-link a,
.lock-link,
.site-footer a {
  transition: color .2s var(--ease), opacity .2s var(--ease), transform .2s var(--ease);
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.edge-link a:hover,
.lock-link:hover,
.site-footer a:hover {
  color: var(--accent);
}

.desktop-nav a:active,
.mobile-menu a:active,
.btn:active,
.lock-link:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: .82rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .8rem;
  max-width: var(--container);
  margin: .65rem auto 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(15, 16, 20, 0.96);
}

.mobile-menu.is-open {
  display: flex;
}

.edge-link {
  position: fixed;
  top: 50%;
  z-index: 30;
  transform: translateY(-50%);
}

.edge-link-left {
  left: .6rem;
}

.edge-link-right {
  right: .6rem;
}

.edge-link a {
  font-family: var(--font-mono);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  opacity: .78;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero-media,
.hero-media img,
.hero-overlay,
.hero-physics {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 16, 20, .85) 0%, rgba(15, 16, 20, .54) 38%, rgba(15, 16, 20, .28) 100%),
    linear-gradient(180deg, rgba(15, 16, 20, .25) 0%, rgba(15, 16, 20, .62) 100%);
  z-index: 1;
}

.hero-physics {
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding: calc(8rem + env(safe-area-inset-top)) 0 3rem;
  max-width: min(100% - 2rem, 820px);
}

.hero-kicker,
.hero-proof,
.film-meta,
.journal-label,
.contact-meta,
.work-slide-copy p:first-child {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  max-width: 8ch;
  font-size: clamp(4rem, 2rem + 9vw, 8rem);
  line-height: .9;
  letter-spacing: -.05em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  margin-top: .8rem;
}

.hero-lead {
  max-width: 56ch;
  margin-top: 1.15rem;
  color: #dde2ea;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .95em 1.45em;
  border: 1px solid var(--line);
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #ff7e26;
}

.btn-secondary {
  background: rgba(15, 16, 20, .2);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(242, 244, 248, .36);
  background: rgba(15, 16, 20, .36);
}

.hero-proof {
  margin-top: 1rem;
}

.facts-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #12141b;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
}

.fact-item {
  display: grid;
  gap: .45rem;
}

.fact-num {
  font-size: clamp(2rem, 1rem + 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.home-showcase {
  padding: clamp(5rem, 7vw, 8rem) 0 0;
}

.section-lock {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-lock-tight {
  margin-bottom: 2.4rem;
}

.lock-word {
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.lock-line {
  width: 1px;
  height: 3.2rem;
  background: var(--line);
}

.lock-copy {
  max-width: 34ch;
  color: var(--muted);
}

.lock-link {
  justify-self: end;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
}

.film-panel {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  min-height: 82svh;
  border-top: 1px solid var(--line);
}

.film-panel-reverse {
  grid-template-columns: 5fr 7fr;
}

.film-panel-reverse .film-image {
  order: 2;
}

.film-panel-reverse .film-copy {
  order: 1;
}

.film-image {
  height: 100%;
}

.film-image img {
  width: 100%;
  min-height: 82svh;
  object-fit: cover;
  object-position: center center;
}

.film-copy {
  display: grid;
  gap: 1rem;
  padding: 2rem var(--gutter);
}

.film-copy h2,
.about-journal h2,
.contact-hero h1,
.policy-page h1,
.work-slide h1,
.work-slide h2 {
  font-size: var(--fs-h2);
  line-height: .96;
  letter-spacing: -.04em;
}

.about-journal {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  align-items: start;
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.journal-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.journal-copy {
  display: grid;
  gap: 1rem;
}

.journal-copy blockquote {
  margin: .6rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: #fff4ed;
}

.price-list {
  padding: 0 0 clamp(6rem, 9vw, 9rem);
}

.rates {
  border-top: 1px solid var(--line);
}

.rate-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.rate-row span:nth-child(2) {
  height: 1px;
  background-image: radial-gradient(circle, rgba(166, 173, 186, .8) 1px, transparent 1.2px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: center;
}

.rate-row strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cta-scrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
  align-items: start;
  padding: 0 0 clamp(6rem, 10vw, 10rem);
}

.cta-copy {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
}

.cta-copy h2,
.contact-card h2 {
  font-size: clamp(2rem, 1rem + 3vw, 3.2rem);
  line-height: .98;
  letter-spacing: -.03em;
}

.contact-card {
  padding: clamp(1.2rem, 2vw, 2rem);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.contact-card-dark {
  background: linear-gradient(180deg, rgba(255, 105, 0, .08), rgba(23, 25, 34, 1));
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.lead-form label {
  display: grid;
  gap: .5rem;
}

.lead-form span {
  font-size: .95rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .95rem 1rem;
  border: 1px solid rgba(242, 244, 248, .18);
  background: rgba(255, 255, 255, .02);
  color: var(--ink);
}

.lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #8a92a2;
}

.form-actions {
  display: grid;
  gap: .65rem;
}

.form-note,
.form-error {
  font-size: .92rem;
  color: var(--muted);
}

.form-error:not(:empty) {
  color: #ffb18a;
}

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: .75rem;
}

.consent input {
  margin-top: .2rem;
  min-height: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #0d0e12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid > div {
  display: grid;
  gap: .4rem;
}

.brand-footer {
  margin-bottom: .35rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.works-main {
  padding-top: 6.4rem;
}

.works-title {
  position: fixed;
  left: 50%;
  top: 7.8rem;
  z-index: 12;
  transform: translateX(-50%);
  font-size: clamp(2.4rem, 6vw, 7rem);
  line-height: .9;
  letter-spacing: -.06em;
  font-weight: 800;
  text-transform: uppercase;
  mix-blend-mode: difference;
  pointer-events: none;
}

.work-slide {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.work-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.work-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 16, 20, .18) 0%, rgba(15, 16, 20, .62) 82%, rgba(15, 16, 20, .84) 100%),
    linear-gradient(90deg, rgba(15, 16, 20, .42) 0%, rgba(15, 16, 20, .08) 60%);
}

.work-slide-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .9rem;
  padding-bottom: 3rem;
  max-width: 760px;
}

.work-slide-copy h1,
.work-slide-copy h2 {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem);
  text-transform: uppercase;
}

.works-cta {
  padding: 5rem 0 7rem;
}

.contact-main,
.policy-page {
  padding-top: 9rem;
  padding-bottom: 5rem;
}

.contact-hero {
  max-width: 900px;
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
}

.contact-side {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.contact-info {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.policy-copy {
  max-width: 72ch;
  display: grid;
  gap: 1rem;
  color: #dde2ea;
}

.policy-copy h2 {
  margin-top: 1rem;
  font-size: 1.25rem;
}

input:invalid,
textarea:invalid {
  box-shadow: none;
}

input.user-error,
textarea.user-error {
  border-color: #ff8a4d;
}

@media (max-width: 1024px) {
  .edge-link {
    display: none;
  }

  .film-panel,
  .film-panel-reverse,
  .about-journal,
  .cta-scrap,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .film-panel-reverse .film-image,
  .film-panel-reverse .film-copy {
    order: initial;
  }

  .cta-copy {
    position: static;
  }

  .works-title {
    top: 6.8rem;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section-lock {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .lock-line {
    width: 100%;
    height: 1px;
  }

  .lock-link {
    justify-self: start;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: .7rem;
  }

  .header-panel {
    padding: .7rem .85rem;
  }

  .hero-inner {
    align-content: end;
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.6rem, 1.5rem + 7vw, 4.4rem);
  }

  .hero-kicker,
  .hero-proof,
  .film-meta,
  .journal-label,
  .work-slide-copy p:first-child,
  .contact-meta {
    letter-spacing: .12em;
    font-size: .75rem;
  }

  .film-panel,
  .film-image img {
    min-height: auto;
  }

  .film-copy,
  .work-slide-copy {
    padding-bottom: 2rem;
  }

  .work-slide {
    min-height: 88svh;
  }

  .work-slide-copy {
    max-width: 100%;
  }

  .works-title {
    position: absolute;
    top: 7rem;
    width: 100%;
    padding: 0 1rem;
    text-align: center;
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-physics {
    display: none;
  }
}