:root {
  --ink: #101615;
  --ink-soft: #222a28;
  --graphite: #151c1b;
  --graphite-2: #1d2725;
  --stone: #d9d4ca;
  --paper: #eeece6;
  --paper-2: #e4e0d7;
  --muted: #9d9a91;
  --line-dark: rgba(238, 236, 230, 0.15);
  --line-light: rgba(16, 22, 21, 0.15);
  --accent: #b2a58d;
  --max: 1240px;
  --radius: 8px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body::selection {
  background: var(--accent);
  color: var(--ink);
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  min-height: 58px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  color: var(--paper);
  background: rgba(16, 22, 21, 0.58);
  border: 1px solid rgba(238, 236, 230, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  color: rgba(238, 236, 230, 0.78);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a,
.nav-cta {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-cta:hover {
  color: #fff;
}

.nav-cta {
  justify-self: end;
  padding: 11px 14px;
  color: var(--paper);
  border: 1px solid rgba(238, 236, 230, 0.24);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-dark {
  background: var(--graphite);
  color: var(--paper);
}

.panel-light {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 104px max(24px, calc((100vw - var(--max)) / 2)) 44px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 44%;
  content: "";
  background: linear-gradient(0deg, rgba(16, 22, 21, 0.94), rgba(16, 22, 21, 0));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.62;
}

.hero-media img {
  filter: saturate(0.7) contrast(1.02);
}

.hero-content {
  min-height: calc(100svh - 148px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}

.section-code {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  align-self: center;
  max-width: 1040px;
  margin: 42px 0;
  font-size: clamp(54px, 7.4vw, 116px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(280px, 520px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}

.hero-bottom p,
.contact-intro > p,
.studio-copy p,
.project-caption p,
.craft-principles p,
.process-list p {
  margin: 0;
  color: rgba(238, 236, 230, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 18px 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: #fff;
}

.studio-section,
.projects-section,
.services-section,
.craft-section,
.process-section,
.contact-section {
  padding: 108px max(24px, calc((100vw - var(--max)) / 2));
}

.studio-section {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 64px;
  background: var(--paper);
}

.section-number {
  color: rgba(16, 22, 21, 0.34);
  font-size: clamp(64px, 11vw, 154px);
  font-weight: 900;
  line-height: 0.8;
}

.studio-copy {
  max-width: 940px;
}

.studio-copy h2,
.section-heading h2,
.craft-copy h2,
.contact-intro h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 86px);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.studio-copy p {
  max-width: 650px;
  margin-top: 34px;
  color: rgba(16, 22, 21, 0.68);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2.3fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 64px;
}

.project-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 30px;
  align-items: end;
  margin-top: 34px;
}

.project-spread figure,
.craft-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.project-spread-large figure {
  aspect-ratio: 16 / 9;
}

.project-spread-offset {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.1fr);
  align-items: start;
  margin-top: 82px;
}

.project-spread-offset figure {
  aspect-ratio: 5 / 6;
}

.project-caption {
  min-height: 250px;
  padding: 30px 0 0;
  border-top: 1px solid var(--line-light);
}

.project-caption span {
  display: block;
  margin-bottom: 26px;
  color: rgba(16, 22, 21, 0.42);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-caption h3 {
  max-width: 430px;
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 52px);
  font-weight: 850;
  line-height: 0.98;
  text-transform: uppercase;
}

.project-caption p {
  max-width: 430px;
  color: rgba(16, 22, 21, 0.64);
}

.services-section {
  border-radius: var(--radius) var(--radius) 0 0;
}

.services-section .section-heading h2,
.contact-intro h2,
.craft-copy h2 {
  color: var(--paper);
}

.service-index {
  border-top: 1px solid var(--line-dark);
}

.service-index a {
  display: grid;
  grid-template-columns: 96px minmax(220px, 0.72fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background 180ms ease, padding-inline 180ms ease;
}

.service-index a:hover {
  padding-inline: 16px;
  background: rgba(238, 236, 230, 0.045);
}

.service-index span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.service-index strong {
  font-size: clamp(26px, 3.3vw, 54px);
  font-weight: 850;
  line-height: 0.95;
  text-transform: uppercase;
}

.service-index em {
  color: rgba(238, 236, 230, 0.66);
  font-size: 15px;
  font-style: normal;
  line-height: 1.6;
}

.craft-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 62px;
  align-items: center;
  background: var(--graphite-2);
  color: var(--paper);
}

.craft-image {
  aspect-ratio: 4 / 5;
}

.craft-copy {
  max-width: 680px;
}

.craft-copy h2 {
  margin-top: 24px;
}

.craft-principles {
  display: grid;
  gap: 20px;
  margin-top: 46px;
}

.craft-principles p {
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.craft-principles span {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.process-section .section-heading {
  align-items: start;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.process-list li {
  min-width: 0;
  min-height: 340px;
  padding: 26px 22px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.process-list span {
  color: rgba(16, 22, 21, 0.42);
  font-size: 13px;
  font-weight: 850;
}

.process-list h3 {
  min-height: 92px;
  margin: 112px 0 18px;
  font-size: clamp(20px, 1.55vw, 26px);
  font-weight: 850;
  line-height: 1.03;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.process-list p {
  color: rgba(16, 22, 21, 0.64);
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 72px;
  align-items: start;
  min-height: 88svh;
}

.contact-intro h2 {
  max-width: 760px;
  margin-top: 22px;
}

.contact-intro > p {
  max-width: 530px;
  margin-top: 28px;
}

.direct-contact {
  display: inline-block;
  margin-top: 50px;
  color: var(--paper);
  font-size: clamp(24px, 3vw, 46px);
  font-family: var(--serif);
  line-height: 1;
  border-bottom: 1px solid rgba(238, 236, 230, 0.32);
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(238, 236, 230, 0.035);
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(238, 236, 230, 0.68);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(238, 236, 230, 0.26);
  border-radius: 0;
  outline: none;
  padding: 10px 0 12px;
  font-size: 16px;
  line-height: 1.4;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--paper);
}

.contact-form .button {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--accent);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

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

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

@media (max-width: 1040px) {
  .hero-bottom,
  .studio-section,
  .section-heading,
  .project-spread,
  .project-spread-offset,
  .craft-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-spread-offset .project-caption {
    order: 2;
  }

  .project-spread-offset figure {
    order: 1;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 20px), var(--max));
    grid-template-columns: 1fr auto;
    min-height: 52px;
    padding: 0 12px;
  }

  .nav-links {
    display: none;
  }

  .brand,
  .nav-cta,
  .section-code,
  .contact-form span {
    font-size: 10px;
  }

  .nav-cta {
    padding: 10px 11px;
  }

  .hero {
    min-height: 100svh;
    padding: 86px 18px 30px;
  }

  .hero-content {
    min-height: calc(100svh - 116px);
  }

  .hero h1 {
    max-width: calc(100vw - 36px);
    overflow-wrap: break-word;
    font-size: clamp(27px, 7.4vw, 30px);
    line-height: 0.9;
  }

  .hero-bottom,
  .hero-bottom p {
    min-width: 0;
    max-width: calc(100vw - 36px);
  }

  .hero-bottom {
    gap: 24px;
  }

  .button {
    width: 100%;
  }

  .studio-section,
  .projects-section,
  .services-section,
  .craft-section,
  .process-section,
  .contact-section {
    padding: 76px 18px;
  }

  .section-number {
    font-size: 76px;
  }

  .studio-copy h2,
  .section-heading h2,
  .craft-copy h2,
  .contact-intro h2 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .section-heading,
  .project-spread,
  .project-spread-offset,
  .craft-section,
  .contact-section {
    gap: 30px;
  }

  .project-spread-large figure,
  .project-spread-offset figure,
  .craft-image {
    aspect-ratio: 4 / 5;
  }

  .project-caption {
    min-height: auto;
    padding-top: 24px;
  }

  .service-index a {
    grid-template-columns: 42px 1fr;
    gap: 16px 18px;
    padding: 24px 0;
  }

  .service-index em {
    grid-column: 2;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .process-list h3 {
    min-height: 0;
    margin: 54px 0 16px;
  }

  .contact-form {
    padding: 22px;
  }
}
