/* Hallmark · shape: Specimen (a wordmark proof, then two prints) · genre: editorial · theme: Studio (deal 2/3, seed personal-placeholder-home-married-82d1·ed1d45c4·2026-11-02·r0) · job: visit · draw: manual, placeholder scope
 * hero: Stage, the wordmark across the full measure · nav: edge-aligned, the wordmark and the place · footer: a proof strip, credits only · imagery: photographs (the couple's own, black and white) · signature: "The Warahis" set huge in Hedvig with its true metric guides
 * axes: light/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4 · weakest: P, a placeholder argues little; let the measured wordmark and the two prints carry it and cut every line of copy that did not */
/* Hallmark · answered: photographs are black and white by the owners' choice, not the theme's true colour */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --container: 1200px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Hedvig Letters Serif metrics, units of 1000, line box = ascent 1020 + descent 320 */
  --m-line: 1.34;
  --m-asc: 0.22em;   /* ascender 800 */
  --m-cap: 0.32em;   /* cap height 700 */
  --m-x: 0.50em;     /* x-height 520 */
  --m-base: 1.02em;  /* baseline 0 */
  --m-desc: 1.267em; /* descender -247 */
}

/* Proof ground: dot grid under grain, fading before the clean paper */
.proof {
  background-image: var(--grain), radial-gradient(circle at 1px 1px, var(--color-dot) 1px, transparent 1.4px);
  background-size: 160px 160px, 24px 24px;
}
.proof--top {
  -webkit-mask-image: linear-gradient(to bottom, var(--color-ink) 78%, transparent);
  mask-image: linear-gradient(to bottom, var(--color-ink) 78%, transparent);
}
.proof--bottom {
  -webkit-mask-image: linear-gradient(to top, var(--color-ink) 70%, transparent);
  mask-image: linear-gradient(to top, var(--color-ink) 70%, transparent);
}

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding-block: var(--space-lg);
}
.nav__mark { font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: -0.005em; color: var(--color-ink); text-decoration: none; }
.nav__mark:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav__mark:active { color: var(--color-ink-2); }
.nav__place { font-size: var(--text-sm); color: var(--color-muted); }

/* Readout strip above the wordmark */
.strip {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-xs);
  border-bottom: var(--rule-hair) solid var(--color-ink);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-muted);
}

/* Hero */
.hero { padding-bottom: var(--space-3xl); }
.hero__stage { container-type: inline-size; padding-top: var(--space-2xl); }

.mark {
  position: relative;
  max-width: none;
  font-size: min(198px, 18.4cqi); /* the word measures 5.415em, so 18.4cqi fills the measure */
  line-height: var(--m-line);
  white-space: nowrap;
  text-wrap: nowrap;
  font-optical-sizing: auto;
}
.mark__word {
  position: relative;
  z-index: var(--z-raised);
  max-width: none;
  font-size: inherit;
  line-height: inherit;
  text-wrap: nowrap;
}

.guide {
  position: absolute;
  inset-inline: 0;
  height: var(--rule-hair);
  background: var(--color-accent);
  transform-origin: left center;
}
.guide--asc  { top: var(--m-asc); }
.guide--cap  { top: var(--m-cap); }
.guide--x    { top: var(--m-x); }
.guide--base { top: var(--m-base); }
.guide--desc { top: var(--m-desc); }

.guide__read {
  position: absolute;
  right: 0;
  bottom: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: no-preference) {
  .guide { animation: draw var(--dur-long) var(--ease-out) both; }
  .guide--cap  { animation-delay: 60ms; }
  .guide--x    { animation-delay: 120ms; }
  .guide--base { animation-delay: 180ms; }
  .guide--desc { animation-delay: 240ms; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.hero__foot .lead { color: var(--color-ink-2); }
@media (min-width: 52rem) {
  .hero__foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero__foot .lead, .hero__cta { grid-column: 2; }
}

/* Button to the private home page */
.button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  padding: var(--space-xs) var(--space-lg);
  border: var(--rule-hair) solid var(--color-ink);
  border-radius: var(--radius-pill);
  background: var(--color-paper-hi);
  color: var(--color-ink);
  font-weight: 500;
  text-decoration: none;
  transition: background var(--dur-short), border-color var(--dur-short);
}
.button:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.button:active { background: color-mix(in oklab, var(--color-accent) 85%, var(--color-ink)); }

/* Prints */
.prints { padding-bottom: var(--section-gap-s); }
.prints__set {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3xl) var(--gap-columns);
  padding-top: var(--space-xl);
  border-top: var(--rule-hair) solid var(--color-ink);
}
@media (min-width: 46rem) {
  .prints__set { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}

.print { margin: 0; }
.print__sheet {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-paper-3);
  box-shadow: var(--shadow-sheet);
}
.print__sheet img { width: 100%; height: 100%; object-fit: cover; }

/* Crop marks: eight ticks off the corners */
.crop { --l: 9px; --o: 14px; }
.crop::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--o));
  pointer-events: none;
  background:
    linear-gradient(var(--color-mark), var(--color-mark)) 0 var(--o) / var(--l) 1px no-repeat,
    linear-gradient(var(--color-mark), var(--color-mark)) 100% var(--o) / var(--l) 1px no-repeat,
    linear-gradient(var(--color-mark), var(--color-mark)) 0 calc(100% - var(--o)) / var(--l) 1px no-repeat,
    linear-gradient(var(--color-mark), var(--color-mark)) 100% calc(100% - var(--o)) / var(--l) 1px no-repeat,
    linear-gradient(var(--color-mark), var(--color-mark)) var(--o) 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--color-mark), var(--color-mark)) calc(100% - var(--o)) 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--color-mark), var(--color-mark)) var(--o) 100% / 1px var(--l) no-repeat,
    linear-gradient(var(--color-mark), var(--color-mark)) calc(100% - var(--o)) 100% / 1px var(--l) no-repeat;
}

/* Ratio redline under each print */
.print__cap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}
.redline {
  flex: 1;
  height: var(--space-xs);
  border-inline: var(--rule-hair) solid var(--color-accent);
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 50% / 100% 1px no-repeat;
}

/* Footer */
.foot { padding-top: var(--space-3xl); }
.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  padding-block: var(--space-md) var(--space-xl);
  border-top: var(--rule-hair) solid var(--color-ink);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

@media (max-width: 63.9375rem) { .guide__read { display: none; } }
@media (max-width: 40rem) { .strip__right { display: none; } }

/* 404 */
.lost { padding-block: var(--space-4xl); }
.lost .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.lost a:hover { text-decoration-color: var(--color-accent); }
.lost a:active { color: var(--color-ink); }

/* Phones: tighter rhythm, crop marks kept inside the gutter, footer stacked */
@media (max-width: 40rem) {
  .hero { padding-bottom: var(--space-2xl); }
  .hero__stage { padding-top: var(--space-xl); }
  .hero__foot { margin-top: var(--space-lg); }
  .prints__set { row-gap: var(--space-2xl); padding-top: var(--space-xl); }
  .prints { padding-bottom: var(--space-xl); }
  .crop { --l: 6px; --o: 10px; }
  .print__cap { margin-top: var(--space-md); }
  .foot { padding-top: var(--space-2xl); }
  .foot__row { flex-direction: column; }
}

/* Wider screens: the word fills the measure less a gutter that holds the readouts */
@media (min-width: 64rem) {
  .hero__stage { padding-right: 8.5rem; }
  .guide { inset-inline: 0 -8.5rem; }
}
