@font-face {
  font-family: Manrope;
  src: url("./assets/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #14191c;
  --paper: #efeee8;
  --white: #f8f7f3;
  --steel: #8eaaa0;
  --deep-steel: #37594f;
  --muted: #4c5653;
  --line: #c8cdc6;
  --blue: var(--deep-steel);
  --dark-line: #3a4547;
  --dark-muted: #becac5;
  --page-gutter: clamp(20px, 5vw, 82px);
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-synthesis: none;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; min-width: 0; }
body:is(.menu-open, .modal-open) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
figure, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3 { margin: 0; font-weight: 750; line-height: 1.04; letter-spacing: -.055em; }
h2 { font-size: clamp(2.6rem, 5.2vw, 5.25rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -.035em; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 .8125rem/1.5 var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.ruled-label { display: inline-block; flex: 0 0 22px; border-top: 2px solid var(--deep-steel); }
.skip { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 14px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { position: sticky; z-index: 5; top: 0; background: var(--ink); color: var(--white); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  max-width: 1700px;
  gap: 24px;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 154px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.desktop-nav a { padding-block: 12px; font-size: .9375rem; color: var(--dark-muted); }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--white); }
.header-phone { font-weight: 750; white-space: nowrap; font-size: .9375rem; }
.header-phone:hover { color: var(--steel); }
.menu-toggle, #menu-close {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--dark-line);
  background: transparent;
  white-space: nowrap;
  font-size: .8125rem;
}
.menu-toggle span, #menu-close span { font-size: 1.25rem; line-height: 1; }
.site-menu {
  border: 0;
  padding: clamp(22px, 5vw, 50px);
  max-width: none;
  max-height: 100dvh;
  width: min(100%, 560px);
  height: 100dvh;
  margin: 0 0 0 auto;
  background: var(--ink);
  color: var(--white);
}
.site-menu::backdrop, #photo-dialog::backdrop { background: rgb(12 17 18 / .85); }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#menu-close { display: inline-flex; min-height: 42px; }
.menu-links { display: grid; margin: 42px 0 30px; border-top: 1px solid var(--dark-line); }
.menu-links a { padding: 16px 0; border-bottom: 1px solid var(--dark-line); font-size: clamp(1.6rem, 5vw, 2.5rem); font-weight: 700; }
.menu-links a[aria-current], .menu-phone { color: var(--steel); }

.action { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid var(--ink); padding: 10px 20px; font-size: .9375rem; font-weight: 750; }
.action-primary { background: var(--ink); color: var(--white); }
.action-primary:hover { background: var(--deep-steel); border-color: var(--deep-steel); }

.section-pad { padding: clamp(50px, 7.5vw, 112px) var(--page-gutter); border-top: 1px solid var(--line); }
.section-inner { width: min(100%, 1536px); margin-inline: auto; }
.heading-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 20px 46px; margin-bottom: clamp(25px, 4vw, 55px); }
.heading-row > p { max-width: 36ch; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.125rem); }

.services { background: var(--white); }
.services-body { display: grid; grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr); gap: clamp(26px, 5vw, 80px); }
.services-image img { width: 100%; height: clamp(270px, 30vw, 440px); object-fit: cover; object-position: center 38%; }
.services-image figcaption { margin-top: 8px; color: var(--muted); font-size: .8125rem; }
.service { border-bottom: 1px solid var(--line); }
.service:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.service summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; min-height: 68px; font-size: clamp(1.18rem, 2.3vw, 2rem); font-weight: 730; letter-spacing: -.038em; line-height: 1.2; }
.service[open] summary, .service summary:hover { color: var(--deep-steel); }
.service summary i { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line); }
.service summary i::before, .service summary i::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.service summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.service[open] summary i::after { display: none; }
.service-content { max-width: 53ch; padding: 0 0 21px 2px; color: var(--muted); }
.service-content a { display: inline-block; border-bottom: 1px solid var(--steel); margin-top: 12px; padding-bottom: 2px; color: var(--deep-steel); font-weight: 750; }

.work { background: #16191e; color: #f1f0ea; padding-block: 90px; border-color: #3d434b; }
.work .heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 50px; }
.work h2 { font-size: clamp(36px, 4.7vw, 72px); letter-spacing: -.06em; line-height: 1.1; font-weight: 600; }
.work .heading-row > p { flex-shrink: 0; max-width: none; margin-bottom: 5px; font-size: .8125rem; line-height: 1.8; color: #bbc0c7; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: 400px 290px; gap: 16px; }
.photo { position: relative; min-width: 0; border: 0; border-radius: 8px; background: #2e333c; padding: 0; overflow: hidden; text-align: left; isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.035); }
.photo::after { position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, #090f1dc4); pointer-events: none; content: ""; }
.photo-main { grid-column: span 2; }
.photo-tall { grid-column: 3; grid-row: span 2; }
.photo-label { position: absolute; z-index: 1; bottom: 20px; left: 22px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #fff; font-size: .8125rem; font-weight: 700; }
.photo-label i { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid #ffffff50; border-radius: 50%; font-style: normal; }
.gallery-expand { margin-top: 20px; }
.gallery-expand summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 10px 0; border-block: 1px solid #454a51; font-size: .875rem; font-weight: 650; }
.gallery-expand summary i { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #747b84; border-radius: 50%; font-size: 21px; font-style: normal; transition: transform .2s ease; }
.gallery-hide, .gallery-expand[open] .gallery-show { display: none; }
.gallery-expand[open] .gallery-hide { display: inline; }
.gallery-expand[open] summary i { transform: rotate(45deg); }
.gallery-archive { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.gallery-archive .photo { aspect-ratio: 4 / 3; }

.work-film { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 7vw; align-items: center; margin-top: 65px; padding-top: 50px; border-top: 1px solid #3d434b; }
.film-copy .eyebrow { font-weight: 800; letter-spacing: .1em; }
.film-copy h3 { margin: 28px 0; font-size: clamp(48px, 6vw, 90px); font-weight: 500; line-height: 1.05; letter-spacing: -.055em; }
.film-copy h3 span { color: #949fae; }
.film-copy > p:not(.eyebrow) { margin: 0 0 25px; color: #a6aeba; font-size: .875rem; line-height: 1.8; }
.work-film .video-wrap { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16 / 9; overflow: clip; border-radius: 8px; background: #242a33; }
.work-film .video-wrap::before { position: absolute; inset: -10%; background: center / cover no-repeat url("./assets/workshop/poster.jpg"); filter: blur(20px) brightness(.42); content: ""; }
.work-film .video-wrap::after { position: absolute; inset: 0; background: linear-gradient(180deg, #10182080, transparent 30%, transparent 60%, #101820a1); pointer-events: none; content: ""; }
.work-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.video-top, .video-bottom { position: absolute; z-index: 1; left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; }
.video-top { top: 26px; font-size: .6875rem; letter-spacing: .08em; }
.video-bottom { bottom: 27px; }
.video-bottom small { font-size: .6875rem; letter-spacing: .08em; }
.video-bottom p { margin-top: 8px; font-size: 1.5625rem; letter-spacing: -.04em; }
.video-bottom button { width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid #ffffff70; border-radius: 50%; background: #ffffff15; color: #fff; backdrop-filter: blur(5px); }

.process .eyebrow { margin-bottom: 15px; color: var(--deep-steel); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.process-grid li { border-top: 1px solid var(--line); padding-top: 20px; }
.process-grid li > span { display: block; margin-bottom: 18px; color: var(--deep-steel); font: 500 .875rem/1 var(--mono); }
.process-grid p { margin-top: 12px; color: var(--muted); }

.request-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 88px); align-items: start; }
.request-layout form { padding: clamp(18px, 3vw, 36px); border: 1px solid #aeb9b1; background: var(--white); }
.request-copy h2 { margin-bottom: 18px; }
.request-copy > a { margin-top: 20px; }
.request-contact { border-top: 1px solid #93a79e; padding-top: 20px; }
.request-contact p { margin-bottom: 16px; color: var(--muted); }
.contacts { background: var(--white); }
.contact-main address { margin-top: 22px; font-size: clamp(1.125rem, 2vw, 1.55rem); font-style: normal; font-weight: 750; }
.contact-main p { margin: 10px 0 22px; color: var(--muted); }
.contact-phone, .contact-email { display: table; width: fit-content; margin-bottom: 10px; font-weight: 750; }
.contact-phone { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.contact-email, .contact-phone:hover { color: var(--deep-steel); }
.contact-email:hover { text-decoration: underline; }
.contact-main .action { margin-top: 14px; }
.contact-map iframe { display: block; width: 100%; height: clamp(310px, 32vw, 490px); border: 1px solid var(--line); background: #e5e9e1; }
.footer { background: var(--ink); color: var(--dark-muted); padding: 24px var(--page-gutter); }
.footer-inner { display: flex; align-items: center; gap: 15px 28px; flex-wrap: wrap; justify-content: space-between; font-size: .875rem; }
.footer a:hover { color: var(--white); }
.footer .brand img { width: 128px; }

#photo-dialog { width: max-content; max-width: min(1000px, 92vw); max-height: 93svh; border: 1px solid #ffffff20; border-radius: 14px; padding: 18px; color: #fff; background: #16191e; overflow: auto; }
#photo-dialog::backdrop { background: #080b12df; backdrop-filter: blur(8px); }
#photo-dialog img { width: auto; max-width: 100%; max-height: 72svh; margin: auto; border-radius: 6px; object-fit: contain; }
#dialog-caption { margin-block: 12px; padding-right: 40px; font-size: .8125rem; }
.dialog-close { position: fixed; z-index: 2; top: 3vh; right: 4vw; width: 44px; height: 44px; border: 1px solid #ffffff50; border-radius: 50%; background: #16191e; color: #fff; font-size: 28px; }
.dialog-navigation { display: flex; align-items: center; justify-content: space-between; }
.dialog-navigation button { width: 50px; min-height: 44px; border: 1px solid #ffffff30; border-radius: 4px; background: #ffffff12; color: #fff; }
.dialog-navigation span { font-size: .8125rem; }

@media (max-width: 1100px) {
  .gallery { grid-template-rows: 310px 260px; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .gallery-archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .work { padding-block: 60px; }
  .work .heading-row { display: block; margin-bottom: 28px; }
  .work .heading-row > p { margin-top: 18px; }
  .work .heading-row > p br { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 250px 300px 230px; gap: 10px; }
  .photo-tall { grid-column: span 2; grid-row: auto; }
  .photo-tall img { object-position: 50% 22%; }
  .photo-label { bottom: 13px; left: 13px; right: 12px; font-size: .75rem; }
  .photo-label i { flex-basis: 23px; height: 23px; }
  .gallery-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work-film { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 35px; padding-top: 35px; }
  .film-copy h3 { margin: 20px 0; font-size: clamp(36px, 8.5vw, 48px); word-spacing: .05em; }
  .film-copy h3 br { display: none; }
  .film-copy > p:not(.eyebrow) { margin-bottom: 0; }
  .video-top, .video-bottom { left: 15px; right: 15px; }
  .video-top { top: 14px; }
  .video-bottom { bottom: 14px; }
  .video-bottom p { margin-top: 4px; font-size: 1.125rem; }
  #photo-dialog { max-width: 94vw; padding: 12px; }
  .dialog-close { top: 12px; right: 12px; }
}
@media (max-width: 380px) {
  .gallery { grid-template-rows: 220px 280px 200px; }
  .photo-label i { display: none; }
}

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { justify-content: flex-start; }
  .header-phone { margin-left: auto; }
}
@media (max-width: 850px) {
  .request-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 630px) {
  html { scroll-padding-top: 70px; }
  .header-inner { min-height: 58px; gap: clamp(7px, 2vw, 12px); padding-inline: 14px; }
  .header .brand img { width: clamp(78px, 28vw, 132px); }
  .header-phone { font-size: clamp(.72rem, 3vw, .875rem); }
  .menu-toggle { gap: 4px; padding-inline: 6px; min-height: 40px; }
  .heading-row, .services-body, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .services-image { display: none; }
  .process-grid { gap: 25px; }
  .process-grid li > span { margin-bottom: 10px; }
  .footer-inner { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
