:root {
  --milk: #f1eee7;
  --paper: #e7e3da;
  --graphite: #2d2c28;
  --graphite-soft: #5c5952;
  --deep-stone: #5b5850;
  --line: #c8c1b5;
  --accent: #7b7463;
  --bronze: #91846f;
  --ivory: #f1e9dd;
  --white: #f6f1e9;
  --max: 1480px;
  --gutter: clamp(22px, 4.6vw, 72px);
  --section: clamp(104px, 11vw, 176px);
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--graphite);
  font-family: "Helvetica Neue", "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--white);
  color: var(--graphite);
  transform: translateY(-160%);
}

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

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-space {
  padding-block: var(--section);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  min-height: 78px;
  padding: 0 var(--gutter);
  color: var(--ivory);
}

.brand {
  display: flex;
  flex-direction: column;
  width: fit-content;
  text-decoration: none;
}

.brand span {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #f1efe9;
  -webkit-text-fill-color: #f1efe9;
}

.brand small {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.25;
  color: #dedfdc;
  -webkit-text-fill-color: #dedfdc;
}

.nav-links {
  display: flex;
  gap: clamp(38px, 3vw, 52px);
  font-size: 15.5px;
  font-weight: 600;
}

.nav-links a,
.header-cta {
  color: #f1efe9;
  -webkit-text-fill-color: #f1efe9;
  text-decoration: none;
}

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

.nav-links a:hover {
  opacity: 1;
  color: #f4f1ea;
}

.header-cta {
  justify-self: end;
  padding-bottom: 3px;
  border-bottom: 1px solid #a7aaa9;
  font-size: 15.5px;
  font-weight: 600;
  transition: border-color 180ms ease, color 180ms ease;
}

.header-cta:hover {
  border-color: #e7e5df;
  color: #f4f1ea;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: #17191b;
  color: var(--ivory);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 48% center;
  transform: scale(1.015);
  animation: hero-settle 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-photo-slot="project-01.jpg"] {
  object-position: 52% center;
}

[data-photo-slot="samples-01.jpg"] {
  object-position: center 44%;
}

[data-photo-slot="texture-02.jpg"] {
  object-position: 45% 28%;
}

.hero-shade {
  background: rgb(7 9 10 / 6%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 100dvh;
  padding: 102px var(--gutter) clamp(56px, 8vh, 96px);
}

.hero-role {
  max-width: 34ch;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: #c8cac8;
}

.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(44px, 5.35vw, 82px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.48;
  color: #d9dad7;
}

.hero .button-light {
  min-height: 60px;
  margin-top: 38px;
  padding: 17px 34px;
  font-size: 16px;
  font-weight: 520;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 32px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-light {
  border-color: #d0d1ce;
  background: #d9d9d5;
  color: #242729;
}

.button-light:hover {
  border-color: #bfc1c0;
  background: #c7c9c7;
  color: #1e2123;
}

.hero .button-light:focus-visible {
  outline-color: #dfe0dc;
}

.button-dark {
  border-color: var(--deep-stone);
  background: var(--deep-stone);
  color: var(--ivory);
}

.button-dark:hover {
  border-color: var(--bronze);
  background: var(--bronze);
  color: #2f2c27;
}

.section-kicker,
.format-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 3.4fr 1.3fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.experience h2,
.samples h2,
.formats h2,
.portfolio h2,
.process h2,
.contact h2 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.lead {
  max-width: 62ch;
  margin: 38px 0 0;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.45;
}

.experience-note {
  margin: 3px 0 0;
  color: var(--graphite-soft);
  font-size: 14px;
  line-height: 1.6;
}

.materials {
  padding-top: 0;
}

.material-panel {
  position: relative;
}

.material-panel-image {
  min-height: min(86dvh, 920px);
  overflow: hidden;
  background: #b4afa5;
  color: var(--ivory);
}

.material-panel-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.material-panel-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(45 43 38 / 24%);
}

.material-copy {
  position: relative;
  z-index: 1;
}

.material-copy-overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(86dvh, 920px);
  max-width: 850px;
  padding: 64px var(--gutter);
}

.material-copy h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.material-copy p {
  max-width: 47ch;
  margin: 26px 0 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
}

.material-copy a {
  width: fit-content;
  margin-top: 26px;
}

.image-caption,
figcaption {
  margin-top: 12px;
  color: var(--graphite-soft);
  font-size: 12px;
  line-height: 1.5;
}

.material-panel-quiet {
  display: grid;
  grid-template-columns: 0.5fr 2.4fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: 660px;
  margin-top: clamp(96px, 13vw, 180px);
}

.material-number {
  align-self: start;
  font-size: 13px;
  color: var(--graphite-soft);
}

.texture-fragment {
  aspect-ratio: 0.75;
  min-height: 440px;
  background-color: #777269;
  background-image: url("assets/texture-01.jpg");
  background-position: right center;
  background-size: cover;
  filter: contrast(0.94) saturate(0.72) brightness(0.96);
}

.samples {
  background: var(--paper);
}

.samples-heading {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 72px;
  align-items: end;
}

.samples-heading p,
.portfolio-heading p,
.process-heading p,
.contact-copy > p {
  max-width: 47ch;
  margin: 0;
  color: var(--graphite-soft);
  line-height: 1.6;
}

.samples-figure {
  margin-top: clamp(56px, 6vw, 84px);
}

.samples-figure img {
  aspect-ratio: 1.55;
  object-fit: cover;
}

.photo-frame {
  overflow: hidden;
}

.photo-frame-project img {
  transform: none;
}

.sample-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 44px;
  padding-left: var(--gutter);
  list-style-position: inside;
}

.sample-steps li {
  min-height: 76px;
  padding: 18px 18px 18px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.sample-steps li span {
  display: block;
  margin-top: 17px;
  font-size: 16px;
  line-height: 1.4;
}

.formats h2 {
  max-width: 15ch;
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: clamp(56px, 6vw, 84px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.formats-grid article {
  padding: 48px 8vw 52px 0;
}

.formats-grid article + article {
  padding-right: 0;
  padding-left: 8vw;
  border-left: 1px solid var(--line);
}

.format-label {
  color: var(--accent);
}

.formats h3 {
  margin: clamp(56px, 6vw, 84px) 0 16px;
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.formats-grid article p:not(.format-label) {
  max-width: 46ch;
  color: var(--graphite-soft);
  line-height: 1.6;
}

.formats-grid a {
  display: inline-block;
  margin-top: 32px;
}

.format-footnote {
  max-width: 58ch;
  margin: 30px 0 0 auto;
  color: var(--graphite-soft);
  font-size: 13px;
  line-height: 1.55;
}

.portfolio {
  padding-top: clamp(80px, 8vw, 128px);
}

.portfolio-heading {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 72px;
  align-items: end;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: clamp(42px, 7vw, 108px) clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 6vw, 84px);
}

.portfolio-item {
  margin: 0;
}

.portfolio-item img {
  height: 100%;
  object-fit: cover;
}

.portfolio-wide img {
  aspect-ratio: 1.45;
}

.portfolio-tall {
  grid-column: 2;
  margin-top: 18vw;
}

.portfolio-tall img {
  aspect-ratio: 0.72;
}

.portfolio-square {
  grid-column: 1 / -1;
  width: 58%;
  margin-left: auto;
}

.portfolio-square img {
  aspect-ratio: 1.1;
}

.portfolio-surface {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.portfolio-item figcaption {
  height: auto;
}

.process {
  background: var(--deep-stone);
  color: var(--ivory);
}

.process-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(50px, 9vw, 150px);
}

.process-heading {
  position: sticky;
  top: 42px;
  align-self: start;
}

.process-heading p {
  margin-top: 32px;
  color: rgb(241 233 221 / 80%);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 0 0 48px;
  border-bottom: 1px solid rgb(241 233 221 / 26%);
}

.process-list li + li {
  padding-top: 48px;
}

.process-list h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.process-list p {
  max-width: 44ch;
  margin: 14px 0 0;
  color: rgb(241 233 221 / 78%);
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(60px, 10vw, 170px);
}

.contact-copy h2 {
  max-width: 12ch;
  margin-top: 24px;
}

.contact-copy > p:not(.section-kicker) {
  margin-top: 34px;
  font-size: 17px;
  line-height: 1.6;
}

.contact-copy .contact-disclaimer {
  max-width: 48ch;
  font-size: 13px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-details strong {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-details a {
  width: fit-content;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-form {
  align-self: start;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 25px;
}

.field label {
  font-size: 13px;
  font-weight: 520;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #777268;
  border-radius: 0;
  background: transparent;
  color: var(--graphite);
  padding: 14px 0;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: none;
}

.field-hint {
  color: var(--graphite-soft);
  font-size: 12px;
}

.field-error {
  color: #7a3d34;
  font-size: 12px;
}

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

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

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--graphite-soft);
}

.footer-row p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes hero-settle {
  from { opacity: 0.65; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .experience-grid,
  .samples-heading,
  .portfolio-heading,
  .process-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    gap: 34px;
  }

  .experience-note {
    max-width: 54ch;
  }

  .material-panel-quiet {
    grid-template-columns: 0.3fr 1.7fr;
  }

  .texture-fragment {
    grid-column: 2;
    width: 58%;
    min-height: 360px;
    margin: 36px 0 0 auto;
  }

  .samples-heading,
  .portfolio-heading {
    gap: 34px;
  }

  .process-heading {
    position: static;
  }

  .contact-layout {
    gap: 80px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
    --section: 92px;
  }

  .site-header {
    min-height: 78px;
    gap: 16px;
  }

  .brand span {
    font-size: 20.5px;
  }

  .brand small {
    display: block;
    max-width: 180px;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.22;
  }

  .header-cta {
    font-size: 13.5px;
    white-space: nowrap;
  }

  .hero-image {
    object-position: 38% center;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 44px;
  }

  .hero-role {
    max-width: 27ch;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.6vw, 52px);
    line-height: 1.04;
  }

  .hero-subtitle {
    max-width: 31ch;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero .button-light {
    min-height: 58px;
    margin-top: 30px;
    padding-inline: 28px;
  }

  .button {
    width: 100%;
    margin-top: 24px;
  }

  .experience h2,
  .samples h2,
  .formats h2,
  .portfolio h2,
  .process h2,
  .contact h2,
  .material-copy h2 {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.04;
  }

  .lead {
    margin-top: 26px;
  }

  .material-panel-image,
  .material-copy-overlay {
    min-height: 78dvh;
  }

  .material-panel-image img {
    object-position: 58% center;
  }

  .material-copy-overlay {
    padding: 44px 20px;
  }

  .material-panel-quiet {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .material-number {
    display: none;
  }

  .texture-fragment {
    grid-column: auto;
    width: 72%;
    min-height: 360px;
    margin: 20px 0 0 auto;
  }

  .samples-figure {
    margin-top: 52px;
  }

  .samples-figure img {
    aspect-ratio: 0.95;
  }

  .photo-frame-project img {
    object-position: center 48%;
  }

  .sample-steps {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .formats-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .formats-grid article,
  .formats-grid article + article {
    padding: 40px 0;
  }

  .formats-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .formats h3 {
    margin-top: 48px;
  }

  .format-footnote {
    margin-left: 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .portfolio-tall,
  .portfolio-square,
  .portfolio-surface {
    grid-column: auto;
    grid-row: auto;
    width: 82%;
    margin: 0 0 0 auto;
  }

  .portfolio-square {
    grid-column: auto;
  }

  .portfolio-wide img,
  .portfolio-tall img,
  .portfolio-square img {
    aspect-ratio: 0.9;
  }

  .process-list li,
  .process-list li + li {
    padding: 34px 0;
  }

  .footer-row {
    grid-template-columns: 1fr auto;
  }

  .footer-row p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    gap: 10px;
  }

  .brand small {
    max-width: 155px;
    font-size: 10.5px;
  }

  .header-cta {
    font-size: 13px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
