:root {
  color-scheme: light;
  --ink: #1a2023;
  --paper: #f3f2ee;
  --line: #cfcec8;
  --muted: #505550;
  --accent: #d8ee93;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; }
section[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 3px solid #6d842a; outline-offset: 5px; }
.wrap { width: min(100% - 7rem, 83rem); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 5; padding: .65rem 1rem; background: var(--accent); color: var(--ink); transform: translateY(-250%); }
.skip:focus { transform: translateY(0); }

.top { background: var(--ink); color: white; }
.top-inner { min-height: 5.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: grid; gap: .4rem; line-height: 1; text-decoration: none; }
.brand-name { font: 1.65rem/.9 var(--serif); letter-spacing: -.045em; white-space: nowrap; }
.brand-name span { color: var(--accent); margin-left: .08em; }
.brand-type, .eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.brand-type { font-size: .72rem; color: #c9cdc7; letter-spacing: .21em; }
.top nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); }
.top nav a { text-decoration: none; font-size: .94rem; }
.top nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.top nav .nav-contact { color: var(--accent); }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #292e31; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { object-fit: cover; object-position: center 54%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #131a1cdb 0%, #131a1c93 40%, #131a1c0f 92%), linear-gradient(0deg, #131a1cb0, transparent 78%); }
.hero-inner { min-height: clamp(33rem, 69svh, 55rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-block: 4.6rem 5.25rem; }
.hero .eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.hero h1 { font: 400 clamp(3.85rem, 8.1vw, 8.35rem)/.92 var(--serif); letter-spacing: -.067em; }
.hero h1 em { font-weight: inherit; }
.hero-intro { font-size: clamp(1rem, 1.6vw, 1.22rem); margin-top: 1.65rem; max-width: 32rem; color: #f3f3ef; }
.hero-links, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.8rem; }
.button { min-height: 3.15rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.22rem; font-size: .95rem; font-weight: 650; text-decoration: none; border: 1px solid transparent; }
.button-accent { color: #1b2116; background: var(--accent); }
.button-accent:hover { background: #e8f6b8; }
.quiet-link { font-weight: 600; text-underline-offset: .35em; }
.quiet-link:hover { color: var(--accent); }
.hero-caption { position: absolute; bottom: 1.25rem; right: max(3.5rem, calc((100% - 83rem) / 2)); font-size: .875rem; color: #f3f3ef; }

.section { padding-block: clamp(3.5rem, 6.8vw, 7rem); }
.section h2 { font: 400 clamp(2.75rem, 6vw, 5.2rem)/.98 var(--serif); letter-spacing: -.065em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; padding-bottom: 1.85rem; }
.section-heading p { max-width: 29rem; color: var(--muted); }
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); margin: 0; padding: 0; }
.work { display: block; width: 100%; text-align: left; color: inherit; cursor: pointer; background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 0; }
.work img { aspect-ratio: 1.2; height: auto; object-fit: cover; background: #b2b4ad; }
.work-info { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-block: .9rem 1.1rem; }
.work-info strong { display: block; font: 400 clamp(1.35rem, 2.2vw, 2.15rem)/1.04 var(--serif); letter-spacing: -.045em; }
.work-info small { display: block; margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.work-open { flex: none; display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--line); border-radius: 50%; font-size: 1.4rem; }
.work:hover .work-open { background: var(--accent); border-color: var(--accent); }

.about { background: #e5e5dc; }
.about-inner, .contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem 3rem; }
.about .eyebrow { color: var(--muted); margin-bottom: .65rem; }
.about p:not(.eyebrow) { max-width: 37rem; font-size: clamp(1.125rem, 1.8vw, 1.55rem); line-height: 1.5; }
.contact { background: var(--ink); color: #fff; }
.email { display: inline-block; color: var(--accent); margin-top: .9rem; text-underline-offset: .28em; overflow-wrap: anywhere; }
.contact-actions { margin: 0; justify-content: flex-end; gap: .65rem; }
.button-outline { color: #fff; border-color: #a4aba4; }
.button-outline:hover { background: #fff; color: var(--ink); }
footer { color: #e2e4dd; background: #14191b; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1.3rem; font-size: .875rem; }
footer a { text-decoration: none; }
.top a:focus-visible, .hero a:focus-visible, .contact a:focus-visible, footer a:focus-visible { outline-color: var(--accent); }

.lightbox { background: var(--paper); color: var(--ink); border: 0; width: min(54rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: clamp(1rem, 3vw, 1.75rem); }
.lightbox::backdrop { background: #13191be0; }
.lightbox-head, .lightbox-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.lightbox h2 { font: 400 clamp(1.65rem, 4vw, 2.5rem)/1 var(--serif); letter-spacing: -.045em; }
.lightbox .eyebrow { color: var(--muted); margin-bottom: .35rem; }
.lightbox-close, .lightbox-nav { cursor: pointer; border: 1px solid var(--line); background: transparent; min-height: 2.75rem; padding: .35rem .85rem; color: inherit; }
.lightbox-close { width: 2.75rem; border-radius: 50%; padding: 0; font-size: 1.6rem; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); }
.lightbox-image { max-height: 64dvh; object-fit: contain; margin-block: 1rem; background: var(--ink); }
body:has(.lightbox[open]) { overflow: hidden; }

@media (max-width: 56rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-caption { right: 1.75rem; }
  .contact-actions { justify-content: flex-start; }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .top-inner { min-height: 4.8rem; gap: .8rem; }
  .brand-name { font-size: 1.4rem; }
  .top nav { gap: .85rem; }
  .top nav a { font-size: .875rem; }
  .hero-inner { min-height: 34rem; padding-bottom: 4.2rem; }
  .hero h1 { font-size: clamp(3rem, 13vw, 5.4rem); }
  .hero-caption { right: 1rem; }
  .section-heading, .about-inner, .contact-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; }
  .work img { aspect-ratio: 1.36; }
}
@media (max-width: 23rem) {
  .top-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: .75rem; }
  .hero-links { gap: .7rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
