/* ============================================
   SMARDEIN — Personal Home Page Styles
   index.css
   Palette: charcoal / gold / ivory / grey / white
   No gradients anywhere — flat colours only.
   ============================================ */

body.page-me {
  background: var(--white);
  color: var(--slate-grey);
}

/* ── Shared label ─────────────────────────── */
.me-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.me-label--on-dark {
  color: var(--gold-light);
  border-color: rgba(244, 209, 96, 0.35);
}

.me-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.me-section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.me-section-header::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent 0%, var(--bronze) 15%, var(--gold-light) 50%, var(--bronze) 85%, transparent 100%);
  position: relative;
}

.me-section-header h2 {
  color: var(--charcoal-black);
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.2;
}

.me-section-header p {
  color: var(--slate-grey);
  font-size: 1.02rem;
  line-height: 1.75;
}

.me-section-header--light h2 {
  color: var(--white);
}

.me-section-header--light p {
  color: var(--grey-soft);
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.me-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--charcoal-black);
}

.me-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 560px;
  overflow: hidden;
}

.me-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.me-hero-img--mobile {
  display: none;
}

.me-hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.52);
  z-index: 1;
}

.me-hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 1148px;
  margin: 0 auto;
  padding: 150px 24px 56px;
  box-sizing: border-box;
}

.me-hero-overline {
  display: inline-block;
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #8a5a10 0%, #e8b94e 20%, #fff6d0 40%, #e8b94e 60%, #8a5a10 80%, #c8962f 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gold-foil-sweep 3.5s linear infinite;
}

.me-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.12;
  color: #E7DECF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  max-width: 720px;
}

.me-hero h1 em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, #8a5a10 0%, #e8b94e 20%, #fff6d0 40%, #e8b94e 60%, #8a5a10 80%, #c8962f 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gold-foil-sweep 3.5s linear infinite;
}

.me-hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey-soft);
  max-width: 540px;
  margin-bottom: 32px;
}

.me-hero-cta {
  display: flex;
  gap: 16px;
}

@media (max-width: 640px) {
  .me-hero-media {
    aspect-ratio: 2 / 2;
    min-height: 520px;
  }

  .me-hero-img--desktop {
    display: none;
  }

  .me-hero-img--mobile {
    display: block;
  }

  .me-hero-caption {
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 28px 24px 40px;
  }

  .me-hero-sub {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .me-hero-overline {
    font-size: 1.4rem;
  }

  .me-hero h1 {
    max-width: 100%;
  }
}

/* ════════════════════════════════════════
   WHAT I DO
   ════════════════════════════════════════ */
.me-do {
  background: var(--light-bg-1);
}

.me-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.me-do-card {
  background: var(--white);
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 18px;
  padding: 36px 26px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.me-do-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.14);
}

.me-do-card--featured {
  position: relative;
  background: var(--charcoal-black);
  border-color: var(--charcoal-black);
}

.me-do-ribbon-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.me-do-ribbon {
  position: absolute;
  top: 18px;
  right: -34px;
  width: 140px;
  padding: 5px 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a2405;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #fff6d0, #f3c15c 40%, var(--gold) 75%, var(--bronze));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.me-do-card--featured:hover {
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.35);
}

.me-do-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, color 0.35s ease;
}

.me-do-card:hover .me-do-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--gold-metallic);
  color: var(--white);
}

.me-do-card--featured .me-do-icon {
  background: rgba(244, 209, 96, 0.12);
  border-color: rgba(244, 209, 96, 0.3);
  color: var(--gold-light);
}

.me-do-card--featured:hover .me-do-icon {
  background: var(--gold-metallic);
  color: var(--charcoal-black);
}

.me-do-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--charcoal-black);
  margin-bottom: 12px;
}

.me-do-card--featured h3 {
  color: var(--white);
}

.me-do-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--slate-grey);
  margin-bottom: 20px;
}

.me-do-card--featured p {
  color: var(--grey-soft);
}

.me-do-price {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--gold);
  padding-top: 18px;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
}

.me-do-card--featured .me-do-price {
  color: var(--gold-light);
  border-top-color: rgba(244, 209, 96, 0.18);
}

.me-do-price-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-grey);
  margin-bottom: 6px;
}

.me-do-card--featured .me-do-price-label {
  color: var(--grey-soft);
}

.me-do-price-unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--slate-grey);
}

.me-do-card--featured .me-do-price-unit {
  color: var(--grey-soft);
}

/* ════════════════════════════════════════
   MISSION
   ════════════════════════════════════════ */
.me-mission {
  background: var(--white);
}

.me-mission-inner {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.me-mission-inner h2 {
  color: var(--charcoal-black);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.2;
}

.me-mission-inner p {
  color: var(--slate-grey);
  font-size: 1.1rem;
  line-height: 1.85;
}

/* ════════════════════════════════════════
   WHY WORK WITH ME
   ════════════════════════════════════════ */
.me-why {
  background: var(--charcoal-black);
}

.me-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.me-why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 16px;
  padding: 34px 28px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease, background 0.4s ease;
}

.me-why-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.me-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.14);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, color 0.35s ease;
}

.me-why-card:hover .me-why-icon {
  transform: scale(1.12) rotate(6deg);
  background: var(--gold-metallic);
  color: var(--charcoal-black);
}

.me-why-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 500;
}

.me-why-card p {
  font-size: 0.9rem;
  color: var(--grey-soft);
  line-height: 1.75;
}

/* ════════════════════════════════════════
   WHO I WORK WITH
   ════════════════════════════════════════ */
.me-clients {
  background: var(--light-bg-2);
}

.me-clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.me-client-pill {
  background: var(--white);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-black);
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.me-client-pill:hover {
  background: var(--gold-metallic);
  color: var(--white);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 30px rgba(201, 162, 39, 0.3);
}

/* ════════════════════════════════════════
   THE COST OF WAITING
   ════════════════════════════════════════ */
.me-stakes {
  background: var(--charcoal);
}

.me-stakes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.me-lose,
.me-gain {
  border-radius: 18px;
  padding: 44px 40px;
  transition: transform 0.35s ease, background 0.35s ease;
}

.me-lose {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(217, 217, 217, 0.12);
}

.me-lose:hover {
  background: rgba(0, 0, 0, 0.3);
}

.me-gain {
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.me-gain:hover {
  background: rgba(201, 162, 39, 0.13);
}

.me-lose h3,
.me-gain h3 {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.25;
}

.me-stakes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.me-stakes-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--grey-soft);
  line-height: 1.65;
}

.me-lose .stake-icon {
  color: var(--grey-soft);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 2px;
}

.me-gain .stake-icon {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════ */
.me-final-cta {
  background: var(--light-bg-1);
  text-align: center;
  padding-bottom: 36px;
}

.me-final-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.me-final-cta-inner h2 {
  color: var(--charcoal-black);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}

.me-final-cta-inner p {
  color: var(--slate-grey);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.me-final-cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.me-final-cta-buttons .btn-primary {
  padding: 17px 44px;
  font-size: 1.02rem;
}

.me-final-cta-note {
  font-size: 0.85rem;
  color: var(--slate-grey);
  opacity: 0.7;
  margin-bottom: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .me-do-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .me-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .me-section {
    padding: 64px 0;
  }

  .me-do-grid {
    grid-template-columns: 1fr;
  }

  .me-why-grid {
    grid-template-columns: 1fr;
  }

  .me-stakes-grid {
    grid-template-columns: 1fr;
  }

  .me-lose,
  .me-gain {
    padding: 32px 28px;
  }
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Extracted from inline styles in index.html ── */
.idx-1 {
  border-radius: 4px;
  padding: 2px;
}

.idx-2 {
  margin-top: 16px;
}