:root {
  --ink: #0d1b24;
  --ink-2: #132633;
  --paper: #f4f5f1;
  --gold: #b8933e;
  --gold-soft: #d8be85;
  --slate: #7c8a90;
  --slate-dark: #4b5b63;
  --line: rgba(184, 147, 62, 0.35);
  --line-light: rgba(13, 27, 36, 0.12);
  --max: 880px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a {
  color: inherit;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- HERO ---------- */
.hero {
  background: radial-gradient(
    120% 140% at 15% 0%,
    #16303f 0%,
    var(--ink) 55%,
    #081117 100%
  );
  color: var(--paper);
  padding: 72px 0 0 0;
}
.hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.hero-photo {
  width: 168px;
  height: 168px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
  filter: saturate(0.96);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-photo:hover {
  transform: scale(1.02);
  filter: saturate(1.05);
}
.hero-text {
  flex: 1;
  min-width: 260px;
}
.hero-text .eyebrow {
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.hero-text h1 {
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}
.hero-text .role {
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}
.hero-text .thesis {
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}
.stat-strip {
  animation: fade-in 0.9s ease 0.4s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 14px 0;
}
.eyebrow::before {
  content: "— ";
  color: var(--gold);
}
h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}
.role {
  font-size: 16px;
  color: #b9c6cc;
  margin: 0 0 22px 0;
  font-weight: 400;
}
.thesis {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: #dce3e6;
  max-width: 520px;
  margin: 0;
  line-height: 1.5;
}

/* stat strip — the "statement header" signature motif */
.stat-strip {
  border-top: 1px solid var(--line);
  background: rgba(184, 147, 62, 0.06);
}
.stat-inner {
  display: flex;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 150px;
  padding: 22px 28px;
  border-right: 1px solid var(--line-light);
}
.stat:last-child {
  border-right: none;
}
.stat-num {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8fa0a7;
  margin-top: 4px;
}

/* ---------- LEDGER DIVIDER (signature element) ---------- */
.ledger-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 34px 0;
  padding-top: 56px;
}
.ledger-divider .rule {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--slate-dark) 0,
    var(--slate-dark) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity: 0.35;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.ledger-divider.is-visible .rule {
  transform: scaleX(1);
}
.stat {
  transition: background 0.2s ease;
}
.stat:hover {
  background: rgba(184, 147, 62, 0.08);
}
.ledger-divider .rule.top {
  margin-bottom: -2px;
}
.ledger-label {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding: 0 2px;
}
section {
  padding-bottom: 8px;
}

/* ---------- ABOUT ---------- */
.about p {
  font-size: 17px;
  color: #20323c;
  max-width: 660px;
  margin: 0 0 18px 0;
}

/* ---------- TRACK RECORD ---------- */
.entry {
  display: flex;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
}
.entry:last-child {
  border-bottom: none;
}
.entry-date {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--gold);
  width: 96px;
  flex-shrink: 0;
  padding-top: 2px;
}
.entry-body h3 {
  margin: 0 0 4px 0;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
}
.entry-body p {
  margin: 0;
  font-size: 15px;
  color: var(--slate-dark);
}

/* ---------- PRESS ---------- */
.press-group {
  margin-bottom: 30px;
}
.press-group-title {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 12px 0;
}
.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.press-list li {
  border-bottom: 1px solid var(--line-light);
}
.press-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 2px;
  text-decoration: none;
  color: var(--ink);
  transition:
    color 0.15s ease,
    transform 0.2s ease;
}
.press-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}
.press-link:hover .arrow {
  transform: translateX(3px);
  opacity: 1;
}
.press-source {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.press-title {
  font-size: 15.5px;
  flex: 1;
}
.arrow {
  font-family: "Inter", sans-serif;
  color: var(--gold);
  opacity: 0.55;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

/* ---------- PRODUCT GRID ---------- */
.product-row-label {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 10px 0;
}
.product-row-label.second {
  margin-top: 24px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 6px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px 20px 24px 20px;
  border: 1px solid var(--line-light);
  text-decoration: none;
  color: var(--ink);
  background: rgba(13, 27, 36, 0.02);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.product-card:hover {
  border-color: var(--gold);
  background: rgba(184, 147, 62, 0.07);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13, 27, 36, 0.08);
}
.product-card:hover::before {
  transform: scaleX(1);
}
.product-card-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 16.5px;
}
.product-card-sub {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 641px) and (max-width: 820px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.entry,
.press-list li {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.entry.is-visible,
.press-list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- COMMUNITY ---------- */
.community-note {
  font-size: 15.5px;
  color: var(--slate-dark);
  max-width: 640px;
  margin: 0 0 20px 0;
}

/* ---------- CONTACT / FOOTER ---------- */
footer {
  margin-top: 70px;
  background: var(--ink);
  color: var(--paper);
}
.footer-inner {
  padding: 52px 0 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-name {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px 0;
}
.footer-role {
  color: #8fa0a7;
  font-size: 14px;
  margin: 0;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.contact-link {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  text-decoration: none;
  color: var(--gold-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.contact-link:hover {
  border-color: var(--gold-soft);
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 12px;
  color: #5e6e75;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 52px;
  }
  .hero-inner {
    gap: 22px;
    padding-bottom: 36px;
  }
  .hero-photo {
    width: 120px;
    height: 120px;
  }
  .stat {
    padding: 16px 18px;
    min-width: 130px;
  }
  .entry {
    gap: 14px;
  }
  .entry-date {
    width: 70px;
    font-size: 12px;
  }
  .press-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Publication icons stay beside the title at every screen size. */
.press-link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
}
.press-favicon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}
.email-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 2px;
  cursor: pointer;
  line-height: inherit;
  text-align: left;
}
.email-copy:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 5px;
}
.copy-check {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.email-copy.is-copied .copy-check {
  opacity: 1;
}
.copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .press-link {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
  }
  .press-favicon {
    grid-row: 1 / 3;
    margin-top: 2px;
  }
  .press-source {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-link:hover {
    transform: none;
  }
}
