:root {
  --ink: #241a16;
  --brown: #3a2821;
  --brown-deep: #291d18;
  --wine: #7d3f42;
  --brass: #b99a63;
  --paper: #f2eedf;
  --paper-deep: #e4dec9;
  --white: #fffdf5;
  --line: rgba(55, 39, 31, .18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -4rem; padding: .7rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.version-pill { position: fixed; z-index: 30; right: 1rem; bottom: 1rem; }
.version-pill a { display: block; padding: .65rem .9rem; background: var(--paper); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--wine); font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }

.site-header { height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 0 clamp(1.25rem, 5vw, 5.5rem); background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 66px; height: 52px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(36,26,22,.25); filter: sepia(.18); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-family: var(--serif); font-size: 1.75rem; letter-spacing: .16em; font-weight: 600; }
.brand small { margin-top: .35rem; color: #775f50; font-size: .62rem; text-transform: uppercase; letter-spacing: .25em; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.7rem); }
.main-nav a { position: relative; font-size: .73rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.main-nav a:not(.nav-contact)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 1px; background: var(--wine); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.nav-contact { padding: .72rem 1.1rem; border: 1px solid var(--ink); transition: .2s; }
.nav-contact:hover { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: var(--ink); }

.hero { position: relative; min-height: calc(100vh - 94px); height: 760px; display: flex; align-items: flex-end; overflow: hidden; background: var(--brown-deep); color: var(--white); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; filter: saturate(.72) sepia(.14) contrast(1.04); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,16,13,.92) 0%, rgba(25,16,13,.57) 42%, rgba(25,16,13,.05) 75%), linear-gradient(0deg, rgba(25,16,13,.55), transparent 55%); }
.hero-copy { position: relative; z-index: 2; width: min(760px, 72vw); padding: clamp(4rem, 9vh, 7.5rem) clamp(1.25rem, 8vw, 8.5rem); }
.eyebrow { margin: 0 0 1.2rem; color: #d7bd8d; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; }
.eyebrow.dark { color: var(--wine); }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: .92; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(4rem, 9.4vw, 9rem); }
h1 em, .contact-cta h2 em { color: #d6be92; font-weight: 500; }
.hero-lead { max-width: 570px; margin: 2rem 0 2.4rem; color: rgba(255,253,245,.8); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .75rem 1.55rem; font-size: .68rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .16em; border: 1px solid transparent; transition: .2s ease; }
.button-primary { background: var(--wine); color: var(--white); }
.button-primary:hover { background: #9b5658; }
.button-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.hero-mark { position: absolute; z-index: 2; right: 3.8vw; bottom: 2rem; display: flex; align-items: flex-end; gap: .8rem; color: rgba(255,255,255,.58); font-family: var(--serif); font-size: .65rem; }
.hero-mark span { display: flex; align-items: flex-end; justify-content: center; width: 2.8rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.45); }
.hero-mark span:nth-child(1) { height: 4rem; }.hero-mark span:nth-child(2) { height: 5rem; }.hero-mark span:nth-child(3) { height: 6.2rem; }.hero-mark span:nth-child(4) { height: 7.7rem; }.hero-mark span:nth-child(5) { height: 9.4rem; }

.intro-band { display: grid; grid-template-columns: .35fr 1.3fr 1fr; gap: 4vw; align-items: start; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 8.5rem); }
.section-number { margin: .5rem 0; color: var(--wine); font-family: var(--serif); font-size: 1rem; }
.intro-band h2, .section-heading h2, .work-copy h2 { margin: 0; font-size: clamp(3rem, 5.3vw, 5.6rem); }
.intro-copy { max-width: 480px; padding-top: 2rem; }
.intro-copy p, .section-heading > p, .work-copy > p:not(.eyebrow):not(.section-number) { color: #66574e; }
.text-link { display: inline-flex; gap: 1.4rem; align-items: center; margin-top: 1rem; padding-bottom: .3rem; border-bottom: 1px solid var(--wine); color: var(--wine); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; text-decoration: none; }
.text-link span { font-size: 1.1rem; transition: transform .2s; }.text-link:hover span { transform: translateX(.25rem); }

.services { padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem); background: var(--brown-deep); color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.5fr .75fr; gap: 5vw; align-items: end; margin-bottom: 4rem; }
.section-heading > p { color: rgba(255,253,245,.58); max-width: 420px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.service-card { position: relative; min-height: 320px; padding: 2rem clamp(1.4rem, 2.5vw, 2.8rem); color: inherit; text-decoration: none; border-right: 1px solid rgba(255,255,255,.17); transition: background .25s; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: rgba(255,255,255,.055); }
.service-index { color: #b49a6c; font-family: var(--serif); }
.service-card h3 { margin: 3.5rem 0 1rem; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.service-card p { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.7; }
.service-card .arrow { position: absolute; right: 2rem; top: 1.5rem; font-size: 1.3rem; color: #d0b785; }

.featured-work { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 720px; background: var(--paper-deep); }
.work-image-wrap { position: relative; min-height: 600px; overflow: hidden; }
.work-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.12) saturate(.72); transition: transform .7s; }
.work-image-wrap:hover img { transform: scale(1.02); }
.image-caption { position: absolute; left: 1.5rem; bottom: 1.5rem; padding: .55rem .8rem; background: rgba(36,26,22,.78); color: var(--white); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.work-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.work-copy .section-number { margin-bottom: 5rem; }
.work-copy h2 { margin-bottom: 2rem; }

.contact-cta { padding: clamp(6rem, 12vw, 11rem) 1.5rem; text-align: center; background: var(--wine); color: var(--white); }
.contact-cta h2 { margin: 0 auto; font-size: clamp(3.7rem, 7vw, 7.2rem); }
.contact-cta > p:not(.eyebrow) { max-width: 550px; margin: 2rem auto; color: rgba(255,255,255,.72); }
.button-light { background: var(--paper); color: var(--wine); }.button-light:hover { background: white; transform: translateY(-2px); }

.page-view { display: none; grid-template-columns: minmax(200px, 290px) minmax(0, 850px); gap: clamp(2rem, 6vw, 7rem); align-items: start; max-width: 1320px; min-height: 70vh; margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 5rem); }
.has-route #home-view { display: none; }
.has-route .page-view { display: grid; }
.page-aside { position: sticky; top: 2rem; padding-right: 2rem; border-right: 1px solid var(--line); }
.page-aside nav { display: grid; }
.page-aside nav a { padding: .55rem 0; color: #79695e; font-size: .75rem; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; }
.page-aside nav a:hover, .page-aside nav a[aria-current="page"] { color: var(--wine); }
.legacy-content, .gallery-content { min-width: 0; font-family: var(--sans); font-size: .95rem; color: #554840; line-height: 1.85; }
.legacy-content:empty, .gallery-content:empty { display: none; }
.legacy-content .hd, .gallery-content .hd { display: block; margin: 0 0 2.5rem; color: var(--ink); font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; line-height: 1; }
.legacy-content .sh { color: var(--wine); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.legacy-content b { color: var(--ink); }
.legacy-content a { display: inline; color: var(--wine); font-weight: 600; text-underline-offset: .2em; }
.legacy-content img[src$="triangle.gif"] { display: inline-block; width: 7px; margin-right: .4rem; }

.gallery-content { width: 100%; }
.gallery-stage { position: relative; background: var(--brown-deep); }
.gallery-stage img { width: 100%; height: min(66vh, 680px); object-fit: contain; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.gallery-counter { color: #78685c; font-family: var(--serif); font-size: 1.1rem; }
.gallery-buttons { display: flex; gap: .5rem; }
.gallery-buttons button { min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font-family: var(--sans); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.gallery-buttons button:hover { background: var(--ink); color: var(--white); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: 2rem; }
.gallery-thumb { aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb[aria-current="true"] { border-color: var(--wine); opacity: 1; }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr auto; gap: 3rem; align-items: end; padding: 4rem clamp(1.25rem, 6vw, 6rem); background: #1d1512; color: rgba(255,255,255,.58); font-size: .76rem; }
.footer-brand { display: grid; color: var(--white); }.footer-brand strong { font-family: var(--serif); font-size: 2.4rem; letter-spacing: .15em; line-height: 1; }.footer-brand span { font-size: .6rem; text-transform: uppercase; letter-spacing: .28em; }
.site-footer p { margin: .25rem 0; }.site-footer a { text-decoration: none; }.site-footer a:hover { color: white; }
.to-top { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); color: white; font-size: 1.2rem; }

@media (max-width: 900px) {
  .site-header { height: 78px; padding: 0 1.25rem; }
  .brand img { width: 52px; height: 42px; }.brand strong { font-size: 1.4rem; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(36,26,22,.12); }
  .main-nav.is-open { display: grid; }.main-nav a { padding: .6rem 0; }.nav-contact { padding-left: 1rem !important; text-align: center; }
  .hero { min-height: calc(100svh - 78px); height: 700px; }.hero-copy { width: 100%; padding: 4rem 1.25rem; }.hero-mark { display: none; }
  .intro-band { grid-template-columns: auto 1fr; }.intro-copy { grid-column: 2; padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; }.service-grid { grid-template-columns: 1fr; }.service-card { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .featured-work { grid-template-columns: 1fr; }.work-image-wrap { min-height: 480px; }.work-copy .section-number { margin-bottom: 2rem; }
  .page-view { grid-template-columns: 1fr; }.page-aside { position: static; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 1.5rem; }.page-aside nav { grid-template-columns: repeat(3, 1fr); gap: .15rem 1rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }.to-top { justify-self: end; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }.hero-shade { background: linear-gradient(0deg, rgba(25,16,13,.93) 0%, rgba(25,16,13,.48) 70%, rgba(25,16,13,.14)); }
  .hero-image { object-position: 58% center; }.hero-copy { padding-bottom: 3rem; }.hero-actions { align-items: stretch; }.button { width: 100%; }
  .intro-band { grid-template-columns: 1fr; gap: 1rem; }.intro-band > * { grid-column: 1; }.section-number { margin-bottom: 1.5rem; }
  .featured-work { min-height: 0; }.work-image-wrap { min-height: 330px; }.work-copy { padding: 4rem 1.25rem; }
  .page-aside nav { grid-template-columns: 1fr 1fr; }.legacy-content .hd, .gallery-content .hd { font-size: 2.6rem; }
  .gallery-stage img { height: 55vh; }.gallery-controls { align-items: flex-start; }.gallery-buttons { flex-direction: column; }.gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }.to-top { justify-self: start; }
}

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