/* RonyPhoto — public site. A dark, gallery-style theme so the photographs carry the page. */
:root {
  --bg: #0d0d0c;
  --bg-2: #131312;
  --surface: #1a1a18;
  --surface-2: #222220;
  --ink: #ede8df;
  --ink-soft: #c9c3b8;
  --muted: #8f897e;
  --line: rgba(237, 232, 223, .1);
  --line-strong: rgba(237, 232, 223, .22);
  --accent: #c9a76b;
  --accent-soft: #e2c998;
  --ok: #8cc79a;
  --warn: #e3b866;
  --err: #f0928a;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(10px, 1.6vw, 20px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font: 300 16px/1.75 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--accent-soft); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: #111; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: .005em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 500; color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #111; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font: 500 .7rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.1em; }
.eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.eyebrow--rule::before { content: ''; width: 36px; height: 1px; background: currentColor; flex: none; }
.lead { font-size: 1.15rem; max-width: 64ch; color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(13, 13, 12, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: background .35s, border-color .35s; }
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-overlay-header .site-header.is-scrolled { background: rgba(13, 13, 12, .92); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: .04em; }
.brand-sub { font: 500 .6rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.brand-logo { max-height: 46px; width: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); margin: 0; padding: 0; }
.site-nav a { position: relative; display: inline-block; text-decoration: none; font: 400 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 10px 0; color: var(--ink); }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--accent-soft); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); position: relative; z-index: 2; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 24px; height: 1px; background: currentColor; margin: auto; position: relative; transition: transform .3s var(--ease), background .2s; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

/* Sub-menus */
.site-nav li { position: relative; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 220px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); display: none; flex-direction: column; align-items: stretch; gap: 0; z-index: 30; }
.site-nav .sub-menu a { display: block; padding: 10px 18px; }
.site-nav .sub-menu a::after { display: none; }
.site-nav li.has-sub:hover > .sub-menu, .site-nav li.has-sub:focus-within > .sub-menu { display: flex; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand-name { font-size: 1.4rem; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; background: #0b0b0a; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 1; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 4px; text-align: center; }
  .site-nav a { font: 400 clamp(1.7rem, 7vw, 2.2rem)/1.3 var(--serif); letter-spacing: .02em; text-transform: none; padding: 8px 0; }
  .site-nav a::after { bottom: 6px; }
  .site-nav .sub-menu { position: static; display: flex; border: 0; box-shadow: none; padding: 0; min-width: 0; background: none; }
  .site-nav .sub-menu a { font-size: 1.25rem; color: var(--muted); padding: 4px 0; }
}

/* ---------- Homepage showcase (full-screen slider with the heading on top) ---------- */
.showcase { position: relative; }
.slider { position: relative; background: #000; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; color: #fff; }
.slider-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide figcaption { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); top: calc(var(--header-h) + 18px); font: 400 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.slider::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 62%), linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,0) 60%); }
.showcase-text { position: absolute; left: 0; right: 0; bottom: clamp(96px, 15vh, 150px); z-index: 3; }
.showcase-eyebrow { display: flex; align-items: center; gap: 14px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 18px; }
.showcase-eyebrow::before { content: ''; width: 44px; height: 1px; background: currentColor; }
.showcase-title { font-size: clamp(3.2rem, 9vw, 7.5rem); font-weight: 300; line-height: .95; letter-spacing: -.01em; margin: 0 0 .25em; color: #fff; }
.showcase-intro { max-width: 52ch; font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.82); }
.showcase-intro p:last-child { margin-bottom: 0; }
.showcase-intro a { color: #fff; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 4; display: flex; align-items: center; gap: 22px; }
.slider-count { font: 400 .75rem/1 var(--sans); letter-spacing: .2em; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.slider-count span { color: #fff; }
.slider-dots { display: flex; gap: 8px; flex: 1; max-width: 260px; }
.slider-dot { flex: 1; height: 2px; min-width: 18px; border: 0; padding: 8px 0; background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) center / 100% 2px no-repeat; cursor: pointer; transition: background .3s; }
.slider-dot.is-active { background-image: linear-gradient(var(--accent), var(--accent)); }
.slider-buttons { display: flex; gap: 8px; margin-left: auto; }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.2); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .2s, background .2s; }
.slider-btn:hover { border-color: var(--accent); background: rgba(0,0,0,.45); }
.slider-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn .icon-play { display: none; fill: currentColor; stroke: none; }
.slider.is-paused .slider-btn .icon-pause { display: none; }
.slider.is-paused .slider-btn .icon-play { display: block; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 4; width: 24px; height: 40px; margin-left: -12px; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: #fff; border-radius: 1px; animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.slider-controls ~ .scroll-cue { display: none; }
@media (max-width: 760px) {
  .slider { min-height: 520px; height: 88svh; }
  .showcase-text { bottom: 96px; }
  .slider-controls { bottom: 22px; gap: 14px; }
  .slider-dots { max-width: none; }
  .slider-btn { width: 38px; height: 38px; }
  .slider-btn[data-slide-pause] { display: none; }
  .slide figcaption { display: none; }
}
.hero-plain { padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(48px, 8vh, 96px); }

/* ---------- Highlights strip ---------- */
.highlights { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.highlights-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.highlight { padding: clamp(26px, 3.4vw, 44px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); text-align: center; }
.highlight:first-child { border-left: 0; }
.highlight-value { font: 400 clamp(1.35rem, 2vw, 1.95rem)/1.15 var(--serif); text-wrap: balance; color: var(--accent-soft); margin: 0 0 8px; }
.highlight-label { font: 400 .7rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .highlights-inner { grid-template-columns: 1fr 1fr; padding: 0; }
  .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .highlight:nth-child(-n+2) { border-top: 0; }
  .highlight:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-top: clamp(64px, 9vw, 130px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 300; margin: 0; }
.section-head .eyebrow { margin-bottom: .8em; }
.section-sub { font-size: 2rem; margin-top: 2em; }
.link-more { display: inline-flex; gap: 8px; align-items: center; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; transition: border-color .2s, color .2s; }
.link-more:hover { border-color: var(--accent); color: var(--accent-soft); }

/* Photo story cards (homepage) */
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.story-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); text-decoration: none; color: #fff; }
.story-card-media, .story-card-media .photo { position: absolute; inset: 0; margin: 0; }
.story-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.86); }
.story-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 55%); transition: opacity .4s; }
.story-card:hover img { transform: scale(1.06); filter: brightness(1); }
.story-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.4vw, 32px); }
.story-card-num { display: block; font: 400 .72rem/1 var(--sans); letter-spacing: .24em; color: var(--accent-soft); margin-bottom: 12px; }
.story-card-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: #fff; margin: 0 0 10px; }
.story-card-meta { font: 400 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); transition: color .3s; }
.story-card:hover .story-card-meta { color: var(--accent-soft); }
@media (max-width: 1000px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .story-grid { grid-template-columns: 1fr; } .story-card { aspect-ratio: 4 / 4.4; } }

/* Generic cards (store) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 44px); }
.card { text-decoration: none; display: block; color: var(--ink); }
.card-media { overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.card-media .photo, .card-media img { width: 100%; height: 100%; margin: 0; }
.card-media img { object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card .eyebrow { margin: 16px 0 0; }
.card-title { font-size: 1.7rem; margin: .5em 0 .2em; }
.card-text { font-size: .95rem; margin-bottom: .4em; color: var(--muted); }
.price { font-weight: 400; letter-spacing: .04em; color: var(--accent-soft); }
.price--large { font-size: 1.8rem; font-family: var(--serif); }

/* Photos */
.masonry { columns: 3 300px; column-gap: var(--gap); }
.masonry .photo { break-inside: avoid; margin: 0 0 var(--gap); }
.photo { margin: 0; }
.photo img { width: 100%; background: var(--surface); }
.photo figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; }
.lb-link { display: block; cursor: zoom-in; overflow: hidden; }
.masonry .lb-link img { transition: transform 1s var(--ease), opacity .4s; }
.masonry .lb-link:hover img { transform: scale(1.03); }

/* About block (homepage) */
.about-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(28px, 6vw, 96px); border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 80px); }
.about-grid h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; }
.about-block .prose { font-size: 1.1rem; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* Contact band */
.cta-band { margin-top: clamp(72px, 10vw, 140px); background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; margin-bottom: .35em; }
.cta-text { max-width: 58ch; color: var(--muted); margin: 0; font-size: 1.05rem; }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Inner page header ---------- */
.page-header { position: relative; padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(32px, 4vw, 56px); margin-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 70% 120% at 15% 0%, rgba(201, 167, 107, .09), transparent 60%); }
.page-title { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 300; line-height: 1; letter-spacing: -.005em; margin: 0; color: var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 400 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; color: var(--accent); }
.crumbs a:hover { color: var(--accent-soft); }
.crumbs span { color: var(--line-strong); }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 2.1rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.55rem; margin-top: 1.4em; }
.prose img { margin: 1.8em 0; }
.prose a { color: var(--accent-soft); }
.prose blockquote { margin: 2em 0; padding: .2em 0 .2em 1.2em; border-left: 1px solid var(--accent); font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--ink); line-height: 1.45; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; }
.prose .ql-indent-2 { padding-left: 4em; }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); padding-top: 10px; text-align: center; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 1.8em 0; }
.prose u { text-underline-offset: 3px; }

/* Content pages (About, Achievements, Contact, …) */
.page-body { max-width: none; font-size: 1.08rem; line-height: 1.85; padding-bottom: clamp(16px, 3vw, 40px); }
.page-body > h2:first-child, .page-body > h3:first-child { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 300; margin: 0 0 .2em; padding: 0; border: 0; }
.page-body > p:first-child { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.5; color: var(--ink); margin-bottom: 1.4em; }
.page-body > h2:first-child + p, .page-body > h3:first-child + p { font: 400 .78rem/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 2em; }
.page-body > h2:first-child + p + p, .page-body > h3:first-child + p + p { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.5; color: var(--ink); margin-bottom: 1.4em; }
.page-body h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 2.4em 0 .8em; padding-top: 1em; border-top: 1px solid var(--line); }
.page-body h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin: 2.2em 0 .7em; }
.page-body a { text-decoration-color: rgba(226, 201, 152, .45); }
.page-body a:hover { text-decoration-color: currentColor; }
/* Lists become clean ruled rows; a leading <strong> (e.g. a year or award) gets its own column. */
.page-body ul { list-style: none; padding: 0; margin: 0 0 1.8em; }
.page-body ul > li { position: relative; padding: .95em 0; border-bottom: 1px solid var(--line); }
.page-body ul > li:first-child { border-top: 1px solid var(--line); }
.page-body ul > li:not(:has(> strong:first-child))::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 14px 2px 0; border: 1px solid var(--accent); transform: rotate(45deg); }
.page-body ul > li:has(> strong:first-child) { display: grid; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); gap: 1.4rem; align-items: baseline; }
.page-body ul > li > strong:first-child { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--accent-soft); line-height: 1.35; font-variant-numeric: lining-nums; }
.page-body ol { padding-left: 1.3em; }
@media (max-width: 600px) { .page-body ul > li:has(> strong:first-child) { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Galleries ---------- */
.galleries-page { padding-bottom: 8px; }
.album { padding-top: clamp(40px, 5vw, 72px); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.album:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.album-head { display: flex; gap: clamp(16px, 2.4vw, 32px); align-items: flex-start; margin-bottom: 18px; }
.album-num { font: 300 clamp(2.4rem, 4vw, 3.6rem)/1 var(--serif); color: var(--accent); min-width: 2ch; }
.album-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; margin: 0 0 .25em; }
.album-title a { text-decoration: none; color: var(--ink); }
.album-title a:hover { color: var(--accent-soft); }
.album-meta { font: 400 .72rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.album-meta a { color: var(--accent); text-decoration: none; }
.album-head .album-meta { margin: 0; }
.album-text { max-width: 80ch; color: var(--ink-soft); margin: 0 0 26px; }
.album-text p:last-child { margin-bottom: 0; }
.gallery-intro { margin-bottom: 28px; }
.back-link { margin-top: clamp(32px, 4vw, 56px); }
.photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.photo-grid-item { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.photo-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: brightness(.9); }
.photo-grid-item::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .4s; }
.photo-grid-item:hover img, .photo-grid-item:focus-visible img { transform: scale(1.06); filter: brightness(1.04); }
.photo-grid-item:hover::after { border-color: rgba(226, 201, 152, .55); }
@media (max-width: 1100px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .album-num { display: none; } }

/* ---------- Photo judging ---------- */
.judging-intro { max-width: 70ch; margin-top: 22px; font-size: 1.1rem; color: var(--ink-soft); }
.judging-intro p:last-child { margin-bottom: 0; }
.judging-stats { display: flex; gap: clamp(28px, 5vw, 64px); margin-top: 28px; }
.judging-stats div { display: flex; flex-direction: column; }
.judging-stats strong { font: 300 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--accent-soft); }
.judging-stats span { font: 400 .7rem/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.judging-group { margin-bottom: clamp(48px, 7vw, 96px); }
.judging-group h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 300; margin-bottom: .7em; }
.judging-table { width: 100%; border-collapse: collapse; }
.judging-table th { text-align: left; font: 500 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 0 12px 14px 0; border-bottom: 1px solid var(--line-strong); }
.judging-table td { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.judging-table tbody tr { transition: background .25s; }
.judging-table tbody tr:hover { background: rgba(255,255,255,.02); }
.judging-table th:not(:first-child), .judging-table td:not(:first-child) { width: 9.5rem; white-space: nowrap; }
.judging-table th:nth-child(2), .judging-table td:nth-child(2) { width: 5rem; }
.j-name { margin: 0 0 6px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--ink); }
.j-name a { text-decoration: none; color: var(--ink); }
.j-name a:hover { color: var(--accent-soft); }
.j-meta { margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.j-sections { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.j-sections li { font-size: .74rem; letter-spacing: .04em; padding: 4px 10px; border: 1px solid var(--line-strong); color: var(--ink-soft); }
.j-date, .j-year { font-variant-numeric: tabular-nums; padding-top: 26px !important; color: var(--ink-soft); }
.j-year { color: var(--accent-soft); font-family: var(--serif); font-size: 1.2rem; }
@media (max-width: 760px) {
  .judging-table thead { display: none; }
  .judging-table, .judging-table tbody, .judging-table tr, .judging-table td { display: block; width: auto !important; }
  .judging-table tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .judging-table td { border: 0; padding: 0 !important; white-space: normal !important; }
  .judging-table td.j-exhibition { margin-bottom: 12px; }
  .judging-table td.j-year, .judging-table td.j-date { display: inline-block; margin-right: 22px; font-size: .95rem; }
  .judging-table td.j-year::before, .judging-table td.j-date::before { content: attr(data-label) ' '; display: block; font: 400 .64rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- Product ---------- */
.product { padding-top: clamp(40px, 6vw, 80px); }
.product-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }
.product-info .page-title { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: .3em; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } .product-info { position: static; } }
.story { margin-top: clamp(40px, 5vw, 72px); font-size: 1.08rem; }
details.terms { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
details.terms summary { cursor: pointer; font: 500 .72rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }

/* ---------- Buttons, forms, notices ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 17px 30px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 0; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn--primary, .btn--gold { background: var(--accent); border-color: var(--accent); color: #14120e; }
.btn--primary:hover, .btn--gold:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: #14120e; }
.btn--light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: #111; }
.form { display: grid; gap: 20px; margin-top: 28px; }
.field label { display: block; font: 400 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input[type=text], .field input:not([type]), .field input[type=email], .field input[type=tel], .field input[type=url], .comment-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 400; border-radius: 0; transition: border-color .2s;
}
.field input:focus, .comment-form textarea:focus { border-color: var(--accent); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink-soft); }
.field--check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.field--check .field-error { grid-column: 1 / -1; }
.field-error { color: var(--err); font-size: .85rem; margin: 6px 0 0; }
.notice { border-left: 1px solid var(--accent); padding: 12px 16px; background: var(--surface); }
.alert { padding: 14px 18px; border: 1px solid var(--line-strong); background: var(--surface); }
.alert--error { border-color: var(--err); color: var(--err); }
.alert--success { border-color: var(--ok); }
.alert--warning { border-color: var(--warn); }
.alert--info { border-color: var(--accent); }
.summary-box { display: flex; justify-content: space-between; gap: 16px; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.terms-box { max-height: 220px; overflow: auto; border: 1px solid var(--line); padding: 14px 18px; background: var(--surface); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 28px 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; color: var(--ink); }
.badge { display: inline-block; padding: 2px 10px; border: 1px solid currentColor; font-size: .8rem; }
.badge--paid { color: var(--ok); }
.badge--failed, .badge--cancelled, .badge--refunded { color: var(--err); }
.badge--review, .badge--pending { color: var(--warn); }
.download-list { list-style: none; padding: 0; margin: 0 0 24px; }
.download-item { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 0; flex-wrap: wrap; }
.download-item span { display: block; }
.inline-form { margin: 16px 0; }
.terms-note { margin-top: 32px; }
.error-page { padding-bottom: clamp(40px, 6vw, 80px); }
.error-code { font: 300 clamp(5rem, 16vw, 10rem)/1 var(--serif); color: var(--accent); margin: 0 0 .1em; opacity: .85; }
.error-page .btn { margin: 0 10px 10px 0; }
pre.debug { white-space: pre-wrap; font-size: 12px; background: var(--surface); padding: 12px; overflow: auto; }
.preview-bar { background: var(--accent); color: #14120e; text-align: center; padding: 8px 16px; font-size: .85rem; letter-spacing: .04em; }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: clamp(36px, 5vw, 72px); margin-top: 8px; }
.post-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.post-card:not(:has(.post-card-media)) { grid-template-columns: 1fr; max-width: 820px; }
.post-card-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin: .1em 0 .35em; }
.post-card-title a { text-decoration: none; color: var(--ink); }
.post-card-text { color: var(--muted); max-width: 60ch; }
@media (max-width: 760px) { .post-card { grid-template-columns: 1fr; } }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; border-top: 1px solid var(--line); padding-top: 18px; }
.pagination a { text-decoration: none; letter-spacing: .06em; }
.post-meta { margin-top: -.3em; }
.post-featured { margin: 32px 0 40px; }
.post-featured figcaption { font-size: .85rem; color: var(--muted); padding-top: 10px; }
.post-body { font-size: 1.12rem; max-width: none; }
.post-terms { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { text-decoration: none; border: 1px solid var(--line-strong); padding: 3px 12px; font-size: .82rem; }
.tag:hover { border-color: var(--accent); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 48px 0; }
.post-nav a { text-decoration: none; display: grid; gap: 4px; font-family: var(--serif); font-size: 1.3rem; }
.post-nav-next { text-align: right; }
.comments { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 28px; }
.comments h2 { font-size: 2rem; }
.comment-list, .comment-replies { list-style: none; margin: 0; padding: 0; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-replies { margin-left: clamp(16px, 4vw, 40px); border-left: 1px solid var(--line-strong); padding-left: 18px; }
.comment-replies .comment:last-child { border-bottom: 0; }
.comment-author { margin: 0 0 6px; font-weight: 500; color: var(--ink); }
.comment-author .muted { margin-left: 6px; font-weight: 300; }
.comment-body { white-space: pre-line; }
.badge-author { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; padding: 1px 6px; margin-left: 4px; color: var(--accent); }
.comment-form { margin-top: 28px; }
.comment-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); background: #090908; font-size: .92rem; }
.cta-band + .site-footer, main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; border-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(36px, 4vw, 56px); }
.footer-title { font: 400 1.8rem/1.1 var(--serif); color: var(--ink); margin-bottom: .4em; }
.footer-tagline { color: var(--ink-soft); margin-bottom: .3em; }
.footer-muted { color: var(--muted); }
.footer-heading { font: 500 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { text-decoration: none; color: var(--ink-soft); word-break: break-word; }
.footer-list a:hover { color: var(--accent-soft); }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); transition: border-color .2s, color .2s, background .2s; }
.social a:hover { border-color: var(--accent); color: var(--accent-soft); }
.social svg { width: 17px; height: 17px; fill: currentColor; fill-rule: evenodd; }
.social svg.is-stroke { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px; font-size: .8rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--accent-soft); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(6, 6, 6, .98); color: #eee; }
.lightbox::backdrop { background: rgba(0,0,0,.94); }
.lightbox-figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 80px 28px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox-figure figcaption { padding-top: 16px; font: 400 .74rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #a9a397; text-align: center; max-width: 70ch; }
.lb-btn { position: absolute; background: none; border: 0; color: #fff; font: 300 2.6rem/1 var(--sans); cursor: pointer; padding: 12px 18px; opacity: .65; transition: opacity .2s, color .2s; }
.lb-btn:hover { opacity: 1; color: var(--accent-soft); }
.lb-close { top: 10px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox-figure { padding: 60px 8px 20px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }

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

/* Phones: no blur on the header, otherwise the fixed full-screen menu is clipped to the header box. */
@media (max-width: 900px) {
  .site-header, .has-overlay-header .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13, 13, 12, .97); }
  .has-overlay-header .site-header:not(.is-scrolled) { background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0)); }
  .brand { position: relative; z-index: 2; }
  body.nav-open .site-header { background: transparent; border-bottom-color: transparent; }
}

/* Shortcut for signed-in staff (never shown to visitors). */
.edit-shortcut { position: absolute; z-index: 5; left: 50%; top: calc(var(--header-h) + 14px); transform: translateX(-50%); font: 500 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: #14120e; background: var(--accent); padding: 9px 14px; }
.edit-shortcut:hover { background: var(--accent-soft); color: #14120e; }
