/* ABOUTME: index.html styles — warm cream hero, stat strip, portfolio cards, about teaser */

/* ============================================================
   HERO — light two-column
   ============================================================ */
.hero {
  padding-block: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) clamp(4rem, 8vw, 7rem);
  background: var(--c-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 46fr 54fr; }
}

.hero-text .label { margin-bottom: 1.25rem; }

.hero-text h1 {
  color: var(--c-text);
  margin-bottom: 0;
}

.hero-text .t-rule { margin-block: 1.75rem; }

.hero-lede {
  font-size: var(--t-large);
  font-weight: 300;
  color: var(--c-text-muted);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}

/* Featured photo with caption bar */
.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero-media-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0.25rem 0;
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 0.9rem;
}

.hero-media-caption span {
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-media-caption span:first-child { color: var(--c-text); }
.hero-media-caption span:last-child  { color: var(--c-text-muted); }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  background: var(--c-bg-dark);
}

.stat-strip-inner {
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: clamp(1.5rem, 4vw, 3.75rem);
}

.stat-divider {
  width: 1px;
  height: 3.25rem;
  background: oklch(98.5% 0.008 85 / 0.15);
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--c-white);
  display: block;
}

.stat-number sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--c-accent);
}

.stat-label {
  display: block;
  font-family: var(--f-body);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(98.5% 0.008 85 / 0.55);
  margin-top: 0.85rem;
}

@media (max-width: 679px) {
  .stat { padding-block: 1rem; flex-basis: 50%; }
  .stat-divider { display: none; }
}

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-section { background: var(--c-bg); }

.portfolio-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.portfolio-header .label { margin-bottom: 0.85rem; }
.portfolio-header h2 { color: var(--c-text); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 800px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.pf-card { display: block; }

.pf-card-media {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.pf-card-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 800ms var(--ease-out-quart);
}

.pf-card:hover .pf-card-media img { transform: scale(1.04); }

.pf-card:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}

.pf-card-num {
  font-family: var(--f-display);
  font-size: var(--t-small);
  letter-spacing: 0.3em;
  color: var(--c-accent);
  display: block;
  margin-bottom: 0.6rem;
}

.pf-card-body h3 {
  color: var(--c-text);
  margin-bottom: 0.6rem;
  transition: color var(--dur-fast);
}

.pf-card:hover .pf-card-body h3 { color: var(--c-accent-dk); }

.pf-card-body p {
  font-size: var(--t-small);
  color: var(--c-text-muted);
  margin-bottom: 1.1rem;
  max-width: 300px;
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-teaser {
  background: var(--c-bg-mid);
  border-top: 1px solid var(--c-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .about-grid { grid-template-columns: 2fr 3fr; }
}

.about-photo {
  justify-self: center;
  max-width: 380px;
  background: var(--c-white);
  padding: 1rem 1rem 1rem;
  border: 1px solid var(--c-border);
}

.about-photo img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.about-text .label { margin-bottom: 0.85rem; }
.about-text h2 { color: var(--c-text); margin-bottom: 0; }
.about-text .t-rule { margin-block: 1.5rem; }

.about-text p {
  color: var(--c-text-muted);
  font-weight: 300;
  max-width: 540px;
}

.about-text .btn { margin-top: 1.5rem; }

.inline-link {
  color: var(--c-accent-dk);
  border-bottom: 1px solid var(--c-accent);
  transition: color var(--dur-fast);
}
.inline-link:hover { color: var(--c-accent); }
