@font-face {
  font-family: Manrope;
  src: url("../../fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  /* VANTA's case palette is local; other portfolio projects keep their own tokens. */
  --paper: #faf8f2;
  --ink: #211d16;
  --muted: #655b49;
  --line: #dfd3bc;
  --accent: #c5a05c;
  --surface: #efe4cd;
  --surface-soft: #f3ebda;
  --accent-hover: #d2b477;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
header,
main,
footer {
  max-width: 1536px;
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4%;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
header .brand {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.4px;
}
header > span {
  max-width: 260px;
  text-align: center;
  text-wrap: balance;
}
header a:last-child {
  padding: 12px 0;
  position: relative;
}
header a:last-child:after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease);
}
header a:last-child:hover:after,
header a:last-child:focus-visible:after {
  transform: translateY(-2px);
  background: var(--accent);
}
main {
  padding: 0 4%;
}
.intro {
  padding: 64px 0 44px;
  max-width: 1100px;
}
.category {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
h1 {
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 1.09;
  margin: 0 0 24px;
  text-wrap: balance;
}
.lead {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
  max-width: 660px;
  color: var(--muted);
  margin: 0;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding: 16px 2px;
}
.hero-mockup,
.detail-shot {
  padding: 20px 20px 0;
  background: var(--surface);
  border-radius: 16px;
}
.hero-mockup img,
.detail-shot img {
  height: auto;
  border: 1px solid var(--line);
  transition:
    transform 0.65s var(--ease),
    box-shadow 0.65s var(--ease);
  transform-origin: center;
}
.hero-mockup:hover img,
.detail-shot:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px #68502418;
}
h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.17;
  margin: 0;
  text-wrap: balance;
}
h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 15px;
}
p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 65ch;
}
p:last-child {
  margin-bottom: 0;
}
.brief {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  padding: 54px;
  background: var(--surface);
  border-radius: 16px;
  margin: 64px 0;
}
.brief > div {
  max-width: 650px;
}
.chapter {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.chapter > h2 {
  max-width: 700px;
  margin-bottom: 32px;
}
.prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 6%;
}
.prose p {
  margin: 0;
}
.prose p:first-child {
  font-size: 21px;
  line-height: 1.55;
}
.prose p:nth-child(3) {
  grid-column: 2;
  color: var(--muted);
  font-size: 16px;
}
.decisions {
  padding: 56px;
  background: var(--surface-soft);
  border-radius: 16px;
  margin: 20px 0 64px;
}
.decisions > h2 {
  max-width: 680px;
  margin-bottom: 32px;
}
.decision {
  background: var(--paper);
  border-radius: 12px;
  margin-bottom: 12px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.decision:hover {
  transform: translateX(4px);
  box-shadow: inset 3px 0 var(--accent);
}
.decision summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 26px 30px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.decision summary::-webkit-details-marker {
  display: none;
}
.decision summary:after {
  content: "+";
  font-size: 27px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.decision[open] summary:after {
  transform: rotate(45deg);
}
.decision p {
  padding: 0 30px 28px;
  margin: 0;
  max-width: 850px;
  color: var(--muted);
}
.note {
  font-size: 14px;
  color: var(--muted);
  max-width: 850px;
}
.decisions > .note {
  margin-top: 25px;
}
.detail-shot {
  margin: 0 0 60px;
}
.mobile-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  padding: 55px;
  background: var(--surface);
  border-radius: 16px;
  margin: 30px 0 70px;
  align-items: center;
}
.mobile-section figure {
  width: min(100%, 300px);
  margin: auto;
  transition: transform 0.6s var(--ease);
}
.mobile-section figure:hover {
  transform: translateY(-6px) rotate(-1deg);
}
.mobile-section img {
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.mobile-section h2 {
  margin-bottom: 28px;
}
.mobile-section > div {
  max-width: 620px;
}
.outcome {
  padding: 64px 0;
}
.outcome > h2 {
  max-width: 750px;
  margin-bottom: 35px;
}
.outcome-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 28px;
}
.outcome-grid > div {
  padding: 32px;
  background: var(--surface);
  border-radius: 16px;
  transition: transform 0.4s var(--ease);
}
.outcome-grid > div:hover {
  transform: translateY(-4px);
}
.outcome-grid > div:first-child {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.outcome-grid p {
  font-size: 17px;
}
.outcome-grid h3 {
  font-size: 25px;
}
.contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 55px;
  background: var(--accent);
  border-radius: 16px;
  transition:
    transform 0.5s var(--ease),
    background 0.5s var(--ease);
  margin: 0 0 60px;
}
.contact > span:first-child {
  font-size: clamp(30px, 3.5vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1.17;
}
.contact-action {
  font-size: 18px;
  white-space: nowrap;
  padding: 12px 0 8px;
  border-bottom: 1px solid currentColor;
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-arrow {
  display: inline-block;
  font-size: 28px;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.55s var(--ease);
}
.contact:hover,
.contact:focus-visible {
  transform: translateY(-4px);
  background: var(--accent-hover);
}
.contact:hover .contact-arrow,
.contact:focus-visible .contact-arrow {
  transform: rotate(45deg);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 4%;
  font-size: 12px;
  color: var(--muted);
}
.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
@media (max-width: 800px) {
  header {
    padding: 20px 5%;
  }
  main {
    padding: 0 5%;
  }
  .intro {
    padding-top: 48px;
  }
  .brief {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px;
    margin: 40px 0;
  }
  .chapter {
    padding: 44px 0;
  }
  .decisions {
    padding: 32px;
    margin-bottom: 40px;
  }
  .decision summary {
    font-size: 20px;
    padding: 22px;
  }
  .decision p {
    padding: 0 22px 24px;
  }
  .mobile-section {
    gap: 30px;
    padding: 32px;
    margin-bottom: 44px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .hero-mockup,
  .detail-shot {
    padding: 12px 12px 0;
  }
  .outcome {
    padding: 44px 0;
  }
  .outcome-grid > div {
    padding: 24px;
  }
  .contact {
    padding: 32px;
  }
  .contact-action {
    font-size: 15px;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  header {
    font-size: 11px;
  }
  header .brand {
    font-size: 20px;
  }
  header > a:last-child {
    display: none;
  }
  h1 {
    font-size: 40px;
  }
  h1 br {
    display: none;
  }
  p {
    font-size: 17px;
  }
  .brief,
  .decisions,
  .mobile-section {
    padding: 25px;
  }
  .prose {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .prose p:first-child {
    font-size: 19px;
  }
  .prose p:nth-child(3) {
    grid-column: auto;
  }
  .mobile-section {
    grid-template-columns: 1fr;
  }
  .mobile-section > div {
    grid-row: 1;
  }
  .mobile-section figure {
    width: min(100%, 270px);
  }
  .outcome-grid {
    grid-template-columns: 1fr;
  }
  .outcome-grid > div:first-child {
    grid-row: auto;
  }
  .decision summary {
    font-size: 19px;
    padding: 20px;
  }
  .decision p {
    padding-inline: 20px;
  }
  .contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
    gap: 28px;
  }
  footer {
    flex-direction: column;
  }
  .hero-mockup,
  .detail-shot {
    padding: 8px 8px 0;
  }
  figcaption {
    font-size: 12px;
  }
  .reveal-ready {
    transform: translateY(12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
  .contact:hover,
  .contact:focus-visible,
  .contact:hover .contact-arrow,
  .contact:focus-visible .contact-arrow,
  .decision:hover,
  .outcome-grid > div:hover,
  .hero-mockup:hover img,
  .detail-shot:hover img,
  .mobile-section figure:hover {
    transform: none;
  }
}
