/* =========================================================
   BOUNDLESS POSSIBILITIES — styles.css
   Palette: "Editorial Earth"
   Typography: Fraunces (display) + Sora (body)
   ========================================================= */

/* ── TOKENS ──────────────────────────────── */
:root {
  /* Core palette */
  --charcoal: #1c1d1f; /* Foundation 60% — dark sections, text */
  --olive: #4a5343; /* Structure 20% — impact section */
  --clay: #8a7968; /* Structure secondary — borders, texture */
  --white: #f8f9fa; /* Contrast 15% — light sections */
  --orange: #c86b51; /* Accent primary — CTAs, buttons */
  --salmon: #e09f93; /* Accent secondary — numerals, decorative only */

  /* Derived */
  --border-light: rgba(28, 29, 31, 0.1);
  --border-dark: rgba(248, 249, 250, 0.1);
  --hover-dark: rgba(248, 249, 250, 0.04);
  --hover-light: rgba(28, 29, 31, 0.04);
  --warm-card: #f0ede8;
}

/* ── RESET ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: "Sora", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgba(248, 249, 250, 0.96) 0%,
    transparent 100%
  );
}

.nav-logo {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
}

.nav-cta {
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid rgba(28, 29, 31, 0.3);
  padding: 10px 26px;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.nav-cta:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* ── HERO — Studio White ─────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 64px 100px;
  background: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 80% 15%,
    rgba(200, 107, 81, 0.05) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow {
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--clay);
  flex-shrink: 0;
}

.hero-headline {
  font-family: "Fraunces", serif;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 500;
  line-height: 1.04;
  color: var(--charcoal);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--clay);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.btn-primary {
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--orange);
  text-decoration: none;
  padding: 14px 38px;
  transition: opacity 0.25s;
  display: inline-block;
}
.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s;
}
.btn-ghost:hover {
  color: var(--charcoal);
}
.btn-ghost::after {
  content: "→";
  font-size: 1rem;
  letter-spacing: 0;
}

/* ── ABOUT — Studio White ────────────────── */
.about {
  padding: 120px 64px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  font-family: "Sora", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clay);
  flex-shrink: 0;
}

.about-text {
  font-family: "Fraunces", serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.72;
  color: var(--charcoal);
}
.about-text strong {
  font-weight: 500;
  font-style: italic;
}

.about-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--warm-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-image-placeholder {
  text-align: center;
  pointer-events: none;
}
.about-image-placeholder svg {
  display: block;
  margin: 0 auto 12px;
  opacity: 0.22;
}
.about-image-placeholder span {
  font-family: "Sora", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}

/* ── WHY — Studio White ──────────────────── */
.why {
  padding: 120px 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-pull {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-top: 16px;
}
.why-pull em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}

.why-body {
  font-family: "Sora", sans-serif;
  font-size: 0.93rem;
  color: var(--clay);
  line-height: 1.9;
}
.why-body p + p {
  margin-top: 20px;
}

/* ── SERVICES — Deep Charcoal ────────────── */
.services {
  padding: 0 64px 120px;
  background: var(--charcoal);
}

.services-header {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border-dark);
}

.services-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
}
.services-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--salmon);
}

.service-item {
  padding: 52px 0;
  border-bottom: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  gap: 48px;
  align-items: start;
  cursor: default;
  transition:
    background 0.3s,
    padding 0.3s;
}
.service-item:hover {
  background: var(--hover-dark);
  margin-left: -64px;
  margin-right: -64px;
  padding-left: 64px;
  padding-right: 64px;
}

.service-num {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--salmon);
  padding-top: 6px;
}

.service-name {
  font-family: "Fraunces", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}

.service-desc {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  color: rgba(248, 249, 250, 0.6);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 22px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: "Sora", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 249, 250, 0.5);
  border: 1px solid var(--border-dark);
  padding: 5px 12px;
}

.service-arrow {
  font-size: 1.2rem;
  color: rgba(248, 249, 250, 0.25);
  padding-top: 6px;
  text-align: right;
  transition:
    color 0.25s,
    transform 0.25s;
}
.service-item:hover .service-arrow {
  color: var(--salmon);
  transform: translateX(4px);
}

/* ── IMPACT — Olive Brown ────────────────── */
.impact {
  padding: 140px 64px;
  background: var(--olive);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.impact .eyebrow {
  color: rgba(248, 249, 250, 0.55);
}
.impact .eyebrow::before {
  background: rgba(248, 249, 250, 0.55);
}

.impact-headline {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
}
.impact-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--salmon);
}

.impact-body {
  font-family: "Sora", sans-serif;
  color: rgba(248, 249, 250, 0.75);
  font-size: 0.93rem;
  line-height: 1.9;
}
.impact-body p + p {
  margin-top: 18px;
}

.impact-tagline {
  margin-top: 32px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--white);
}

/* ── CONTACT — Studio White ──────────────── */
.contact {
  padding: 140px 64px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-headline {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.contact-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}

.contact-sub {
  font-family: "Sora", sans-serif;
  font-size: 0.93rem;
  color: var(--clay);
  line-height: 1.9;
  max-width: 400px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
  border: 1px solid var(--border-light);
  background: var(--warm-card);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}
.contact-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item-label {
  font-family: "Sora", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}

.contact-item-value {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-item-value:hover {
  color: var(--orange);
}

/* ── FOOTER — Deep Charcoal ──────────────── */
footer {
  padding: 40px 64px;
  background: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 249, 250, 0.55);
}

.footer-note {
  font-family: "Sora", sans-serif;
  font-size: 0.65rem;
  color: rgba(248, 249, 250, 0.2);
  letter-spacing: 0.08em;
}

/* ── SCROLL REVEAL ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 860px) {
  nav {
    padding: 20px 24px;
  }

  .hero {
    padding: 0 24px 72px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 24px;
  }
  .about-image {
    aspect-ratio: 3 / 2;
  }

  .why {
    padding: 72px 24px;
  }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services {
    padding: 0 24px 80px;
  }
  .services-header {
    padding: 56px 0 40px;
  }

  .service-item {
    grid-template-columns: 52px 1fr;
    gap: 20px;
  }
  .service-item:hover {
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .service-arrow {
    display: none;
  }

  .impact {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 24px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 24px;
  }
  .contact-card {
    padding: 32px 24px;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 32px 24px;
  }
}

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