@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
@font-face {
  font-family: 'Hunter Symbols';
  src: url('./assets/fonts/hunter_t.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.scramble .glyph {
  font-weight: 400;
}
:root {
  --ink: #19191d;
  --paper: #f5eddf;
  --coral: #ee745b;
  --muted: #aea9a3;
  --line: #ffffff24;
  --rail: 110px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Manrope, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 6px;
}
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 20;
  background: #19191d;
  border-right: 1px solid #ffffff24;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 31px 12px 22px;
  color: var(--paper);
}
.logo {
  font-size: 30px;
  letter-spacing: -2px;
  font-weight: 800;
}
.logo span {
  color: var(--coral);
}
.rail nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: auto 0;
  width: 100%;
}
.rail nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 13px 0;
  font-size: 9px;
  letter-spacing: 0.3px;
  color: #aaa6a3;
  border-radius: 8px;
  transition:
    background 0.25s,
    color 0.25s;
}
.rail nav a span {
  font-size: 21px;
  line-height: 1;
}
.rail nav a:hover,
.rail nav a[aria-current] {
  background: #ee745b17;
  color: var(--coral);
}
.rail-bottom {
  font-size: 9px;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rail-bottom:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: var(--progress, 0%);
  background: var(--coral);
}
main {
  margin-left: var(--rail);
}
.hero {
  background: var(--coral);
  color: var(--ink);
  min-height: 95vh;
  padding: 35px 6vw 46px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  position: absolute;
  top: 30px;
  left: 6vw;
  right: 6vw;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 65px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 24px;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(72px, 9.8vw, 160px);
  letter-spacing: -0.075em;
  line-height: 0.86;
  text-transform: uppercase;
  margin: 0 0 32px;
  font-weight: 700;
}
.hero h1 span {
  color: var(--paper);
}
.hero-description {
  font-size: 16px;
  line-height: 1.75;
  max-width: 465px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  border: 1px solid currentColor;
  padding: 15px 22px;
  font-size: 12px;
  transition:
    translate 0.2s,
    background 0.2s;
}
.button:hover {
  translate: 0 -3px;
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.portrait {
  position: relative;
  margin: 0;
  transform: rotate(5deg);
  width: 100%;
  max-width: 365px;
  justify-self: end;
}
.portrait:before {
  content: '';
  position: absolute;
  inset: 17px -17px -17px 17px;
  border: 1px solid var(--ink);
}
.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 0.85;
  object-fit: cover;
  filter: grayscale(1);
  position: relative;
}
.portrait figcaption {
  position: absolute;
  left: -27px;
  bottom: 28px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  padding: 16px 22px;
  transform: rotate(-5deg);
  line-height: 1.4;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid #19191d40;
  font-size: 10px;
}
.hero-bottom span:last-child {
  font-size: 15px;
}
.work {
  padding: 95px 6vw 55px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
}
.accent {
  color: var(--coral);
}
h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.055em;
  line-height: 1.03;
  margin: 0;
}
.section-head > p {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.project {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 45px;
  align-items: center;
  margin-bottom: 95px;
}
.project.reverse {
  grid-template-columns: 1fr 1.35fr;
}
.project.reverse .visual {
  order: 2;
}
.project .visual {
  position: relative;
  margin: 0;
  transition: transform 0.45s;
}
.project .visual:hover {
  transform: translateY(-6px);
}
.visual > img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
}
.visual .inset {
  position: absolute;
  right: 18px;
  bottom: -20px;
  width: 39%;
  border: 5px solid var(--ink);
  box-shadow: 0 8px 25px #0005;
}
.visual figcaption {
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}
.project h3 {
  font-size: clamp(25px, 2.5vw, 38px);
  letter-spacing: -1.2px;
  margin: 12px 0 20px;
  font-family: 'Space Grotesk', sans-serif;
}
.project .eyebrow {
  margin: 0;
  font-size: 9px;
}
.project p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.project .detail {
  border-left: 2px solid var(--coral);
  padding-left: 15px;
  color: var(--paper);
  font-size: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.chips span {
  border: 1px solid var(--line);
  padding: 7px 10px;
  font-size: 9px;
  color: #d5cec6;
}
.project .button {
  margin-top: 22px;
}
.gallery-button {
  background: none;
  color: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--coral);
  padding: 12px 0 7px;
  font-size: 11px;
  margin-top: 12px;
}
.experience {
  padding: 80px 6vw 100px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 65px;
}
.experience h2 {
  font-size: clamp(40px, 4.5vw, 65px);
}
.experience .intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 300px;
  margin-top: 25px;
}
.timeline article {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 20px;
}
.timeline time {
  font-size: 10px;
  color: var(--coral);
  padding-top: 4px;
}
.timeline h3 {
  font-size: 16px;
  margin: 0 0 9px;
}
.timeline p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.contact {
  background: var(--coral);
  color: var(--ink);
  padding: 70px 6vw 80px;
}
.contact h2 {
  font-size: clamp(45px, 6.8vw, 100px);
  max-width: 1000px;
}
.contact .button {
  margin-top: 30px;
}
.footer {
  padding: 25px 6vw;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
dialog {
  border: 1px solid #ffffff40;
  padding: 15px;
  background: var(--ink);
  color: var(--paper);
  max-width: 90vw;
}
dialog::backdrop {
  background: #000d;
}
dialog img {
  display: block;
  max-width: 85vw;
  max-height: 75vh;
}
dialog button {
  float: right;
  background: transparent;
  color: var(--paper);
  border: 0;
  padding: 10px;
  margin-bottom: 8px;
}
.hero-content {
  animation: enter 0.65s both;
}
@keyframes enter {
  from {
    opacity: 0;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (min-width: 1700px) {
  .hero,
  .work,
  .experience,
  .contact {
    padding-left: 9vw;
    padding-right: 9vw;
  }
}
@media (max-width: 950px) {
  :root {
    --rail: 85px;
  }
  .hero-content {
    gap: 25px;
  }
  .hero h1 {
    font-size: 10vw;
  }
  .hero-description {
    font-size: 14px;
  }
  .portrait {
    max-width: 270px;
  }
  .project,
  .project.reverse {
    gap: 25px;
  }
  .experience {
    gap: 25px;
    grid-template-columns: 1fr 1.3fr;
  }
}
@media (max-width: 640px) {
  :root {
    --rail: 60px;
  }
  .rail {
    padding: 21px 4px;
  }
  .logo {
    font-size: 23px;
  }
  .rail nav a {
    font-size: 8px;
    gap: 7px;
    padding: 12px 0;
  }
  .rail nav {
    gap: 9px;
  }
  .rail-bottom {
    font-size: 8px;
  }
  .hero {
    padding: 70px 24px 30px;
    min-height: 0;
  }
  .hero-top {
    left: 24px;
    right: 24px;
    font-size: 8px;
  }
  .hero-top span:last-child {
    display: none;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-top: 25px;
    gap: 38px;
  }
  .hero h1 {
    font-size: clamp(50px, 12vw, 80px);
    letter-spacing: -4px;
  }
  .hero-description {
    font-size: 13px;
  }
  .portrait {
    width: 70%;
    max-width: 250px;
    align-self: center;
    margin: 8px 0 15px;
  }
  .portrait figcaption {
    font-size: 9px;
    padding: 10px 14px;
    left: -14px;
  }
  .button {
    padding: 12px 14px;
    font-size: 10px;
    gap: 14px;
  }
  .hero-bottom {
    margin-top: 32px;
    flex-wrap: wrap;
    font-size: 8px;
    line-height: 1.8;
  }
  .hero-bottom span:last-child {
    display: none;
  }
  .work {
    padding: 55px 24px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 32px;
  }
  .section-head > p {
    font-size: 12px;
  }
  h2 {
    font-size: 39px;
  }
  .project,
  .project.reverse {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 65px;
  }
  .project.reverse .visual {
    order: 0;
  }
  .project h3 {
    font-size: 29px;
    margin-bottom: 14px;
  }
  .project p {
    font-size: 12px;
  }
  .experience {
    display: block;
    padding: 50px 24px;
  }
  .timeline {
    margin-top: 35px;
  }
  .timeline article {
    grid-template-columns: 75px 1fr;
    gap: 10px;
  }
  .timeline h3 {
    font-size: 14px;
  }
  .contact {
    padding: 45px 24px;
  }
  .contact h2 {
    font-size: 42px;
  }
  .footer {
    padding: 20px 24px;
    font-size: 8px;
    gap: 20px;
  }
  .footer span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before {
    animation: none !important;
    transition: none !important;
  }
}
:root {
  --coral: #ffd400;
  --rail: 76px;
}
.rail {
  padding: 28px 8px 24px;
  background: #111214;
}
.logo {
  font-size: 23px;
}
.rail nav {
  gap: 0;
  position: relative;
  width: 44px;
}
.rail nav:before {
  content: '';
  position: absolute;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: #ffffff29;
  left: 50%;
  pointer-events: none;
}
.rail nav a {
  position: relative;
  height: 76px;
  padding: 0;
  justify-content: center;
  border-radius: 0;
  background: transparent !important;
}
.rail nav a:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #777;
  background: #111214;
  z-index: 1;
  box-shadow: 0 0 0 7px #111214;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.rail nav a[aria-current]:before {
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.15);
}
.rail nav a:hover:before {
  border-color: var(--coral);
}
.rail-bottom {
  color: var(--coral);
  font-size: 9px;
  letter-spacing: 2px;
}
.progress {
  display: none;
}
@media (max-width: 640px) {
  :root {
    --rail: 52px;
  }
  .rail {
    padding: 20px 4px;
  }
  .logo {
    font-size: 20px;
  }
  .rail nav {
    gap: 0;
  }
  .rail nav a {
    padding: 0;
    height: 64px;
  }
  .rail-bottom {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
}
@media (max-height: 500px) {
  .rail nav a {
    height: 44px;
  }
  .rail-bottom {
    writing-mode: horizontal-tb;
    font-size: 6px;
    letter-spacing: 0;
  }
  .rail-bottom:before {
    display: none;
  }
  .rail {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
.visual .inset {
  display: none;
}
.slide-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #101114;
  cursor: zoom-in;
}
.slide-open img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}
.carousel-controls button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  width: 40px;
  height: 36px;
}
.carousel-controls button:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.carousel-count {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}
.carousel-hint {
  font-size: 10px;
  color: var(--muted);
}
dialog {
  padding: 16px;
  max-width: 94vw;
}
dialog .modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
dialog .modal-toolbar button {
  float: none;
  margin: 0;
  border: 1px solid var(--line);
}
dialog .modal-toolbar span {
  font-size: 12px;
}
dialog img {
  width: 84vw;
  height: 72vh;
  object-fit: contain;
}
dialog .modal-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}
dialog .modal-nav button {
  float: none;
  margin: 0;
  border: 1px solid var(--line);
}
.gallery-button {
  display: none;
}
dialog .modal-nav[hidden] {
  display: none;
}
.demo-mock {
  margin-top: 24px;
}
.demo-mock summary {
  display: inline-flex;
  list-style: none;
  cursor: pointer;
  background: var(--coral);
  color: var(--ink);
  border-color: var(--coral);
  font-weight: 700;
}
.demo-mock summary::-webkit-details-marker {
  display: none;
}
.demo-mock summary:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}
.demo-mock p {
  max-width: 320px;
  font-size: 12px;
}
.scramble {
  font-weight: 800;
  display: inline-block;
  min-height: 1.75em;
  white-space: nowrap;
  letter-spacing: -0.4px;
}
.scramble .slot {
  display: inline-block;
  clip-path: inset(0);
  white-space: pre;
  text-align: center;
}
.scramble .glyph {
  font-family: var(--symbol-font, monospace);
  opacity: 0.65;
}
.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;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.contact .contact-actions .button {
  margin-top: 0;
  border-radius: 4px;
  min-width: 145px;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  box-shadow: 0 2px 3px #19191d12;
}
.contact-actions svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.contact-actions .button:hover {
  background: #19191d0c;
}
