:root {
  --ink: #16231f;
  --forest: #173f35;
  --forest-dark: #102f28;
  --paper: #f7f4ee;
  --white: #fffdf9;
  --blush: #d8aaa4;
  --sage: #95a99c;
  --line: rgba(22, 35, 31, 0.18);
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --page: min(1320px, calc(100% - 96px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

:focus-visible { outline: 3px solid #f0b44d; outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  transition: top 180ms ease;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: var(--page);
  height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.32);
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0;
}

.brand-note {
  margin-top: 9px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 650; }

.site-nav > a:not(.nav-cta) { position: relative; }

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transition: right 220ms ease;
}

.site-nav > a:hover::after { right: 0; }

.nav-cta { border: 1px solid rgba(255,255,255,.62); padding: 12px 18px; transition: background 200ms ease, color 200ms ease; }
.nav-cta:hover { background: var(--white); color: var(--ink); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(900px, 94svh);
  display: flex;
  align-items: center;
  background: #23483d url("assets/hero.webp") center / cover no-repeat;
  color: var(--white);
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9,27,22,.82) 0%, rgba(12,36,30,.53) 37%, rgba(12,31,27,.06) 74%), linear-gradient(0deg, rgba(6,18,15,.42), transparent 44%);
}

.hero-content { width: var(--page); margin: 78px auto 0; }

.eyebrow, .section-kicker {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(66px, 8.2vw, 132px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: 0;
}

.hero-line { max-width: 520px; margin: 30px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.3vw, 38px); line-height: 1.18; }

.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--blush); }
.button-dark { background: var(--forest-dark); color: var(--white); }
.button-dark:hover { background: #275b4d; }

.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 12px; font-weight: 750; letter-spacing: .06em; }
.text-link span { transition: transform 200ms ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link-light { color: var(--white); }

.hero-signature { position: absolute; right: max(48px, calc((100% - 1320px)/2)); bottom: 32px; margin: 0; font-family: var(--serif); font-size: 15px; font-style: italic; }

.hero-reveal { opacity: 0; transform: translateY(18px); animation: hero-in 750ms cubic-bezier(.22,.75,.25,1) forwards; }
.hero-reveal:nth-child(2) { animation-delay: 90ms; }
.hero-reveal:nth-child(3) { animation-delay: 180ms; }
.hero-reveal:nth-child(4) { animation-delay: 270ms; }

@keyframes hero-in { to { opacity: 1; transform: none; } }

.section { width: var(--page); margin: 0 auto; padding: 140px 0; }

.display { margin: 0; font-family: var(--serif); font-size: clamp(46px, 5.4vw, 82px); font-weight: 400; line-height: .98; letter-spacing: 0; }
.display em { color: var(--forest); font-weight: 400; }

.intro { display: grid; grid-template-columns: 160px minmax(0, 1fr) 230px; gap: 48px; align-items: end; }
.section-kicker { align-self: start; padding-top: 12px; }
.intro-copy { max-width: 800px; }
.lead { max-width: 680px; margin: 38px 0 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; }
.intro-aside { border-left: 1px solid var(--line); padding-left: 28px; }
.intro-aside strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 32px; font-weight: 400; }
.intro-aside span { display: block; margin-top: 7px; font-size: 13px; line-height: 1.6; }

.services { width: 100%; padding: 0; display: grid; grid-template-columns: 1.02fr .98fr; background: var(--forest); color: var(--white); }
.service-image { min-height: 790px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.service-image:hover img { transform: scale(1.025); }
.service-content { align-self: center; padding: 94px clamp(46px, 7vw, 112px); }
.service-content .display { max-width: 620px; }
.service-list { margin: 68px 0 38px; }
.service-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.24); }
.service-item > span { padding-top: 5px; color: #b6c8be; font-size: 10px; font-weight: 750; }
.service-item h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.service-item p { max-width: 520px; margin: 7px 0 0; color: rgba(255,255,255,.73); font-size: 14px; }

.portfolio-head { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 70px; }
.portfolio-note { max-width: 380px; margin: 0 0 7px; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; grid-auto-rows: 110px; gap: 18px; }
.gallery-item { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #d4d8d0; }
.gallery-feature { grid-column: span 8; grid-row: span 6; }
.gallery-portrait { grid-column: span 4; grid-row: span 6; }
.gallery-square { grid-column: span 4; grid-row: span 4; }
.gallery-landscape { grid-column: span 8; grid-row: span 4; }
.gallery-open { width: 100%; height: 100%; display: block; border: 0; background: transparent; padding: 0; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 750ms cubic-bezier(.2,.65,.2,1), filter 400ms ease; }
.gallery-item:hover img, .gallery-open:focus-visible img { transform: scale(1.035); filter: saturate(1.04); }
.gallery-item::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(6,20,16,.76)); pointer-events: none; }
.gallery-item figcaption { position: absolute; z-index: 2; inset: auto 24px 22px; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: var(--white); font-family: var(--serif); font-size: 20px; pointer-events: none; }
.gallery-item figcaption span { font-family: var(--sans); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-align: right; text-transform: uppercase; }
.gallery-view { position: absolute; z-index: 3; right: 18px; top: 18px; min-width: 58px; min-height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,253,249,.94); color: var(--ink); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: scale(.8); transition: opacity 220ms ease, transform 220ms ease; }
.gallery-item:hover .gallery-view, .gallery-open:focus-visible .gallery-view { opacity: 1; transform: scale(1); }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; background: rgba(8, 24, 20, .97); color: var(--white); padding: 52px clamp(20px, 5vw, 80px) 34px; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 24, 20, .88); }
.lightbox[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: minmax(0, 1fr); align-items: center; gap: 22px; animation: lightbox-in 220ms ease both; }
.lightbox-figure { width: min(100%, 1180px); height: 100%; min-height: 0; margin: 0 auto; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; }
.lightbox-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox-figure figcaption { display: flex; justify-content: center; gap: 13px; text-align: center; }
.lightbox-figure strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.lightbox-figure figcaption span { color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.lightbox-close, .lightbox-arrow { border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.lightbox-close:hover, .lightbox-arrow:hover { background: var(--white); color: var(--ink); }
.lightbox-close { position: absolute; right: 24px; top: 22px; width: 48px; height: 48px; font-size: 29px; font-weight: 200; line-height: 1; }
.lightbox-arrow { width: 58px; height: 58px; font-size: 24px; }
.lightbox-count { position: absolute; left: 28px; bottom: 24px; color: rgba(255,255,255,.6); font-size: 10px; font-weight: 750; letter-spacing: .14em; }

@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

.about { display: grid; grid-template-columns: minmax(230px, .65fr) 1.35fr; gap: 10vw; align-items: center; border-top: 1px solid var(--line); }
.about-mark { color: var(--blush); font-family: var(--serif); font-size: clamp(230px, 32vw, 480px); line-height: .7; text-align: center; opacity: .72; }
.about-copy { max-width: 690px; }
.about-copy > p:not(.eyebrow) { max-width: 580px; margin: 30px 0 0; font-size: 16px; }

.consultation { width: 100%; display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(70px, 10vw, 160px); background: #d9aaa4; padding-left: max(48px, calc((100% - 1320px)/2)); padding-right: max(48px, calc((100% - 1320px)/2)); }
.consultation-copy { align-self: start; }
.consultation-copy .display { max-width: 550px; }
.consultation-copy > p:not(.eyebrow) { max-width: 500px; margin: 30px 0 0; }
.contact-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 38px; font-size: 14px; }
.contact-lines a { border-bottom: 1px solid transparent; }
.contact-lines a:hover { border-color: currentColor; }
.inquiry-form { display: grid; gap: 24px; padding: 54px; background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(22,35,31,.45); border-radius: 0; background: transparent; color: var(--ink); padding: 8px 0 11px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 2px 0 var(--forest); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.inquiry-form .button { justify-self: start; margin-top: 6px; }
.form-status { min-height: 24px; margin: -8px 0 0; color: var(--forest); font-size: 13px; }
.form-status.is-error { color: #8b2424; }
.form-status.is-success { color: #1e6548; }
.inquiry-form .button:disabled { cursor: wait; opacity: .62; transform: none; }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 70px; padding: 75px max(48px, calc((100% - 1320px)/2)); background: var(--forest-dark); color: var(--white); }
.footer-brand { margin-bottom: 20px; }
.footer > div > p { max-width: 340px; margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }
.footer-nav, .footer-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; }
.footer-meta { align-items: flex-end; text-align: right; }
.footer-meta span { margin-top: 15px; color: rgba(255,255,255,.52); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --page: calc(100% - 48px); }
  .site-header { height: 88px; }
  .site-nav { gap: 20px; }
  .nav-cta { padding: 10px 12px; }
  .hero { min-height: 820px; }
  .intro { grid-template-columns: 100px 1fr; }
  .intro-aside { grid-column: 2; max-width: 420px; }
  .services { grid-template-columns: 1fr; }
  .service-image { min-height: 680px; }
  .service-content { padding: 90px 48px; }
  .gallery { grid-auto-rows: 82px; }
  .about { gap: 5vw; }
  .consultation { grid-template-columns: 1fr; }
  .consultation-copy { max-width: 690px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / 3; align-items: flex-start; text-align: left; }
}

@media (max-width: 720px) {
  :root { --page: calc(100% - 36px); }
  .site-header { height: 76px; }
  .brand-name { font-size: 22px; }
  .brand-note { font-size: 8px; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 7px; border: 0; background: transparent; padding: 10px; color: inherit; }
  .menu-toggle span { width: 24px; height: 1px; background: currentColor; transition: transform 220ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: var(--forest-dark); font-family: var(--serif); font-size: 28px; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 200ms ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav .nav-cta { font-family: var(--sans); font-size: 12px; margin-top: 10px; }
  .hero { min-height: 760px; align-items: flex-end; background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,24,19,.93), rgba(8,25,21,.05) 82%), linear-gradient(90deg, rgba(8,24,20,.55), transparent); }
  .hero-content { margin: 0 auto 98px; }
  .hero h1 { max-width: 360px; font-size: clamp(58px, 19vw, 82px); line-height: .88; }
  .hero-line { max-width: 360px; margin-top: 24px; font-size: 25px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 30px; }
  .hero-signature { display: none; }
  .section { padding: 92px 0; }
  .display { font-size: clamp(43px, 13vw, 60px); }
  .intro { grid-template-columns: 1fr; gap: 25px; }
  .section-kicker { padding-top: 0; }
  .intro-aside { grid-column: 1; margin-top: 12px; }
  .lead { margin-top: 28px; font-size: 21px; }
  .service-image { min-height: 500px; }
  .service-content { padding: 76px 24px; }
  .service-list { margin-top: 50px; }
  .service-item { grid-template-columns: 32px 1fr; }
  .portfolio-head { align-items: flex-start; flex-direction: column; gap: 30px; margin-bottom: 46px; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .gallery-feature, .gallery-portrait, .gallery-square, .gallery-landscape { grid-column: auto; grid-row: auto; height: 420px; }
  .gallery-portrait { height: 510px; }
  .gallery-item figcaption { inset: auto 18px 17px; font-size: 18px; }
  .gallery-item figcaption span { max-width: 110px; }
  .gallery-view { display: none; }
  .lightbox { padding: 68px 14px 26px; }
  .lightbox[open] { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 5px; }
  .lightbox-arrow { width: 44px; height: 44px; font-size: 20px; }
  .lightbox-close { right: 14px; top: 12px; width: 44px; height: 44px; }
  .lightbox-figure figcaption { align-items: center; flex-direction: column; gap: 2px; }
  .lightbox-count { left: 18px; bottom: 16px; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about-mark { font-size: 260px; text-align: left; }
  .consultation { padding: 90px 18px; gap: 55px; }
  .inquiry-form { padding: 34px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; gap: 42px; padding: 64px 24px; }
  .footer-meta { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-reveal { opacity: 1; transform: none; }
}
