:root {
  color-scheme: light;
  --paper: #f9ebe7;
  --paper-deep: #f0dcd6;
  --ink: #2b0d15;
  --wine: #350d19;
  --red: #a82b35;
  --cherry: #d94042;
  --muted: #66464a;
  --line: #d4b8b5;
  --gutter: clamp(20px, 4.65vw, 76px);
  --canvas: 1600px;
  --display: "Kanit", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  font-family: "Geist", Arial, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:not(:disabled) { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
[hidden] { display: none !important; }
main { overflow: clip; }
[id] { scroll-margin-top: 28px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--canvas)); margin-inline: auto; }
.section-spacing { padding-block: clamp(78px, 10.4vw, 160px); }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: absolute; top: 12px; left: 12px; z-index: 10; background: white; padding: 10px 15px; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: clamp(62px, 6.5vw, 94px);
  border-bottom: 1px solid var(--line);
}
.site-mark { justify-self: start; display: block; }
.site-mark img { width: clamp(30px, 3.2vw, 44px); height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 4.1vw, 64px); }
.site-header nav a, .header-contact { font-size: .875rem; font-weight: 600; }
.site-header nav a:hover, .header-contact:hover { color: var(--red); }
.header-contact { justify-self: end; border-bottom: 1px solid currentColor; padding-block: 3px; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 53vw, 815px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  padding-top: clamp(24px, 3vw, 42px);
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-title {
  z-index: 1;
  position: relative;
  align-self: center;
  margin: clamp(38px, 4.4vw, 65px) 0 0;
  color: var(--red);
  background: linear-gradient(174deg, #711426 12%, #a32132 56%, #df493f 98%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--display);
  font-size: min(21.2vw, 348px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.052em;
  white-space: nowrap;
}
.hero-title span { letter-spacing: -.075em; }
.hero-halo {
  position: absolute;
  height: 95%;
  width: 86%;
  bottom: -28%;
  left: 9%;
  pointer-events: none;
  background: radial-gradient(ellipse, #dc6b61 0%, #eda398 28%, transparent 69%);
  opacity: .49;
}
.hero-person {
  position: absolute;
  z-index: 2;
  width: clamp(280px, 28.8vw, 460px);
  left: 51.5%;
  bottom: -2.5%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-person img {
  width: 100%;
  height: auto;
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px));
  transition: transform .48s cubic-bezier(.2,.65,.32,1);
}
.hero-caption {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-bottom: clamp(26px, 3.3vw, 48px);
}
.hero-caption p { font-size: clamp(1.04rem, 2.1vw, 2.2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.04; }
.hero-caption em { font-family: var(--serif); font-size: 1.29em; font-weight: 400; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border: 1px solid transparent;
  padding: .7rem 1.28rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button-primary { color: white; background: #921f30; }
.button-primary:hover { background: #641325; }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--paper); background: var(--ink); }
.button-light { color: var(--wine); background: var(--paper); }
.button-light:hover { background: #ffd2ca; }

.film { position: relative; background: #f1ded8; padding-block: 18px clamp(24px, 4vw, 54px); }
.film-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.film-window { overflow: clip; display: grid; gap: clamp(7px, .8vw, 13px); }
.film-row {
  display: flex;
  width: max-content;
  gap: clamp(7px, .8vw, 13px);
  transform: translateX(var(--film-x, -140px));
}
.film-row[inert] { pointer-events: none; }
.film-row img { width: clamp(145px, 20vw, 355px); aspect-ratio: 1.54; object-fit: cover; border-radius: 6px; background: var(--paper-deep); }

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(42px, 9vw, 146px);
}
.about-figure { max-width: 565px; }
.about-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 180px 180px 9px 9px;
  background: #9fbdbe;
}
.about-image > img:first-child { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 42%; }
.about-signature { position: absolute; bottom: 5%; right: 6%; width: 44%; height: auto; filter: drop-shadow(0 2px 9px #350d19a0); }
.about-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 1px 0;
  margin-top: 6px;
  color: var(--muted);
  font-size: .8125rem;
}
.about-copy h2, .services h2, .work h2, .contact h2 {
  font-family: var(--display);
  font-size: clamp(3.65rem, 7vw, 8.25rem);
  font-weight: 800;
  line-height: .89;
  letter-spacing: -.06em;
}
.about-copy h2 em, .services h2 em, .work h2 em, .contact h2 em {
  font-family: var(--serif);
  font-size: 1.12em;
  margin-inline-start: .035em;
  font-weight: 400;
  letter-spacing: -.065em;
}
.about-copy h2 em, .work h2 em { color: var(--red); }
.about-lead { max-width: 29ch; margin: 32px 0 12px; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 600; line-height: 1.28; letter-spacing: -.04em; }
.about-story { max-width: 50ch; font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--muted); line-height: 1.65; }
.about-story [aria-hidden] { opacity: var(--word-opacity, 1); }
.about-copy .button { margin-top: 28px; }

.services { background: var(--wine); color: var(--paper); border-radius: clamp(26px, 4.8vw, 80px) clamp(26px, 4.8vw, 80px) 0 0; }
.services-content { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 92px); }
.services h2 em, .contact h2 em { color: #f8a6a1; }
.services-list { border-top: 1px solid #f9ebe74c; }
.service { padding-block: clamp(22px, 3vw, 42px); border-bottom: 1px solid #f9ebe74c; }
.service dt::before { content: attr(data-index); color: #ffadab; font: italic 400 clamp(1.7rem, 4.7vw, 4rem)/.8 var(--serif); }
.service dt { display: grid; grid-template-columns: minmax(48px, 16%) 1fr; gap: clamp(14px, 2.4vw, 34px); align-items: baseline; font-size: clamp(1.2rem, 2.3vw, 2.25rem); font-weight: 600; letter-spacing: -.055em; }
.service dd { max-width: 53ch; margin: .5rem 0 0 calc(max(48px, 16%) + clamp(14px, 2.4vw, 34px)); color: #eed9da; font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.5; }

.work { position: relative; margin-top: -1px; padding-top: clamp(72px, 9vw, 135px); background: var(--paper); }
.work-heading, .archive-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; }
.work-heading { margin-bottom: clamp(32px, 4.5vw, 72px); }
.featured { display: grid; gap: 24px; }
.project-panel {
  position: sticky;
  top: var(--stack-top, 12px);
  border: 1px solid #bb9997;
  border-radius: clamp(16px, 2.6vw, 40px);
  padding: clamp(12px, 1.8vw, 28px);
  background: var(--paper);
  box-shadow: 0 -8px 46px #350d1914;
}
.project-panel:nth-child(2) { background: #f2dfda; }
.project-panel:nth-child(3) { background: #efdad5; }
.project-top { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 2px 4px clamp(13px, 2vw, 26px); }
.project-top p { color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.project-top h3 { margin-top: .15em; font-family: var(--display); font-size: clamp(1.75rem, 3.1vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.project-images { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(5px, .9vw, 14px); }
.project-photo, .archive-tile { padding: 0; border: 0; background: transparent; text-align: left; }
.project-photo { display: block; overflow: hidden; border-radius: clamp(8px, 1.35vw, 22px); background: var(--paper-deep); }
.project-photo img { width: 100%; height: clamp(185px, 31vw, 495px); object-fit: cover; }
.project-photo img, .archive-tile img { transition: transform .4s cubic-bezier(.2,.65,.32,1); }
.project-photo:hover img, .archive-tile:hover img { transform: scale(1.035); }
.archive { padding-top: clamp(64px, 9vw, 135px); }
.archive-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.archive-heading h3 { font: 700 clamp(2.05rem, 4vw, 4.1rem)/.95 var(--display); letter-spacing: -.055em; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button { min-height: 40px; padding: 5px 13px; border: 1px solid #bb9997; border-radius: 25px; background: transparent; font-size: .875rem; }
.filters button:hover { border-color: var(--wine); }
.filters button[aria-pressed="true"] { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 32px) clamp(8px, 1.5vw, 24px); padding-top: 22px; }
.archive-tile { align-self: start; }
.archive-tile span { display: block; overflow: hidden; border-radius: 8px; background: var(--paper-deep); }
.archive-tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.archive-tile strong { display: block; margin-top: 8px; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.archive-more { text-align: center; margin-top: 30px; }

.contact { background: var(--wine); color: var(--paper); border-radius: clamp(26px, 4.8vw, 80px) clamp(26px, 4.8vw, 80px) 0 0; }
.contact-content { padding-top: clamp(54px, 8vw, 130px); }
.contact-main { display: flex; justify-content: space-between; align-items: end; gap: 22px; padding-bottom: clamp(36px, 6vw, 85px); }
.contact-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px 24px; padding: 20px 0 27px; border-top: 1px solid #f9ebe74c; font-size: .875rem; }
.contact-meta a:hover { text-decoration: underline; }
.socials { display: flex; gap: 18px; }
.lightbox {
  width: min(95vw, 1000px);
  max-height: 94dvh;
  padding: 14px;
  border: 1px solid #ffb3ae61;
  border-radius: 16px;
  color: var(--paper);
  background: #251018;
}
.lightbox::backdrop { background: #17090ede; }
.lightbox-bar, .lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox-title h2 { font-size: clamp(.92rem, 2vw, 1.2rem); font-weight: 600; }
.lightbox-title p { color: #e6bdbf; font-size: .8125rem; margin-top: 3px; }
.lightbox-view { display: grid; place-items: center; margin-top: 12px; }
.lightbox-view img { width: 100%; height: min(66vh, 760px); height: min(66dvh, 760px); object-fit: contain; }
.lightbox-controls { justify-content: center; margin-top: 12px; }
.icon-button {
  width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid #f9ebe77a; background: transparent; color: inherit; font: 400 1.5rem/1 "Geist", sans-serif;
}
.icon-button:hover { background: #f9ebe725; }
.icon-button:disabled { opacity: .4; }
.noscript { padding: 18px var(--gutter); text-align: center; }
.noscript a { text-decoration: underline; }

@media (max-width: 1150px) {
  .hero-title { font-size: 21.3vw; }
}
@media (max-width: 850px) {
  .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: clamp(519px, 78vw, 635px); }
  .hero-person { width: clamp(245px, 39vw, 350px); bottom: 0; }
}
@media (max-width: 700px) {
  .hero { min-height: clamp(500px, 122vw, 582px); }
  .hero-person { width: min(55vw, 330px); bottom: 16%; }
  .hero-title { font-size: 21.1vw; margin-top: 42px; }
  .hero-topline { letter-spacing: .05em; }
  .hero-halo { width: 140%; height: 87%; bottom: -13%; left: -20%; }
  .hero-caption { padding-bottom: 16px; }
  .hero-caption .button { padding-inline: 12px; }
  .hero-caption p { letter-spacing: -.045em; }
  .film-heading { letter-spacing: .04em; font-size: .75rem; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-copy { grid-row: 1; }
  .about-figure { width: min(87%, 430px); }
  .about-image { border-radius: 120px 120px 9px 9px; }
  .about-lead { margin-top: 20px; }
  .services-content { grid-template-columns: minmax(0, 1fr); }
  .archive-heading { align-items: start; flex-direction: column; gap: 14px; }
  .work-heading { align-items: start; flex-direction: column; gap: 14px; }
  .project-panel { position: relative; top: auto; }
  .project-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-photo:first-child { grid-column: 1 / -1; }
  .project-photo:first-child img { height: clamp(190px, 58vw, 355px); }
  .project-photo img { height: clamp(116px, 35vw, 245px); }
  .project-top .button { min-height: 39px; padding-inline: 12px; }
  .contact-main { flex-direction: column; align-items: start; }
}
@media (max-width: 460px) {
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header nav { gap: 16px; }
  .site-header nav a, .header-contact { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .film-row, .hero-person img { transform: none !important; }
  .about-story [aria-hidden] { opacity: 1 !important; }
  .project-panel { position: relative; top: auto; }
}

@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  .project-panel { scale: 1 !important; }
}
