:root {
  --ink: #15120e;
  --smoke: #2a2925;
  --muted: #69625a;
  --paper: #f5efe5;
  --paper-2: #e8ddcf;
  --steel: #24282a;
  --rust: #a4552a;
  --copper: #d59a5f;
  --cream: #fff9ef;
  --line: rgba(21, 18, 14, 0.16);
  --shadow: 0 28px 80px rgba(21, 18, 14, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  color: var(--cream);
  background: rgba(21, 18, 14, 0.72);
  border: 1px solid rgba(255, 249, 239, 0.18);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 249, 239, 0.42);
  color: var(--copper);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: rgba(255, 249, 239, 0.62);
  font-size: 0.76rem;
}

.site-header nav {
  gap: 22px;
  color: rgba(255, 249, 239, 0.72);
}

.site-header a {
  text-decoration: none;
}

.header-link {
  border: 1px solid rgba(255, 249, 239, 0.3);
  padding: 12px 15px;
  color: var(--cream);
}

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

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 18, 14, 0.76) 0%, rgba(21, 18, 14, 0.42) 46%, rgba(21, 18, 14, 0.08) 100%),
    linear-gradient(180deg, rgba(21, 18, 14, 0.08), rgba(21, 18, 14, 0.34));
}

.hero-image img {
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  align-self: end;
  max-width: 850px;
  padding: 132px 6vw 112px;
  color: var(--cream);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.8vw, 6.7rem);
  font-weight: 500;
}

h2 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 249, 239, 0.76);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.58;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.primary {
  background: var(--copper);
  color: var(--ink);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.primary:hover {
  transform: translateY(-2px);
  background: #edb676;
}

.secondary {
  border: 1px solid rgba(255, 249, 239, 0.34);
  color: var(--cream);
}

.hero-tags {
  position: absolute;
  right: 6vw;
  bottom: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 420px;
  gap: 10px;
}

.hero-tags span {
  color: rgba(255, 249, 239, 0.82);
  border: 1px solid rgba(255, 249, 239, 0.24);
  background: rgba(21, 18, 14, 0.38);
  padding: 10px 12px;
  backdrop-filter: blur(10px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.proof-strip p {
  margin: 0;
  padding: 32px 6vw;
  border-right: 1px solid var(--line);
}

.proof-strip p:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.work,
.quote {
  padding: 96px 6vw;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-grid article {
  min-height: 390px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 249, 239, 0.82));
  transition: transform 220ms ease, background 220ms ease;
}

.work-grid article:hover {
  transform: translateY(-4px);
  background: var(--cream);
}

.work-grid span {
  color: var(--rust);
  font-weight: 900;
}

.work-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.studio {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(320px, 0.95fr);
  min-height: 760px;
  background: var(--steel);
  color: var(--cream);
}

.studio-media {
  min-height: 760px;
}

.studio-media img {
  height: 100%;
  object-fit: cover;
}

.studio-copy {
  display: grid;
  align-content: center;
  padding: 80px 7vw;
}

.studio-copy h2 {
  max-width: 10ch;
}

.studio-copy ol {
  display: grid;
  gap: 28px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.studio-copy li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.studio-copy li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--copper);
  font-weight: 900;
}

.studio-copy strong,
.studio-copy span {
  display: block;
}

.studio-copy span {
  margin-top: 4px;
  color: rgba(255, 249, 239, 0.62);
  line-height: 1.55;
}

.quote {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 8vw;
  align-items: start;
  background: var(--paper-2);
}

.quote-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.08rem;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--smoke);
  font-weight: 850;
}

.quote-form .wide,
.quote-form button,
.fine-print {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffdfa;
  color: var(--ink);
  padding: 14px 12px;
}

textarea {
  resize: vertical;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 6vw;
  color: var(--cream);
  background: var(--ink);
}

footer p {
  margin: 8px 0 0;
  color: rgba(255, 249, 239, 0.62);
}

footer a {
  color: var(--copper);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

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

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
    overflow: visible;
    background: var(--paper);
  }

  .hero-image {
    position: relative;
    height: 34svh;
    min-height: 255px;
    max-height: 320px;
  }

  .hero-image::after {
    background:
      linear-gradient(180deg, rgba(21, 18, 14, 0.32) 0%, rgba(21, 18, 14, 0.02) 64%, rgba(245, 239, 229, 0.12) 100%);
  }

  .hero-copy {
    max-width: none;
    padding: 28px 22px 22px;
    color: var(--ink);
    background: var(--paper);
  }

  .hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(2.45rem, 11vw, 4.1rem);
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 34rem;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-copy .eyebrow {
    color: var(--rust);
  }

  .secondary {
    border-color: rgba(21, 18, 14, 0.24);
    color: var(--ink);
  }

  .hero-tags {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    justify-content: flex-start;
    max-width: none;
    padding: 0 22px 30px;
    background: var(--paper);
  }

  .hero-tags span {
    color: var(--ink);
    border-color: rgba(21, 18, 14, 0.18);
    background: rgba(255, 249, 239, 0.74);
    backdrop-filter: none;
  }

  .proof-strip,
  .work-grid,
  .studio,
  .quote {
    grid-template-columns: 1fr;
  }

  .proof-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 22px;
  }

  .work,
  .quote {
    padding: 72px 22px;
  }

  .section-intro {
    display: block;
  }

  .work-grid article {
    min-height: 280px;
  }

  .studio,
  .studio-media {
    min-height: 0;
  }

  .studio-media img {
    min-height: 360px;
  }

  .studio-copy {
    padding: 64px 22px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .header-link {
    padding: 10px 11px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.6rem);
  }

  .actions a {
    width: 100%;
  }
}
