:root {
  --ink: #11100f;
  --paper: #f0ede7;
  --paper-deep: #dfd9cf;
  --warm: #a84f2e;
  --line: rgba(17, 16, 15, .18);
  --pad: clamp(1.25rem, 4vw, 4.75rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.55 "DM Sans", sans-serif; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--paper); color: var(--ink); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 5.4rem; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); color: white; transition: background .3s, color .3s, height .3s; }
.site-header.scrolled { height: 4.5rem; color: var(--ink); background: rgba(240,237,231,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand img { width: 7.8rem; filter: invert(1); transition: filter .3s; }
.site-header.scrolled .brand img { filter: none; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.7rem); }
.site-nav a { text-decoration: none; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; }
.site-nav a:hover { opacity: .58; }
.menu-toggle { display: none; width: 2.4rem; height: 2.4rem; border: 0; background: transparent; padding: .5rem; }
.menu-toggle span { display: block; height: 1px; margin: .42rem 0; background: currentColor; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; margin: 0; }
.hero-image img { height: 100%; object-fit: cover; object-position: 50% 32%; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(12,10,9,.72), rgba(12,10,9,.1) 68%), linear-gradient(0deg, rgba(12,10,9,.42), transparent 45%); }
.hero-copy { position: relative; z-index: 1; width: min(57rem, 90%); padding: 9rem var(--pad) 7vh; }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; font-weight: 600; }
h1, h2, h3 { font-family: "Manrope", sans-serif; font-weight: 500; letter-spacing: -.04em; }
h1 { max-width: 52rem; margin: 0; font-size: clamp(3.2rem, 8vw, 7.7rem); line-height: .92; }
.hero-intro { max-width: 32rem; margin: 2rem 0; font-size: clamp(1.02rem, 1.6vw, 1.3rem); }
.text-link { display: inline-flex; gap: 1.1rem; align-items: center; padding-bottom: .25rem; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

.page-section { padding: clamp(5rem, 11vw, 10rem) var(--pad); }
.statement { display: grid; grid-template-columns: 1fr 2.2fr; gap: 4rem; background: var(--ink); color: var(--paper); }
.statement h2 { margin: 0; font-size: clamp(2.8rem, 7vw, 6.8rem); line-height: .96; }
.statement-copy { grid-column: 2; max-width: 42rem; margin: 1rem 0 0; font-size: clamp(1.15rem, 2vw, 1.6rem); color: rgba(240,237,231,.72); }

.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; }
.section-heading > p { max-width: 30rem; margin: 0; color: rgba(17,16,15,.65); }
.section-heading.compact { grid-template-columns: 1fr; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.65rem, 1.4vw, 1.25rem); }
.gallery-item, .gallery-item--wide { grid-column: span 4; margin: 0; overflow: hidden; background: var(--paper-deep); }
.gallery-item--tall { grid-row: auto; }
.gallery-item button { display: block; width: 100%; aspect-ratio: 2 / 3; padding: 0; border: 0; cursor: zoom-in; background: transparent; overflow: hidden; }
.gallery-item img { height: 100%; object-fit: contain; transition: transform .65s ease, filter .65s ease; }
.gallery-item button:hover img { transform: scale(1.025); filter: saturate(.92); }

.services { border-top: 1px solid var(--line); }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 4rem 1fr 1.1fr auto; gap: 2rem; align-items: baseline; padding: 2.1rem 0; border-bottom: 1px solid var(--line); }
.service-list span { font-size: .7rem; letter-spacing: .15em; }
.service-list h3 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 2.2rem); }
.service-list p { margin: 0; color: rgba(17,16,15,.65); }
.service-toggle { border: 0; border-bottom: 1px solid var(--ink); padding: .35rem 0; color: var(--ink); background: transparent; cursor: pointer; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.service-toggle span { display: inline-block; margin-left: .65rem; font-size: 1rem; transition: transform .25s ease; }
.service-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.service-panel { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 1.5rem 0 .5rem; }
.service-panel[hidden] { display: none; }
.service-panel figure { margin: 0; background: var(--paper-deep); overflow: hidden; }
.service-panel button { display: block; width: 100%; aspect-ratio: 2 / 3; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.service-panel img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.service-panel button:hover img { transform: scale(1.02); }

.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr); gap: clamp(3rem, 8vw, 8rem); background: var(--paper-deep); }
.about-image img { height: min(72rem, 78vh); object-fit: cover; }
.about-copy { align-self: center; }
.about-copy h2 { margin: 0 0 2rem; font-size: clamp(2.35rem, 4.4vw, 4.6rem); line-height: 1.02; }
.about-copy p { max-width: 37rem; font-size: 1.08rem; color: rgba(17,16,15,.72); }
.about-copy a { text-underline-offset: .2em; }

.contact { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; color: var(--paper); background: var(--warm); }
.contact h2 { max-width: 65rem; margin: 0 0 2rem; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .94; }
.contact > p:not(.eyebrow) { max-width: 37rem; font-size: 1.15rem; }
.contact-links { display: flex; gap: 2rem; margin-top: 3rem; }
.contact-links a { display: flex; justify-content: space-between; gap: 4rem; min-width: 19rem; padding: 1rem 0; border-bottom: 1px solid rgba(240,237,231,.7); text-decoration: none; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: end; padding: 4rem var(--pad); color: var(--paper); background: var(--ink); }
.site-footer img { width: 9rem; filter: invert(1); }
.site-footer p { margin: 0; font-size: .8rem; color: rgba(240,237,231,.68); }
.site-footer p:last-child { text-align: right; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 2.5rem; border: 0; color: white; background: rgba(10,9,8,.96); }
.lightbox::backdrop { background: rgba(10,9,8,.96); }
.lightbox img { width: 100%; height: calc(100vh - 7rem); object-fit: contain; }
.lightbox p { position: absolute; left: 2.5rem; bottom: 1.2rem; margin: 0; }
.lightbox-close { position: absolute; z-index: 2; right: 2rem; top: 1.5rem; border: 0; color: white; background: transparent; cursor: pointer; }

@media (max-width: 760px) {
  .site-header { height: 4.6rem; }
  .brand img { width: 6.7rem; }
  .menu-toggle { display: block; color: inherit; }
  .site-nav { position: fixed; inset: 4.5rem 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 1.7rem; padding: 2rem var(--pad) 2.5rem; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .hero-copy { padding-bottom: 4rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,10,9,.72), rgba(12,10,9,.08) 80%); }
  .statement, .section-heading, .about { grid-template-columns: 1fr; }
  .statement-copy { grid-column: 1; }
  .gallery { display: block; }
  .gallery-item { margin-bottom: .8rem; }
  .gallery-item button, .gallery-item--wide button, .gallery-item--tall button { min-height: 0; height: auto; }
  .gallery-item img { height: auto; max-height: 82vh; object-fit: cover; }
  .service-list article { grid-template-columns: 2.5rem 1fr; }
  .service-list p { grid-column: 2; }
  .service-toggle { grid-column: 2; justify-self: start; }
  .service-panel { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .about-image img { height: auto; max-height: 75vh; }
  .contact-links { flex-direction: column; gap: .5rem; }
  .contact-links a { min-width: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer p:last-child { text-align: left; }
  .lightbox { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
