:root {
  --ink: #181816;
  --paper: #f1eee6;
  --chalk: #fbfaf6;
  --acid: #d4fb51;
  --muted: #66655e;
  --line: rgba(24, 24, 22, .17);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 76px;
  --max-width: 1380px;
  color-scheme: light;
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; }
body.showing-album { background: var(--chalk); }
body.showing-album .hero, body.showing-album .albums-section, body.showing-album .about-section { display: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--acid); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--header-height); display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(18px, 4vw, 58px); color: #fff; mix-blend-mode: normal; transition: background .25s ease, color .25s ease; }
.site-header.is-scrolled { color: var(--ink); background: rgba(241, 238, 230, .93); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 11px; align-items: center; font-weight: 800; letter-spacing: -.04em; font-size: 1.15rem; }
.brand-mark { position: relative; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--display); font-weight: 500; }
.brand-mark-slash { width: 12px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.hero { position: relative; display: grid; min-height: min(920px, 100svh); align-items: end; overflow: hidden; background: #151514; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; filter: saturate(.85) contrast(1.12); transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(12,12,11,.78), rgba(12,12,11,.12) 70%), linear-gradient(0deg, rgba(12,12,11,.54), transparent 60%); }
.hero-copy { position: relative; z-index: 1; width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; padding: calc(var(--header-height) + 56px) 0 clamp(56px, 8vw, 110px); color: #fff; }
.eyebrow { margin: 0 0 18px; font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-copy h1, .section-heading h2, .gallery-heading h2, .about-copy h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.075em; line-height: .82; }
.hero-copy h1 { max-width: 780px; font-size: clamp(5.5rem, 14.5vw, 13.6rem); }
.hero-copy p:not(.eyebrow) { width: min(385px, 100%); margin: 30px 0 0; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.6); border-radius: 0; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { background: #fff; color: var(--ink); }

.section { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; padding: clamp(72px, 10vw, 150px) 0; }
.albums-section { width: 100%; background: var(--paper); }
.albums-section > .section-heading, .albums-section > .album-grid { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 8vw; align-items: end; margin-bottom: clamp(42px, 7vw, 90px); }
.section-heading .eyebrow, .section-heading h2 { grid-column: 1; }
.section-heading p:not(.eyebrow) { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); max-width: 360px; padding-bottom: 7px; }
.section-heading h2, .gallery-heading h2, .about-copy h2 { font-size: clamp(3.3rem, 7vw, 7.5rem); }
.album-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 42px 22px; }
.album-card { grid-column: span 4; display: grid; gap: 15px; min-width: 0; }
.album-card:first-child { grid-column: 1 / span 7; }
.album-card:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(80px, 15vw, 220px); }
.album-card:nth-child(3n) { grid-column: 3 / span 5; margin-top: 5vw; }
.album-card figure { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: #d4d1c9; }
.album-card:first-child figure { aspect-ratio: 16 / 10; }
.album-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.album-card:hover img, .album-card:focus-visible img { transform: scale(1.045); filter: saturate(1.08); }
.album-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 2px; border-top: 1px solid var(--ink); }
.album-card h3 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(1.7rem, 2.7vw, 3rem); font-weight: 400; letter-spacing: -.055em; line-height: .95; }
.album-count { margin-top: 10px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.album-card p { display: none; }

.gallery-view { padding-top: calc(var(--header-height) + 58px); }
.text-button { margin: 0 0 50px; padding: 0 0 7px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); cursor: pointer; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.text-button::before { content: "← "; }
.gallery-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: clamp(38px, 6vw, 74px); }
.gallery-heading .eyebrow, .gallery-heading h2 { grid-column: 1; }
.gallery-heading p:not(.eyebrow) { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.photo-grid { --gallery-gap: clamp(10px, 1.5vw, 20px); --gallery-row: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); grid-auto-flow: dense; grid-auto-rows: var(--gallery-row); gap: var(--gallery-gap); }
.photo-tile { position: relative; display: block; min-height: 180px; padding: 0; grid-row-end: span var(--row-span, 32); border: 0; background: #d4d1c9; cursor: zoom-in; overflow: hidden; touch-action: manipulation; }
.photo-tile.is-featured, .photo-tile.is-landscape { grid-column: span 2; }
.photo-tile.is-panorama { grid-column: span 3; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.035); }

.about-section { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; border-top: 1px solid var(--ink); }
.about-copy, .about-contact { display: grid; gap: 22px; }
.about-copy h2 { font-size: clamp(3.1rem, 6vw, 6.4rem); }
.about-copy p:not(.eyebrow) { max-width: 570px; margin: 0; color: var(--muted); }
.instagram-link { font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 800; letter-spacing: -.06em; text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: .25em; text-underline-offset: -.05em; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); font-weight: 800; }

.image-watermark { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 4px 7px; color: #fff; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.25); font-size: .6rem; font-weight: 800; letter-spacing: .11em; pointer-events: none; text-transform: uppercase; }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; margin: 0; background: #10100f; color: #fff; }
.lightbox::backdrop { background: #10100f; }
.lightbox[open] { display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; align-items: stretch; }
.lightbox-frame { position: relative; display: grid; min-width: 0; min-height: 0; margin: 0; overflow: hidden; touch-action: none; user-select: none; }
.lightbox-frame img { width: 100%; height: 100%; object-fit: contain; transform-origin: center; will-change: transform; }
.lightbox-frame figcaption { position: absolute; right: 22px; bottom: 20px; left: 22px; display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.8); font-size: .74rem; pointer-events: none; }
.lightbox-frame figcaption > span:last-child { display: flex; gap: 14px; }
.zoom-hint { color: rgba(255,255,255,.48); }
.lightbox-frame .image-watermark { bottom: 58px; right: 22px; }
.icon-button { z-index: 3; align-self: center; justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(10,10,10,.3); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.icon-button span { font-size: 1.2rem; line-height: 1; }
.lightbox-close { position: absolute; top: 22px; right: 22px; }
.lightbox-close span { font-size: 1.8rem; font-weight: 200; }
.empty-state { padding: 60px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .site-header, .albums-section > .section-heading, .albums-section > .album-grid, .section, .site-footer, .hero-copy { width: min(100% - 32px, var(--max-width)); }
  .site-header { width: 100%; padding-inline: 16px; }
  .brand { font-size: 1rem; }
  .nav-links { gap: 15px; font-size: .63rem; }
  .nav-links a:nth-child(2) { display: none; }
  .hero { min-height: 82svh; }
  .hero-copy { padding-bottom: 40px; }
  .hero-copy h1 { font-size: clamp(5rem, 25vw, 8rem); }
  .section { padding: 82px 0; }
  .section-heading, .about-section { grid-template-columns: 1fr; gap: 26px; }
  .section-heading p:not(.eyebrow) { grid-column: 1; grid-row: 3; padding: 0; }
  .album-grid { grid-template-columns: 1fr; gap: 44px; }
  .album-card, .album-card:first-child, .album-card:nth-child(2), .album-card:nth-child(3n) { grid-column: 1; margin: 0; }
  .album-card figure, .album-card:first-child figure { aspect-ratio: 4 / 3; }
  .gallery-view { padding-top: calc(var(--header-height) + 38px); }
  .gallery-heading { grid-template-columns: 1fr; gap: 18px; }
  .gallery-heading p:not(.eyebrow) { grid-column: 1; grid-row: 3; }
  .photo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 5px; gap: 8px; }
  .photo-tile.is-panorama { grid-column: span 2; }
  .about-section { padding-top: 65px; }
  .site-footer { flex-direction: column; }
  .lightbox[open] { display: block; }
  .lightbox-frame { height: 100%; padding-bottom: env(safe-area-inset-bottom); }
  .lightbox-frame figcaption { right: 20px; bottom: calc(22px + env(safe-area-inset-bottom)); left: 20px; align-items: end; font-size: .7rem; }
  .zoom-hint { display: none; }
  .lightbox-frame .image-watermark { right: 20px; bottom: calc(52px + env(safe-area-inset-bottom)); }
  .lightbox-prev, .lightbox-next { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
