/* =========================================================
   dmlfoto — Riviera palette
   Violet, ultramarine blue, pistachio green, golden yellow.
   Same structure, same Figtree font, new colors and graphics.
   ========================================================= */

:root {
  /* Backgrounds — soft warm bone, not stark white */
  --cream:      #f4f0e6;
  --cream-2:    #ebe5d3;
  --cream-3:    #e0d8c0;

  /* Text — deep violet-ink, not black */
  --ink:        #1f1b3a;
  --ink-soft:   #4d4773;

  /* Primary palette */
  --violet:     #5b3da7;   /* deep purple — primary accent */
  --violet-deep:#3e2876;   /* darker for hover */
  --blue:       #2c5fc2;   /* ultramarine */
  --blue-deep:  #1c3f8a;
  --green:      #7fa264;   /* pistachio */
  --green-deep: #5d7d44;
  --yellow:     #e9b13c;   /* golden — pop, used sparingly */
  --yellow-deep:#c89020;

  /* Map old aliases used throughout the codebase to the new palette
     so we don't have to rewrite every selector */
  --terracotta: var(--violet);
  --clay:       var(--violet-deep);
  --lilac:      var(--green);
  --lilac-deep: var(--blue);

  --rule:       #d4cdb8;
  --rule-strong:#a89f80;

  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --maxw: 1280px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream:      #14132a;
    --cream-2:    #1c1a36;
    --cream-3:    #252244;
    --ink:        #f0ecda;
    --ink-soft:   #b5b0d4;
    --violet:     #9a7ee8;
    --violet-deep:#bba0ff;
    --blue:       #6e9aff;
    --blue-deep:  #94b5ff;
    --green:      #a8c890;
    --green-deep: #c2dba8;
    --yellow:     #f0c460;
    --yellow-deep:#ffd87a;
    --rule:       #2e2b50;
    --rule-strong:#4a4670;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; }
@media (min-width: 768px) { .wrap { padding: 0 48px; } }

/* ---------- Paper grain overlay (subtle, architectural feel) ---------- */
.paper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0 0.22 0 0 0 0.10 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) {
  .paper { opacity: 0.14; mix-blend-mode: screen; }
}

/* ---------- Header ---------- */
.site-header {
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  z-index: 50;
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  line-height: 1;
}
.brand-glyph {
  width: 22px; height: 22px;
  color: var(--terracotta);
  flex-shrink: 0;
}
.brand-mark {
  font-weight: 200;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.brand-mark em {
  font-style: normal;
  font-weight: 500;
  color: var(--terracotta);
}
.brand-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 1px solid var(--rule);
}
nav { display: flex; gap: 2px; }
nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 10px;
  color: var(--ink-soft);
  transition: color .2s;
}
nav a:hover, nav a:focus-visible { color: var(--terracotta); }

/* =========================================================
   COVER
   ========================================================= */
.cover {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) {
  .cover { padding: 100px 0 140px; min-height: 90vh; display: flex; flex-direction: column; justify-content: center; }
}

/* Giant faint issue numeral — N° 01 */
.cover-numeral {
  position: absolute;
  right: -4vw;
  bottom: -8vw;
  color: var(--cream-3);
  font-weight: 200;
  line-height: 0.8;
  display: flex;
  align-items: flex-end;
  gap: 2vw;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.cover-numeral span:first-child {
  font-size: clamp(60px, 10vw, 130px);
  letter-spacing: -0.05em;
}
.cover-numeral .num {
  font-size: clamp(160px, 40vw, 540px);
  letter-spacing: -0.08em;
  font-weight: 200;
  font-variant-numeric: tabular-nums;
}

/* Geometric grid pattern (CSS-only) */
.deco { position: absolute; pointer-events: none; z-index: 1; }
.deco-grid {
  width: clamp(160px, 26vw, 280px);
  height: clamp(160px, 26vw, 280px);
  bottom: 14%;
  left: 2%;
  background-image:
    linear-gradient(to right, var(--violet) 1px, transparent 1px),
    linear-gradient(to bottom, var(--violet) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
@media (min-width: 768px) {
  .deco-grid { bottom: 16%; left: 3%; }
}

/* Yellow square accent — top right corner of hero */
.deco-square {
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  top: 10%;
  right: 6%;
  background: var(--yellow);
  z-index: 0;
  opacity: 0.95;
}
@media (min-width: 768px) {
  .deco-square { top: 8%; right: 6%; }
}

/* Big violet circle composition */
.deco-circles {
  width: clamp(220px, 38vw, 420px);
  height: clamp(220px, 38vw, 420px);
  top: 18%;
  right: -8%;
  z-index: 0;
}
@media (min-width: 768px) {
  .deco-circles { top: 16%; right: -4%; }
}

/* Blue column rules — between circle and edge, lower right */
.deco-columns {
  width: clamp(60px, 8vw, 90px);
  height: clamp(160px, 26vw, 240px);
  bottom: 22%;
  right: 4%;
  opacity: 0.8;
  z-index: 1;
}
@media (max-width: 640px) { .deco-columns { display: none; } }

/* Yellow triangle accent — sits on left side, mid-low */
.deco-triangle {
  width: clamp(50px, 7vw, 80px);
  height: clamp(50px, 7vw, 80px);
  bottom: 8%;
  left: 30%;
  opacity: 0.95;
  z-index: 1;
  transform: rotate(-12deg);
}
@media (max-width: 640px) {
  .deco-triangle { left: 60%; bottom: 22%; right: auto; }
}

/* Bottom diagonal rules */
.deco-lines {
  width: 100%;
  height: 40px;
  bottom: 30px;
  left: 0;
  color: var(--ink);
  opacity: 0.45;
}

/* Masthead bar above title */
.masthead-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 0;
  margin-bottom: 40px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  z-index: 2;
}
.masthead-sep { color: var(--terracotta); font-size: 8px; }
.masthead-price {
  margin-left: auto;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .masthead-price { margin-left: 0; }
}

/* The title itself */
.cover-wrap { position: relative; z-index: 2; }
.cover-title {
  font-weight: 200;
  font-size: clamp(56px, 15vw, 196px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin: 0 0 48px;
  color: var(--ink);
}
.cover-title .line { display: block; }
.cover-title .line-1 { /* "Light," */ }
.cover-title .line-2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}
.cover-title .line-3 .lilac {
  color: var(--lilac-deep);
  font-weight: 300;
  font-style: italic;
}
.cover-title .line-4 {
  font-weight: 200;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.rule-inline {
  display: inline-block;
  width: clamp(48px, 10vw, 140px);
  height: 2px;
  background: var(--ink);
  flex-shrink: 0;
}

/* Cover foot — lede and byline */
.cover-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .cover-foot { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
}
.cover-lede {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
  max-width: 44ch;
}

.cover-byline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.cover-byline > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--violet);
  padding-left: 12px;
}
.cover-byline > div:nth-child(2) {
  border-left-color: var(--blue);
}
.byline-label {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cover-byline strong {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 2;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-hint svg { width: 14px; height: 24px; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(4px); }
}
@media (max-width: 767px) { .scroll-hint { display: none; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  width: max-content;
}
.marquee-track .mq-dot {
  color: var(--yellow);
  font-size: 7px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SECTION — generic
   ========================================================= */
.section-numeral {
  position: absolute;
  top: 40px;
  right: 22px;
  font-size: clamp(100px, 20vw, 280px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--yellow);
  text-shadow:
    1px 1px 0 var(--violet),
    2px 2px 0 var(--violet),
    3px 3px 0 var(--violet);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .section-numeral {
    top: 60px;
    right: 48px;
    text-shadow:
      2px 2px 0 var(--violet),
      4px 4px 0 var(--violet),
      6px 6px 0 var(--violet);
  }
}
.section-numeral-right {
  right: auto;
  left: 22px;
}
@media (min-width: 768px) {
  .section-numeral-right { right: auto; left: 48px; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .gallery { padding: 96px 0 120px; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-intro { max-width: 560px; }
.kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker-bar {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--terracotta);
}
.section-head h2 {
  font-weight: 200;
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 20px;
  color: var(--ink);
}
.h2-accent-wrap {
  position: relative;
  display: inline-block;
}
.h2-accent-wrap em {
  font-style: italic;
  font-weight: 300;
  color: var(--lilac-deep);
}
.underline-squiggle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  width: 100%;
  height: 0.22em;
  color: var(--green);
  opacity: 0.95;
}
.section-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 46ch;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.filters button {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
  padding: 9px 16px;
  border-radius: 999px;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
}
.filters button:hover { color: var(--ink); border-color: var(--ink-soft); }
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Grid */
.grid {
  columns: 1;
  column-gap: 14px;
  position: relative;
  z-index: 1;
}
@media (min-width: 560px) { .grid { columns: 2; column-gap: 18px; } }
@media (min-width: 1000px) { .grid { columns: 3; column-gap: 22px; } }

.card {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  background: var(--cream-2);
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(14px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow .3s;
}
@media (min-width: 560px) { .card { margin-bottom: 18px; } }
@media (min-width: 1000px) { .card { margin-bottom: 22px; } }

.card::before {
  /* subtle frame line */
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,0.05);
  pointer-events: none;
  z-index: 2;
}
.card:hover { box-shadow: 0 12px 30px -10px rgba(43, 31, 42, 0.25); }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.card img {
  width: 100%;
  height: auto;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.card:hover img { transform: scale(1.04); }

.card-index {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #fff;
  mix-blend-mode: difference;
  opacity: 0.9;
  z-index: 3;
  font-variant-numeric: tabular-nums;
}
.card-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 56px 14px 14px;
  background: linear-gradient(to top, rgba(20,10,18,0.78), rgba(20,10,18,0.2) 60%, transparent);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 3;
}
.card-meta .cap {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card-meta .alb {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lilac);
  white-space: nowrap;
}
.card:hover .card-meta, .card:focus-visible .card-meta { opacity: 1; }
@media (hover: none) {
  .card-meta { opacity: 1; }
}

.empty {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 80px 20px;
}

/* =========================================================
   PULLQUOTE
   ========================================================= */
.pullquote {
  position: relative;
  padding: 80px 0;
  background: var(--cream-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
@media (min-width: 768px) { .pullquote { padding: 140px 0; } }

.quote-mark {
  position: absolute;
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  top: 20px;
  left: 4%;
  color: var(--terracotta);
  opacity: 0.22;
  pointer-events: none;
}
@media (min-width: 768px) { .quote-mark { top: 50px; left: 4%; } }

/* Plus/cross pattern block — graphic punctuation right side */
.pullquote::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: clamp(160px, 22vw, 240px);
  height: clamp(160px, 22vw, 240px);
  background-image:
    linear-gradient(var(--blue) 0 100%),
    linear-gradient(var(--blue) 0 100%);
  background-size: 12px 2px, 2px 12px;
  background-position: center;
  background-repeat: repeat;
  opacity: 0.55;
  pointer-events: none;
  transform: rotate(8deg);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, black 40%, transparent 80%);
          mask-image: radial-gradient(ellipse at 30% 30%, black 40%, transparent 80%);
}

/* Yellow accent block in pullquote — top right */
.pullquote::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 8%;
  width: clamp(40px, 6vw, 70px);
  height: clamp(40px, 6vw, 70px);
  background: var(--yellow);
  z-index: 0;
  pointer-events: none;
}

.pullquote blockquote {
  margin: 0;
  position: relative;
  z-index: 1;
  max-width: none;
}
.pullquote blockquote p {
  font-weight: 200;
  font-size: clamp(28px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
  max-width: 22ch;
}
.pullquote blockquote em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}
.pullquote blockquote footer {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-strong);
  min-width: 160px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
@media (min-width: 768px) { .about { padding: 120px 0 140px; } }

.about-shape {
  position: absolute;
  width: clamp(300px, 45vw, 560px);
  height: clamp(300px, 45vw, 560px);
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 22s ease-in-out infinite alternate;
}
@media (min-width: 768px) {
  .about-shape { right: -6%; }
}
@keyframes blob-drift {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-48%) rotate(14deg); }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.3fr;
    gap: 80px;
    align-items: start;
  }
}

.about-left h2 {
  font-weight: 200;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.about-left h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--lilac-deep);
}
.about-arrow {
  display: none;
  width: 80px;
  height: 32px;
  margin-top: 28px;
  color: var(--terracotta);
}
@media (min-width: 900px) { .about-arrow { display: block; } }

.about-body p {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  max-width: 56ch;
}
.about-body p:first-of-type::first-letter {
  font-size: 4em;
  font-weight: 300;
  float: left;
  line-height: 0.82;
  padding: 6px 14px 0 0;
  color: var(--terracotta);
}
.about-body a {
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color .2s;
}
.about-body a:hover { color: var(--clay); }

.contact-line {
  margin-top: 28px !important;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 15px !important;
  color: var(--ink-soft) !important;
}
.contact-line::first-letter { all: unset !important; }

/* Social list — redesigned as editorial index */
.social {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}
.social li {
  border-bottom: 1px solid var(--rule);
}
.social a {
  display: grid;
  grid-template-columns: 40px 1fr auto 24px;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  color: var(--ink);
  border: none;
  transition: padding .25s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.social a:hover, .social a:focus-visible {
  color: var(--terracotta);
  padding-left: 10px;
}
.social-icon-wrap {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  transition: border-color .25s, background .25s;
}
.social a:hover .social-icon-wrap {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}
.social-icon-wrap svg { width: 18px; height: 18px; }
.social-label {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.social-handle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.social-arrow {
  font-size: 18px;
  color: var(--ink-soft);
  transition: transform .25s, color .2s;
  justify-self: end;
}
.social a:hover .social-arrow {
  color: var(--terracotta);
  transform: translateX(6px);
}
@media (max-width: 480px) {
  .social a { grid-template-columns: 36px 1fr 24px; }
  .social-handle { display: none; }
  .social-icon-wrap { width: 36px; height: 36px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  padding: 36px 0 40px;
  border-top: 1px solid var(--ink);
  background: var(--cream);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.footer-mark {
  width: 28px; height: 28px;
  color: var(--terracotta);
  flex-shrink: 0;
}
.footer-tagline {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
  font-style: italic;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer a:hover { color: var(--terracotta); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 10, 14, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lb-stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}
.lb-stage figcaption {
  color: var(--cream);
  font-size: 13px;
  font-weight: 300;
  text-align: center;
  max-width: 60ch;
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--cream);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  transition: background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.lb-close:hover, .lb-nav:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) {
  .lb-close { top: 24px; right: 24px; }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track, .deco-sun, .about-shape { animation: none !important; }
}

@supports (padding: env(safe-area-inset-bottom)) {
  footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   MOBILE PADDING — keep big section numerals clear of content
   ========================================================= */
@media (max-width: 767px) {
  .gallery { padding-top: 140px; }
  .about   { padding-top: 180px; }
  .pullquote { padding: 100px 0 90px; }
  /* Keep section numerals a touch smaller on tight screens so they read as marginalia, not clutter */
  .section-numeral {
    font-size: clamp(90px, 28vw, 160px);
    top: 36px;
  }
}
