:root {
  color-scheme: light;
  --ink: #232821;
  --dark: #202a23;
  --paper: #f9f6ef;
  --gold: #efc078;
  --line: #ded8cb;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bc7932; outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { z-index: 5; top: .8rem; left: .8rem; width: auto; height: auto; clip-path: none; padding: .8rem; background: white; }
.header { border-bottom: 1px solid var(--line); }
.bar, .brand, nav, .hero-actions, .carousel-controls, .arrows, .dots, .footer { display: flex; align-items: center; }
.bar { justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { gap: .65rem; line-height: 1.05; text-decoration: none; }
.brand img { object-fit: contain; }
.brand strong { display: block; font-size: 1.15rem; }
nav { gap: clamp(.85rem, 3vw, 2.4rem); }
nav a, .header-contact { font-weight: 650; text-decoration: none; padding-block: .65rem; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-contact { border: 1px solid #b7ad9a; border-radius: 4px; padding-inline: .85rem; white-space: nowrap; }
.hero { background: var(--dark); color: var(--paper); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2rem, 6vw, 5rem); }
.hero-copy { animation: rise .75s ease-out both; }
.eyebrow { font-size: .77rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: #825521; margin-bottom: .85rem; }
.hero .eyebrow, .contact .eyebrow { color: var(--gold); }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.055em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3rem, 5.7vw, 6.1rem); max-width: 13ch; }
h1 em { color: var(--gold); font-weight: inherit; }
h2 { font-size: clamp(2.4rem, 5vw, 4.65rem); }
h3 { margin: 0 0 .45rem; line-height: 1.25; font-size: 1.4rem; }
.hero-copy > p:not(.eyebrow), .contact p:not(.eyebrow) { margin-top: 1.15rem; max-width: 39ch; color: #e2dfd3; font-size: clamp(1rem, 1.4vw, 1.19rem); }
.hero-actions { flex-wrap: wrap; gap: .85rem 1.35rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 48px; padding: .65rem 1rem; border-radius: 4px; background: var(--gold); color: #272117; font-weight: 750; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: #ffda9d; transform: translateY(-2px); }
.text-link { font-weight: 650; text-decoration: none; padding-block: .6rem; }
.carousel { min-width: 0; }
.slides { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.18; background: #464e43; border-radius: 5px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide img, .project img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; inset: auto 0 0; padding: 2rem 1.1rem .85rem; color: white; background: linear-gradient(transparent, #141a16ed); font-weight: 650; }
.carousel-controls { justify-content: space-between; gap: .4rem; margin-top: .55rem; }
.arrows button, .dots button { display: grid; place-items: center; color: var(--paper); background: transparent; cursor: pointer; min-width: 44px; min-height: 44px; }
.arrows { gap: .35rem; }
.arrows button { border: 1px solid #90988d; border-radius: 100%; font-size: 1.25rem; }
.arrows button:hover { background: #ffffff22; }
.dots button { border: 0; }
.dots button::after { content: ""; width: 1rem; height: 4px; border-radius: 1rem; background: #a7afa1; transition: width .2s, background .2s; }
.dots [aria-current="true"]::after { width: 1.7rem; background: var(--gold); }
.section { padding-block: clamp(3rem, 7vw, 6.3rem); }
.section-heading { margin-bottom: clamp(1.35rem, 3vw, 2.4rem); }
.service-grid, .work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2.4vw, 1.7rem); }
.service { padding: clamp(1.05rem, 3vw, 2rem); background: #fffdf8; border: 1px solid var(--line); border-radius: 5px; }
.service svg { width: 44px; height: 44px; padding: 6px; margin-bottom: .85rem; background: #f1e7d6; border-radius: 4px; fill: none; stroke: #765021; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: #53584f; }
.work { background: #ece7da; }
.project { position: relative; aspect-ratio: 1; border-radius: 5px; background: #5a5c51; overflow: hidden; }
.project img { transition: transform .45s ease; }
.project:hover img { transform: scale(1.05); }
.project figcaption { position: absolute; inset: auto 0 0; color: white; padding: 2rem 1rem .9rem; font-size: 1.12rem; font-weight: 700; background: linear-gradient(transparent, #171c17eb); }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; color: var(--paper); background: var(--dark); border-radius: 6px; padding: clamp(1.5rem, 5vw, 4rem); }
.contact-links { display: grid; justify-items: start; gap: .75rem; min-width: 0; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); padding-block: 1.35rem; }
.footer { justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; font-size: .92rem; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal.visible { animation: rise .65s ease-out both; }
@media (max-width: 950px) {
  .shell { width: calc(100% - 3rem); }
  .hero-layout { gap: 1.5rem; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project:first-child { grid-row: span 2; aspect-ratio: auto; }
  .project:not(:first-child) { aspect-ratio: 1.65; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 2rem); }
  .bar { flex-wrap: wrap; padding-top: .65rem; gap: .4rem; }
  nav { order: 1; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); }
  .hero-layout, .contact { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 2.3rem 1.4rem; }
  h1 { font-size: clamp(2.65rem, 10.1vw, 4.4rem); }
  .slides { aspect-ratio: 1.35; }
  .service-grid { grid-template-columns: 1fr; }
  .project:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 1.45; }
  .project:not(:first-child) { aspect-ratio: 1.05; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Shared visual system */
:root {
  --ink: #252521;
  --dark: #171815;
  --paper: #f7f4ed;
  --gold: #d7b783;
  --line: #ded8cb;
}
.header { background: var(--dark); color: var(--paper); border-color: #36342e; }
.bar { min-height: 92px; }
.brand { font-size: .73rem; letter-spacing: .035em; }
.brand strong { font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: -.025em; }
nav a { position: relative; font-size: .9rem; }
nav a[aria-current="page"] { color: var(--gold); }
nav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 .25rem; height: 1px; background: currentColor; }
.header-contact { color: var(--gold); border-color: #8c7657; border-radius: 0; }
.header-contact:hover { background: #d7b7831a; }
.hero-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.8rem, 6vw, 5.6rem) 2.4rem; }
.hero h1 { font-size: clamp(2.9rem, 5.8vw, 6rem); max-width: 11ch; }
.hero h1 em { display: block; }
.hero .eyebrow::before, .page-intro .eyebrow::before { content: ""; width: 2rem; height: 1px; display: inline-block; vertical-align: middle; margin-right: .8rem; background: currentColor; }
.button, .slides, .contact { border-radius: 0; }
.button { padding-inline: 1.25rem; }
.slides { aspect-ratio: 1.18; }
.slide img { object-position: center 42%; }
.slide figcaption { padding: 3rem 1.2rem 1.1rem; }
.home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 2rem 3.4rem; }
.home-links a { display: grid; grid-template-columns: 1fr auto; gap: .45rem .8rem; text-decoration: none; padding: 1.15rem; border: 1px solid var(--line); }
.home-links a:hover { background: #fffdf8; }
.home-links a + a { border-inline-start: 0; }
.home-links a span:first-child { grid-column: 1 / -1; color: #825521; font-weight: 750; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.home-links strong { font-family: Georgia, serif; font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.45rem); }
.page-intro { padding-block: clamp(3rem, 8vw, 7rem) clamp(2.4rem, 6vw, 4.8rem); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 18ch; font-size: clamp(3rem, 7vw, 6.7rem); }
.lede { max-width: 42ch; margin-top: 1.3rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: #4a4b41; }
.service { border-radius: 0; }
.portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.6rem); }
.portfolio-card { text-decoration: none; min-width: 0; }
.portfolio-card:hover .portfolio-caption h2 { text-decoration: underline; text-underline-offset: .15em; }
.portfolio-image { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd4c6; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-caption { display: flex; justify-content: space-between; align-items: end; gap: .8rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.portfolio-caption h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.portfolio-caption .eyebrow { margin-bottom: .35rem; }
.project-detail figure { margin-top: 1.35rem; background: #e9e2d5; display: grid; place-items: center; }
.project-detail img { display: block; max-width: 100%; max-height: 74vh; object-fit: contain; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
footer { background: #efebe1; }
.footer .brand img { width: 38px; height: 38px; }
@media (max-width: 950px) {
  .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-layout { gap: 1.55rem; }
}
@media (max-width: 700px) {
  .bar { min-height: 0; }
  nav { border-color: #36342e; gap: .35rem; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 2.6rem 1.1rem; }
  .hero h1 { font-size: clamp(2.8rem, 10.1vw, 4.4rem); }
  .slides { aspect-ratio: 1.38; }
  .home-links { grid-template-columns: 1fr; padding-block: 1.25rem 2rem; }
  .home-links a + a { border-inline-start: 1px solid var(--line); border-top: 0; }
  .closing { align-items: start; flex-direction: column; }
}
@media (max-width: 500px) { .portfolio { grid-template-columns: 1fr; } }

.editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.7rem, 5vw, 4.5rem);
}
.editorial-photo img, .archive-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #e4dbcb;
}
.editorial-photo figcaption {
  font-size: .79rem;
  color: #565044;
  margin-top: .55rem;
}
.editorial-slide figcaption { font-size: .8rem; }
.photo-archive { border-top: 1px solid var(--line); }
.photo-archive h2 { margin-bottom: 1.5rem; }
.archive-photo a { display: block; }
.archive-photo figcaption {
  padding-block: .6rem;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
@media (max-width: 700px) {
  .editorial-intro { grid-template-columns: minmax(0, 1fr); }
  .dots button { min-width: 32px; }
  .dots [aria-current="true"]::after { width: 1.35rem; }
}

.header { position: sticky; top: 0; z-index: 8; }
.skip:focus { z-index: 12; }
.nav-services { position: relative; display: flex; align-items: center; }
.nav-services summary {
  display: grid;
  place-items: center;
  min-width: 24px;
  min-height: 36px;
  cursor: pointer;
  list-style: none;
  color: var(--gold);
}
.nav-services summary::-webkit-details-marker { display: none; }
.nav-panel {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 11rem;
  padding: .5rem .85rem;
  background: var(--dark);
  border: 1px solid #8c7657;
}
.service[id] { scroll-margin-top: 9rem; }
.home-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; border-top: 1px solid var(--line); }
.home-intro p:not(.eyebrow) { margin-bottom: 1rem; max-width: 49ch; }
.button span { transition: transform .24s ease; }
.button:hover span, .button:focus-visible span { transform: translate(.18rem, -.14rem); }
@keyframes settle-photo {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}
.slide.active img { animation: settle-photo 1.45s cubic-bezier(.2,.6,.35,1) both; }
@media (min-width: 951px) {
  .cinematic .hero-layout { position: relative; display: grid; grid-template: minmax(clamp(31rem, 67vh, 47rem), auto) auto / 1fr; gap: 0; padding-block: 0; width: 100%; }
  .cinematic .hero-copy { position: relative; z-index: 3; grid-area: 1 / 1; align-self: center; width: min(1200px, calc(100% - 5rem)); margin-inline: auto; padding-block: 3rem; pointer-events: none; }
  .cinematic .hero-actions a { pointer-events: auto; }
  .cinematic .carousel { grid-area: 1 / 1 / 3; display: grid; grid-template-rows: subgrid; position: relative; }
  .cinematic .slides { aspect-ratio: auto; min-height: 100%; }
  .cinematic .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #12130fed, #161713aa 39%, #1617130a 85%); pointer-events: none; }
  .cinematic .slide figcaption { z-index: 1; text-align: right; padding-inline: max(2.5rem, calc((100% - 1200px) / 2)); }
  .cinematic .carousel-controls { width: min(1200px, calc(100% - 5rem)); margin: .55rem auto; }
}
@media (max-width: 700px) {
  .home-intro { grid-template-columns: 1fr; }
  nav a { font-size: clamp(.73rem, 2.5vw, .9rem); }
  .nav-services summary { min-width: 19px; }
}
