:root {
  color-scheme: light;
  --ink: #0b0c0c;
  --ink-soft: #343a3a;
  --paper: #f7f6f2;
  --white: #ffffff;
  --mist: #e9ece7;
  --line: rgba(11, 12, 12, 0.12);
  --line-dark: rgba(255, 255, 255, 0.18);
  --brass: #b8975b;
  --teal: #265f5a;
  --stone: #73736b;
  --shadow: 0 24px 80px rgba(8, 12, 12, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
  padding: 0 2rem;
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.86);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: currentColor;
}

.main-nav a {
  opacity: 0.82;
  transition: opacity 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-cta {
  border: 1px solid currentColor;
  padding: 0 1.05rem;
  font-size: 0.9rem;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  height: 88svh;
  max-height: 900px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2) 56%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
  padding-bottom: 7.5rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 7rem;
  line-height: 0.92;
  font-weight: 760;
}

.hero-copy {
  max-width: 650px;
  margin: 1.35rem 0 0;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  border: 1px solid transparent;
  padding: 0 1.15rem;
  font-weight: 650;
}

.button-primary {
  background: var(--white);
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.hero-strip {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  width: min(520px, calc(100% - 4rem));
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-strip div {
  padding: 1rem;
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  font-size: 1.1rem;
}

.hero-strip span {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.section-pad {
  padding: 7rem 2rem;
}

.intro,
.projects,
.process {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 5rem;
  align-items: start;
}

h2,
h3,
p {
  margin-top: 0;
}

.intro h2,
.section-head h2,
.principle-sticky h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: 3.6rem;
  line-height: 1.03;
  font-weight: 730;
}

.intro-copy {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.intro-copy p + p {
  margin-top: 1.2rem;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  min-height: 720px;
  background: var(--ink);
  color: var(--white);
}

.feature-media {
  min-height: 480px;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  align-self: center;
  padding: 4rem;
}

.feature-text span,
.project-content span,
.principle-item span,
.timeline-item span,
.contact-panel span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-text h2 {
  margin-bottom: 1rem;
  font-size: 3.3rem;
  line-height: 1.05;
}

.feature-text p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  max-width: 760px;
}

.filter-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 270px;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.filter-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.filter-tabs button.active {
  background: var(--ink);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(8, 12, 12, 0.08);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project-content {
  min-height: 218px;
  padding: 1.25rem;
}

.project-content h3 {
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
}

.project-content p {
  color: var(--stone);
}

.principles {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  padding: 7rem 2rem;
  background: #111413;
  color: var(--white);
}

.principle-sticky {
  position: sticky;
  top: 110px;
  align-self: start;
  max-width: 520px;
  margin-left: auto;
}

.principle-list {
  display: grid;
  gap: 1px;
  width: min(640px, 100%);
  border-top: 1px solid var(--line-dark);
}

.principle-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.principle-item h3,
.timeline-item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.principle-item p,
.timeline-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline-item {
  min-height: 260px;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.timeline-item p {
  color: var(--stone);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  gap: 4rem;
  padding: 7rem 2rem;
  background: var(--white);
}

.contact-copy,
.contact-panel {
  width: min(560px, 100%);
}

.contact-copy {
  justify-self: end;
}

.contact-copy p {
  max-width: 470px;
  margin-top: 1.2rem;
  color: var(--stone);
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-panel a,
.contact-panel address {
  display: block;
  margin: 0;
  padding: 1.3rem;
  background: var(--paper);
  color: var(--ink);
  font-style: normal;
}

.contact-panel strong {
  display: block;
  font-size: 1.18rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.site-footer span {
  color: var(--white);
  font-weight: 760;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 1rem;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 246, 242, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav {
    display: grid;
  }

  .main-nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    justify-self: end;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero-content {
    width: min(100% - 2rem, 720px);
    padding-bottom: 9rem;
  }

  .hero-strip {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .intro-grid,
  .feature-band,
  .principles,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-band {
    min-height: 0;
  }

  .feature-media {
    min-height: 420px;
  }

  .feature-text {
    padding: 3rem 2rem 4rem;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .project-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-sticky,
  .contact-copy {
    position: static;
    justify-self: start;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
  }

  .main-nav {
    top: 64px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 560px;
    height: 86svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.24)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.04) 46%);
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-strip div {
    padding: 0.65rem;
  }

  .hero-strip strong {
    font-size: 0.95rem;
  }

  .hero-strip span {
    font-size: 0.72rem;
  }

  .section-pad,
  .principles,
  .contact {
    padding: 4.5rem 1rem;
  }

  .intro-grid {
    gap: 2rem;
  }

  .intro h2,
  .section-head h2,
  .principle-sticky h2,
  .contact-copy h2,
  .feature-text h2 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .feature-text {
    padding: 2.5rem 1rem 3.25rem;
  }

  .filter-tabs {
    width: 100%;
    min-width: 0;
  }

  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .project-card img {
    aspect-ratio: 16 / 11;
  }

  .project-content {
    min-height: 0;
  }

  .timeline-item {
    min-height: 0;
  }

  .site-footer {
    display: grid;
    padding: 1.5rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
