/* Terra Aurora Gallery — site styles */
:root {
  --green: #14241C;
  --green-2: #1D3127;
  --sage: #BFCCAF;
  --cream: #F2EFE6;
  --ink: #111111;
  --ink-2: #3A3A38;
  --muted: #5F5F5C;
  --line: #E4E4E1;
  --paper: #F4F4F2;
  --white: #FFFFFF;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #3E6B52; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid #3E6B52; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(72px, 10vw, 140px); }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--green); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.h-xl { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.h-l { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.h-m { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split > * { flex: 1 1 340px; min-width: 0; }
.split > .wide { flex: 1.3 1 460px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; font-weight: 600; letter-spacing: 0.02em; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--white); }
.btn-solid { background: var(--green); border-color: var(--green); color: var(--cream); }
.btn-solid:hover { background: #24402F; border-color: #24402F; color: var(--cream); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--green); }
.btn-light:hover { background: var(--white); color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-u { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }

/* Header */
.site-header { background: var(--green); color: var(--cream); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 0.95rem; }
.nav a { padding: 12px 0; color: var(--cream); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sage); }
.nav .nav-cta { color: var(--sage); font-weight: 600; }
@media (max-width: 720px) {
  .logo img { height: 44px; }
  .nav { width: 100%; gap: 0 20px; font-size: 0.9rem; }
  .nav a { padding: 8px 0; }
}

/* Hero */
.hero { position: relative; height: min(82vh, 780px); min-height: 480px; background: var(--green); overflow: hidden; color: var(--cream); }
.hero video, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,15,0.82) 0%, rgba(10,20,15,0.25) 55%, rgba(10,20,15,0.05) 100%); }
.hero .wrap { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vw, 72px); z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 760px; }
.hero .eyebrow { color: var(--sage); }

/* Artwork frames */
.plate { background: var(--paper); display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 56px); }
.plate img { max-height: 620px; width: auto; object-fit: contain; box-shadow: 0 2px 14px rgba(0,0,0,0.12); }
.thumb { background: var(--paper); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 24px; }
.thumb img { max-height: 100%; width: auto; object-fit: contain; }
.cover-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 56px 32px; }
.grid-fit { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; gap: 6px; }
.card .t { font-weight: 600; margin-top: 10px; }
.card .m { color: var(--ink-2); font-size: 0.95rem; }
.status { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--green); }
.status.sold, .status.reserved { color: var(--muted); }
.status.sold::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #A33A2B; margin-right: 8px; vertical-align: 1px; }

.artist-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 0 32px; border-top: 1px solid var(--line); padding-top: 20px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.artist-list a { padding: 12px 0; display: block; }

/* Artist page */
.subnav { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid var(--line); }
.subnav a { padding: 14px 0; color: var(--ink-2); border-bottom: 2px solid transparent; }
.subnav a:first-child { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.bio { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.bio h2 { flex: 1 1 220px; }
.bio .body { flex: 3 1 480px; display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); }
details.nl summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 10px 0; list-style: none; text-decoration: underline; text-underline-offset: 4px; }
details.nl summary::-webkit-details-marker { display: none; }
details.nl[open] summary { margin-bottom: 8px; }
details.nl .stack { color: var(--ink-2); }

/* Viewing room */
.vr-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vr-head .lead { max-width: 680px; color: var(--ink-2); margin-top: 16px; }
.vr-work { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.vr-work .plate { flex: 1.6 1 520px; min-height: min(640px, 80vw); }
.vr-work .info { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.vr-work .price { font-size: 1.3rem; font-weight: 600; margin-top: 12px; }
.vr-work .views { display: flex; gap: 10px; margin-top: 16px; }
.vr-work .views a { width: 72px; height: 72px; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 4px; border: 1px solid transparent; }
.vr-work .views a:hover, .vr-work .views a.on { border-color: var(--ink); }
.vr-work .views img { max-height: 100%; object-fit: contain; }
.vr-works { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.portrait-video { width: 100%; max-width: 380px; aspect-ratio: 9 / 16; object-fit: cover; background: var(--green-2); margin: 0 auto; }

/* Panels & forms */
.panel { background: var(--paper); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; align-items: center; }
.panel > * { flex: 1 1 300px; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form label { font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea, .form select { min-height: 48px; padding: 10px 14px; border: 1px solid #8A8A86; background: var(--white); font: inherit; color: var(--ink); width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 20px; min-height: 20px; margin-top: 4px; flex: none; }
.hidden { display: none; }

/* Footer */
.site-footer { margin-top: clamp(96px, 12vw, 160px); background: var(--green); color: var(--cream); padding: clamp(48px, 7vw, 80px) 0 32px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; justify-content: space-between; }
.site-footer .emblem { width: 150px; height: 150px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; flex: 1 1 220px; color: #C9CFC4; }
.site-footer .col strong { color: var(--cream); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--sage); }
.site-footer .form label { color: var(--cream); }
.site-footer .form input { background: var(--green-2); border-color: #5C6E62; color: var(--cream); }
.site-footer .form input::placeholder { color: #9AA79C; }
.site-footer .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid #2E4437; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.85rem; color: #9AA79C; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form input { flex: 1 1 200px; }

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); }
.prose h2 { color: var(--ink); margin-top: 24px; font-size: 1.35rem; }
.coming { color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }
