/* ── SCROLL SNAP ──────────────────────────────── */
html, body {
  scroll-snap-type: y mandatory;
}

.about-hero,
.about-cta {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  overflow: hidden;
}

.about-story {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(76px + 24px);
  padding-bottom: 24px;
}

footer {
  scroll-snap-align: start;
}

/* ── ABOUT PAGE STYLES ────────────────────────── */
/* about.html only. Loaded after global.css. */

/* ── HERO ─────────────────────────────────────── */
.about-hero {
  min-height: 100vh;
  background: var(--cream);
  padding: 96px var(--page-x) 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.about-hero > * {
  position: relative;
  z-index: 1;
}

/* Portrait column */
.about-hero-portrait {
  position: relative;
}

.about-hero-glow {
  position: absolute;
  top: -35px;
  right: -37px;
  width: 152px;
  height: 152px;
  background: var(--lime);
  border-radius: 60px;
  opacity: 0.5;
  filter: blur(20px);
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.portrait-frame img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.6s ease;
}

.portrait-frame:hover img {
  filter: grayscale(0%) contrast(1);
}

.portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,27,27,0.3) 0%, transparent 40%);
  pointer-events: none;
}

.portrait-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--cream);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Content column */
.about-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-end;
  align-self: stretch;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-eyebrow {
  color: var(--ink-60);
}

.about-hero-heading {
  font-family: 'cofo-raffine', serif;
  font-weight: 500;
  font-size: 120px;
  line-height: 108px;
  letter-spacing: 0;
  color: var(--ink);
}

.about-hero-body {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-60);
}

.about-hero-ctas {
  display: flex;
  align-items: center;
  gap: 0;
}

.view-work-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 16px 48px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 100px;
}

.view-work-link span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.view-work-link:hover span {
  transform: translateX(4px);
}

/* ── MY STORY ─────────────────────────────────── */
.about-story {
  background: var(--cream);
  padding: 96px var(--page-x);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.about-story-left {
  position: sticky;
  top: 120px;
}

.story-eyebrow {
  color: var(--ink-60);
  margin-bottom: 16px;
}

.story-heading {
  color: var(--ink);
}

.feeling-em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

.feeling-underline {
  position: absolute;
  left: -2px;
  right: 24px;
  bottom: 10px;
  height: 4px;
  background: var(--lime);
  border-radius: 2px;
}

.about-story-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-story-right p {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-60);
}

.story-para-mobile {
  display: none;
}

/* ── CTA ──────────────────────────────────────── */
.about-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── TABLET ───────────────────────────────────── */
@media (max-width: 1023px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 64px;
    min-height: auto;
    gap: 48px;
  }

  .about-hero-portrait {
    order: 2;
  }

  .about-hero-content {
    order: 1;
  }

  .about-hero-heading {
    font-size: clamp(56px, 8vw, 120px);
    line-height: 0.9;
  }

  .portrait-frame img {
    height: auto;
    aspect-ratio: 1/1;
  }

  .about-story {
    padding: 64px 24px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-story-left {
    position: static;
  }
}

/* ── MOBILE ───────────────────────────────────── */
@media (max-width: 767px) {
  .about-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100dvh;
    padding: 0;
    min-height: auto;
    gap: 0;
    overflow: hidden;
  }

  .about-hero-portrait {
    order: 1;
    padding-top: 76px;
    flex: 0 0 auto;
  }

  .about-hero-glow {
    display: none;
  }

  .portrait-frame {
    border-radius: 0;
  }

  .portrait-frame img {
    height: 44dvh;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 15%;
  }

  .portrait-tag {
    bottom: 16px;
    left: 16px;
    transform: none;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.06em;
    padding: 4px 8px;
  }

  .about-hero-content {
    order: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 24px 24px;
    gap: 16px;
  }

  .about-hero-heading {
    font-size: 32px;
    line-height: 40px;
  }

  .about-hero-text {
    gap: 8px;
  }

  .about-hero-text .about-hero-body {
    margin-top: 8px;
  }

  .about-hero-body {
    font-size: 14px;
    line-height: 22px;
    color: var(--ink-60);
  }

  .about-eyebrow::before {
    display: none;
  }

  .about-hero-ctas {
    gap: 8px;
    width: 100%;
  }

  .about-hero-ctas .btn-morph {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: center;
    padding: 16px 24px;
  }

  .view-work-link {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: center;
    padding: 16px 24px;
  }

  /* ── My Story mobile ────────────────────────── */
  .about-story {
    padding: 48px 24px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-eyebrow {
    margin-bottom: 0;
  }

  .story-eyebrow::before {
    display: none;
  }

  .feeling-underline {
    bottom: 6px;
    height: 3px;
  }

  .story-para-desktop {
    display: none;
  }

  .story-para-mobile {
    display: block;
  }

  .about-story-right p {
    font-size: 14px;
    line-height: 22px;
  }

  /* ── CTA mobile ─────────────────────────────── */
  .about-cta {
    min-height: auto;
  }

  .about-hero,
  .about-cta {
    height: 100dvh;
  }
  .about-story {
    height: 100dvh;
  }
}
