:root {
  --ink: #1d1f1a;
  --dark: #1a1b18;
  --paper: #f3f1eb;
  --paper-deep: #eae7df;
  --accent: #edb548;
  --accent-hover: #f7c667;
  --muted: #575851;
  --line: #d1cfc4;
  --light: #f9f7f0;
  --gutter: clamp(1.25rem, 5.15vw, 5.25rem);
  --ease: cubic-bezier(.22,.72,.2,1);
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--dark);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
main { background: var(--paper); }
section[id], main[id] { scroll-margin-top: 4.9rem; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--accent); color: var(--ink); }
.shell { width: min(100% - var(--gutter) * 2, 88rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: .75rem; left: .75rem; padding: .75rem 1rem; color: var(--ink); background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  color: var(--light);
  background: var(--dark);
  border-bottom: 1px solid #393a34;
}
.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.8rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  gap: .65rem;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.075em;
}
.brand-icon {
  width: 1.54rem;
  height: 1.42rem;
  display: inline-flex;
  align-items: flex-end;
  justify-content: space-between;
  transform: skewY(-14deg);
}
.brand-icon i { width: 24%; height: 50%; background: var(--accent); }
.brand-icon i:nth-child(2) { height: 73%; }
.brand-icon i:nth-child(3) { height: 96%; }
.site-nav { display: flex; align-items: center; gap: clamp(1.35rem, 3.25vw, 3.5rem); font-size: .86rem; }
.site-nav a { color: #e1e0d9; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
.header-cta { justify-self: end; }
.menu-toggle, .site-nav .nav-mobile-cta { display: none; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  max-width: 100%;
  min-height: 3.4rem;
  border: 1px solid transparent;
  border-radius: 0;
  padding: .8rem 1.2rem;
  font-size: .91rem;
  line-height: 1.25;
  font-weight: 700;
  transition: background .23s ease, border-color .23s ease, color .23s ease;
}
.button span { font-size: 1.12rem; line-height: 1; transition: transform .25s var(--ease); }
.button:hover span { transform: translate(2px, -2px); }
.button-outline { min-height: 2.6rem; gap: 1rem; padding: .6rem .82rem .6rem .95rem; border-color: #66675d; font-size: .79rem; }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.button-accent { color: var(--ink); background: var(--accent); }
.button-accent:hover { background: var(--accent-hover); }
.button-dark { color: var(--light); background: var(--dark); }
.button-dark:hover { background: #383a30; }
.button-light-outline { color: var(--ink); border-color: #777464; }
.button-light-outline:hover { background: #e9e4d6; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(36rem, 72svh, 54rem);
  overflow: clip;
  color: var(--light);
  background: #2a2b28;
}
.hero-media, .hero-media::after, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; overflow: hidden; }
.hero-media img { object-fit: cover; object-position: 59% 57%; }
.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(16,17,15,.92) 1%, rgba(16,17,15,.78) 26%, rgba(16,17,15,.39) 56%, rgba(16,17,15,.035) 100%),
    linear-gradient(0deg, rgba(15,16,14,.78), transparent 33%);
}
.hero-layout { display: grid; grid-template-rows: 1fr auto; align-items: center; }
.hero-copy { padding-block: clamp(4.1rem, 8.7svh, 7rem) clamp(3.35rem, 7.8svh, 6rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .72rem;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow > span { width: .52rem; height: .52rem; flex: 0 0 .52rem; background: #956500; }
.hero-eyebrow { color: #f0e7cf; margin-bottom: clamp(1.25rem, 3vh, 1.9rem); }
.hero-eyebrow > span, .objects .eyebrow > span { background: var(--accent); }
.hero h1 {
  max-width: 57rem;
  font-size: clamp(3.25rem, 6.58vw, 7rem);
  line-height: .995;
  font-weight: 760;
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 29rem; margin-top: 1.65rem; color: #edebe3; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.55rem; margin-top: 1.9rem; }
.hero-secondary { display: inline-flex; align-items: center; gap: .72rem; padding: .65rem 0; color: var(--light); font-size: .9rem; font-weight: 700; transition: color .2s ease; }
.hero-secondary:hover { color: var(--accent); }
.hero-secondary span { font-size: 1.15rem; }
.hero-base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.2rem; border-top: 1px solid #f9f7f04a; }
.hero-base > span { color: #edeae1; font-size: .76rem; letter-spacing: .04em; }
.hero-base a {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #f9f7f078;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.hero-base a:hover { color: var(--ink); background: var(--accent); }
.hero-base a span { font-size: 1.1rem; }

.section { padding-block: clamp(4.35rem, 8vw, 8rem); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.1rem, 4.2vw, 4rem);
}
.section-heading h2, .brief h2 {
  margin-top: .9rem;
  font-size: clamp(2.7rem, 5.1vw, 5.4rem);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -.06em;
}
.section-heading > p, .objects-aside > p { color: var(--muted); max-width: 23rem; font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.53; }
.section-heading > p { justify-self: end; padding-bottom: .18rem; }
.services-layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: start; gap: clamp(2rem, 6.3vw, 6.5rem); }
.image-frame { position: relative; overflow: hidden; background: #ad9e87; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .image-frame:hover img { transform: scale(1.035); } }
.service-photo { aspect-ratio: 1 / 1.08; }
.service-photo img { object-position: 49% 60%; }
.service-photo figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.15rem 1rem;
  color: var(--light);
  background: linear-gradient(transparent,#171611df);
  font-size: .81rem;
  font-weight: 700;
}
.service-photo figcaption span { font-weight: 400; }
.service-list { border-top: 1px solid var(--line); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row summary {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  min-height: clamp(3.4rem, 5.05vw, 5.15rem);
  gap: clamp(.65rem, 1.4vw, 1.15rem);
  padding-block: .72rem;
  list-style: none;
  font-size: clamp(1.11rem, 2.05vw, 2.06rem);
  font-weight: 700;
  letter-spacing: -.046em;
  cursor: pointer;
}
.service-row summary::-webkit-details-marker { display: none; }
.service-row summary:focus-visible { outline-offset: -2px; }
.service-index { align-self: center; color: #775305; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.service-toggle {
  display: grid;
  place-items: center;
  width: 2.02rem;
  height: 2.02rem;
  color: var(--ink);
  border: 1px solid #b9b7ab;
  border-radius: 50%;
  transition: background .22s ease, border-color .22s ease;
}
.service-toggle::before, .service-toggle::after { content: ""; grid-area: 1 / 1; width: .71rem; height: 1px; background: currentColor; transition: transform .2s var(--ease); }
.service-toggle::after { transform: rotate(90deg); }
.service-row[open] .service-toggle, .service-row summary:hover .service-toggle { background: var(--accent); border-color: var(--accent); }
.service-row[open] .service-toggle::after { transform: rotate(0); }
.service-body { padding: 0 2.1rem 1.25rem calc(2rem + clamp(.65rem, 1.4vw, 1.15rem)); }
.service-row[open] .service-body { animation: reveal-details .25s var(--ease) both; }
.service-body p { max-width: 32rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.service-body a { display: inline-flex; align-items: center; gap: .4rem; margin-top: .65rem; font-size: .81rem; font-weight: 700; text-decoration: underline; text-underline-offset: .21rem; }
.service-body a:hover { color: #765303; }
@keyframes reveal-details { from { opacity: 0; transform: translateY(-.28rem); } to { opacity: 1; transform: translateY(0); } }

.objects { background: #21221e; color: var(--light); }
.objects .section-heading { align-items: end; }
.objects-aside { justify-self: end; display: grid; gap: 1.1rem; }
.objects-aside > p { color: #c8c7bc; }
.gallery-controls { display: flex; justify-content: flex-end; gap: .5rem; }
.gallery-controls button {
  display: grid;
  place-items: center;
  width: 2.72rem;
  height: 2.72rem;
  color: var(--light);
  background: transparent;
  border: 1px solid #79796f;
  border-radius: 50%;
  font-size: 1.15rem;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.gallery-controls button:hover:not(:disabled) { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.gallery-controls button:disabled { opacity: .44; cursor: default; }
.object-grid {
  --gallery-gap: clamp(.8rem, 1.65vw, 1.55rem);
  display: grid;
  grid-auto-columns: calc((100% - 2 * var(--gallery-gap)) / 3);
  grid-auto-flow: column;
  gap: var(--gallery-gap);
  overflow-x: auto;
  padding: .18rem 0 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: #8b897d #393a33;
  scrollbar-width: thin;
}
.object-card { min-width: 0; scroll-snap-align: start; }
.object-card .image-frame { aspect-ratio: 1.31; }
.object-card img { object-position: center 60%; }
.object-card figcaption { display: grid; gap: .34rem; padding: .95rem 0 0; }
.object-card figcaption > span { font-size: clamp(1rem, 1.55vw, 1.48rem); line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.object-card small { color: #c8c7bc; font-size: .8rem; line-height: 1.4; }

.process { background: var(--paper-deep); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #c6c3b5;
  list-style: none;
}
.process-list li { padding: 1.3rem clamp(.8rem, 2.1vw, 2.4rem) .15rem; border-left: 1px solid #c6c3b5; }
.process-list li:first-child { padding-left: 0; border-left: 0; }
.process-list li:last-child { padding-right: 0; }
.process-list li > span { display: block; color: #775305; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.process-list h3 { margin: 1.25rem 0 .55rem; font-size: clamp(1.2rem, 1.9vw, 1.9rem); line-height: 1.1; letter-spacing: -.045em; }
.process-list p { max-width: 17rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }

.brief { padding-block: clamp(4.2rem, 8vw, 7.8rem); color: var(--ink); background: var(--accent); }
.brief-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem, 5.5vw, 6rem); align-items: start; }
.brief .eyebrow > span { background: var(--ink); }
.brief-intro { max-width: 22rem; margin-top: 1.2rem; font-size: 1.05rem; line-height: 1.5; }
.brief-panel { min-width: 0; padding: clamp(1.1rem, 3vw, 2.5rem); background: var(--paper); }
.brief-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem .8rem; }
.field { display: grid; gap: .46rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: .8rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  padding: .72rem .62rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid #aaa89c;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.field textarea { min-height: 6.65rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #61625b; opacity: 1; }
.field select:invalid { color: #61625b; }
.field select option { color: var(--ink); }
.brief-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 1.05rem; }
.brief-actions p, #brief-status { max-width: 13rem; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.brief-result { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.brief-result h3 { font-size: 1.25rem; letter-spacing: -.03em; }
.brief-result pre { margin-block: .8rem; padding: .85rem; color: var(--ink); background: #e7e3d9; font: inherit; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.result-actions .button { min-height: 2.65rem; padding: .55rem .8rem; font-size: .82rem; }
#brief-status:not(:empty) { max-width: none; margin-top: .65rem; }
noscript p { margin-top: .75rem; }

.site-footer { color: var(--light); background: var(--dark); }
.footer-layout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 6.5rem; gap: 1.15rem; }
.footer-layout p { color: #cccbc1; font-size: .82rem; }
.back-top { display: inline-flex; align-items: center; gap: .6rem; font-size: .83rem; }
.back-top:hover { color: var(--accent); }
.back-top span { font-size: 1.1rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: intro .72s var(--ease) both; }
  .hero-copy h1 { animation-delay: .07s; }
  .hero-description { animation-delay: .15s; }
  .hero-actions { animation-delay: .22s; }
  .motion-ready [data-reveal].awaiting-view { opacity: 0; transform: translateY(1.55rem); }
  .motion-ready [data-reveal] { transition: opacity .65s var(--ease), transform .65s var(--ease); }
  .motion-ready [data-reveal]:focus-within { opacity: 1; transform: none; transition: none; }
  @keyframes intro {
    from { opacity: 0; transform: translateY(.85rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @supports (animation-timeline: view()) {
    .hero { view-timeline-name: --hero-scroll; }
    .hero-media img {
      animation: hero-depth 1ms linear both;
      animation-timeline: --hero-scroll;
      animation-range: exit 0% exit 100%;
    }
    @keyframes hero-depth { to { transform: translateY(12%) scale(1.16); } }
  }
}

@media (max-width: 58rem) {
  .hero h1 { font-size: clamp(3.25rem, 8.5vw, 5.6rem); }
  .section-heading { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
  .services-layout { gap: 1.6rem; }
  .service-photo { aspect-ratio: .83; }
  .object-grid { grid-auto-columns: calc((100% - var(--gallery-gap)) / 2); }
  .brief-layout { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 1.5rem; }
  .brief-fields { grid-template-columns: 1fr; }
}

@media (max-width: 43rem) {
  section[id], main[id] { scroll-margin-top: 4rem; }
  .header-layout { min-height: 3.9rem; grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .site-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: .75rem 1.25rem; padding: .65rem 0 1rem; }
  .menu-ready .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--light);
    background: transparent;
    border: 1px solid #66675d;
    padding: .5rem .65rem;
    min-height: 2.35rem;
    font-size: .81rem;
  }
  .menu-toggle span, .menu-toggle span::after { display: block; width: .75rem; height: 1px; background: currentColor; }
  .menu-toggle span { position: relative; top: -.15rem; }
  .menu-toggle span::after { content: ""; position: absolute; top: .32rem; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--gutter) .55rem;
    border-top: 1px solid #3f4039;
    border-bottom: 1px solid #3f4039;
    background: var(--dark);
  }
  .menu-ready .site-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid #3f4039; }
  .menu-ready .site-nav .nav-mobile-cta { display: flex; justify-content: space-between; border-bottom: 0; color: var(--accent); }
  .hero { min-height: clamp(33rem, 76svh, 44rem); }
  .hero-media img { object-position: 63% 57%; }
  .hero-media::after { background: linear-gradient(90deg,#11120fdf,#11120f54 100%), linear-gradient(0deg,#10110fe0,transparent 50%); }
  .hero-copy { padding-block: 3.65rem 2.8rem; }
  .hero h1 { font-size: clamp(2.32rem, 9.8vw, 4.1rem); letter-spacing: -.047em; }
  .hero-description { max-width: 22rem; margin-top: 1.25rem; }
  .hero-actions { gap: .55rem 1.1rem; margin-top: 1.4rem; }
  .hero-actions .button { min-height: 3.05rem; gap: .7rem; padding-inline: .75rem; font-size: .84rem; }
  .hero-secondary { gap: .4rem; font-size: .82rem; }
  .hero-base { min-height: 3.65rem; }
  .hero-base > span { font-size: .69rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading > p, .objects-aside { justify-self: start; }
  .section-heading h2, .brief h2 { font-size: clamp(2.4rem, 9.5vw, 4rem); }
  .services-layout { grid-template-columns: 1fr; gap: 1.55rem; }
  .service-photo { aspect-ratio: 1.44; }
  .service-photo img { object-position: 50% 59%; }
  .service-toggle { width: 1.85rem; height: 1.85rem; }
  .service-body { padding-right: .6rem; }
  .objects-aside { width: 100%; grid-template-columns: 1fr auto; align-items: end; }
  .gallery-controls { gap: .35rem; }
  .gallery-controls button { width: 2.45rem; height: 2.45rem; }
  .object-grid { grid-auto-columns: 85%; }
  .process-list { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.3rem; }
  .process-list li { padding-inline: .75rem; }
  .process-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .process-list li:nth-child(n + 3) { border-top: 1px solid #c6c3b5; }
  .process-list h3 { margin-top: .85rem; }
  .brief-layout { grid-template-columns: 1fr; }
  .footer-layout { min-height: 5.5rem; gap: .55rem; }
  .footer-layout p { font-size: .7rem; }
}

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