/* Kean Bagpipes — heritage workshop theme */

/* Self-hosted variable fonts (latin subset) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #14100c;
  --bg-2: #1a1410;
  --surface: #221a14;
  --line: #352a20;
  --text: #ece3d3;
  --muted: #ad9f88;
  --brass: #c49a52;
  --brass-hi: #ddb76d;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --narrow: 680px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
a { color: var(--brass-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

/* Keyboard focus: visible, on-brand, mouse clicks unaffected */
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 1px; }
summary:focus-visible, button:focus-visible { outline-offset: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--brass); color: #1a130c; padding: 0.7rem 1.1rem;
  font: 600 0.8rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #1a130c; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .gallery figure:hover img, .set-grid a:hover img { transform: none; }
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.75rem; }
p { margin: 0 0 1.1em; max-width: 60ch; }
em { font-style: italic; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(var(--narrow), 100% - 2 * var(--gutter)); margin-inline: auto; }

.label {
  display: block;
  font: 600 0.72rem/1 var(--body);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.text-link {
  display: inline-block;
  font: 600 0.74rem/1 var(--body);
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--brass);
  padding-bottom: 0.45em;
  border-bottom: 1px solid rgba(196,154,82,.45);
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--text); border-color: var(--text); }

.rule { width: 48px; height: 1px; background: var(--brass); border: 0; margin: 0 auto 2.25rem; opacity: .7; }

/* Header */
.site-header { position: relative; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 2.1rem 0 1.4rem; }
.brand { text-decoration: none; color: var(--text); text-align: center; }
.brand-name { display: block; font: 500 2rem/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; }
.brand-tag { display: block; font: 400 italic 1rem/1 var(--display); color: var(--muted); margin-top: 0.55rem; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
/* Phone menu: a <details> toggle that opens the sibling nav. Works without JavaScript. */
.nav-toggle { display: none; }
.nav-toggle summary {
  list-style: none; cursor: pointer; padding: 0.6rem 0;
  color: var(--muted); font: 600 0.72rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle summary::after { content: " +"; color: var(--brass); }
.nav-toggle[open] summary::after { content: " \2212"; }

@media (max-width: 760px) {
  .site-header .wrap { flex-direction: row; justify-content: space-between; padding: 1.2rem 0; }
  .brand { text-align: left; }
  .brand-name { font-size: 1.45rem; letter-spacing: 0.16em; }
  .brand-tag { font-size: 0.9rem; margin-top: 0.35rem; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 0.25rem var(--gutter) 1rem;
    display: none;
  }
  .nav-toggle[open] ~ .nav { display: flex; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* Hero */
.hero { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero-lede { font-size: 1.15rem; color: var(--muted); }
.hero .text-link { margin-top: 1.25rem; }
.frame { margin: 0; }
.frame-img { position: relative; isolation: isolate; }
.frame img { box-shadow: 0 30px 60px -24px rgba(0,0,0,.75); }
.frame-img::after {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(196,154,82,.35); border-radius: var(--radius); z-index: -1;
}
.frame figcaption, .caption { margin-top: 0.9rem; font: italic 400 1rem/1.4 var(--display); color: var(--muted); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .frame { order: -1; margin: 0 0 0 14px; }
}

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { text-align: center; margin: 0 auto clamp(2.5rem, 5vw, 4rem); max-width: 640px; }
.section-head p { color: var(--muted); margin-inline: auto; }

/* Instruments */
.lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.line img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.line img.trim-left { object-position: right center; }
.line-crop { overflow: hidden; border-radius: var(--radius); }
.line-crop .trim-left { transform: scale(1.05); transform-origin: right center; }
.line h3 { margin: 1.75rem 0 0.6rem; }
.line p { color: var(--muted); }
@media (max-width: 760px) { .lines { grid-template-columns: 1fr; } }

/* Made to order */
.made { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.made p { color: var(--muted); }
.made p:first-of-type { color: var(--text); font: 400 1.45rem/1.55 var(--display); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.duo img { aspect-ratio: 3 / 4.6; object-fit: cover; width: 100%; }
.duo img:last-child { margin-top: 3.5rem; }
@media (max-width: 860px) { .made { grid-template-columns: 1fr; } }

/* Sound */
.sound { text-align: center; }
.sound p { margin-inline: auto; color: var(--muted); }
.sound audio { width: 100%; max-width: 460px; margin: 1.25rem auto 0; display: block; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 0.75rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(10,8,6,.8));
  font: italic 400 1rem/1.3 var(--display); color: var(--text); opacity: 0; transition: opacity .4s;
}
.gallery figure:hover figcaption { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery figcaption { display: none; }
}

/* Journal */
.journal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.journal p { color: var(--muted); }
.journal blockquote { margin: 0 0 1.5rem; font: italic 400 1.45rem/1.55 var(--display); color: var(--text); }
@media (max-width: 860px) { .journal { grid-template-columns: 1fr; } }

/* Commissions */
.commission { text-align: center; }
.commission > p { margin-inline: auto; color: var(--muted); }
.phone { display: inline-block; margin: 0.5rem 0 2.75rem; font: 400 1.9rem/1.2 var(--display); color: var(--text); text-decoration: none; letter-spacing: 0.04em; }
.phone:hover { color: var(--brass-hi); }
form.inquiry { text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.field { display: grid; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 0.6rem 0; font: inherit;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.field textarea { min-height: 120px; resize: vertical; }
form.inquiry button {
  grid-column: 1 / -1; justify-self: center; margin-top: 0.5rem;
  background: none; border: 1px solid var(--brass); color: var(--text);
  font: 600 0.74rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1em 2.2em; border-radius: var(--radius); cursor: pointer; transition: background .2s;
}
form.inquiry button:hover { background: rgba(196,154,82,.14); }
@media (max-width: 560px) { form.inquiry { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.turnstile { justify-self: center; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; text-align: center; margin: 0 auto; }
form.inquiry button:disabled { opacity: 0.6; cursor: progress; }

/* Price list page */
.page-head { padding: clamp(3.5rem, 8vw, 6rem) 0 0; text-align: center; }
.page-head p { color: var(--muted); margin-inline: auto; }
.price-list { margin-top: clamp(2.5rem, 5vw, 4rem); }
.price-group { padding: 2.25rem 0; border-top: 1px solid var(--line); }
.price-group:last-child { border-bottom: 1px solid var(--line); }
.price-group h2 { font-size: 1.9rem; margin-bottom: 0.2rem; }
.price-group > p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0.75rem; }
.price-rows { list-style: none; padding: 0; margin: 0; }
.price-rows li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.55rem 0; }
.price-rows .item small { color: var(--muted); font-size: 0.9rem; margin-left: 0.35rem; }
.price-rows .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-0.3em); min-width: 1rem; }
.price-rows .amt { font: 400 1.35rem/1 var(--display); color: var(--text); white-space: nowrap; }
.price-note { text-align: center; margin: 3rem auto 0; color: var(--muted); }
.price-note em { font: italic 400 1.35rem/1.5 var(--display); color: var(--text); display: block; margin-bottom: 0.35rem; }

/* Inner pages */
.feature { width: min(840px, 100% - 2 * var(--gutter)); margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.feature img { width: 100%; }
.prose { padding: clamp(3rem, 6vw, 5rem) 0 0; }
.prose p { color: var(--muted); }
.prose p.lead { color: var(--text); font: 400 1.45rem/1.55 var(--display); }
.prose h2 { margin-top: 2.5rem; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }

.specs { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); padding-top: 0.3rem; }
.specs dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .specs div { grid-template-columns: 1fr; gap: 0.25rem; } }

.set { margin-top: clamp(3rem, 6vw, 4.5rem); }
.set h2 { font-size: 1.75rem; font-weight: 500; margin-bottom: 0.3rem; }
.set > p { color: var(--muted); }
.set-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1.25rem; }
.set-grid.pair { grid-template-columns: repeat(2, 1fr); }
.set-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 760px) { .set-pair { grid-template-columns: 1fr; } }
.set-grid a { display: block; overflow: hidden; border-radius: var(--radius); }
.set-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .8s ease; }
.set-grid a:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .set-grid { grid-template-columns: repeat(2, 1fr); } }

.price-summary { max-width: 480px; margin: 0 auto; text-align: left; }
.price-summary .price-rows li { border-top: 1px solid var(--line); padding: 0.85rem 0; }
.price-summary + p { margin-top: 1.75rem; }
.center { text-align: center; }
.center p { margin-inline: auto; }

.next-link { display: block; text-align: center; text-decoration: none; padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.next-link .label { margin-bottom: 0.6rem; }
.next-link span:last-child { font: 400 clamp(1.8rem, 3.4vw, 2.4rem)/1.2 var(--display); color: var(--text); transition: color .2s; }
.next-link:hover span:last-child { color: var(--brass-hi); }

/* FAQ */
.faq-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.faq-group > .label { margin-bottom: 0.5rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font: 400 1.4rem/1.35 var(--display); color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.15rem; font: 300 1.6rem/1 var(--body); color: var(--brass); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 0.5rem; }

/* Journal */
.entry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry p { color: var(--muted); }
.entry h2 a { color: var(--text); text-decoration: none; }
.entry h2 a:hover { color: var(--brass-hi); }
@media (max-width: 760px) { .entry { grid-template-columns: 1fr; } }
.article .figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 2.5rem 0; }
.article .figure-pair img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.article figure { margin: 2.5rem 0; }
.article blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 1px solid var(--brass); font: italic 400 1.4rem/1.55 var(--display); color: var(--text); }

/* Commission steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 2.25rem 4.25rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem;
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--brass); border-radius: 50%;
  display: grid; place-items: center; font: 400 1.45rem/1 var(--display); color: var(--brass);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.375rem; top: 3.2rem; bottom: 0.5rem; width: 1px; background: var(--line); }
.steps h2 { font-size: 1.75rem; font-weight: 500; margin-bottom: 0.4rem; }
.steps p { color: var(--muted); }

/* Woods & mounts */
.wood-chart { margin: 2.75rem 0 0; }
.wood-chart table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.wood-chart caption { text-align: left; font: 600 0.72rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); padding-bottom: 1rem; }
.wood-chart thead th { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 0 0.6rem; border-bottom: 1px solid var(--line); }
.wood-chart thead th:last-child, .wood-chart td:last-child { text-align: right; }
.wood-chart tbody th, .wood-chart td { padding: 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wood-chart tbody th { text-align: left; font-weight: 600; color: var(--text); padding-right: 1rem; width: 34%; }
.wood-chart td { color: var(--text); font-variant-numeric: tabular-nums; }
.wood-chart td:nth-child(2) { width: 42%; padding-right: 1rem; }
.wood-chart .bar { display: block; height: 5px; width: var(--w); border-radius: 3px; margin: 0.45rem 0 0.4rem; background: linear-gradient(to right, var(--brass), #e8dcc0); }
.wood-chart .tone-end { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-top: 0.2rem; }
.wood-chart figcaption { margin-top: 1rem; font: italic 400 1.05rem/1.45 var(--display); color: var(--muted); }
@media (max-width: 560px) { .wood-chart table { font-size: 0.85rem; } .wood-chart tbody th { width: 36%; } }

.curious { margin-top: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.curious summary {
  cursor: pointer; list-style: none; position: relative; padding: 1.25rem 2.5rem 1.25rem 0;
  font: italic 400 1.4rem/1.35 var(--display); color: var(--text);
}
.curious summary::-webkit-details-marker { display: none; }
.curious summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.15rem; font: 300 1.6rem/1 var(--body); color: var(--brass); transition: transform .25s; }
.curious[open] summary::after { transform: rotate(45deg); }
.curious-body { padding-bottom: 1.5rem; }
.curious-body .wood-chart { margin: 1.75rem 0; }
.terms { margin: 1rem 0 0; }
.terms div { padding: 0.75rem 0; border-top: 1px solid var(--line); }
.terms dt { font-weight: 600; color: var(--text); }
.terms dd { margin: 0.15rem 0 0; color: var(--muted); }

.sources { margin-top: 2.5rem; font-size: 0.88rem; color: var(--muted); }
.sources h3 { font: 600 0.72rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.9rem; }
.sources ul { padding-left: 1.1rem; margin: 0; }
.sources li { margin-bottom: 0.55rem; line-height: 1.55; }
.sources a { color: var(--muted); }
.sources a:hover { color: var(--text); }
.sources cite { font-style: italic; }

.woods { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.wood > a { display: block; overflow: hidden; border-radius: var(--radius); }
.wood img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .8s ease; }
.wood > a:hover img { transform: scale(1.03); }
.wood h3 { margin: 1.1rem 0 0.4rem; font-size: 1.55rem; }
.wood p { color: var(--muted); font-size: 0.98rem; }
.wood-text { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; align-self: start; }
.wood-text h3 { margin-top: 0; }
.wood-more { font-size: 0.9rem; }
@media (max-width: 960px) { .woods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .woods { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wood > a:hover img { transform: none; } }

/* Maker portrait (cut-out on the page background) */
.maker { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.maker p { color: var(--muted); }
.maker p.lead { color: var(--text); font: 400 1.45rem/1.55 var(--display); }
.portrait { margin: 0; }
.portrait img {
  width: 100%; max-width: 520px; border-radius: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%);
  mask-composite: intersect;
}
@media (max-width: 860px) { .maker { grid-template-columns: 1fr; } .portrait img { max-width: 420px; margin-inline: auto; } }
.bio-photo { max-width: 460px; margin: 0 0 0 14px; }
@media (max-width: 860px) { .bio-photo { margin: 0 14px 0 28px; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8,6,4,.9); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { text-align: center; margin: 0.9rem auto 0; font: italic 400 1.05rem/1.4 var(--display); color: var(--text); }
.lightbox button { position: fixed; top: 1rem; right: 1.25rem; background: none; border: 0; color: var(--text); font: 300 2.2rem/1 var(--body); cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 3rem; color: var(--muted); font-size: 0.9rem; text-align: center; }
.site-footer .brand-name { font-size: 1.25rem; color: var(--text); margin-bottom: 0.6rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; margin-top: 1.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer a:hover { color: var(--text); }
