:root {
  --bg: #fafaf8;
  --text: #050505;
  --muted: #2a2a2a;
  --soft: #5e5e5a;
  --line: rgba(5, 5, 5, 0.1);
  --content-max: 1536px;
  --side-pad: clamp(32px, 3.75vw, 58px);
  --header-pad-top: clamp(28px, 3vw, 48px);
  --hero-title-size: clamp(72px, 7.35vw, 122px);
  --meta-size: clamp(13px, 1vw, 16px);
  --copy-size: clamp(18px, 1.45vw, 22px);
  --mobile-bg: #d8d6cc;
  --mobile-paper: #f5f3ec;
  --mobile-paper-soft: #fafafa;
  --mobile-ink: #050505;
  --mobile-muted: #4b4a45;
  --mobile-line: rgba(5, 5, 5, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

@supports (overflow: clip) {
  html,
  body,
  .page {
    overflow-x: clip;
  }
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

.page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: flex;
  width: min(100%, var(--content-max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 var(--side-pad);
  flex-direction: column;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--header-pad-top);
}

.brand,
.site-nav a,
.hero-meta,
.hero-cta {
  font-size: var(--meta-size);
  font-weight: 800;
  letter-spacing: 0;
}

.brand {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 54px);
}

.site-nav a {
  position: relative;
  padding-bottom: 12px;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 1px;
  background: currentColor;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(520px, 1.02fr);
  align-items: end;
  gap: clamp(12px, 1.5vw, 24px);
  min-height: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 720px;
  padding-top: clamp(62px, 6.8vh, 96px);
  padding-bottom: clamp(78px, 9vh, 120px);
  padding-left: clamp(42px, 4vw, 64px);
}

.hero-meta {
  margin: 0 0 clamp(34px, 3.9vh, 50px);
  color: var(--muted);
}

.hero-title {
  margin: 0;
  font-size: var(--hero-title-size);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-description {
  max-width: 470px;
  margin: clamp(22px, 2.6vh, 28px) 0 0;
  color: #181818;
  font-size: var(--copy-size);
  line-height: 1.38;
  letter-spacing: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin-top: clamp(38px, 4.3vh, 48px);
}

.hero-figure {
  position: relative;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: visible;
}

.hero-picture {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: auto;
  height: 100%;
}

.hero-photo {
  width: auto;
  max-width: none;
  height: min(86svh, 980px);
  object-fit: contain;
  object-position: right bottom;
  transform: translateX(2%);
  transform-origin: bottom right;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.section {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 56px var(--side-pad) 72px;
}

.section-heading {
  max-width: 980px;
  margin-bottom: clamp(34px, 5vw, 72px);
}

.card-label {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title,
.card-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.section-title {
  max-width: 980px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.98;
}

.section-intro {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.42;
}

.work-section {
  padding-top: clamp(70px, 8vw, 116px);
}

.project-list {
  display: grid;
  gap: 32px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.project-card--reverse {
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.16fr);
}

.project-card--reverse .project-media {
  order: 2;
}

.project-card--reverse .project-content {
  order: 1;
}

.project-media {
  display: block;
  min-height: 420px;
  overflow: hidden;
  background: #050505;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.project-media--phone {
  display: grid;
  min-height: 620px;
  place-items: center;
  padding: clamp(34px, 4vw, 58px);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.08), rgba(255, 255, 255, 0) 42%),
    #eceee9;
}

.project-media--phone img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 700px;
  object-fit: contain;
  border: 1px solid rgba(5, 5, 5, 0.14);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(5, 5, 5, 0.22);
}

.project-media:hover img,
.project-media:focus-visible img {
  transform: scale(1.025);
}

.project-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 3.6vw, 56px);
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 clamp(24px, 3vw, 44px);
  color: #2a2a2a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-title {
  margin: 0;
  font-size: clamp(42px, 5.7vw, 88px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
}

.project-description {
  max-width: 620px;
  margin: 24px 0 0;
  color: #181818;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
}

.project-details {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.project-details div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
}

.project-details dt {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-details dd {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 16px;
  margin-top: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: var(--meta-size);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(32px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.42);
}

.muted-section .single-card {
  background: rgba(0, 0, 0, 0.02);
}

.card-title {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.card-copy {
  max-width: 800px;
  margin: 24px 0 0;
  color: #222;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
}

.contact-card {
  display: grid;
  grid-template-areas:
    "label link"
    "title link";
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  align-items: center;
  min-height: clamp(260px, 24vw, 340px);
  column-gap: clamp(42px, 7vw, 120px);
  row-gap: 18px;
  border-color: #050505;
  background: #050505;
  color: #fafaf8;
}

.contact-card .card-label {
  grid-area: label;
  margin: 0;
  color: rgba(250, 250, 248, 0.68);
}

.contact-card .card-title {
  grid-area: title;
  max-width: 760px;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 0.96;
}

.contact-link {
  grid-area: link;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 10px 0;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  opacity: 0.72;
  transform: translateY(-1px);
}

.contact-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(250, 250, 248, 0.26);
  border-radius: 999px;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-email {
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
}

.mobile-index {
  display: none;
}

.mobile-home-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 1280px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  }

  .hero-copy {
    max-width: 660px;
    padding-top: clamp(48px, 5.2vh, 72px);
    padding-bottom: clamp(54px, 8vh, 92px);
    padding-left: 0;
  }

  .hero-title {
    font-size: clamp(66px, 7vw, 110px);
  }

  .hero-photo {
    height: min(82svh, 860px);
    transform: translateX(1%);
  }
}

@media (max-width: 980px) {
  .project-card,
  .project-card--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-card--reverse .project-media,
  .project-card--reverse .project-content {
    order: 0;
  }

  .project-content {
    padding: clamp(26px, 6vw, 42px);
  }

  .project-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-card {
    grid-template-areas:
      "label"
      "title"
      "link";
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }

  .contact-link {
    justify-self: start;
    white-space: normal;
  }
}

@media (max-width: 1100px), (max-width: 1280px) and (max-height: 900px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  :root {
    --side-pad: clamp(24px, 8vw, 92px);
    --post-portrait-band: calc(108px + env(safe-area-inset-bottom, 0px));
  }

  html,
  body {
    background: var(--mobile-bg);
    color: var(--mobile-ink);
    scroll-padding-top: 0;
  }

  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .page {
    background: var(--mobile-bg);
  }

  .hero {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-width: none;
    height: 100svh;
    min-height: 100svh;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg);
    color: var(--mobile-ink);
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--post-portrait-band);
    background: #050505;
    pointer-events: none;
  }

  .site-header {
    z-index: 8;
    justify-content: center;
    width: 100%;
    min-height: calc(78px + env(safe-area-inset-top, 0px));
    padding: calc(29px + env(safe-area-inset-top, 0px)) var(--side-pad) 22px;
    background: #050505;
    color: var(--mobile-paper);
  }

  .brand {
    color: var(--mobile-paper);
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.25em;
  }

  .site-nav {
    display: none;
  }

  .hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .hero-copy {
    z-index: 5;
    align-self: start;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: clamp(38px, 5.2svh, 66px) var(--side-pad) 0;
  }

  .hero-meta {
    width: min(100%, 520px);
    margin-bottom: clamp(20px, 2.7svh, 32px);
    color: var(--mobile-muted);
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
  }

  .hero-title {
    width: min(100%, 620px);
    color: var(--mobile-ink);
    font-size: clamp(68px, 8.8vw, 90px);
    line-height: 0.88;
  }

  .hero-description {
    width: min(100%, 500px);
    max-width: none;
    margin-top: clamp(20px, 2.5svh, 30px);
    color: #292824;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.42;
  }

  .hero-cta {
    display: inline-flex;
    gap: 14px;
    min-height: 52px;
    margin-top: clamp(22px, 3svh, 36px);
    padding: 16px 20px;
    border: 0;
    border-radius: 4px;
    background: #050505;
    color: var(--mobile-paper);
    font-size: 12px;
    box-shadow: 0 16px 32px rgba(5, 5, 5, 0.18);
  }

  .hero-figure {
    z-index: 3;
    align-self: end;
    width: 100%;
    height: clamp(455px, 43svh, 570px);
    margin: clamp(16px, 2svh, 26px) 0 var(--post-portrait-band);
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  .hero-picture {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
  }

  .hero-photo {
    width: auto;
    max-width: none;
    height: 92%;
    object-fit: contain;
    object-position: right bottom;
    filter: grayscale(1) contrast(1.08) brightness(0.98);
    transform: none;
  }

  .mobile-index {
    position: fixed;
    right: auto;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    left: 50%;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100vw - 44px);
    min-height: 66px;
    padding: 6px;
    border: 1px solid rgba(5, 5, 5, 0.16);
    border-radius: 8px;
    background: var(--mobile-paper);
    color: var(--mobile-ink);
    box-shadow: 0 18px 42px rgba(5, 5, 5, 0.2);
    transform: translateX(-50%);
  }

  .mobile-index a {
    display: grid;
    min-width: 0;
    place-items: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .mobile-index a.is-active {
    background: #050505;
    color: var(--mobile-paper);
  }

  .mobile-index a:active {
    transform: scale(0.96);
  }

  .section {
    width: 100%;
    max-width: none;
    padding: 108px var(--side-pad);
  }

  .work-section {
    padding-top: 112px;
    padding-bottom: 18px;
    background: var(--mobile-bg);
    color: var(--mobile-ink);
  }

  .section-heading,
  .about-card {
    max-width: 710px;
    margin-right: auto;
    margin-left: auto;
  }

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

  .card-label,
  .project-topline,
  .project-details dt {
    font-size: 12px;
  }

  .section-title,
  .card-title {
    max-width: 700px;
    font-size: clamp(54px, 7.1vw, 74px);
    line-height: 0.98;
  }

  .section-intro,
  .card-copy {
    max-width: 620px;
    font-size: clamp(19px, 2.2vw, 22px);
    line-height: 1.55;
  }

  .project-list {
    max-width: 760px;
    margin: 0 auto;
    gap: 66px;
  }

  .project-card,
  .project-card--reverse {
    display: block;
    min-height: 0;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--mobile-ink);
  }

  .project-media {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 18px;
    overflow: visible;
    border: 1px solid var(--mobile-line);
    border-radius: 4px;
    background: var(--mobile-paper);
    box-shadow: 0 18px 44px rgba(5, 5, 5, 0.14);
  }

  .project-media img,
  .project-media--phone img {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    border: 1px solid rgba(5, 5, 5, 0.12);
    border-radius: 3px;
    box-shadow: none;
    filter: grayscale(1) contrast(1.02);
    transform: none;
  }

  .project-media:hover img,
  .project-media:focus-visible img {
    transform: none;
  }

  .project-content {
    margin: 0;
    padding: 34px 0 62px;
    background: transparent;
    color: var(--mobile-ink);
  }

  .project-topline {
    align-items: center;
    margin-bottom: 22px;
    color: var(--mobile-muted);
  }

  .project-title {
    color: var(--mobile-ink);
    font-size: clamp(58px, 8.2vw, 84px);
  }

  .project-description {
    max-width: 620px;
    margin-top: 22px;
    color: #2e2c27;
    font-size: clamp(19px, 2.2vw, 22px);
    line-height: 1.5;
  }

  .project-details {
    gap: 0;
    margin-top: 34px;
    padding-top: 0;
    border-top: 1px solid var(--mobile-line);
  }

  .project-details div {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--mobile-line);
  }

  .project-details dd {
    color: #292824;
    font-size: 16px;
  }

  .text-link {
    justify-content: space-between;
    width: auto;
    min-height: 54px;
    margin-top: 32px;
    padding: 17px 20px;
    border: 0;
    border-radius: 4px;
    background: #050505;
    color: var(--mobile-paper);
    font-size: 12px;
  }

  .muted-section {
    background: var(--mobile-paper);
    color: var(--mobile-ink);
  }

  .single-card,
  .about-card,
  .contact-card,
  .muted-section .single-card {
    border: 0;
    background: transparent;
  }

  .about-card {
    padding: 0;
  }

  #contact {
    display: flex;
    min-height: 100svh;
    align-items: center;
    padding: 106px var(--side-pad) calc(134px + env(safe-area-inset-bottom, 0px));
  }

  .contact-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 38px;
    border-radius: 4px;
    background: #050505;
    color: var(--mobile-paper);
    box-shadow: 0 18px 44px rgba(5, 5, 5, 0.22);
  }

  .contact-card .card-label {
    color: rgba(245, 243, 236, 0.62);
  }

  .contact-card .card-title {
    max-width: 620px;
    color: var(--mobile-paper);
  }

  .contact-link {
    display: flex;
    width: min(100%, 540px);
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 36px auto 0;
    padding: 17px 20px;
    border-radius: 4px;
    background: var(--mobile-paper);
    color: var(--mobile-ink);
    font-size: 20px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    border-color: var(--mobile-line);
  }

  .contact-icon svg {
    width: 16px;
    height: 16px;
  }

  .contact-email {
    flex: 0 1 auto;
    min-width: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) and (orientation: landscape), (max-width: 1280px) and (max-height: 900px) and (orientation: landscape) {
  :root {
    --side-pad: clamp(24px, 5vw, 52px);
    --post-portrait-band: calc(56px + max(12px, env(safe-area-inset-bottom, 0px)));
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
  }

  .site-header {
    min-height: calc(60px + env(safe-area-inset-top, 0px));
    padding: calc(20px + env(safe-area-inset-top, 0px)) var(--side-pad) 16px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .hero-inner {
    display: block;
    min-height: calc(100svh - 60px);
  }

  .hero-copy {
    width: min(52vw, 520px);
    padding-top: clamp(16px, 3.2svh, 26px);
    padding-bottom: calc(var(--post-portrait-band) + 12px);
  }

  .hero-meta {
    margin-bottom: clamp(10px, 2svh, 16px);
    font-size: 11px;
  }

  .hero-title {
    width: min(100%, 520px);
    font-size: clamp(38px, 5.8vw, 58px);
  }

  .hero-description {
    width: min(100%, 390px);
    margin-top: clamp(10px, 2svh, 16px);
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.32;
  }

  .hero-cta {
    min-height: 40px;
    margin-top: clamp(12px, 2.4svh, 18px);
    padding: 12px 16px;
  }

  .hero-figure {
    position: absolute;
    right: 0;
    bottom: calc(var(--post-portrait-band) - 18px);
    width: min(44vw, 420px);
    height: clamp(230px, 48svh, 330px);
    margin: 0;
    overflow: hidden;
  }

  .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }

  .mobile-index {
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    width: min(720px, calc(100vw - 44px));
    min-height: 56px;
  }
}

@media (max-width: 760px) {
  :root {
    --side-pad: 24px;
    --post-portrait-band: calc(56px + max(12px, env(safe-area-inset-bottom, 0px)));
  }

  .site-header {
    min-height: calc(64px + env(safe-area-inset-top, 0px));
    padding: calc(22px + env(safe-area-inset-top, 0px)) var(--side-pad) 18px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: 0;
  }

  .hero-copy {
    padding-top: clamp(30px, 7svh, 62px);
  }

  .hero-meta {
    width: min(100%, 320px);
    margin-bottom: clamp(22px, 3.8svh, 34px);
    font-size: 11px;
  }

  .hero-title {
    width: min(100%, 360px);
    font-size: clamp(44px, 12.7vw, 54px);
  }

  .hero-description {
    width: min(100%, 302px);
    margin-top: clamp(22px, 3.6svh, 32px);
    font-size: clamp(15px, 4vw, 18px);
  }

  .hero-cta {
    min-height: 44px;
    margin-top: clamp(26px, 4.4svh, 38px);
    padding: 13px 16px;
    font-size: 11px;
  }

  .hero-figure {
    height: clamp(277px, 80.5vw, 338px);
    margin: clamp(8px, 3.2vw, 14px) 0 var(--post-portrait-band);
  }

  .mobile-index {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: 12px;
    width: auto;
    min-height: 58px;
    padding: 5px;
    transform: none;
  }

  .mobile-index a {
    font-size: 10.5px;
  }

  .section {
    padding: 76px var(--side-pad);
  }

  .work-section {
    padding-top: 78px;
    padding-bottom: 0;
  }

  .section-heading {
    max-width: 370px;
    margin-bottom: 36px;
  }

  .section-title,
  .card-title {
    max-width: 360px;
    font-size: clamp(31px, 9vw, 44px);
    line-height: 1;
  }

  .section-intro,
  .card-copy {
    max-width: 342px;
    font-size: 16px;
  }

  .project-list {
    gap: 34px;
  }

  .project-card,
  .project-card--reverse {
    margin: 0 calc(var(--side-pad) * -1);
  }

  .project-media {
    margin: 0 var(--side-pad);
    padding: 14px;
  }

  .project-content {
    margin: 0 var(--side-pad);
    padding: 26px 0 42px;
  }

  .project-topline {
    justify-content: space-between;
    gap: 14px;
    font-size: 11px;
  }

  .project-title {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  .project-description {
    margin-top: 18px;
    font-size: 16.5px;
  }

  .project-details div {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }

  .text-link {
    width: 100%;
    margin-top: 26px;
    padding: 15px 16px;
    font-size: 11px;
  }

  #contact {
    display: block;
    min-height: auto;
    padding: 72px var(--side-pad) calc(112px + env(safe-area-inset-bottom, 0px));
  }

  .contact-card {
    padding: 26px 22px;
  }

  .contact-card .card-title {
    max-width: 312px;
    font-size: clamp(30px, 8.4vw, 42px);
  }

  .contact-link {
    width: 100%;
    margin-top: 28px;
    padding: 14px;
    font-size: clamp(15px, 4.2vw, 18px);
  }
}

@media (max-width: 389px) {
  .hero-title {
    font-size: clamp(42px, 12vw, 45px);
  }

  .hero-figure {
    height: clamp(205px, 56vw, 224px);
  }

  .contact-link {
    gap: 9px;
    padding: 12px;
    font-size: 13.5px;
  }

  .contact-icon {
    width: 28px;
    height: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms;
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
