:root {
  --editorial: Georgia, 'Times New Roman', serif;
  --paper: #f7f4ea;
  --ink: #1e2723;
  --green: #204037;
  --muted: #4d5c51;
  --line: #d7d3c4;
  --gold: #f0d9b8;
  --rust: #963422;
}
body { background: var(--paper); }
.wrap { width: min(1320px, calc(100% - clamp(32px, 10vw, 144px))); }
.site-header { background: #f8f3e9f5; backdrop-filter: blur(16px); }
.site-header .bar { min-height: 72px; }
.site-header .brand { font: 770 clamp(.9rem, 1.5vw, 1.1rem)/1.15 var(--sans); letter-spacing: -.04em; gap: 8px; }
.studio-mark { color: var(--rust); font-size: 1.55em; line-height: 1; }
.site-header nav a { font-weight: 650; }
.button { border-radius: 100px; }
.button span { transition: transform 180ms ease; }
.button:hover span { transform: translate(2px, -2px); }

.story-stage { top: 72px; min-height: calc(100svh - 72px); }
.story .hero-copy { padding-block: clamp(40px, 7vw, 108px); }
.story h1 {
  font: 800 clamp(2.8rem, 7.4vw, 7.5rem)/.92 var(--sans);
  max-width: none;
  letter-spacing: -.075em;
}
.story h1 span { display: block; }
.story .button { background: var(--rust); border-color: var(--rust); color: #fffaf1; }
.hero-offer { display: grid; gap: 3px; margin-block: 20px; max-width: 37ch; color: #fffaf1; }
.hero-offer p, .service-offer p { margin: 0; }
.hero-price { font-weight: 650; }
.hero-price strong { color: var(--gold); font-size: 1.5em; line-height: 1; }
.story .eyebrow { color: var(--gold); margin-bottom: 18px; }
.story-film::after { background: linear-gradient(90deg,#10231deb,#10231d75 45%,transparent 84%),linear-gradient(0deg,#13251fdf,transparent 61%); }
.work-link { color: #fff7e7; font-weight: 650; font-size: .9rem; text-underline-offset: 5px; white-space: nowrap; }
.film-progress { position: absolute; inset: auto 0 0; height: 3px; background: #fff7e744; }
.film-progress::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--film-progress,0)); transform-origin: left; }

#work, #services, #about, #contact { padding-block: clamp(36px, 6vw, 86px); }
#work .gallery-heading { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.gallery-heading h2, .services-heading h2, .about h2, .contact h2 { font-size: clamp(2.65rem, 6vw, 6rem); font-family: var(--editorial); line-height: .98; letter-spacing: -.06em; }
.gallery-heading p { margin-top: 9px; }
.gallery-track { gap: 20px; margin-top: 18px; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #8d9d8c transparent; }
.gallery-card { flex-basis: min(73%, 770px); }
.gallery-preview { border-radius: 12px; box-shadow: inset 0 0 0 1px #192b2417; }
.gallery-caption { padding: 13px 2px 4px; }
.gallery-caption h3 { font-family: var(--editorial); }
.gallery-controls { align-items: center; }
.gallery-controls button { transition: background-color 160ms ease, color 160ms ease; }
.gallery-controls button:hover:enabled { color: var(--paper); background: var(--green); }
.portfolio-position { font-size: .72rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

#services { background: #18342b; color: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(18px,6vw,85px); align-items: end; }
#services .eyebrow { color: var(--gold); }
.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 29%);
  align-items: end;
  gap: clamp(18px, 5vw, 64px);
}
.service-offer { padding: 5px 0 5px 20px; border-left: 2px solid var(--gold); }
.service-price { color: var(--gold); font-weight: 650; }
.service-price strong { font: 400 clamp(2.4rem, 4.5vw, 4.25rem)/1 var(--editorial); letter-spacing: -.065em; }
.service-offer p + p { margin-top: 8px; }
#services .service-grid { margin-top: 24px; gap: 12px; }
#services .service-grid article { padding: 18px; border: 1px solid #a5b5a250; border-radius: 8px; background: #ffffff08; }
#services .service-grid article p { color: #d9e4d7; margin-bottom: 0; }
.process { border-color: #a5b5a250; margin-top: clamp(30px, 4vw, 56px); }
.process-heading { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.process-heading .step-count { color: var(--gold); font: 400 clamp(3.3rem, 8vw, 7rem)/.9 var(--editorial); margin: 0; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.process-heading .eyebrow { margin: 0 0 6px; }
#services .gallery-controls button { color: var(--paper); border-color: #b9cabb; }
#services .gallery-controls button:hover:enabled { color: var(--ink); background: var(--gold); }
.process-step h4 { background: #36574a; }
.process-step:not(:last-child) h4::after { color: var(--gold); }
.process-owner, .process-designer { color: var(--ink); }
.process-track { scrollbar-width: thin; scrollbar-color: #a5b5a2 transparent; }

#about { border-bottom: 1px solid var(--line); }
.contact { background: #20392f; }
.contact-layout > div:last-child p { margin-top: 0; }
.contact .email { display: block; margin: 9px 0 0; color: #f7ecda; }
@media (max-width: 680px) {
  .site-header .bar { min-height: 106px; }
  .story-stage { top: 106px; min-height: calc(100svh - 106px); }
  .story .hero-copy { padding-block: 36px; }
  .story h1 { font-size: clamp(2.25rem, 9.1vw, 4.4rem); }
  .story-film::after { background: linear-gradient(0deg,#10231df2 8%,#10231d68 74%,transparent); }
  .contact-layout, .services-heading { grid-template-columns: 1fr; gap: 13px; }
  .hero-offer { margin-block: 14px; font-size: .93rem; }
  .gallery-card { flex-basis: 89%; }
  .portfolio-position { display: none; }
  .process > .gallery-heading { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .story-stage { top: 0; }
  .film-progress { display: none; }
  .button span, .gallery-controls button { transition: none; }
}
@media (min-width: 681px) {
  .site-header .brand { max-width: none; }
}
.button span[aria-hidden="true"] { display: inline-block; position: relative; width: 11px; height: 11px; font-size: 0; flex: 0 0 11px; }
.button span[aria-hidden="true"]::before {
  content: ''; position: absolute; width: 7px; height: 7px; top: 0; right: 0;
  border-top: 1.5px solid; border-right: 1.5px solid;
}
.button span[aria-hidden="true"]::after {
  content: ''; position: absolute; width: 12px; height: 1.5px; top: 5px; left: 0;
  background: currentColor; transform: rotate(-45deg);
}

#services .service-card { display: grid; align-content: start; gap: 15px; padding: clamp(16px, 2.5vw, 27px); }
.service-icon {
  display: block; width: 40px; height: 40px; padding: 8px;
  border-radius: 50%; background: #ecd8ac15;
  fill: none; stroke: var(--gold); stroke-width: 1.35;
  stroke-linecap: round; stroke-linejoin: round;
}
.about { grid-template-columns: 1fr 1fr; gap: clamp(22px, 6vw, 80px); }
.about-copy p:not(.eyebrow) { max-width: 47ch; }
@media (max-width: 680px) {
  #services .service-card { grid-template-columns: auto minmax(0, 1fr); gap: 13px; }
  #services .service-card p { margin-top: 6px; }
  .about { grid-template-columns: 1fr; }
}

.studio-motion {
  margin: 0;
  min-width: 0;
  border-block: 1px solid var(--line);
  padding-top: 12px;
}
.studio-image {
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: #eadbc4;
}
.studio-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio-motion figcaption {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(10px, 3vw, 28px);
  padding-block: 14px;
  font-size: .82rem;
}
.studio-motion .eyebrow { display: block; margin-bottom: 6px; font-size: .62rem; }
.studio-request p { margin: 0; font: clamp(1.06rem, 2vw, 1.48rem)/1.24 var(--editorial); }
.studio-update { padding-left: clamp(10px, 2vw, 24px); border-left: 1px solid var(--line); line-height: 1.42; }
.studio-update strong { display: block; margin-bottom: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .studio-motion.is-entering img { animation: studio-image-in 680ms cubic-bezier(.2,.65,.3,1) both; }
  .studio-motion.is-entering .studio-update { animation: studio-update-in 460ms 540ms ease-out both; }
  @keyframes studio-image-in {
    from { opacity: .66; transform: scale(1.035); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes studio-update-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.contact .contact-layout { align-items: start; }
.inquiry-form, .inquiry-form label { display: grid; gap: 7px; }
.inquiry-form { gap: 13px; }
.inquiry-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inquiry-form label { font-size: .88rem; font-weight: 650; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #afbea9;
  border-radius: 5px;
  background: #fffaf1;
  color: var(--ink);
  font: 1rem/1.4 var(--sans);
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.inquiry-form button { justify-self: start; cursor: pointer; }
.inquiry-form #email-hint { margin: 0; font-size: .85rem; }
@media (max-width: 480px) {
  .inquiry-row { grid-template-columns: 1fr; }
}
