:root {
  --ink: #050605;
  --ink-soft: #0b0d0c;
  --paper: #eee9df;
  --paper-muted: #aaa89f;
  --mineral: #84a897;
  --mineral-bright: #a6c8b8;
  --rule: rgba(166, 200, 184, 0.28);
  --gutter: clamp(1.35rem, 4.25vw, 5.5rem);
  --serif: "Bodoni MT", "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif;
  --sans: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem var(--gutter);
  border-bottom: 1px solid rgba(238, 233, 223, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.23em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid var(--mineral-bright);
  transform: rotate(45deg);
}

nav {
  display: flex;
  gap: clamp(1.4rem, 3vw, 3.5rem);
}

nav a {
  position: relative;
  font-size: 0.9rem;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--mineral-bright);
  transition: transform 240ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(960px, 100svh);
  overflow: hidden;
  align-items: center;
  padding: 7rem var(--gutter) 5rem;
  border-bottom: 1px solid rgba(238, 233, 223, 0.18);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--ink) url("assets/hero-sculpture.png") center / cover no-repeat;
  animation: settle 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--ink) 0%, rgba(5, 6, 5, 0.95) 28%, transparent 58%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(56rem, 63vw);
  padding-top: 2rem;
}

.hero h1,
.approach h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3.6rem, 6.2vw, 7.25rem);
  line-height: 0.9;
  text-wrap: balance;
  animation: rise 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > p {
  margin: clamp(1.8rem, 4vh, 3rem) 0 2rem;
  color: rgba(238, 233, 223, 0.84);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  letter-spacing: 0.015em;
  animation: rise 900ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.button {
  display: inline-flex;
  min-height: 3.85rem;
  align-items: center;
  gap: 1.35rem;
  justify-content: space-between;
  padding: 0.9rem 1.2rem 0.9rem 1.45rem;
  border: 1px solid var(--mineral);
  color: var(--mineral-bright);
  font-size: 0.98rem;
  font-weight: 550;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
  animation: rise 900ms 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.button svg {
  width: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.button:hover,
.button:focus-visible {
  background: var(--mineral-bright);
  color: var(--ink);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 2.4rem;
  left: var(--gutter);
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  color: var(--mineral-bright);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.scroll-cue span {
  position: relative;
  display: block;
  width: 1px;
  height: 2.75rem;
  background: var(--mineral-bright);
}

.scroll-cue span::after {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mineral-bright);
  content: "";
}

.transition-art {
  height: clamp(12rem, 24vw, 23rem);
  border-bottom: 1px solid var(--rule);
  background: var(--ink) url("assets/transition-ribbons.png") center / cover no-repeat;
}

.approach {
  padding: clamp(5rem, 11vw, 10rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}

.section-inner,
.contact-panel,
footer {
  width: min(100%, 106rem);
  margin-inline: auto;
}

.approach h2 {
  max-width: 15ch;
  font-size: clamp(3.25rem, 6vw, 7.4rem);
  line-height: 0.98;
}

.about-copy {
  max-width: 47rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0 auto;
  color: rgba(238, 233, 223, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.7;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  color: rgba(238, 233, 223, 0.88);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.capabilities span:nth-child(2) {
  text-align: center;
}

.capabilities span:last-child {
  text-align: right;
}

.contact {
  padding: 0 var(--gutter) clamp(2rem, 5vw, 4rem);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
  align-items: center;
  padding: clamp(2rem, 4.4vw, 4rem);
  border: 1px solid var(--rule);
}

.contact h2 {
  padding-right: 2rem;
  font-size: clamp(2.35rem, 4.4vw, 5.2rem);
  line-height: 1;
}

.contact-link {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
  border-bottom: 1px solid var(--mineral);
  color: var(--mineral-bright);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  text-decoration: none;
  transition: color 200ms ease, padding 200ms ease;
}

.contact-link svg {
  width: clamp(2.3rem, 4vw, 4rem);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.contact-link:hover,
.contact-link:focus-visible {
  padding-right: 0;
  color: var(--paper);
}

footer {
  display: grid;
  grid-template-columns: minmax(17rem, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 2.25rem var(--gutter) 3rem;
  border-top: 1px solid var(--rule);
  color: var(--paper-muted);
  font-size: 0.78rem;
}

footer > div {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-brand {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.legal {
  max-width: 58rem;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--mineral-bright);
  outline-offset: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  nav {
    gap: 1.25rem;
  }

  .hero {
    min-height: 780px;
    align-items: start;
    padding-top: 9.5rem;
  }

  .hero-art {
    inset: auto -15% 0 -30%;
    height: 62%;
    background-position: 65% bottom;
  }

  .hero-art::after {
    background: linear-gradient(180deg, var(--ink) 0%, rgba(5, 6, 5, 0.88) 24%, transparent 70%);
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.35rem, 12vw, 5.5rem);
  }

  .scroll-cue {
    display: none;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact h2 {
    padding-right: 0;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 0.68rem;
    letter-spacing: 0.17em;
  }

  .brand-mark {
    display: none;
  }

  nav a {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14.5vw, 4.5rem);
    line-height: 0.92;
  }

  .hero-content > p {
    max-width: 19rem;
    line-height: 1.55;
  }

  .transition-art {
    height: 11rem;
  }

  .approach h2 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .capabilities {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .capabilities span:nth-child(2),
  .capabilities span:last-child {
    text-align: left;
  }

  .contact-panel {
    padding: 1.6rem;
  }

  footer {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
