/* ==========================================================================
   Goodness Abraham — portfolio
   Design tokens — quiet luxury: near-black ground, warm gold, cream ink
   ========================================================================== */

:root {
  /* Palette */
  --paper:      #0B0A09;   /* ground */
  --paper-warm: #141210;   /* panel / card, one step up from ground */
  --deep:       #050403;   /* the seal — contact + footer */
  --ink:        #EFE6D3;   /* primary text, warm cream, never stark white */
  --slate:      #9C9284;   /* secondary text, muted warm grey */
  --rule:       rgba(198, 162, 76, 0.16);   /* hairline dividers */
  --rule-dark:  rgba(198, 162, 76, 0.26);
  --accent:     #C6A24C;   /* gold */
  --accent-lift:#E8CD86;   /* champagne — hover / lift state */
  --accent-dim: rgba(198, 162, 76, 0.5);

  /* Type */
  --display: "Fraunces", Georgia, serif;
  --body:    "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --label:   "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --step--2: 0.735rem;
  --step--1: 0.86rem;
  --step-0:  1.0rem;
  --step-1:  clamp(1.15rem, 0.4vw + 1.05rem, 1.35rem);
  --step-2:  clamp(1.45rem, 0.9vw + 1.2rem, 1.9rem);
  --step-3:  clamp(1.9rem, 1.8vw + 1.4rem, 2.8rem);
  --step-4:  clamp(2.4rem, 3.4vw + 1.5rem, 4.4rem);
  --step-5:  clamp(3rem, 6vw + 1.4rem, 7rem);

  /* Space */
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --band: clamp(4rem, 9vw, 8rem);
  --maxw: 1220px;
  --measure: 62ch;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Fine grain — keeps large black fields from feeling flat and digital */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.nav, main, .contact, .foot { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #14110a; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.u-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #14110a;
  padding: 0.75rem 1.1rem;
  font-family: var(--label);
  font-weight: 600;
  font-size: var(--step--2);
  z-index: 200;
}
.u-skip:focus { left: 0.5rem; top: 0.5rem; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wrap--narrow { max-width: 860px; }

.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.rule-top { border-top: 1px solid var(--rule); }

/* Eyebrow — small tracked label, not a data readout: this is the fashion-house
   register, kept separate from the mono "hallmark" register used on sourced
   figures below. */
.eyebrow {
  font-family: var(--label);
  font-weight: 600;
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
}

.nav__mark {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 20;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}
.nav__mark em {
  font-style: normal;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: var(--label);
  font-weight: 500;
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lift));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  font-family: var(--label);
  font-weight: 500;
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gut) 1.4rem;
    display: none;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__link {
    width: 100%;
    padding-block: 0.7rem;
    font-size: var(--step--1);
    border-bottom: 1px solid var(--rule);
  }
  .nav__link::after { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: clip;
}

/* Sparkle — a handful of soft gold points, breathing slowly. Confined to the
   hero and the closing band; never continuous, never loud. */
.hero::after,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, var(--accent-lift), transparent 60%),
    radial-gradient(1.4px 1.4px at 27% 68%, var(--accent), transparent 60%),
    radial-gradient(1.8px 1.8px at 41% 12%, var(--accent-lift), transparent 60%),
    radial-gradient(1.3px 1.3px at 63% 78%, var(--accent), transparent 60%),
    radial-gradient(1.6px 1.6px at 78% 34%, var(--accent-lift), transparent 60%),
    radial-gradient(1.4px 1.4px at 91% 61%, var(--accent), transparent 60%),
    radial-gradient(1.3px 1.3px at 55% 46%, var(--accent-lift), transparent 60%);
  opacity: 0.45;
  animation: twinkle 7s ease-in-out infinite;
}
.contact::before { opacity: 0.3; animation-duration: 9s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.55; }
}

.hero__name {
  position: relative;
  font-size: var(--step-5);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  letter-spacing: -0.032em;
  margin-bottom: 0.5rem;
  background: linear-gradient(100deg, var(--ink) 40%, var(--accent-lift) 50%, var(--ink) 60%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__name.is-in { animation: shimmer 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }

@keyframes shimmer {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

.hero__role {
  font-family: var(--label);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(2rem, 5vw, 3.4rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  position: relative;
}

.hero__lede {
  padding-top: 0.35em;
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 34ch;
  text-wrap: pretty;
  color: var(--ink);
}

.hero__portrait { position: relative; }
.hero__portrait img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid var(--rule-dark);
  padding: 10px;
  background: var(--paper-warm);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.hero__portrait figcaption {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--slate);
  margin-top: 0.7rem;
  letter-spacing: 0.03em;
}

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__portrait { order: -1; max-width: 22rem; margin-inline: auto; }
  .hero__portrait img {
    max-height: none;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 18%;
  }
  .hero__lede { padding-top: 0; text-align: left; }
}

/* ==========================================================================
   SIGNATURE — sourced results, styled as hallmarked figures
   ========================================================================== */

.results { list-style: none; margin: 0; padding: 0; }

.result {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.75rem);
  align-items: baseline;
  padding-block: clamp(1.4rem, 2.6vw, 2.1rem);
  border-top: 1px solid var(--rule);
  position: relative;
}
.result:last-child { border-bottom: 1px solid var(--rule); }

.result__fig {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 60;
  font-size: var(--step-3);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--accent-lift);
  white-space: nowrap;
}
.result__fig sup {
  font-family: var(--mono);
  font-size: 0.42em;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--accent);
  margin-left: 0.15em;
}

.result__body { min-width: 0; }

.result__claim {
  font-size: var(--step-0);
  line-height: 1.45;
  margin: 0 0 0.45rem;
  text-wrap: pretty;
  color: var(--ink);
}

.result__src {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--slate);
  letter-spacing: 0.02em;
  display: block;
}
.result__src::before {
  content: "◆ ";
  font-size: 0.7em;
  color: var(--accent);
}

@media (max-width: 620px) {
  .result { grid-template-columns: 1fr; gap: 0.55rem; }
}

/* ==========================================================================
   Discipline index
   ========================================================================== */

.disciplines { display: grid; gap: 0; }

.discipline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(1.8rem, 3.4vw, 2.9rem);
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.35s ease, padding-inline 0.35s ease;
}
.discipline:last-of-type { border-bottom: 1px solid var(--rule); }
.discipline:hover {
  background: var(--paper-warm);
  padding-inline: clamp(0.5rem, 1.5vw, 1.4rem);
}

.discipline__name {
  font-size: var(--step-2);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
  text-wrap: balance;
  color: var(--ink);
}

.discipline__desc {
  font-size: var(--step--1);
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

.discipline__go {
  font-family: var(--label);
  font-weight: 600;
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 0.35rem;
}
.discipline:hover .discipline__go { color: var(--accent-lift); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .discipline { grid-template-columns: 1fr; gap: 0.7rem; }
  .discipline__go { padding-top: 0; }
}

/* ==========================================================================
   Case studies
   ========================================================================== */

.case {
  padding-block: clamp(2.6rem, 5vw, 4.2rem);
  border-top: 1px solid var(--rule);
}

.case__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 1.6rem;
}

.case__title {
  font-size: var(--step-3);
  max-width: 22ch;
  text-wrap: balance;
  color: var(--ink);
}

.case__meta {
  font-family: var(--label);
  font-weight: 500;
  font-size: var(--step--2);
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

.case__body {
  max-width: var(--measure);
  font-size: var(--step-0);
  color: var(--ink);
}
.case__body p + p { margin-top: 0; }

.case__stat {
  margin: 1.8rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--accent-dim);
  max-width: var(--measure);
}
.case__stat strong {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  color: var(--accent-lift);
}
.case__stat .result__src { margin-top: 0.6rem; }

@media (max-width: 700px) {
  .case__head { grid-template-columns: 1fr; gap: 0.5rem; }
  .case__meta { text-align: left; white-space: normal; }
}

/* Evidence figure — displayed like a plate in a catalogue */
.evidence {
  margin: 2rem 0 0;
  border: 1px solid var(--rule-dark);
  background: var(--paper-warm);
  padding: 0.6rem;
}
.evidence img { width: 100%; height: auto; }
.evidence figcaption {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--slate);
  padding: 0.75rem 0.3rem 0.2rem;
  letter-spacing: 0.02em;
}

/* Compact link list for work samples */
.samples { list-style: none; margin: 1.6rem 0 0; padding: 0; max-width: var(--measure); }
.sample {
  border-top: 1px solid var(--rule);
  padding-block: 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: baseline;
}
.sample:last-child { border-bottom: 1px solid var(--rule); }
.sample__link {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-dark);
  transition: border-color 0.3s ease, color 0.3s ease;
  text-wrap: pretty;
}
.sample__link:hover { border-color: var(--accent); color: var(--accent-lift); }
.sample__fig {
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--slate);
  white-space: nowrap;
}

/* ==========================================================================
   Prose (About, Notes)
   ========================================================================== */

.prose { max-width: var(--measure); color: var(--ink); }
.prose h2 {
  font-size: var(--step-2);
  margin: 2.6rem 0 0.9rem;
  text-wrap: balance;
}
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: var(--step-0); }
.prose strong { font-weight: 600; color: var(--accent-lift); }

.lede-lg {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
  font-size: var(--step-2);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin-bottom: 2rem;
  color: var(--ink);
}

/* ==========================================================================
   Q&A
   ========================================================================== */

.qa { border-top: 1px solid var(--rule); }
.qa__item { border-bottom: 1px solid var(--rule); padding-block: 1.7rem; }
.qa__q {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 30;
  font-size: var(--step-1);
  letter-spacing: -0.012em;
  margin-bottom: 0.6rem;
  max-width: 40ch;
  text-wrap: balance;
  color: var(--ink);
}
.qa__a { max-width: var(--measure); color: var(--slate); }
.qa__a strong { color: var(--accent-lift); font-weight: 500; }

/* ==========================================================================
   Quotes
   ========================================================================== */

.quotes { display: grid; gap: clamp(2rem, 4vw, 3rem); }

.quote { max-width: 46ch; position: relative; padding-left: 1.3rem; }
.quote::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em; bottom: 0.4em;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.quote__text {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 0.9rem;
  text-wrap: pretty;
  color: var(--ink);
}
.quote__by {
  font-family: var(--label);
  font-size: var(--step--2);
  color: var(--slate);
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.quote__by b { color: var(--accent-lift); font-weight: 600; }

.quote--pull .quote__text { font-size: var(--step-3); }

/* ==========================================================================
   Tools + certification strip
   ========================================================================== */

.strip { border-top: 1px solid var(--rule); padding-block: 1.6rem; }
.strip__label {
  font-family: var(--label);
  font-weight: 600;
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.strip__list {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--slate);
  line-height: 1.85;
  margin: 0;
}

/* ==========================================================================
   Process list
   ========================================================================== */

.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process__item {
  border-top: 1px solid var(--rule);
  padding-block: 1.4rem;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1rem;
  max-width: 76ch;
}
.process__item:last-child { border-bottom: 1px solid var(--rule); }
.process__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: var(--step--2);
  color: var(--accent);
  padding-top: 0.35em;
  letter-spacing: 0.05em;
}
.process__item p { margin: 0; text-wrap: pretty; color: var(--ink); }

/* ==========================================================================
   Contact — the seal that closes every page
   ========================================================================== */

.contact {
  background: var(--deep);
  color: var(--ink);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--rule-dark);
  position: relative;
  overflow: clip;
}
.contact__title {
  position: relative;
  font-size: var(--step-4);
  max-width: 16ch;
  margin-bottom: 1.6rem;
  color: var(--ink);
}
.contact__mail {
  position: relative;
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--step-1);
  color: var(--accent-lift);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-dark);
  padding-bottom: 0.18em;
  transition: border-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  word-break: break-word;
}
.contact__mail:hover { color: var(--ink); border-color: var(--accent); }

.contact__social {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
}
.contact__social a {
  font-family: var(--label);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact__social a:hover { color: var(--accent-lift); }

.foot {
  background: var(--deep);
  color: var(--slate);
  border-top: 1px solid var(--rule-dark);
  padding-block: 1.5rem;
  font-family: var(--label);
  font-size: var(--step--2);
  letter-spacing: 0.05em;
}
.foot__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */

.phead { padding-block: clamp(2.8rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.phead__kicker {
  font-family: var(--label);
  font-weight: 600;
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.phead__title {
  font-size: var(--step-4);
  max-width: 18ch;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.phead__sub {
  font-size: var(--step-1);
  color: var(--slate);
  max-width: 44ch;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ==========================================================================
   Notes (blog) index
   ========================================================================== */

.note {
  border-top: 1px solid var(--rule);
  padding-block: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  max-width: var(--measure);
}
.note:last-of-type { border-bottom: 1px solid var(--rule); }
.note__date {
  font-family: var(--label);
  font-weight: 500;
  font-size: var(--step--2);
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.note__title { font-size: var(--step-2); text-wrap: balance; color: var(--ink); }
.note__dek { color: var(--slate); margin: 0; }

.empty {
  border: 1px dashed var(--rule-dark);
  padding: clamp(2rem, 5vw, 3.2rem);
  max-width: var(--measure);
  color: var(--ink);
}
.empty p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Motion
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.page-fade { animation: pageIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

body.is-leaving { opacity: 0; transition: opacity 0.22s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  body.is-leaving { opacity: 1; }
  .hero__name { background-position: 0% 0; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .nav, .contact, .foot { display: none; }
  body { background: #fff; color: #111; }
  body::before { display: none; }
}
