/* natecreates.art — gallery-quiet: white walls, the work does the talking. */
:root {
  --bg: #ffffff;
  --wall: #f6f4f0;
  --ink: #1b1a18;
  --muted: #6e6a63;
  --line: #e7e3dc;
  --accent: #8a5a3c;
  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.narrow { max-width: 760px; }
.eyebrow { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ---------- header ---------- */
.top { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.mark { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; font-size: 0.86rem; }
.menu a { text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.menu-btn { display: none; font: inherit; font-size: 0.86rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; margin-left: auto; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 22px 18px; gap: 0; }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 10px 0; font-size: 1rem; }
}

/* ---------- page heads ---------- */
.page-head { padding-block: 88px 56px; }
.page-head h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); line-height: 1.02; margin-top: 16px; }
.page-head .lede { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--muted); margin-top: 22px; max-width: 40rem; }
.section { padding-top: 96px; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin-top: 12px; }
.section .lede { color: var(--muted); margin-top: 14px; max-width: 40rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 96px 0 0; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; padding-block: 72px 40px; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: 0.98; }
.hero .roles { margin-top: 26px; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--muted); }
.hero .roles em { color: var(--ink); font-style: italic; }
.hero figure { margin: 0; }
.hero figcaption, .cap { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 0.88rem var(--sans); letter-spacing: 0.02em; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 1px solid var(--ink); background: none; color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); }
.btn svg { width: 17px; height: 17px; flex: none; }

.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin-top: 48px; }
.index a { text-decoration: none; display: block; }
.index .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--wall); }
.index img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.index a:hover img { transform: scale(1.03); }
.index h3 { font-size: 1.75rem; margin-top: 18px; }
.index p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.index .more { display: inline-block; margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.04em; border-bottom: 1px solid currentColor; }

.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.about img { width: 100%; height: auto; }
.about p.big { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; margin-top: 14px; }

/* ---------- media ---------- */
.full img, .full video { width: 100%; height: auto; }
.pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.pair img, .pair video { width: 100%; height: 100%; object-fit: cover; background: var(--wall); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.tile { padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; font: inherit; color: inherit; display: block; width: 100%; }
.tile .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wall); position: relative; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.tile:hover .ph img { opacity: 0.9; }
.tile .t { display: block; font-size: 0.9rem; margin-top: 10px; }
.tile.contain .ph img { object-fit: contain; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); display: grid; place-items: center; }
.play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.tile.vid { cursor: pointer; }

.masonry { columns: 3 260px; column-gap: 28px; margin-top: 48px; }
.masonry .tile { margin: 0 0 28px; break-inside: avoid; }
.masonry .tile img { width: 100%; height: auto; background: var(--wall); }
.masonry.tight { columns: 4 200px; column-gap: 18px; }
.masonry.tight .tile { margin-bottom: 18px; }

.figure video { width: 100%; height: auto; background: #000; }
.figure .cap { margin-top: 10px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 48px; }
.split.rev > :first-child { order: 2; }
.split h3 { font-size: 2rem; }
.split p { color: var(--muted); margin-top: 12px; }
.split ul { margin: 16px 0 0; padding: 0; list-style: none; }
.split li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.split li:last-child { border-bottom: 1px solid var(--line); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.tags li { font-size: 0.82rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--muted); }

.note { margin-top: 32px; padding: 20px 24px; background: var(--wall); font-size: 0.95rem; color: var(--muted); max-width: 46rem; }
.note b { color: var(--ink); font-weight: 500; }

/* ---------- contact ---------- */
.contact { text-align: center; padding-block: 120px 40px; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.contact p { color: var(--muted); margin: 16px auto 0; max-width: 34rem; }
.contact .cta { justify-content: center; }

footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 0.82rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- lightbox ---------- */
dialog.lb { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog.lb::backdrop { background: rgba(255, 255, 255, 0.97); }
.lb img, .lb video { display: block; max-width: 90vw; max-height: 82vh; width: auto; height: auto; }
.lb video { background: #000; }
.lb .lbcap { font-size: 0.9rem; color: var(--muted); margin-top: 12px; text-align: center; min-height: 1.4em; }
.lb .x, .lb .nb { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.lb .x { top: 16px; right: 16px; }
.lb .nb { top: 50%; margin-top: -24px; }
.lb .prev { left: 16px; } .lb .next { right: 16px; }
.lb .nb[hidden] { display: none; }
.lb svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .wrap { padding-inline: 22px; }
  .hero, .about, .pair, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.rev > :first-child { order: 0; }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { padding-block: 56px 36px; }
  .section { padding-top: 72px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .index, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .grid3 { gap: 14px; }
  .masonry, .masonry.tight { columns: 2; column-gap: 12px; }
  .masonry .tile, .masonry.tight .tile { margin-bottom: 12px; }
  .index h3 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .index img { transition: none; } }
