:root {
  color-scheme: light;
  --ink: #201f1a;
  --ink-soft: #4e4a41;
  --paper: #f4f0e8;
  --paper-deep: #e9e2d6;
  --olive: #a58a52;
  --olive-dark: #78633d;
  --white: #fbf9f3;
  --dark: #171713;
  --line: rgba(32, 31, 26, .2);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --page-pad: clamp(1.25rem, 6.3vw, 7.5rem);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: #c6ad73; color: var(--dark); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); color: var(--ink); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-pad); background: var(--paper); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-size: 1.1rem; line-height: .85; letter-spacing: -.065em; font-weight: 500; }
.brand-name b { font-weight: 700; }
.brand-name small { display: block; margin-top: .42rem; font-size: .48rem; line-height: 1; letter-spacing: .2em; font-weight: 600; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3.25rem); margin-left: auto; margin-right: clamp(2rem, 6vw, 7rem); }
.primary-nav a, .header-cta { font-size: .72rem; letter-spacing: .035em; }
.primary-nav a { color: var(--ink-soft); transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--olive-dark); }
.header-cta { border-bottom: 1px solid var(--ink); padding: .35rem 0; }
.header-cta span, .text-link span, .underlined-link span, .social-links span, .back-top span { color: var(--olive-dark); margin-left: .4rem; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(750px, calc(100svh - 86px)); min-height: clamp(600px, 78vw, 790px); height: calc(100svh - 86px); max-height: 850px; background: var(--dark); color: var(--white); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 42%; opacity: .87; }
.hero-shade { background: linear-gradient(90deg, rgba(16, 16, 13, .82) 0%, rgba(16, 16, 13, .46) 42%, rgba(16, 16, 13, .02) 100%), linear-gradient(0deg, rgba(16, 16, 13, .38), transparent 50%); }
.hero-topline { position: absolute; top: 2.15rem; left: var(--page-pad); right: var(--page-pad); display: flex; justify-content: space-between; color: rgba(251, 249, 243, .72); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-copy { position: absolute; left: var(--page-pad); top: 50%; transform: translateY(-44%); max-width: 720px; }
.eyebrow { margin: 0 0 1.35rem; display: flex; gap: .6rem; align-items: center; color: var(--olive); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.eyebrow-dot { height: 6px; width: 6px; display: inline-block; border-radius: 50%; background: currentColor; }
.hero h1, .intro h2, .section-heading h2, .about-copy h2, .contact-main h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(4.7rem, 10vw, 9.25rem); line-height: .88; }
.hero h1 em, .intro h2 em, .section-heading h2 em, .about-copy h2 em, .contact-main h2 em { font-weight: 500; }
.hero h1 em { color: #d7c39a; }
.hero-intro { max-width: 360px; margin: 1.65rem 0 1.7rem; color: rgba(251, 249, 243, .8); font-size: .9rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 52px; padding: 0 1.45rem; font-size: .72rem; letter-spacing: .045em; font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #fff; }
.button-light span { font-size: 1rem; color: var(--olive-dark); }
.text-link { font-size: .72rem; color: var(--white); }
.hero-index { position: absolute; right: var(--page-pad); bottom: 3.2rem; display: flex; align-items: center; gap: .8rem; font-size: .61rem; letter-spacing: .12em; }
.hero-index i { display: block; width: 82px; height: 1px; background: rgba(255,255,255,.55); }
.hero-caption { position: absolute; left: var(--page-pad); bottom: 2.8rem; margin: 0; font: italic .85rem var(--serif); color: rgba(251, 249, 243, .7); }

.section-pad { padding-left: var(--page-pad); padding-right: var(--page-pad); }
.intro { position: relative; min-height: 430px; display: flex; align-items: flex-start; padding-top: 6rem; padding-bottom: 6rem; }
.section-kicker { display: flex; align-items: center; gap: 1rem; color: var(--olive-dark); font-size: .61rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.kicker-line { display: inline-block; width: 42px; height: 1px; background: var(--olive); }
.intro-content { margin: -.1rem 12% 0 auto; max-width: 700px; }
.intro h2, .section-heading h2, .about-copy h2 { font-size: clamp(3rem, 6.2vw, 6.5rem); line-height: .98; }
.intro h2 em, .section-heading h2 em, .about-copy h2 em { color: var(--olive-dark); }
.intro-content > p { max-width: 430px; margin: 1.55rem 0 1.5rem 17%; font-size: .88rem; line-height: 1.8; color: var(--ink-soft); }
.underlined-link { display: inline-block; margin-left: 17%; padding-bottom: .55rem; border-bottom: 1px solid var(--olive); font-size: .7rem; font-weight: 600; }
.intro-stamp { position: absolute; right: var(--page-pad); bottom: 4rem; width: 78px; height: 78px; border: 1px solid rgba(120, 99, 61, .45); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--olive-dark); font: 1rem var(--serif); line-height: .88; transform: rotate(-12deg); }
.intro-stamp i { font-size: .64rem; font-style: normal; letter-spacing: .11em; }

.work-section { padding-top: 2.5rem; padding-bottom: 7rem; background: var(--paper-deep); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3.2rem; }
.section-heading h2 { margin-top: 1.1rem; }
.section-aside { max-width: 210px; margin: 0 5% .45rem 1.5rem; font-size: .8rem; line-height: 1.7; color: var(--ink-soft); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.gallery-filter { display: inline-flex; align-items: baseline; gap: .55rem; padding: .7rem 0 .85rem; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--ink-soft); font-size: .68rem; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.gallery-filter span { color: var(--olive-dark); font-size: .56rem; }
.gallery-filter:hover, .gallery-filter.is-active { color: var(--ink); border-bottom-color: var(--olive-dark); }
.gallery { display: grid; grid-template-columns: 1fr .82fr 1fr; gap: 3.2rem; align-items: start; }
.gallery-item { margin: 0; min-width: 0; }
.gallery-item[hidden] { display: none; }
.gallery-item-tall { margin-top: 1rem; }
.gallery-item-offset { margin-top: 8rem; }
.gallery-item-wide { margin-top: 2.5rem; }
.image-button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; overflow: hidden; text-align: left; }
.image-button img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; transition: transform .7s cubic-bezier(.2,.65,.25,1), opacity .3s ease; }
.gallery-item-offset .image-button img { aspect-ratio: 4 / 5.4; }
.gallery-item-wide .image-button img { aspect-ratio: 4 / 5.15; }
.image-button:hover img, .image-button:focus-visible img { transform: scale(1.035); opacity: .86; }
.image-open { position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 36px; height: 36px; place-items: center; color: var(--ink); background: var(--paper); border-radius: 50%; font-size: 1.1rem; opacity: 0; transform: translateY(5px); transition: .25s ease; }
.image-button:hover .image-open, .image-button:focus-visible .image-open { opacity: 1; transform: translateY(0); }
.gallery-item figcaption { display: flex; align-items: flex-start; gap: 1rem; padding-top: 1rem; }
.frame-number { color: var(--olive-dark); font-size: .6rem; letter-spacing: .1em; }
.gallery-item figcaption b { display: block; font: 500 1.12rem var(--serif); }
.gallery-item figcaption small { display: block; margin-top: .38rem; color: var(--ink-soft); font-size: .59rem; letter-spacing: .09em; text-transform: uppercase; }
.image-note { margin: 3.2rem 0 0; text-align: right; font-size: .67rem; color: var(--ink-soft); }

.about-section { padding-top: 7.5rem; padding-bottom: 7.5rem; display: grid; grid-template-columns: minmax(260px, .9fr) minmax(330px, 1.1fr); align-items: center; gap: clamp(3rem, 9vw, 10rem); }
.about-photo-wrap { position: relative; max-width: 520px; width: 100%; margin-left: 7%; }
.about-photo-wrap::before { content: ''; position: absolute; width: 40%; height: 43%; top: -1.2rem; left: -1.2rem; border-top: 1px solid var(--olive); border-left: 1px solid var(--olive); }
.about-photo-wrap > img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; object-position: center; background: var(--paper-deep); }
.photo-side-note { position: absolute; right: -2rem; top: 0; transform: translateX(100%); writing-mode: vertical-rl; font-size: .57rem; letter-spacing: .16em; color: var(--olive-dark); }
.about-number { position: absolute; bottom: 1.5rem; left: -1.5rem; padding: .15rem .45rem; background: rgba(246, 243, 236, .9); color: var(--ink); font: 2rem var(--serif); }
.about-number span { font: .62rem var(--sans); letter-spacing: .1em; }
.about-copy { max-width: 620px; }
.about-copy .section-kicker { margin-bottom: 3.3rem; }
.about-copy .eyebrow { margin-bottom: 1rem; }
.about-copy h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
.about-body { max-width: 440px; margin: 1.55rem 0 0 10%; color: var(--ink-soft); font-size: .85rem; line-height: 1.9; }
.about-body-small { margin-top: .9rem; }
.about-copy .underlined-link { margin: 1.7rem 0 0 10%; }
.signature { display: block; margin: 2.2rem 0 0 10%; color: var(--olive-dark); font: italic 2.35rem var(--serif); transform: rotate(-6deg); transform-origin: left; }

.contact-section { position: relative; overflow: hidden; padding-top: 3.5rem; padding-bottom: 2.2rem; background: var(--dark); color: var(--white); }
.contact-section::before { content: 'AKJ'; position: absolute; right: -2rem; bottom: 3.2rem; color: rgba(255,255,255,.025); font: 28vw/.8 var(--serif); letter-spacing: -.1em; pointer-events: none; }
.contact-overline, .contact-bottom { display: flex; justify-content: space-between; gap: 1rem; color: rgba(251,249,243,.62); font-size: .59rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .7fr; gap: 4rem; align-items: center; padding: 6.5rem 0 7rem; }
.contact-main h2 { font-size: clamp(4.3rem, 9vw, 9rem); line-height: .88; }
.contact-main h2 em { color: #d7c39a; }
.contact-card { max-width: 390px; }
.contact-card > p:first-child { max-width: 320px; margin: 0 0 1.4rem; color: rgba(251,249,243,.76); font-size: .86rem; line-height: 1.8; }
.button-dark { min-width: 180px; justify-content: space-between; background: var(--paper); color: var(--ink); }
.button-dark:hover { background: #fff; }
.button-whatsapp { min-width: 180px; justify-content: space-between; margin-left: .5rem; background: #c7b27c; color: var(--dark); }
.button-whatsapp[hidden] { display: none; }
.whatsapp-note { display: block; margin: .8rem 0 0; color: rgba(251,249,243,.48); font-size: .62rem; line-height: 1.5; }
.whatsapp-note[hidden] { display: none; }
.social-links { display: flex; flex-wrap: wrap; gap: .7rem 1.35rem; margin-top: 2.3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); }
.social-links a { color: rgba(251,249,243,.82); font-size: .65rem; }
.social-links a:hover { color: #d7c39a; }
.social-links span { color: #d7c39a; }
.contact-bottom { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .55rem; letter-spacing: .1em; }
.site-footer { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem var(--page-pad); background: #11110e; color: rgba(251,249,243,.68); }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.site-footer p, .back-top { margin: 0; font-size: .62rem; letter-spacing: .03em; }
.back-top { color: var(--white); }

.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 4rem 5rem 3rem; border: 0; background: rgba(17,17,14,.97); color: var(--white); }
.lightbox::backdrop { background: rgba(17,17,14,.97); }
.lightbox[open] { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; grid-template-rows: 1fr auto; align-items: center; gap: 1rem; }
.lightbox-figure { grid-column: 2; grid-row: 1; margin: 0; text-align: center; min-width: 0; }
.lightbox-figure img { margin: 0 auto; width: auto; height: min(78vh, 880px); max-width: 100%; object-fit: contain; }
.lightbox-figure figcaption { margin-top: 1rem; font: 1.1rem var(--serif); }
.lightbox-close, .lightbox-arrow { border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.6rem; }
.lightbox-previous { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox-count { grid-column: 2; grid-row: 2; text-align: center; color: rgba(255,255,255,.65); font-size: .65rem; letter-spacing: .12em; }
.lightbox button:hover { background: rgba(255,255,255,.15); }

:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
@media (max-width: 900px) {
  :root { --page-pad: clamp(1.3rem, 5vw, 3.5rem); }
  .primary-nav { margin-right: 2rem; gap: 1.5rem; }
  .gallery { gap: 1.5rem; }
  .about-section { gap: 4rem; }
  .about-photo-wrap { margin-left: 0; }
  .contact-main { gap: 2rem; }
  .button-whatsapp { margin: .7rem 0 0; }
}
@media (max-width: 680px) {
  .site-header { height: 72px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { width: 22px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 72px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem var(--page-pad) 1rem; background: var(--paper); box-shadow: 0 15px 20px rgba(20,18,12,.12); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .primary-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .hero { height: min(790px, calc(100svh - 72px)); min-height: 610px; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(16,16,13,.78), rgba(16,16,13,.25)), linear-gradient(0deg, rgba(16,16,13,.35), transparent 60%); }
  .hero-topline { top: 1.4rem; font-size: .5rem; letter-spacing: .09em; }
  .hero-topline span:last-child { text-align: right; }
  .hero-copy { top: 48%; max-width: 95%; }
  .hero h1 { font-size: clamp(4.45rem, 17vw, 7.1rem); }
  .hero-intro { max-width: 290px; font-size: .82rem; }
  .hero-caption { bottom: 1.7rem; font-size: .72rem; }
  .hero-index { right: var(--page-pad); bottom: 1.8rem; }
  .hero-index i { width: 42px; }
  .intro { display: block; min-height: initial; padding-top: 4.5rem; padding-bottom: 5rem; }
  .intro-content { margin: 2.5rem 0 0; }
  .intro h2, .section-heading h2 { font-size: clamp(3rem, 12vw, 4.7rem); }
  .intro-content > p, .underlined-link { margin-left: 0; }
  .intro-content > p { margin-top: 1.4rem; }
  .intro-stamp { right: var(--page-pad); bottom: 2rem; width: 58px; height: 58px; font-size: .8rem; }
  .work-section { padding-top: 1rem; padding-bottom: 4.5rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
  .section-aside { max-width: 260px; margin: 0; }
  .gallery-filters { gap: .2rem 1.05rem; margin-bottom: 1.6rem; }
  .gallery-filter { font-size: .62rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 2.4rem 1rem; }
  .gallery-item-tall { margin-top: .5rem; }
  .gallery-item-offset { margin-top: 2.8rem; }
  .gallery-item:nth-child(3n) { grid-column: 1 / -1; width: 80%; margin: 0 0 0 10%; }
  .gallery-item figcaption { gap: .55rem; padding-top: .7rem; }
  .gallery-item figcaption b { font-size: 1rem; }
  .gallery-item figcaption small { font-size: .48rem; letter-spacing: .06em; }
  .image-open { width: 31px; height: 31px; opacity: 1; transform: none; }
  .image-note { text-align: left; font-size: .62rem; line-height: 1.6; margin-top: 2rem; }
  .about-section { display: flex; flex-direction: column; align-items: stretch; gap: 3.8rem; padding-top: 5rem; padding-bottom: 5rem; }
  .about-photo-wrap { width: 83%; margin-left: 5%; }
  .photo-side-note { right: -1.2rem; font-size: .5rem; }
  .about-copy .section-kicker { margin-bottom: 2.5rem; }
  .about-copy h2 { font-size: clamp(3.2rem, 12vw, 4.8rem); }
  .about-body, .about-copy .underlined-link, .signature { margin-left: 0; }
  .about-body { font-size: .8rem; }
  .signature { margin-top: 1.8rem; }
  .contact-section { padding-top: 2.5rem; }
  .contact-overline { font-size: .5rem; }
  .contact-main { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0 4.2rem; }
  .contact-main h2 { font-size: clamp(4.2rem, 16vw, 6.2rem); }
  .contact-card > p:first-child { max-width: 300px; font-size: .8rem; }
  .contact-bottom { font-size: .48rem; line-height: 1.5; }
  .contact-bottom span:last-child { text-align: right; }
  .site-footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto; row-gap: .8rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .site-footer p { grid-column: 1; grid-row: 2; font-size: .55rem; }
  .back-top { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .lightbox { padding: 4rem .5rem 2rem; }
  .lightbox[open] { grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; gap: .2rem; }
  .lightbox-arrow { width: 38px; height: 38px; }
  .lightbox-close { top: .8rem; right: .8rem; }
  .lightbox-figure img { height: min(75vh, 700px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
