:root {
  --white: #ffffff;
  --ink: #171b19;
  --muted: #5a605d;
  --green: #063f31;
  --green-dark: #032d24;
  --coral: #ef6654;
  --rule: #d8dedb;
  --soft: #f5f7f6;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --content: min(1180px, calc(100vw - 48px));
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3rem, 5.5vw, 5.8rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.2rem, 3.8vw, 4.1rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2.1rem); }
.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; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 30; top: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; width: 100%; min-height: var(--header-height); padding: 0 max(24px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid transparent; background: rgba(255, 255, 255, .96); transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-color: var(--rule); box-shadow: 0 8px 28px rgba(12, 35, 28, .06); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.2rem; white-space: nowrap; }
.brand__mark { color: var(--green); font-family: var(--serif); font-size: 2.15rem; line-height: 1; }
.brand--small { font-size: .95rem; }
.brand--small .brand__mark { font-size: 1.7rem; }
.site-nav { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 38px); }
.site-nav a, .site-footer nav a { position: relative; color: var(--ink); text-decoration: none; font-size: .9rem; }
.site-nav a::after, .site-footer nav a::after { content: ""; position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-footer nav a:hover::after, .site-footer nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid var(--green); border-radius: 0; text-decoration: none; font-size: .92rem; font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: var(--white); background: var(--green); }
.button--primary:hover, .button--primary:focus-visible { background: var(--green-dark); }
.button--outline { color: var(--green); background: var(--white); }
.button--outline:hover { color: var(--white); background: var(--green); }
.button--light { color: var(--white); border-color: rgba(255,255,255,.72); background: transparent; }
.button--light:hover { color: var(--green); background: var(--white); }
.menu-button { display: none; width: 44px; height: 44px; padding: 12px; border: 1px solid var(--rule); background: var(--white); }
.menu-button > span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(480px, 1.16fr); width: var(--content); min-height: calc(100svh - var(--header-height)); margin: 0 auto; border-bottom: 1px solid var(--rule); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(40px, 6vw, 92px) 72px 0; }
.hero__lead { max-width: 560px; margin: 24px 0 34px; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.24rem); }
.accent-rule { display: block; width: 46px; height: 2px; background: var(--coral); }
.actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 7px; }
.text-link span { color: var(--coral); font-size: 1.35rem; }
.hero__media { min-height: 620px; margin: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }

.ruled-section { width: var(--content); margin: 0 auto; padding: clamp(76px, 9vw, 132px) 0; border-bottom: 1px solid var(--rule); }
.section-label { margin-bottom: 24px; color: var(--green); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.section-label--light { color: rgba(255,255,255,.78); }
.explanation { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(54px, 9vw, 128px); align-items: center; }
.explanation p { max-width: 580px; color: var(--muted); }
.explanation .accent-rule { margin: 28px 0; }
.eye-drawing svg { width: 100%; fill: none; stroke: var(--green); stroke-width: 1.4; }
.section-heading { display: grid; grid-template-columns: .35fr 1.65fr; gap: 40px; align-items: start; }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; }
.process__steps article { position: relative; min-height: 230px; padding: 0 48px 0 82px; }
.process__steps article + article { border-left: 1px solid var(--rule); }
.process__steps span { position: absolute; top: 0; left: 22px; color: var(--coral); font-family: var(--serif); font-size: 2.4rem; }
.process__steps p { color: var(--muted); }

.info-band { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 9vw, 126px); width: 100%; padding: clamp(70px, 8vw, 112px) max(24px, calc((100vw - 1180px) / 2)); color: var(--white); background: var(--green); }
.info-band h2 { max-width: 640px; }
.info-band p { max-width: 650px; color: rgba(255,255,255,.78); }
.info-band__action { align-self: center; padding-left: clamp(30px, 5vw, 72px); border-left: 1px solid rgba(255,255,255,.26); }
.info-band__action .button { margin-top: 18px; }

.profile, .art { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(52px, 8vw, 116px); align-items: center; }
.profile__media, .art__media { margin: 0; overflow: hidden; }
.profile__media { aspect-ratio: 1 / 1; }
.profile__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.profile__copy p, .art__copy p { color: var(--muted); }
.profile .text-link { margin-top: 18px; }
.art { grid-template-columns: .78fr 1.22fr; }
.art__media { aspect-ratio: 1.5 / 1; }
.art__media img { width: 100%; height: 100%; object-fit: cover; }
.art .button { margin-top: 20px; }

.contact { display: grid; grid-template-columns: .55fr 1.45fr; gap: 54px; align-items: end; }
.contact__details { display: grid; grid-template-columns: repeat(3, 1fr); font-style: normal; }
.contact__details a { min-width: 0; padding: 0 28px; text-decoration: none; }
.contact__details a + a { border-left: 1px solid var(--rule); }
.contact__details strong, .contact__details span { display: block; }
.contact__details strong { margin-bottom: 8px; color: var(--green); font-size: .76rem; text-transform: uppercase; }
.contact__details span { overflow-wrap: anywhere; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; width: var(--content); min-height: 96px; margin: 0 auto; color: var(--muted); font-size: .78rem; }
.site-footer nav { display: flex; gap: 28px; }
.site-footer > :last-child { justify-self: end; }

.page-hero { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(50px, 8vw, 110px); width: var(--content); padding: 90px 0 84px; margin: 0 auto; border-bottom: 1px solid var(--rule); }
.page-hero__copy .accent-rule { margin: 28px 0; }
.page-hero__copy p { color: var(--muted); }
.page-hero__media { min-height: 430px; margin: 0; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.gallery-section { width: var(--content); padding: 84px 0 118px; margin: 0 auto; }
.gallery-heading { display: flex; align-items: center; gap: 38px; margin-bottom: 54px; }
.gallery-heading h2 { margin: 0; }
.gallery-heading::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.art-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 54px; }
.artwork { min-width: 0; margin: 0; }
.artwork:nth-child(1) { grid-column: 1 / span 7; }
.artwork:nth-child(2) { grid-column: 8 / span 5; margin-top: 92px; }
.artwork:nth-child(3) { grid-column: 1 / span 5; }
.artwork:nth-child(4) { grid-column: 6 / span 7; margin-top: 82px; }
.artwork:nth-child(5) { grid-column: 1 / span 7; }
.artwork:nth-child(6) { grid-column: 8 / span 5; margin-top: 88px; }
.artwork__button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.artwork__frame { display: block; width: 100%; overflow: hidden; background: var(--soft); }
.artwork:nth-child(odd) .artwork__frame { aspect-ratio: 1.4 / 1; }
.artwork:nth-child(even) .artwork__frame { aspect-ratio: .82 / 1; }
.artwork img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.artwork__button:hover img, .artwork__button:focus-visible img { transform: scale(1.02); }
.artwork figcaption { padding: 13px 0; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }
.artwork figcaption strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.gallery-dialog { width: min(1000px, calc(100vw - 40px)); max-height: calc(100vh - 40px); padding: 0; border: 0; background: var(--white); box-shadow: 0 28px 90px rgba(0,0,0,.25); }
.gallery-dialog::backdrop { background: rgba(6, 26, 21, .82); }
.gallery-dialog__close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid var(--rule); background: rgba(255,255,255,.94); cursor: pointer; }
.gallery-dialog img { width: 100%; max-height: calc(100vh - 130px); object-fit: contain; background: var(--soft); }
.gallery-dialog p { padding: 16px 22px; margin: 0; }

.form-page { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 130px); width: var(--content); padding: 90px 0 120px; margin: 0 auto; }
.form-page__intro p { color: var(--muted); }
.request-form { padding-left: clamp(36px, 6vw, 84px); border-left: 1px solid var(--rule); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; color: var(--green); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.field input { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #aeb8b3; border-radius: 0; background: var(--white); }
.field input:focus { outline: 2px solid rgba(6,63,49,.2); outline-offset: 2px; border-color: var(--green); }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 28px 0; color: var(--muted); font-size: .88rem; }
.checkbox input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--green); }
.form-note { margin-top: 20px; color: var(--muted); font-size: .83rem; }
.honeypot { position: absolute; left: -9999px; }

.legal-page { width: min(860px, calc(100vw - 48px)); margin: 0 auto; padding: 88px 0 120px; }
.legal-page__intro { padding-bottom: 36px; margin-bottom: 48px; border-bottom: 1px solid var(--rule); }
.legal-page h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.legal-page h2 { margin-top: 54px; font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.legal-page h3 { margin-top: 34px; font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.legal-page p, .legal-page li, .legal-page address { color: var(--muted); }
.legal-page address { font-style: normal; }
.legal-page a { text-underline-offset: 4px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --content: min(760px, calc(100% - 36px)); }
  .site-header { grid-template-columns: auto 1fr auto; padding: 0 18px; }
  .menu-button { display: block; justify-self: end; }
  .header-cta { display: none; }
  .site-nav { position: absolute; top: 100%; right: 18px; left: 18px; display: none; flex-direction: column; gap: 0; padding: 12px 20px; border: 1px solid var(--rule); background: var(--white); box-shadow: 0 18px 32px rgba(12,35,28,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero__copy { min-width: 0; padding: 72px 0 54px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .explanation, .profile, .art, .contact, .page-hero, .form-page { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .process__steps { grid-template-columns: 1fr; }
  .process__steps article { min-height: 0; padding: 28px 0 28px 70px; }
  .process__steps article + article { border-top: 1px solid var(--rule); border-left: 0; }
  .process__steps span { top: 24px; left: 0; }
  .info-band { grid-template-columns: 1fr; }
  .info-band__action { padding: 36px 0 0; border-top: 1px solid rgba(255,255,255,.26); border-left: 0; }
  .contact__details { grid-template-columns: 1fr; }
  .contact__details a { padding: 18px 0; }
  .contact__details a + a { border-top: 1px solid var(--rule); border-left: 0; }
  .site-footer { grid-template-columns: 1fr; padding: 30px 0; }
  .site-footer > :last-child { justify-self: start; }
  .page-hero { padding-top: 64px; }
  .art-grid { grid-template-columns: 1fr 1fr; }
  .artwork:nth-child(n) { grid-column: auto; margin-top: 0; }
  .request-form { padding: 48px 0 0; border-top: 1px solid var(--rule); border-left: 0; }
  .legal-page { width: var(--content); padding-top: 64px; }
}

@media (max-width: 620px) {
  :root { --content: calc(100% - 28px); --header-height: 70px; }
  body { font-size: 15px; }
  .site-header { min-height: var(--header-height); padding: 0 14px; }
  .brand { font-size: 1rem; }
  .brand__mark { font-size: 1.8rem; }
  .hero { width: calc(100% - 28px); max-width: calc(100% - 28px); }
  .hero__copy { padding-top: 54px; }
  .hero__copy > * { max-width: 100%; }
  .hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.1rem); overflow-wrap: anywhere; }
  .hero__lead { overflow-wrap: anywhere; }
  .hero__media { aspect-ratio: 1 / 1; }
  .ruled-section { padding: 66px 0; }
  .actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .profile__media { aspect-ratio: 4 / 5; }
  .site-footer nav { gap: 18px; flex-wrap: wrap; }
  .page-hero { padding: 54px 0; }
  .page-hero__media { min-height: 300px; }
  .art-grid { grid-template-columns: 1fr; gap: 42px; }
  .artwork:nth-child(n) .artwork__frame { aspect-ratio: 1 / 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

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