/*
Theme Name: Alex Tome
Theme URI: https://alextome.com
Author: 56k Studio
Author URI: https://56k.studio
Description: Bespoke editorial theme for Alex Tome, wedding photographer based in Lisbon. Built from scratch — no framework, no page builder.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietary
Text Domain: alextome
*/

/* ═══════════════════════════════════════════════════════════
   TOKENS
   The interface is monochrome on purpose: every colour on this
   site comes from Alex's photographs, never from the furniture.
   ═══════════════════════════════════════════════════════════ */
:root {
  --ink: #0b0b0b;
  --ink-soft: #6f6b66;
  --paper: #f4f2ee;      /* warm off-white — pure #fff reads clinical next to film tones */
  --paper-dim: #e8e5df;
  --line: rgba(11, 11, 11, 0.14);
  --line-light: rgba(244, 242, 238, 0.22);

  --display: "Oranienbaum", "IM Fell English", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Letter-spacing is the whole identity here — the wordmark breathes. */
  --track-wide: 0.42em;
  --track-mono: 0.18em;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 1.1s;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 62ch;
}

/* ═══════════════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--paper); }

/* Focus is visible and deliberate — never removed. */
:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 999; padding: 0.75rem 1.25rem;
  background: var(--ink); color: var(--paper);
  font-size: 0.6875rem; letter-spacing: var(--track-mono); text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ═══════════════════════════════════════════════════════════
   TYPE
   ═══════════════════════════════════════════════════════════ */
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  line-height: 1;
  /* trailing letter-space would push the mark off-centre */
  text-indent: var(--track-wide);
}

.label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

/* ═══════════════════════════════════════════════════════════
   PORTAL — the front door
   A single photograph, the name centred over it, and nothing
   else. On scroll the name migrates to the top-left and becomes
   the site header for the rest of the visit.
   ═══════════════════════════════════════════════════════════ */
.portal {
  position: relative;
  height: 100svh;
  min-height: 30rem;
  overflow: hidden;
  background: var(--ink);
}

.portal__media,
.portal__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portal__media img {
  object-fit: cover;
  /* a slow drift keeps the still image alive without asking for attention */
  animation: drift 24s var(--ease) infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}

/* Legibility veil — heavier at the centre where the name sits.
   A confetti-lit barn is the worst case: bright, busy, low contrast.
   The veil has to survive that, so it is deliberately strong. */
.portal__veil {
  position: absolute;
  inset: 0;
  background:
    /* Centred slightly low so the veil covers the tagline as well as the
       wordmark — the line sits below the optical centre. */
    radial-gradient(ellipse 64% 52% at 50% 54%, rgba(0,0,0,0.66), rgba(0,0,0,0.26) 60%, transparent 82%),
    linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 26%, transparent 58%, rgba(0,0,0,0.6));
}

/* Film grain. Static, cheap, and it ties the chrome to the photography. */
.grain {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.portal__inner {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--paper);
  padding: var(--gutter);
}

.portal__name {
  font-size: clamp(1.75rem, 7.5vw, 5.25rem);
  /* The shadow is what keeps the mark readable over a bright frame. */
  text-shadow: 0 1px 28px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: portal-in 1.6s var(--ease) 0.25s forwards;
}

.portal__tagline {
  margin-top: 1.35rem;
  text-align: center;
  /* Brighter and slightly wider than the default label: at 10px over a
     photograph, low-contrast grey simply disappears. */
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  /* Two stacked shadows: a tight one for edge definition, a wide one to
     darken whatever the photograph puts behind the line. */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 18px rgba(0, 0, 0, 0.85);
  opacity: 0;
  animation: portal-in 1.6s var(--ease) 0.7s forwards;
}

@keyframes portal-in {
  from { opacity: 0; transform: translateY(0.9rem); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.portal__enter {
  position: absolute;
  left: 50%;
  bottom: clamp(1.75rem, 5vh, 3rem);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  color: rgba(244, 242, 238, 0.75);
  opacity: 0;
  animation: portal-in 1.4s var(--ease) 1.15s forwards;
}
.portal__enter:hover { color: var(--paper); }
.portal__enter .bar {
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: sink 2.4s var(--ease) infinite;
}
@keyframes sink {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  35%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   HEADER — the name after it has migrated
   ═══════════════════════════════════════════════════════════ */
.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--gutter);
  border-bottom: 1px solid transparent;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease), border-color 0.5s var(--ease);
}

/* The frosted pane lives on a pseudo-element, not on .masthead itself:
   backdrop-filter would make the masthead the containing block for its
   position:fixed children, trapping the mobile menu panel inside the
   75px-tall bar instead of letting it cover the viewport. */
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
}

/* On the portal the masthead waits above the fold until the visitor scrolls. */
.has-portal .masthead {
  transform: translateY(-101%);
  opacity: 0;
  pointer-events: none;
}
.has-portal.is-past-portal .masthead {
  transform: none;
  opacity: 1;
  pointer-events: auto;
  border-bottom-color: var(--line);
}

.masthead__name { font-size: 0.9375rem; }

.masthead__items {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.masthead__nav a {
  font-size: 0.625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  position: relative;
  padding-block: 0.35rem;
}
.masthead__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.1rem;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.masthead__nav a:hover::after,
.masthead__nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

@media (max-width: 46rem) {
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 2.5rem; height: 2.5rem;   /* 40px touch target */
    margin-right: -0.5rem;
    /* Must stay clickable above the open panel, or the menu cannot be closed. */
    position: relative;
    z-index: 2;
  }
  .nav-toggle span {
    display: block; width: 1.125rem; height: 1px;
    background: currentColor;
    box-shadow: 0 5px currentColor, 0 -5px currentColor;
  }
  .masthead__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    background: var(--paper);
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease);
  }
  .masthead__items {
    flex-direction: column;
    gap: 1.75rem;
  }
  .masthead__nav a { font-size: 0.8125rem; }
  body.nav-open .masthead__nav { transform: none; }
  body.nav-open { overflow: hidden; }
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */
.shell { padding-inline: var(--gutter); }
.shell--narrow { max-width: 46rem; margin-inline: auto; }

main { min-height: 60vh; }
.has-portal main { padding-top: 0; }
/* Just enough to clear the fixed masthead — the section padding below
   supplies the actual breathing room. */
body:not(.has-portal) main { padding-top: 3.5rem; }

.section { padding-block: clamp(3.5rem, 9vw, 8rem); }
/* Inner pages already start below the masthead; a full section's worth of
   padding on top of that left the title stranded. */
body:not(.has-portal) main > .section:first-child { padding-top: clamp(1.75rem, 4vw, 3rem); }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.1rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO — true masonry via CSS columns
   Columns keep the photographs at their native proportions,
   which is the point: a wedding is not a grid of squares.
   ═══════════════════════════════════════════════════════════ */
.masonry {
  column-count: 3;
  column-gap: clamp(0.75rem, 1.6vw, 1.5rem);
}
@media (max-width: 62rem) { .masonry { column-count: 2; } }
@media (max-width: 34rem) { .masonry { column-count: 1; } }

.tile {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 1.6vw, 1.5rem);
  position: relative;
  display: block;
  background: var(--paper-dim);
  overflow: hidden;
}

.tile img {
  width: 100%;
  transition: transform 1.2s var(--ease), opacity 0.6s var(--ease);
}
.tile:hover img { transform: scale(1.035); }

/* The caption is withheld until asked for — the photograph goes first. */
.tile__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.1rem;
  color: var(--paper);
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.tile:hover .tile__meta,
.tile:focus-visible .tile__meta { opacity: 1; transform: none; }

.tile__couple {
  font-family: var(--display);
  font-size: 1.125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tile__place {
  font-size: 0.625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.78);
  margin-top: 0.3rem;
}

/* Touch devices have no hover — show the caption outright. */
@media (hover: none) {
  .tile__meta { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   YEAR NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.years {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.years a {
  font-size: 0.6875rem;
  letter-spacing: var(--track-mono);
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.years a:hover, .years a.is-active { color: var(--ink); }
.years a.is-active { text-decoration: underline; text-underline-offset: 0.35em; }

.year-block + .year-block { margin-top: clamp(3rem, 7vw, 6rem); }
.year-block__mark {
  font-family: var(--display);
  font-size: clamp(2.5rem, 9vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.14;
  margin-bottom: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE WEDDING
   ═══════════════════════════════════════════════════════════ */
.story__cover {
  position: relative;
  height: min(88svh, 54rem);
  overflow: hidden;
  background: var(--ink);
}
.story__cover img { width: 100%; height: 100%; object-fit: cover; }

.story__head {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--gutter);
  color: var(--paper);
  background: linear-gradient(to top, rgba(0,0,0,0.68), transparent);
}
.story__couple {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.story__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.8);
}

.story__intro {
  font-size: 0.9375rem;
  line-height: 1.85;
  max-width: var(--measure);
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

/* Editorial gallery: most frames run full width, every third pair
   splits — the rhythm of a printed photo essay rather than a grid. */
.gallery { display: grid; gap: clamp(0.75rem, 1.6vw, 1.5rem); }
.gallery__figure { margin: 0; background: var(--paper-dim); overflow: hidden; }
.gallery__figure img { width: 100%; }

@media (min-width: 50rem) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__figure:nth-child(3n+1) { grid-column: 1 / -1; }
}

.story__nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  font-size: 0.625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ON SCROLL
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* Without JS everything must still be visible. */
.no-js .reveal { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   PROSE & BUTTONS
   ═══════════════════════════════════════════════════════════ */
.prose { max-width: var(--measure); font-size: 0.875rem; line-height: 1.85; }
.prose p + p { margin-top: 1.1em; }

/* `display` on a class beats the browser's [hidden] rule, so the form's
   Back / Continue / Send buttons all showed at once until this was added. */
.btn[hidden] { display: none; }

.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; }

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 56rem) {
  .about__grid { grid-template-columns: 5fr 6fr; }
  /* The portrait hangs slightly lower than the text — an even top edge
     reads like a template, this reads like a spread. */
  .about__figure { margin-top: 2.5rem; }
}
.about__figure img { width: 100%; }

.about__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0.75rem 0 1.75rem;
}
.about__cta { margin-top: 2.25rem; }

.press { border-top: 1px solid var(--line); }
.press__lead { margin-bottom: 1.25rem; }
.press__items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.125rem, 3vw, 1.75rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.press__items a { color: var(--ink-soft); transition: color 0.3s var(--ease); }
.press__items a:hover { color: var(--ink); }

/* A publication with no URL yet reads as a mention, not as a dead link. */
.press__items a[href$="#"] { pointer-events: none; cursor: default; }

/* ═══════════════════════════════════════════════════════════
   ENQUIRY FORM
   ═══════════════════════════════════════════════════════════ */
.enquiry { margin-top: clamp(2rem, 5vw, 3.5rem); }

/* Off-screen rather than display:none — some bots skip hidden fields. */
.enquiry__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry__progress {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  padding-bottom: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  font-size: 0.625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--ink-soft);
}
.enquiry__progress li { display: flex; gap: 0.5rem; align-items: baseline; }
.enquiry__progress .enquiry__num { font-weight: 500; }
.enquiry__progress li.is-current { color: var(--ink); }
.enquiry__progress li.is-done { color: var(--ink); opacity: 0.45; }
/* Without JS every step is shown, so the tracker would be misleading. */
.enquiry:not(.is-stepped) .enquiry__progress { display: none; }

/* Every step is visible by default; JS hides all but the current one. */
.enquiry__step { border: 0; }
.enquiry.is-stepped .enquiry__step { display: none; }
.enquiry.is-stepped .enquiry__step.is-current {
  display: block;
  animation: step-in 0.5s var(--ease);
}
@keyframes step-in {
  from { opacity: 0; transform: translateY(0.6rem); }
  to   { opacity: 1; transform: none; }
}

.field + .field { margin-top: clamp(1.5rem, 3.5vw, 2.25rem); }
.enquiry__step + .enquiry__step { margin-top: clamp(1.5rem, 3.5vw, 2.25rem); }

.field__label {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}
.field__optional {
  font-size: 0.5625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 0.5rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--ink);
}
.field textarea { resize: vertical; }

.field.has-error input,
.field.has-error textarea { border-bottom-color: var(--ink); }
.field.has-error .field__label::after {
  content: " — " attr(data-error, "required");
  font-size: 0.5625rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
}

.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: block;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.choice input:hover + span { border-color: var(--ink); }
.choice input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.field.has-error .choices { outline: 1px solid var(--ink); outline-offset: 0.5rem; }

.enquiry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.enquiry__legal {
  margin-top: 1.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.notice {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--ink);
  background: var(--paper-dim);
  margin-bottom: 2rem;
  font-size: 0.8125rem;
}
.notice__title { font-size: 0.9375rem; margin-bottom: 0.35rem; }
.notice--good { border-left-color: var(--ink); }
.notice--bad { border-left-style: dashed; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.colophon {
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.colophon__name { font-size: 0.8125rem; }
.colophon__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.colophon a:hover { color: var(--ink); }
.colophon .label:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   EMPTY STATE — visible only to editors
   ═══════════════════════════════════════════════════════════ */
.empty {
  border: 1px dashed var(--line);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--ink-soft);
}
