@font-face { font-family: 'Cormorant Garamond'; src: url('assets/cormorant-garamond-italic-500.woff2') format('woff2'); font-style: italic; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('assets/cormorant-garamond-normal-500.woff2') format('woff2'); font-style: normal; font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('assets/dm-sans-normal-400.woff2') format('woff2'); font-style: normal; font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #140d13;
  --plum: #21121c;
  --cream: #f8efe4;
  --gold: #eac09c;
  --muted: #cbbac0;
  --line: #eac09c36;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.6rem; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 1rem/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
figure, p, h1, h2 { margin: 0; }
em { font-weight: 500; color: var(--gold); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(1296px, calc(100% - clamp(2.5rem, 10vw, 11rem))); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; top: 1rem; left: 1rem; padding: .65rem 1rem; background: var(--ink); }

.header { position: sticky; top: 0; z-index: 5; background: #160e15f2; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.brand { display: inline-flex; align-items: center; gap: .52rem; white-space: nowrap; font: 600 clamp(1.48rem, 2.6vw, 2rem)/1 var(--serif); }
.brand-mark { color: var(--gold); font: 1.55rem/1 Georgia, serif; }
.header nav { display: flex; align-items: center; gap: clamp(1.15rem, 3.5vw, 3.5rem); }
.header nav a { font-size: .85rem; font-weight: 600; transition: color .2s; }
.header nav a:hover, .back:hover { color: var(--gold); }
.nav-contact { border: 1px solid var(--line); padding: .52rem .88rem; border-radius: 100vw; }
.nav-contact span { margin-left: .25rem; }
.arrow-up::before { content: ""; display: inline-block; width: .5em; height: .5em; border-block-start: 1px solid; border-inline-end: 1px solid; vertical-align: .1em; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(630px, 84svh, 900px); overflow: hidden; background: radial-gradient(ellipse at 36% 85%, #2e1525, transparent 70%), var(--ink); }
.hero-visual { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 64%; mask-image: linear-gradient(90deg, transparent, black 13%); }
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; object-position: 50% 12%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #170e16 0%, #170e16dd 10%, #170e1660 26%, transparent 48%), linear-gradient(0deg, #170e16 0%, #170e163b 22%, transparent 49%); }
.hero-inner { padding-block: 3.5rem 6rem; }
.hero-copy { width: min(100%, 35rem); }
.eyebrow { display: flex; align-items: center; gap: .85rem; color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .24em; line-height: 1.45; text-transform: uppercase; }
.eyebrow > span { width: 2rem; height: 1px; background: currentColor; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { margin-block: .85rem 1.6rem; font-size: clamp(6.15rem, 11vw, 11.55rem); line-height: .75; }
h1 em { margin-left: .24em; }
.hero-description { max-width: 28rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.05rem; min-height: 47px; padding: .55rem 1.15rem; border: 1px solid var(--line); border-radius: 100vw; font-size: .86rem; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.button.primary { background: var(--gold); color: #271520; border-color: var(--gold); }
.button.primary:hover { background: var(--cream); border-color: var(--cream); }
.button.secondary:hover { border-color: var(--gold); color: var(--gold); }
.hero-bottom { position: absolute; bottom: 1.25rem; left: 0; right: 0; display: flex; align-items: center; gap: .95rem; color: var(--gold); font-size: .67rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero-bottom a { border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1rem; }
.hero-bottom div { flex: 1; height: 1px; background: var(--line); }

.section { padding-block: clamp(4.75rem, 9vw, 9rem); }
h2 { font-size: clamp(3.4rem, 6.7vw, 7.4rem); line-height: .93; }
.about { background: radial-gradient(ellipse at top right, #2d1724, transparent 70%), #1b111a; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 8vw, 8.5rem); max-width: 1110px; }
.portrait { position: relative; margin-inline: 1rem 0; max-width: 490px; }
.portrait::before { content: ""; position: absolute; inset: -.8rem .8rem 1.1rem -.8rem; border: 1px solid var(--line); border-radius: 48% 48% .35rem .35rem / 39% 39% .35rem .35rem; pointer-events: none; }
.portrait img { width: 100%; height: auto; aspect-ratio: .84; object-fit: cover; object-position: center 37%; border-radius: 48% 48% .35rem .35rem / 39% 39% .35rem .35rem; }
.portrait figcaption { margin-top: .55rem; text-align: right; color: var(--muted); font-size: .75rem; }
.about h2 { margin-block: 1.2rem 1.6rem; }
.about-copy > p:not(.signature, .eyebrow) { max-width: 36rem; margin-top: 1rem; color: var(--muted); }
.signature { font: italic 500 2.1rem/1 var(--serif); color: var(--gold); margin-top: 1.55rem; }

.gallery { background: #150e15; border-block: 1px solid var(--line); }
.gallery-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.65rem 2rem; margin-bottom: 2.1rem; }
.gallery h2 { margin-top: .75rem; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button { min-height: 44px; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 100vw; color: var(--cream); background: transparent; font-size: .81rem; font-weight: 600; }
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { color: #271520; background: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.photo { min-width: 0; position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; aspect-ratio: 4 / 4.4; border-radius: .4rem; background: #2e202d; }
.photo:nth-child(2) { grid-column: span 2; aspect-ratio: auto; }
.gallery-grid.is-filtered .photo { grid-column: auto; aspect-ratio: 4 / 4.4; }
.photo img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 33%; transition: transform .5s ease; }
.photo:nth-child(2) img { object-position: center 51%; }
.photo::after { content: ""; position: absolute; z-index: -1; inset: 40% 0 0; background: linear-gradient(transparent, #170f17e8); }
.photo:hover img { transform: scale(1.055); }
.photo-caption { padding: .8rem .85rem .9rem; display: flex; gap: .45rem; justify-content: space-between; align-items: center; color: white; font-size: .86rem; font-weight: 700; }
.photo-caption span+span { flex: none; border: 1px solid #fff7; border-radius: 100%; aspect-ratio: 1; width: 32px; display: grid; place-items: center; }

.social { background: radial-gradient(ellipse at 50% 100%, #442238, transparent 77%), #21121c; text-align: center; }
.social .eyebrow { justify-content: center; }
.social h2 { margin-block: 1rem; }
.social p:not(.eyebrow) { color: var(--muted); }
.social-links { margin-top: 1.65rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.social-links a { display: flex; align-items: center; justify-content: space-between; gap: 1.65rem; border: 1px solid var(--line); padding: .65rem 1rem; border-radius: 100vw; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.social-links a:hover { background: var(--gold); color: #271520; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.6rem; }
.back { font-size: .83rem; }
.back span { margin-left: .3rem; }

.lightbox { padding: 0; width: min(100% - 1.2rem, 72rem); max-width: none; max-height: calc(100dvh - 1rem); margin: auto; border: 1px solid var(--line); border-radius: .75rem; overflow: auto; background: #160f16; color: var(--cream); }
.lightbox::backdrop { background: #0c080ceb; }
.lightbox-shell { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .55rem; padding: 3.5rem .8rem .8rem; }
.lightbox button { border: 1px solid var(--line); border-radius: 100%; width: 44px; height: 44px; background: #281a28; color: var(--cream); font: 1.65rem/1 var(--sans); display: grid; place-items: center; padding: 0; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.close-photo { position: absolute; top: .5rem; right: .7rem; }
.lightbox-figure img { width: 100%; height: min(70dvh, 50rem); object-fit: contain; }
.lightbox figcaption { margin-top: .4rem; text-align: center; color: var(--muted); font-size: .83rem; }

@media (max-width: 850px) {
  .hero { min-height: 655px; }
  .hero-copy { max-width: 28rem; }
  .hero-description { max-width: 22rem; }
  .hero-visual { width: 72%; }
  .hero-visual::after { background: linear-gradient(90deg, #170e16 0%, #170e16ba 20%, #170e163b 50%, transparent 70%), linear-gradient(0deg, #170e16 0%, transparent 48%); }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 4.5rem; }
  .header-inner { min-height: 62px; }
  .header nav { gap: 1rem; }
  .header nav a { font-size: .75rem; }
  .js .menu-toggle { display: flex; align-items: center; gap: .5rem; min-height: 40px; background: transparent; color: var(--cream); border: 1px solid var(--line); border-radius: 100vw; padding: .2rem .7rem; font-size: .78rem; }
  .js .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .js .header nav { position: absolute; top: 100%; inset-inline: 0; background: #21121c; padding: .6rem 1.25rem; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); }
  .js .header nav a { padding: .75rem 0; font-size: .92rem; }
  .js .nav-contact { border: 0; }
  .hero { align-items: end; min-height: min(820px, max(620px, 87svh)); }
  .hero-visual { width: 100%; height: 100%; mask-image: none; }
  .hero-visual img { object-position: 52% 23%; }
  .hero-visual::after { background: linear-gradient(0deg, #190e17 3%, #190e17f0 18%, #190e17c4 35%, #190e1659 57%, transparent 81%), linear-gradient(90deg, #190e1659, transparent 75%); }
  .hero-inner { padding-block: 14rem 5.35rem; }
  h1 { font-size: clamp(5.3rem, 15.5vw, 7.5rem); margin-bottom: 1.25rem; }
  .hero-description { color: #f0e1e5; max-width: 24rem; }
  .actions { gap: .55rem; margin-top: 1.25rem; }
  .button { padding-inline: .8rem; gap: .55rem; }
  .hero-bottom { bottom: .9rem; gap: .65rem; font-size: .57rem; }
  .hero-bottom a { width: 34px; height: 34px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .about-copy { grid-row: 1; }
  .portrait { width: min(calc(100% - 1rem), 420px); justify-self: center; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .photo:nth-child(2) { grid-column: auto; aspect-ratio: 4 / 4.4; }
  .photo-caption { font-size: .74rem; padding: .45rem; }
  .photo-caption span+span { width: 25px; }
  .social-links { gap: .45rem; }
  .social-links a { gap: .6rem; padding-inline: .65rem; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; }
  .button { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
