:root {
  color-scheme: dark;
  --ink: #171c26;
  --cream: #f3e4ca;
  --blue: #254fa9;
  --red: #f3694f;
  --dim: #c8bdad;
  --line: rgba(243, 228, 202, .3);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
em { font-family: Georgia, serif; font-weight: 400; }
.wrap { width: min(100% - 9vw, 1440px); margin-inline: auto; }
.eyebrow, nav, .hero-caption, .section-head p, .project-label span, .footer-bottom {
  font-family: ui-monospace, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
}
.skip { position: fixed; top: .75rem; left: 1rem; z-index: 8; padding: .8rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.hero { min-height: min(820px, max(650px, 87svh)); position: relative; isolation: isolate; display: flex; flex-direction: column; border-radius: 0 0 11vw 2.5vw; overflow: hidden; }
.hero-image, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 83% 58%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgba(12,16,24,.81), rgba(12,16,24,.39) 48%, rgba(12,16,24,.07) 82%), linear-gradient(0deg, rgba(12,16,24,.74), transparent 28%, transparent 77%, rgba(12,16,24,.54)); }
.site-header { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.logo img { width: 134px; height: auto; }
nav { display: flex; gap: clamp(1.1rem, 3.6vw, 3.4rem); align-items: center; }
nav a:hover, .hero-caption a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .35em; }
.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 2.5rem; }
.hero-content .eyebrow { margin-bottom: 24px; color: var(--cream); }
h1 { font-size: clamp(4.2rem, 8.65vw, 9rem); line-height: .86; font-weight: 600; letter-spacing: -.074em; }
h1 em { letter-spacing: -.075em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .75em; min-height: 48px; border: 1px solid transparent; border-radius: 30px; padding: .68em 1.3em; cursor: pointer; background: var(--cream); color: var(--ink); font-size: .96rem; font-weight: 600; transition: background .2s, color .2s; }
.button:hover { background: var(--blue); color: var(--cream); border-color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 34px; }
.button span { font-size: .78em; }
.hero-caption { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: 16px 3vw 25px 0; }
.hero-caption > span { color: var(--dim); }
.work { padding-block: clamp(3.4rem, 7vw, 7.2rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 25px; }
h2 { font-size: clamp(2.4rem, 5.3vw, 5.5rem); font-weight: 600; line-height: .98; letter-spacing: -.066em; }
.section-head p { color: var(--dim); margin-bottom: .3rem; }
.section-head .eyebrow { margin-bottom: 1rem; color: #9bb5ff; }
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.25rem); row-gap: clamp(2.2rem, 5vw, 4.5rem); }
.project { grid-column: span 5; min-width: 0; }
.project:nth-child(4n + 1), .project:nth-child(4n + 4) { grid-column: span 7; }
.project-image { position: relative; isolation: isolate; overflow: hidden; height: clamp(280px, 34vw, 520px); background: #0d1119; border-radius: 3rem 1.1rem 4.8rem 1.1rem; }
.project:nth-child(even) .project-image { border-radius: 1.1rem 4.8rem 1.1rem 3rem; }
.project:nth-child(3n) .project-image { border-radius: 4.8rem 1.1rem 4.8rem 1.1rem; }
.project-image .project-still { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; transition: transform .35s; }
.project:nth-child(2) .project-still { object-position: center 36%; }
.project:hover .project-still { transform: scale(1.05); }
.card-logo { position: absolute; bottom: 1.35rem; left: 1.5rem; width: min(27%, 155px); height: auto; filter: drop-shadow(0 2px 12px #0d1119); }
.card-open { position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 1.3rem; transition: background .2s, color .2s; }
.project:hover .card-open, .project:focus-visible .card-open { background: var(--blue); color: var(--cream); }
.project-label { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem; border-bottom: 1px solid var(--line); padding: 15px 1px 17px; }
.project-label h3 { font-size: clamp(1.35rem, 3vw, 2.55rem); font-weight: 600; letter-spacing: -.045em; }
.project-label span { color: var(--dim); }
.about { background: var(--cream); color: var(--ink); padding-block: clamp(3.8rem, 8vw, 8.4rem); border-radius: 11vw 2.5vw 0 0; }
.about-grid { display: grid; grid-template-columns: .92fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 8rem); }
.about-mark { display: grid; place-items: center; min-height: clamp(200px, 23vw, 350px); padding: 2rem; border-radius: 36% 12% 34% 11% / 42% 24% 43% 24%; background: #e8d6b9; }
.about-mark img { width: 92%; }
.about .eyebrow { color: var(--blue); margin-bottom: 1.1rem; }
.about h2 { margin-bottom: 1.2rem; }
.about p:not(.eyebrow), .detail-copy p { max-width: 55ch; font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.6; }
.site-footer { background: var(--blue); padding-top: clamp(3.8rem, 7vw, 7.8rem); }
.site-footer h2 { margin: 1rem 0 1.6rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 3.5rem; padding: 1rem 0; border-top: 1px solid var(--line); }
dialog { width: min(680px, calc(100% - 2.5rem)); padding: 0; color: var(--cream); background: var(--ink); border: 1px solid var(--line); }
dialog::backdrop { background: rgba(7, 9, 14, .83); }
dialog form { position: absolute; right: .85rem; top: .8rem; }
dialog img { width: 100%; max-height: 48vh; object-fit: cover; }
.close { background: var(--cream); color: var(--ink); border: 0; border-radius: 100%; width: 44px; height: 44px; cursor: pointer; font-size: 1.6rem; }
.dialog-copy { padding: 1.5rem; }
.dialog-copy h2 { font-size: 2.25rem; margin-bottom: .7rem; }
.video-credit { display: inline-block; margin-top: .65rem; text-decoration: underline; text-underline-offset: .2em; }
.detail { padding-block: 2rem 5rem; }
.detail .back { display: inline-block; text-decoration: underline; text-underline-offset: .3em; margin-bottom: 2.25rem; }
.detail .eyebrow { color: var(--dim); margin-bottom: .8rem; }
.detail h1 { margin-bottom: 1.65rem; }
.detail figure { margin: 0; display: grid; overflow: hidden; border-radius: 3rem 1.1rem 4.8rem 1.1rem; background: #10151e; }
.detail figure img { width: 100%; height: clamp(340px, 59vw, 680px); object-fit: contain; }
.detail figcaption { padding: .85rem 1rem; color: var(--dim); font-size: .9rem; border-top: 1px solid var(--line); }
.detail-copy { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; margin-top: 2.5rem; }
.detail-copy h2 { font-size: clamp(2rem,4vw,3.5rem); margin-bottom: 1rem; }
.detail-copy dl { margin: 0; border-top: 1px solid var(--line); }
.detail-copy dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .8rem 0; }
.detail-copy dd { margin: 0; color: var(--dim); text-align: right; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.4rem); }
  .site-header { height: 72px; }
  .logo img { width: 99px; }
  nav { gap: 1rem; letter-spacing: .07em; }
  .hero { min-height: min(700px, max(555px, 86svh)); }
  .hero-image { object-position: 83% center; }
  .hero::after { background: linear-gradient(90deg, rgba(12,16,24,.75), rgba(12,16,24,.19)), linear-gradient(0deg, rgba(12,16,24,.78), transparent 29%, transparent 77%, rgba(12,16,24,.52)); }
  .hero-content { justify-content: end; padding-bottom: 3rem; }
  h1 { font-size: clamp(3.45rem, 13vw, 6rem); }
  .hero-caption { font-size: .61rem; letter-spacing: .07em; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .projects, .about-grid, .detail-copy { grid-template-columns: 1fr; }
  .project:nth-child(n) { grid-column: auto; }
  .projects { gap: 1.9rem; }
  .project-image { height: auto; aspect-ratio: 1.24; }
  .about-mark { min-height: 165px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.photography {
  background: #221b24;
  color: var(--cream);
  border-radius: 3vw 10vw 3vw 10vw;
  padding-block: clamp(3.6rem, 7vw, 7rem);
  margin-bottom: clamp(2rem, 5vw, 5rem);
}
.photography .eyebrow { color: #efb2b7; }
.photo-grid { display: grid; grid-template-columns: 1.24fr .81fr 1fr; gap: clamp(.9rem, 2vw, 1.8rem); align-items: start; }
.photo-grid figure { min-width: 0; margin: 0; }
.photo-grid figure:nth-child(2) { margin-top: 3.5rem; }
.photo-grid figure:nth-child(3) { margin-top: 1.55rem; }
.photo-frame { display: block; overflow: hidden; aspect-ratio: .78; border-radius: 3rem .8rem 1.2rem 3rem; background: #161319; }
.photo-grid figure:nth-child(2) .photo-frame { border-radius: .8rem 4rem 1.6rem 1rem; }
.photo-grid figure:nth-child(3) .photo-frame { border-radius: 3.5rem .8rem 3.5rem .8rem; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-frame:hover img { transform: scale(1.045); }
.photo-viewer { width: min(600px, calc(100% - 2rem)); }
.photo-viewer img { height: min(75dvh, 820px); max-height: none; object-fit: contain; background: #0f1117; }
.site-credit { text-transform: none; letter-spacing: normal; font-family: var(--sans); font-size: .83rem; text-align: center; }
.site-credit a { margin-left: .3em; text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid figure:first-child { grid-column: 1 / -1; }
  .photo-grid figure:nth-child(n) { margin-top: 0; }
  .photo-grid figure:first-child .photo-frame { aspect-ratio: 1.15; }
  .footer-bottom { flex-wrap: wrap; gap: .7rem 1rem; }
  .site-credit { order: 1; width: 100%; text-align: left; }
}
@media (max-width: 380px) {
  nav { gap: .7rem; font-size: .68rem; }
  .logo img { width: 81px; }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-enter {
    animation: scroll-enter .65s cubic-bezier(.22, 1, .36, 1) both;
  }
  .project:nth-child(even), .photo-grid figure:nth-child(2), .about-copy {
    animation-delay: 90ms;
  }
  .photo-grid figure:nth-child(3) { animation-delay: 160ms; }
  .scroll-enter:focus-within, .scroll-enter:focus { animation: none; }

  @supports (animation-timeline: scroll()) {
    .hero-image {
      animation: hero-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 650px;
    }
  }
}

@keyframes scroll-enter {
  from { opacity: .48; transform: translateY(21px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: translateY(5%) scale(1.1); }
}

:root {
  color-scheme: light;
  --paper: #f6eee0;
  --paper-line: #c9bead;
  --shell: min(100% - 7vw, 1480px);
  background: var(--paper);
  color: var(--ink);
}
.wrap { width: var(--shell); }
.site-header { height: clamp(68px, 7vw, 100px); border-bottom: 0; }
.site-header nav { font-family: var(--sans); font-weight: 650; text-transform: none; letter-spacing: 0; font-size: .96rem; }
.hero {
  min-height: clamp(570px, calc(100svh - 100px), 840px);
  color: var(--cream);
  background: #121923;
  border-radius: clamp(20px, 4vw, 58px) 12px clamp(62px, 10vw, 150px) 12px;
}
.hero-content, .hero-caption { margin-inline: clamp(24px, 5.3vw, 85px); }
.hero-content { padding-block: 4.2rem 1.3rem; }
.hero-content .eyebrow { margin-bottom: 26px; }
.hero::after {
  background: linear-gradient(90deg, rgba(11,15,22,.77), rgba(11,15,22,.33) 56%, rgba(11,15,22,.05) 98%),
              linear-gradient(0deg, rgba(11,15,22,.72), transparent 40%);
}
.hero-caption { min-height: 69px; padding: 0 2vw 1rem 0; text-transform: none; letter-spacing: .035em; }
.hero-motion { min-height: 44px; background: transparent; border: 0; color: inherit; padding: 0; cursor: pointer; font: inherit; }
.hero-motion:hover { text-decoration: underline; text-underline-offset: .35em; }
.hero-caption a { margin-left: auto; }
.button { transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.work { padding-block: clamp(4.4rem, 9vw, 10rem); }
.work .section-head { margin-bottom: clamp(1.7rem, 4vw, 3.1rem); }
.work .section-head p, .project-label span { color: #57524b; }
.project-label { border-color: var(--paper-line); }
.project-image, .project:nth-child(n) .project-image { border-radius: 10px 10px clamp(38px, 6vw, 92px) 10px; }
.project:nth-child(even) .project-image { border-radius: 10px 10px 10px clamp(38px, 6vw, 92px); }
.project:hover .project-still { transform: scale(1.027); }
.card-open { top: auto; bottom: .95rem; right: .95rem; }
.project:nth-child(odd) .card-open { bottom: 1.45rem; right: 1.45rem; }
.photography { background: var(--ink); border-radius: 0 9vw 0 9vw; }
.photo-frame:hover img { transform: scale(1.027); }
.about { background: var(--paper); }
.about-mark { background: #e9dcc5; }
.site-footer { color: var(--cream); border-radius: 0 9vw 0 0; }
.detail .eyebrow, .detail-copy dd { color: #57524b; }
.detail-copy dl, .detail-copy dl div { border-color: var(--paper-line); }
dialog video { display: block; width: 100%; max-height: 55dvh; background: #0f1117; }
dialog form { z-index: 1; }
@media (max-width: 720px) {
  :root { --shell: calc(100% - 2rem); }
  .hero { min-height: clamp(515px, calc(86svh - 65px), 690px); }
  .hero-content { padding-block: 2rem 1rem; }
  .hero-caption { min-height: 60px; padding-bottom: .6rem; }
  .hero-content .eyebrow { margin-bottom: 16px; }
  .hero-actions { margin-top: 25px; }
  .site-header nav { gap: clamp(.45rem, 2.2vw, 1rem); font-size: clamp(.79rem, 2.8vw, .92rem); }
}

.button-outline { border-color: rgba(243, 228, 202, .77); background: rgba(17, 23, 34, .49); color: var(--cream); }
.button-outline:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.contact-copy { max-width: 49ch; margin-bottom: 1.4rem; line-height: 1.55; }
.project-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  margin-top: clamp(2.6rem, 6vw, 6rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: #e9dcc5;
  border-radius: .7rem 3rem .7rem 2rem;
}
.project-contact h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.button-cobalt { background: var(--blue); color: var(--cream); }
.button-cobalt:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }


.film-viewer:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
  background: var(--blue);
  color: var(--cream);
  overflow: hidden;
  border-radius: clamp(35px, 6vw, 95px) 12px 12px 12px;
}
.film-viewer-image { height: clamp(310px, 43vw, 580px); overflow: hidden; background: var(--ink); }
.film-viewer-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.film-viewer-details { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.1rem; padding: clamp(1.4rem, 4vw, 4rem); }
.film-viewer-details h3 { font-size: clamp(2.05rem, 4.65vw, 5rem); line-height: .95; letter-spacing: -.062em; }
.film-viewer-details .button { margin-top: .5rem; }
.film-viewer-details .button:hover { background: var(--ink); }
.film-strip {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: clamp(.5rem,1.35vw,1.3rem);
  margin-top: 15px;
  background: var(--ink);
  border-block: 6px dashed #c4b6a3;
  padding: 11px clamp(.65rem, 2vw, 1.6rem) 8px;
  color: var(--cream);
}
.film-strip .film-frame { grid-column: auto; display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.film-strip .film-frame .project-image { display: block; border-radius: 4px; height: auto; aspect-ratio: 1.45; outline: 2px solid transparent; outline-offset: 2px; }
.film-frame[aria-pressed="true"] .project-image { outline-color: #f7b45b; }
.film-frame .project-label { min-height: 44px; display: block; padding: .55rem .06rem .3rem; border: 0; font-size: clamp(.85rem, 1.55vw, 1.05rem); line-height: 1.18; letter-spacing: -.018em; }
.photography .photo-grid { align-items: start; margin-top: 1.1rem; }
.photo-grid .photo-lead { grid-column: 1 / -1; margin-bottom: clamp(.6rem,2vw,1.6rem); }
.photo-grid .photo-lead .photo-frame { aspect-ratio: 2.05; border-radius: 12px clamp(45px, 9vw, 130px) 12px 12px; }
.photo-grid .photo-lead img { object-position: 50% 55%; }
@media (max-width: 720px) {
  .film-viewer:not([hidden]) { grid-template-columns: 1fr; }
  .film-viewer-image { height: auto; aspect-ratio: 1.2; }
  .film-viewer-details { gap: .65rem; padding: 1.15rem 1.2rem 1.4rem; }
  .film-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .photo-grid .photo-lead .photo-frame { aspect-ratio: 1.15; }
  .photo-grid figure:nth-child(2) { grid-column: 1 / -1; }
  .photo-grid figure:nth-child(2) .photo-frame { aspect-ratio: 1.25; }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.25rem, 6vw, 6rem);
}
.contact-details { margin: 2rem 0 0; max-width: 27rem; }
.contact-details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.contact-details dd { margin: 0; }
.contact-form {
  min-width: 0;
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.2rem, 3vw, 2.55rem);
  border-radius: 14px clamp(34px, 6vw, 85px) 14px 14px;
  background: var(--paper);
  color: var(--ink);
}
.contact-form h3 { font-size: clamp(1.6rem, 3vw, 2.45rem); line-height: 1; letter-spacing: -.045em; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.contact-form label { display: grid; gap: .45rem; font-size: .92rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #aaa192;
  border-radius: 9px;
  padding: .65rem .75rem;
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: #fffcf7;
}
.contact-form textarea { resize: vertical; }
.contact-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact-form .button { justify-self: start; }
.form-note, .form-status { font-size: .9rem; line-height: 1.45; }
.form-note { color: #57524b; }
.form-status { color: var(--blue); }
.form-status:empty { margin-top: -1.05rem; }
@media (max-width: 720px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 410px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

.project-source { display: inline-block; margin-top: 1rem; color: var(--blue); text-decoration: underline; text-underline-offset: .28em; }

.detail .project-video video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 75svh; background: var(--ink); }
.detail .project-video figcaption a { text-decoration: underline; text-underline-offset: .2em; }
