/* ==========================================================================
   Akari Enterprises — shared stylesheet
   An editorial, ink-and-paper aesthetic: warm ivory paper, charcoal ink,
   a single burnished-gold accent (a nod to "Akari" — Japanese for light).
   ========================================================================== */

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
html { -webkit-text-size-adjust: 100%; }

/* ---- Design tokens -------------------------------------------------------*/
:root {
  --ivory: #f3ede0;
  --ivory-deep: #eae0c9;
  --paper-card: #fbf8f1;
  --ink: #1c1814;
  --ink-2: #2c2620;
  --ink-body: #362f26;
  --ink-soft: #675e4c;
  --line: #d9cca8;
  --line-strong: #c8b98d;
  --line-on-dark: rgba(244, 239, 228, 0.16);
  --cream: #f4efe2;
  --cream-soft: rgba(244, 239, 228, 0.72);
  --gold: #a2793a;
  --gold-deep: #82601f;
  --gold-light: #c9a463;
  --shadow-soft: 0 20px 50px -28px rgba(20, 17, 12, 0.45);
  --shadow-card: 0 14px 34px -18px rgba(20, 17, 12, 0.28);

  --font-display: "Fraunces", "Iowan Old Style", ui-serif, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --radius: 2px;
}

/* subtle paper grain, reused on both light and dark bands */
@property --noiseop { syntax: '<number>'; inherits: false; initial-value: 0.05; }

.grain { position: relative; isolation: isolate; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  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.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
.grain > * { position: relative; z-index: 1; }

/* ---- Base ---------------------------------------------------------------*/
body {
  background: var(--ivory);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  body { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* a small tapering "brush stroke" divider */
.stroke-rule {
  width: 96px;
  height: 2px;
  margin: 1.75rem auto;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold-light) 50%, var(--gold) 78%, transparent);
  border-radius: 2px;
}
.stroke-rule.left { margin-inline: 0; }

/* ---- Buttons / links -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: var(--radius);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.btn:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn.btn-gold { border-color: var(--gold); color: var(--cream); background: var(--gold); }
.btn.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.btn-ghost-dark { border-color: var(--line-on-dark); color: var(--cream); }
.btn.btn-ghost-dark:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.text-link {
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 0.2rem;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
  transition: background-size 0.3s ease, color 0.3s ease;
}
.text-link:hover { color: var(--gold-deep); background-size: 0% 1px; }
.text-link.on-dark { color: var(--cream); background-image: linear-gradient(var(--gold-light), var(--gold-light)); }
.text-link.on-dark:hover { color: var(--gold-light); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
/* the frosted-glass fill lives on a pseudo-element (not the header itself) so
   that backdrop-filter never establishes a containing block for the fixed-
   position mobile menu nested inside the header — otherwise the menu would
   be sized against the ~78px header box instead of the viewport. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 237, 224, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-mark {
  height: 34px;
  width: auto;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-word em { font-style: italic; color: var(--gold-deep); }

/* at the narrowest supported phone widths (~320px) the logo mark + wordmark
   + nav toggle no longer all fit on one line and overflow the viewport —
   scale the lockup down a notch so everything stays on-screen without
   wrapping or clipping any of it */
@media (max-width: 360px) {
  .header-inner { padding-inline: 1rem; gap: 0.75rem; }
  .brand { gap: 0.5rem; }
  .brand-mark { height: 26px; }
  .brand-word { font-size: 0.85rem; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
}
.nav-menu a.active { color: var(--gold-deep); }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    inset: auto;
    background: none;
    flex-direction: row;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-menu a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-body);
    position: relative;
    padding-bottom: 4px;
  }
  .nav-menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  .nav-menu a:hover::after,
  .nav-menu a.active::after { transform: scaleX(1); transform-origin: left; }
  .nav-menu a.active { color: var(--gold-deep); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--cream-soft);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}
.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  text-align: center;
}
.footer-brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-card);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  margin-inline: auto;
}
.footer-brand-chip img { height: 24px; width: auto; }
.footer-word {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.footer-tagline {
  margin-top: 0.35rem;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}
.footer-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-soft);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(244, 239, 228, 0.5);
}

@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: 1.1fr 1fr;
    text-align: left;
    align-items: start;
  }
  .footer-brand-chip { margin-inline: 0; }
  .footer-nav { justify-content: flex-end; }
  .footer-bottom { grid-column: 1 / -1; }
}

/* ==========================================================================
   Hero (Home + Contact + page headers)
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 10vw, 7rem) clamp(2.5rem, 7vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  translate: -50% 0;
  width: min(900px, 140vw);
  height: 620px;
  background: radial-gradient(closest-side, rgba(162, 121, 58, 0.16), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero-logo {
  height: clamp(56px, 8vw, 84px);
  width: auto;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.practice-strip {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.practice-strip .sep { color: var(--gold); }

/* ==========================================================================
   Page header (Services / About / Clients / Contact top band)
   ========================================================================== */
.page-header {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-top: 0.75rem;
}
.tagline-repeat {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--gold-deep);
}
.page-header .lede {
  max-width: 640px;
  margin: 1.25rem auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ==========================================================================
   Home — intro / founder / CTA
   ========================================================================== */
.intro {
  padding-block: clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}
.intro-inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}
.intro p {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink-2);
}
.intro p.lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.founder {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory-deep);
}
.founder-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.founder-photo {
  justify-self: center;
  width: min(240px, 60vw);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 6px solid var(--paper-card);
}
.founder-text { text-align: center; }
.founder-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
}
.founder-role {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.founder-text p:not(.founder-role) {
  margin-top: 1.1rem;
  color: var(--ink-body);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-inline: auto;
}
.founder-text .text-link { margin-top: 1.4rem; }

@media (min-width: 780px) {
  .founder-inner {
    grid-template-columns: 300px 1fr;
    text-align: left;
  }
  .founder-photo { justify-self: start; width: 100%; }
  .founder-text { text-align: left; }
  .founder-text p:not(.founder-role) { margin-inline: 0; }
}

.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.cta-band-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.cta-band .section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.cta-band .section-heading h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.cta-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.cta-card {
  display: block;
  padding: 1.75rem;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.cta-card:hover {
  border-color: var(--gold);
  background: rgba(244, 239, 228, 0.03);
  transform: translateY(-4px);
}
.cta-card h2 {
  color: var(--cream);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cta-card h2 .arrow {
  color: var(--gold-light);
  transition: transform 0.3s ease;
}
.cta-card:hover h2 .arrow { transform: translateX(6px); }
.cta-card p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--cream-soft);
}

@media (min-width: 700px) {
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cta-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-list {
  padding-block: clamp(1rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem);
}
.service-row {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem) var(--gutter);
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.service-row h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin-top: 0.35rem;
}
.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.service-bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-body);
  font-size: 1.02rem;
}
.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

@media (min-width: 780px) {
  .service-row {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 3rem;
  }
}

/* ==========================================================================
   About / Bio — career timeline
   ========================================================================== */
.timeline-band {
  background: var(--ink);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.timeline {
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--gold), var(--line-on-dark) 92%);
  display: none;
}
.timeline-entry {
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--line-on-dark);
}
.timeline-entry:last-child { border-bottom: none; }
.timeline-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}
.timeline-logo img {
  max-height: 46px;
  width: auto;
  max-width: 180px;
}
.timeline-role h3 {
  color: var(--cream);
  font-size: 1.2rem;
  font-weight: 500;
}
.timeline-role p {
  color: var(--cream);
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.timeline-role p + p { margin-top: 0.25rem; }

@media (min-width: 700px) {
  .timeline::before { display: block; }
  .timeline-entry {
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.bio-intro {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: var(--ink-body);
  font-size: 1.05rem;
}

/* ==========================================================================
   Clients
   ========================================================================== */
.clients-meta {
  text-align: center;
  padding: 0 var(--gutter) clamp(2rem, 5vw, 3rem);
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Clients — single unified card grid ---------------------------------*/
.client-section {
  padding-block: clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 4.5rem);
}
.client-section-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
}
.client-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
/* a few source logos are white/near-white artwork with no background of
   their own — give them a dark chip so they stay visible on the paper card */
.client-logo--dark {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
}

/* a few source logo files are flat raster images with an opaque white (not
   transparent) background baked in, which shows up as a faint mismatched
   rectangle against the warm ivory card — blend the white out so only the
   logo's ink sits on the card, without touching the source files themselves */
.client-logo--matte { mix-blend-mode: multiply; }

.client-name-only {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.25;
}

.client-canonical {
  margin-top: -0.35rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* All clients — plain, uniform grid, no size figures */
.client-plain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}
.client-plain-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 0.9rem;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.client-plain-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.client-plain-card .client-logo { height: 40px; }
.client-plain-card .client-logo--dark { height: 54px; padding: 0.5rem 0.7rem; }

/* a handful of source logos are extremely wide, thin wordmarks (their real
   aspect ratio, not padding) — object-fit: contain in a roughly square box
   forces them down to an unreadable sliver, so these give the card double
   width (on viewports with room for it) and the logo box extra height to
   scale up in, instead of forcing a square-icon layout onto a wordmark shape */
.client-plain-card .client-logo--wordmark { height: 64px; }
.client-plain-card .client-logo--dark.client-logo--wordmark { height: 72px; padding: 0.6rem 0.9rem; }
@media (min-width: 400px) {
  .client-plain-card--wide { grid-column: span 2; }
}

.client-plain-card .client-name-only {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.client-plain-card .client-name-only--solo { font-size: 0.95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-photo-band {
  padding-block: 0 clamp(2.5rem, 6vw, 4rem);
}
.contact-photo {
  max-width: 440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.contact-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--paper-card);
}
.contact-photo figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.contact-cards {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 8vw, 6rem);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.contact-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}
.contact-card h2 {
  font-size: 1.5rem;
}
.contact-card .role {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.contact-card .email {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.contact-card .email:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

@media (min-width: 700px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
}

/* ==========================================================================
   Reveal-on-load animation (progressive, CSS-only)
   ========================================================================== */
.reveal {
  animation: reveal-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.28s; }
