:root {
  --bg: #0c0b09;
  --bg-soft: #12100d;
  --bg-lifted: #17130f;
  --panel: #1a1510;
  --text: #f3efe8;
  --muted: #aaa297;
  --muted-strong: #cbc2b6;
  --accent: #d7a65b;
  --accent-bright: #edbe72;
  --accent-deep: #8b6232;
  --line: rgba(243, 239, 232, 0.13);
  --line-strong: rgba(243, 239, 232, 0.22);

  --page-width: 1280px;
  --header-height: 64px;
  --radius: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;

  height: var(--header-height);
  padding-inline: max(24px, calc((100vw - var(--page-width)) / 2));

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(12, 11, 9, .42) 0%,
      rgba(12, 11, 9, .12) 100%
    );
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  transition:
    background-color 280ms ease,
    backdrop-filter 280ms ease,
    border-color 280ms ease;
}

.site-header.is-scrolled {
  background: rgba(12, 11, 9, .88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--line-strong);
  border-radius: 50%;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .15em;

  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.logo:hover,
.logo:focus-visible {
  color: var(--accent-bright);
  border-color: var(--accent);
  transform: rotate(-7deg);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

nav a {
  position: relative;
  padding-block: 8px;

  color: rgba(243, 239, 232, .74);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .035em;

  transition:
    color 180ms ease,
    transform 180ms ease;
}

nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;

  width: 5px;
  height: 5px;

  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, 4px) scale(.6);

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a.is-active {
  color: var(--text);
  transform: translateY(-1px);
}

nav a:hover::before,
nav a:focus-visible::before,
nav a.is-active::before {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;

  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(12, 11, 9, .28);

  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);

  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  min-height: 100svh;

  display: grid;
  align-items: center;

  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: -5% 0;
  z-index: -3;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 110%;

  object-fit: cover;
  object-position: center center;

  filter:
    saturate(.93)
    contrast(1.02)
    brightness(.94);

  transform:
    translate3d(0, var(--hero-shift, 0px), 0)
    scale(1.045);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(12, 11, 9, .96) 0%,
      rgba(12, 11, 9, .8) 25%,
      rgba(12, 11, 9, .42) 49%,
      rgba(12, 11, 9, .09) 75%,
      rgba(12, 11, 9, 0) 100%
    ),
    linear-gradient(
      0deg,
      rgba(12, 11, 9, .55) 0%,
      rgba(12, 11, 9, .06) 48%,
      rgba(12, 11, 9, .08) 100%
    );
}

.hero-copy {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 76px;
}

.hero-eyebrow {
  margin: 0 0 24px;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(64px, 11vw, 158px);
  font-weight: 700;
  line-height: .83;
  letter-spacing: -.067em;
}

.hero h1 span {
  position: relative;
  display: block;

  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(243, 239, 232, .72);

  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.hero h1 span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;

  color: var(--bg);
  -webkit-text-fill-color: var(--bg);
  -webkit-text-stroke: 0;

  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  pointer-events: none;
}

.hero-lead {
  max-width: 690px;
  margin: 44px 0 0;

  color: var(--text);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.018em;
}

.hero-subline {
  max-width: 620px;
  margin: 10px 0 0;

  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.action-link {
  min-height: 52px;
  padding: 12px 20px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  border: 1px solid var(--line-strong);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.action-link:hover,
.action-link:focus-visible {
  transform: translateY(-3px);
}

.action-link-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #16100a;
}

.action-link-primary:hover,
.action-link-primary:focus-visible {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.action-link-quiet {
  background: rgba(12, 11, 9, .22);
}

.action-link-quiet:hover,
.action-link-quiet:focus-visible {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.hero-signal {
  position: absolute;
  left: max(24px, calc((100vw - var(--page-width)) / 2));
  bottom: 22px;

  height: 34px;

  display: flex;
  align-items: center;
  gap: 5px;

  opacity: .52;
}

.hero-signal span {
  display: block;
  width: 2px;
  height: var(--h, 8px);
  background: var(--accent);
  border-radius: 999px;
}

.hero-signal span:nth-child(1) { --h: 7px; }
.hero-signal span:nth-child(2) { --h: 13px; }
.hero-signal span:nth-child(3) { --h: 22px; }
.hero-signal span:nth-child(4) { --h: 11px; }
.hero-signal span:nth-child(5) { --h: 29px; }
.hero-signal span:nth-child(6) { --h: 17px; }
.hero-signal span:nth-child(7) { --h: 8px; }
.hero-signal span:nth-child(8) { --h: 25px; }
.hero-signal span:nth-child(9) { --h: 14px; }
.hero-signal span:nth-child(10) { --h: 31px; }
.hero-signal span:nth-child(11) { --h: 19px; }
.hero-signal span:nth-child(12) { --h: 9px; }
.hero-signal span:nth-child(13) { --h: 23px; }
.hero-signal span:nth-child(14) { --h: 12px; }
.hero-signal span:nth-child(15) { --h: 6px; }

/* Shared sections */

.section {
  position: relative;
  padding-block: clamp(110px, 10vw, 170px);
  border-bottom: 1px solid var(--line);
}

.section-shell {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.section-heading {
  max-width: 1020px;
  margin-bottom: clamp(54px, 7vw, 96px);
}

.chapter {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 24px;
  padding: 7px 11px 7px 8px;

  border: 1px solid rgba(215, 166, 91, .32);
  border-radius: 999px;

  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.chapter span {
  min-width: 26px;
  height: 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(215, 166, 91, .14);
  border-radius: 50%;

  font-size: 9px;
}

.chapter strong {
  font: inherit;
}

.section-heading h2 {
  max-width: 940px;
  margin: 0;

  font-size: clamp(48px, 6.3vw, 91px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.052em;
}

.section-intro {
  max-width: 760px;
  margin: 34px 0 0;

  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.65;
}

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

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

/* About */

.section-about {
  background:
    radial-gradient(circle at 82% 18%, rgba(215, 166, 91, .08), transparent 28%),
    var(--bg);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(52px, 8vw, 118px);
  align-items: start;
}

.about-copy {
  max-width: 790px;
}

.about-copy p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
}

.about-copy .lead-paragraph {
  color: var(--muted-strong);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.55;
  letter-spacing: -.018em;
}

.approach-panel {
  position: sticky;
  top: calc(var(--header-height) + 40px);

  padding: clamp(28px, 3vw, 42px);

  background:
    linear-gradient(145deg, rgba(215, 166, 91, .13), transparent 56%),
    var(--bg-lifted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote {
  margin: 0 0 36px;

  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(31px, 3.3vw, 48px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.08;
}

.approach-list {
  display: grid;
}

.approach-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;

  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.approach-list span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.approach-list p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.55;
}

/* Experience */

.section-experience {
  background:
    linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px),
    var(--bg-soft);
  background-size: 44px 44px;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 144px;
  width: 1px;
  background: linear-gradient(var(--accent), var(--line) 18%, var(--line) 82%, transparent);
}

.timeline-item {
  position: relative;

  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 56px;

  padding: 0 0 68px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 139px;
  top: 9px;

  width: 11px;
  height: 11px;

  background: var(--bg-soft);
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(215, 166, 91, .08);
}

.timeline-current::before {
  background: var(--accent);
}

.timeline-date {
  padding-top: 1px;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.timeline-content {
  max-width: 870px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.timeline-company {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin: 0 0 17px;

  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -.03em;
}

.timeline-content > p:last-child {
  max-width: 750px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.experience-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 9vw, 120px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.experience-summary > div {
  min-height: 170px;
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: rgba(12, 11, 9, .42);
  border-right: 1px solid var(--line);
}

.experience-summary > div:last-child {
  border-right: 0;
}

.experience-summary strong {
  color: var(--text);
  font-size: clamp(35px, 4vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}

.experience-summary span {
  max-width: 220px;
  color: var(--muted);
  font-size: 13px;
}

/* Materials */

.section-materials {
  background:
    radial-gradient(circle at 12% 85%, rgba(215, 166, 91, .07), transparent 30%),
    var(--bg);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.material-card {
  min-width: 0;

  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(0, 1fr);

  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;

  transition:
    transform 260ms var(--ease),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.material-card:hover,
.material-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(215, 166, 91, .48);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
}

.material-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(330px, .86fr) minmax(0, 1.14fr);
}

.material-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 330px;
  padding: 24px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  border-right: 1px solid var(--line);
}

.material-cover::before,
.material-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.material-cover::before {
  inset: 0;
  background:
    linear-gradient(155deg, transparent 25%, rgba(0, 0, 0, .62)),
    linear-gradient(30deg, var(--cover-a), var(--cover-b));
}

.material-cover::after {
  right: -12%;
  bottom: -20%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, .025),
    0 0 0 76px rgba(255, 255, 255, .018);
}

.material-cover-vienna {
  --cover-a: #875a35;
  --cover-b: #1d1814;
}

.material-cover-unison {
  --cover-a: #6f271e;
  --cover-b: #17100e;
}

.material-cover-moon {
  --cover-a: #35465a;
  --cover-b: #111417;
}

.material-cover-profile {
  --cover-a: #78643f;
  --cover-b: #18140e;
}

.material-index,
.material-type {
  position: absolute;
  top: 22px;
  z-index: 1;
}

.material-index {
  left: 24px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 700;
}

.material-type {
  right: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.material-cover strong {
  position: relative;
  z-index: 1;

  color: #f4eee3;
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.055em;
}

.material-copy {
  min-width: 0;
  padding: clamp(28px, 3.6vw, 54px);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.material-source {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.material-copy h3 {
  margin: 0;

  font-size: clamp(25px, 2.8vw, 43px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.material-copy > p:not(.material-source) {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.card-action {
  margin-top: 30px;
  padding: 9px 13px;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  background: rgba(215, 166, 91, .09);
  border: 1px solid rgba(215, 166, 91, .22);
  border-radius: 999px;

  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;

  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.material-card:hover .card-action,
.material-card:focus-visible .card-action {
  background: rgba(215, 166, 91, .17);
  border-color: rgba(215, 166, 91, .42);
}

.card-action i {
  font-style: normal;
  transition: transform 180ms ease;
}

.material-card:hover .card-action i,
.material-card:focus-visible .card-action i {
  transform: translate(2px, -2px);
}

/* Projects */

.section-projects {
  background: var(--bg-soft);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;

  min-height: 440px;
  padding: clamp(28px, 4vw, 52px);

  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 26px;

  background:
    linear-gradient(145deg, rgba(215, 166, 91, .055), transparent 45%),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);

  transition:
    border-color 220ms ease,
    transform 220ms var(--ease);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 166, 91, .4);
}

.project-card-wide {
  grid-column: 1 / -1;
  min-height: 360px;
}

.project-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;

  width: 240px;
  height: 240px;

  border: 1px solid rgba(215, 166, 91, .13);
  border-radius: 50%;
}

.project-number {
  width: 50px;
  height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(215, 166, 91, .32);
  border-radius: 50%;

  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.project-label {
  margin: 0 0 15px;

  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 660px;
  margin: 0;

  font-size: clamp(29px, 3.3vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.project-card p:not(.project-label) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.tags {
  margin: 28px 0 0;
  padding: 0;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  list-style: none;
}

.tags li {
  padding: 7px 10px;

  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Contact */

.section-contact {
  background: var(--bg);
}

.contact-panel {
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);

  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, .11), transparent 28%),
    linear-gradient(125deg, #b77b38, #7b4d25 55%, #27180e);
  border-radius: clamp(24px, 4vw, 46px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .32);
}

.contact-copy {
  padding: clamp(38px, 6vw, 82px);
}

.chapter-light {
  color: #21140a;
  border-color: rgba(33, 20, 10, .25);
}

.chapter-light span {
  background: rgba(33, 20, 10, .11);
}

.contact-copy h2 {
  margin: 0;

  color: #fff8ed;
  font-size: clamp(58px, 7.5vw, 108px);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.065em;
}

.contact-copy > p {
  max-width: 500px;
  margin: 30px 0 0;

  color: rgba(255, 248, 237, .78);
  font-size: 17px;
}

.contact-email {
  max-width: 100%;
  margin-top: 40px;

  display: inline-flex;
  align-items: center;
  gap: 14px;

  color: #fff8ed;
  font-size: clamp(23px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;

  transition: color 180ms ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #21140a;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.contact-links a,
.copy-email {
  min-height: 40px;
  padding: 8px 13px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(33, 20, 10, .09);
  border: 1px solid rgba(33, 20, 10, .22);
  border-radius: 999px;

  color: #2a190d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;

  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible,
.copy-email:hover,
.copy-email:focus-visible {
  background: rgba(255, 248, 237, .22);
  border-color: rgba(255, 248, 237, .4);
}

.contact-form {
  padding: clamp(38px, 6vw, 82px);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 20px;

  background: rgba(12, 11, 9, .88);
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 0;

  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;

  color: var(--text);
  caret-color: var(--accent);

  transition: border-color 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 146px;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.submit-button {
  grid-column: 1 / -1;

  min-height: 54px;
  margin-top: 10px;
  padding: 12px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--accent);
  border: 1px solid var(--accent);
  color: #1a1008;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

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

.submit-button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
}

/* Footer */

footer {
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 126px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;

  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
  text-align: center;
}

footer a {
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;

  transition:
    color 180ms ease,
    border-color 180ms ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent-bright);
  border-color: rgba(215, 166, 91, .3);
}

/* Responsive */

@media (max-width: 1050px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .approach-panel {
    position: static;
    max-width: 760px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .material-featured {
    grid-column: auto;
  }

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

@media (max-width: 800px) {
  :root {
    --header-height: 62px;
  }

  .site-header {
    padding-inline: 15px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;

    max-height: calc(100svh - var(--header-height));
    padding: 18px 15px 24px;

    display: grid;
    gap: 0;

    background: rgba(12, 11, 9, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);

    transition:
      opacity 220ms ease,
      visibility 220ms ease,
      transform 220ms ease;
  }

  nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  nav a::before {
    left: auto;
    right: 4px;
    bottom: 50%;
    transform: translateY(50%) scale(.6);
  }

  nav a:hover::before,
  nav a:focus-visible::before,
  nav a.is-active::before {
    transform: translateY(50%) scale(1);
  }

  .hero {
    align-items: end;
  }

  .hero-media {
    inset: -3% 0;
  }

  .hero-media img {
    height: 106%;
    object-position: center 30%;

    filter:
      saturate(.9)
      contrast(1.02)
      brightness(.92);
  }

  .hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(12, 11, 9, .98) 0%,
        rgba(12, 11, 9, .78) 36%,
        rgba(12, 11, 9, .27) 68%,
        rgba(12, 11, 9, .08) 100%
      ),
      linear-gradient(
        90deg,
        rgba(12, 11, 9, .24),
        transparent
      );
  }

  .hero-copy,
  .section-shell,
  footer {
    width: min(calc(100% - 30px), var(--page-width));
  }

  .hero-copy {
    padding-top: clamp(340px, 50vh, 520px);
    padding-bottom: 74px;
  }

  .hero-eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(57px, 17.6vw, 99px);
  }

  .hero-lead {
    margin-top: 30px;
  }

  .hero-signal {
    left: 15px;
    bottom: 15px;
  }

  .section {
    padding-block: 92px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .section-heading h2 {
    font-size: clamp(43px, 12vw, 68px);
  }

  .section-intro {
    font-size: 17px;
  }

  .timeline::before {
    left: 4px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 34px;
  }

  .timeline-item::before {
    left: -1px;
  }

  .timeline-date {
    padding-top: 0;
  }

  .experience-summary {
    grid-template-columns: 1fr;
  }

  .experience-summary > div {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .experience-summary > div:last-child {
    border-bottom: 0;
  }

  .material-card,
  .material-featured {
    grid-template-columns: 1fr;
  }

  .material-cover {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .project-card {
    min-height: auto;
    grid-template-columns: 48px 1fr;
  }

  .project-number {
    width: 42px;
    height: 42px;
  }

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

  .field-full,
  .submit-button,
  .form-status {
    grid-column: auto;
  }

  footer {
    min-height: 160px;
    padding-block: 36px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  footer p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    display: grid;
  }

  .action-link {
    width: 100%;
  }

  .hero h1 {
    letter-spacing: -.055em;
  }

  .hero h1 span {
    -webkit-text-stroke-width: 1.5px;
  }

  .chapter {
    letter-spacing: .12em;
  }

  .about-copy .lead-paragraph {
    font-size: 20px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .contact-form {
    padding: 32px 24px;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }
}

/* Reduced motion */

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

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

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

  .hero-media img {
    transform: scale(1.045);
  }
}
