/* =========================
   Hero Section
========================= */

.hero-section {
  min-height: 100vh;
  background: var(--color-hero);
  color: var(--color-text);
  overflow: hidden;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--page-padding-desktop);
}

.site-logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.65;
}

.nav-email,
.nav-linkedin {
  font-weight: 600 !important;
}

/* Hero Content */

.hero-content {
  position: relative;
  padding-left: var(--page-padding-desktop);
  padding-right: var(--page-padding-desktop);
  padding-top: 150px;
}

.hero-main {
  position: relative;
}

.hero-title {
  margin: 0;
  max-width: 880px;
  font-size: clamp(48px, 7.9vw, 82px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(34vw, 460px);
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-subline {
  margin-top: 115px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 920px;
}

.hero-dot {
  width: 23px;
  height: 23px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--color-text);
}

.hero-subline p {
  margin: 0;
  max-width: 820px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* =========================
   Intro Section
========================= */

.intro-section {
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
  padding: 140px var(--page-padding-desktop);
}

.intro-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 80px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--color-text);
  flex-shrink: 0;
}

.intro-text {
  max-width: 1080px;
}

.intro-text p {
  margin: 0 0 34px;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.reveal-line {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Pinned Story Section
========================= */

.story-section {
  position: relative;
  height: 400vh;
  background: var(--color-lime);
  color: var(--color-text);
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--color-lime);
}

.story-stage {
  position: relative;
  height: 100%;
  width: 100%;
}

.story-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.75fr 1.55fr;
  align-items: center;
  gap: 90px;
  padding: 90px var(--page-padding-desktop);
  opacity: 0;
  pointer-events: none;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.story-slide.is-active .story-symbol {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.story-slide.is-active .story-content {
  transform: translateX(0);
  opacity: 1;
}

/* Symbol area */

.story-symbol {
  position: relative;
  width: min(27vw, 420px);
  height: min(27vw, 420px);
  transform: translateX(-50px) scale(0.94);
  opacity: 0;
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.symbol-shape {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 42%;
  background: #ffffff;
  border-radius: 999px 0 0 999px;
  transform: translateY(-50%);
}

.symbol-shape-1 {
  left: 0;
}

.symbol-shape-2 {
  left: 20%;
  width: 48%;
  height: 56%;
}

.symbol-shape-3 {
  left: 44%;
  width: 58%;
  height: 72%;
}

.symbol-bar {
  position: absolute;
  top: 10%;
  right: 0;
  width: 14%;
  height: 80%;
  background: #ffffff;
  border-radius: 999px 999px 999px 999px;
}

.symbol-dot {
  position: absolute;
  right: 7%;
  top: 47%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-lime);
}

/* Alternative placeholder symbols */

.story-symbol-alt {
  display: flex;
  align-items: center;
  gap: 26px;
}

.story-symbol-alt .symbol-circle {
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
}

.story-symbol-alt .symbol-circle:nth-child(2) {
  transform: translateY(-46px);
}

.story-symbol-alt .symbol-circle:nth-child(3) {
  transform: translateY(46px);
}

.story-symbol-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.story-symbol-lines span {
  display: block;
  width: 100%;
  height: 58px;
  border-radius: 999px;
  background: #ffffff;
}

.story-symbol-lines span:nth-child(2) {
  width: 72%;
}

.story-symbol-lines span:nth-child(3) {
  width: 44%;
}

.story-symbol-cross span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 62px;
  border-radius: 999px;
  background: #ffffff;
}

.story-symbol-cross span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.story-symbol-cross span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.story-symbol-bubble {
  display: block;
}

.story-symbol-bubble .bubble-body {
  position: absolute;
  inset: 13% 4% 23% 4%;
  border-radius: 999px;
  background: #ffffff;
}

.story-symbol-bubble .bubble-tail {
  position: absolute;
  left: 18%;
  bottom: 12%;
  width: 23%;
  height: 23%;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 18% 100%);
}

/* Text area */

.story-content {
  transform: translateX(50px);
  opacity: 0;
  transition:
    opacity 0.75s ease 0.08s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.story-content h2 {
  margin: 0;
  max-width: 1050px;
  font-size: clamp(70px, 7vw, 132px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.story-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  max-width: 980px;
  margin-top: 80px;
}

.story-copy p {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.story-indicators {
  position: absolute;
  left: var(--page-padding-desktop);
  bottom: 44px;
  display: flex;
  gap: 12px;
}

.story-indicator {
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: rgba(42, 22, 0, 0.22);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.story-indicator.is-active {
  width: 74px;
  background: var(--color-text);
}

.story-kicker {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* =========================
   Profile / Facts Section
========================= */

.profile-section {
  background: var(--color-background);
  color: var(--color-text);
  padding: 120px var(--page-padding-desktop) 130px;
}

.profile-inner {
  width: 100%;
}

.profile-header {
  max-width: 980px;
}

.profile-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(56px, 6vw, 108px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.profile-intro {
  margin: 48px 0 0;
  max-width: 760px;
  font-size: clamp(21px, 1.7vw, 31px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: rgba(42, 22, 0, 0.76);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 82px;
}

.profile-box {
  min-height: 160px;
  padding: 30px 28px 28px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.profile-box:hover {
  transform: translateY(-4px);
  background: #f7f6f2;
}

.profile-box span {
  display: block;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: rgba(42, 22, 0, 0.58);
}

.profile-box h3 {
  margin: 34px 0 0;
  font-size: clamp(34px, 3.3vw, 58px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
  color: #3a2a1f;
}

/* =========================
   Image Carousel Section
========================= */

.carousel-section {
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
  padding: 90px var(--page-padding-desktop);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.carousel-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: center;
}

.carousel-header {
  max-width: 560px;
}

.carousel-kicker {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.carousel-title {
  margin: 0;
  font-size: clamp(54px, 5.6vw, 96px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.carousel-intro {
  margin: 42px 0 0;
  max-width: 500px;
  font-size: clamp(19px, 1.4vw, 25px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: rgba(42, 22, 0, 0.76);
}

.image-carousel {
  width: 100%;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: min(72vh, 720px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  opacity: 0.35;
  transform: scale(0.96) translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide.is-active img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}

.carousel-button {
  border: 0;
  background: transparent;
  color: var(--color-text);
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.carousel-button:hover {
  opacity: 0.55;
}

.carousel-counter {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* =========================
   Contact Section
========================= */

.contact-section {
  min-height: 100vh;
  width: 100%;
  background: var(--color-brown);
  color: var(--color-background);
  padding: 110px var(--page-padding-desktop);
  display: flex;
  align-items: center;
}

.contact-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.contact-kicker,
.contact-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: rgba(243, 240, 232, 0.78);
}

.contact-title {
  margin: 34px 0 0;
  max-width: 620px;
  font-size: clamp(58px, 7vw, 116px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.contact-intro {
  margin: 42px 0 0;
  max-width: 560px;
  font-size: clamp(21px, 1.7vw, 30px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: rgba(243, 240, 232, 0.72);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-email {
  width: fit-content;
  max-width: 100%;
  font-size: clamp(14px, 3.2vw, 40px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--color-background);
  border-bottom: 2px solid rgba(243, 240, 232, 0.85);
  overflow-wrap: anywhere;
  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-email:hover {
  opacity: 0.72;
  transform: translateY(-3px);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.contact-socials a {
  color: var(--color-background);
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.055em;
  border-bottom: 1.5px solid rgba(243, 240, 232, 0.5);
  transition:
    opacity 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-socials a:hover {
  opacity: 0.7;
  border-color: var(--color-background);
  transform: translateY(-2px);
}
