/* ============================================================
   Mobili-Tee Landing
   Tokens
   ============================================================ */
:root {
  --primary: #2f4f3e;
  --primary-dark: #243d30;
  --secondary: #84b59f;
  --accent: #c9a961;
  --accent-soft: #d9bd7d;
  --cream: #f5f1e8;
  --cream-warm: #ede7d7;
  --charcoal: #2c2c2c;
  --muted: #7a8b7f;
  --white: #ffffff;
  --border: rgba(44, 44, 44, 0.08);
  --shadow-sm: 0 1px 2px rgba(36, 61, 48, 0.06);
  --shadow-md: 0 12px 32px rgba(36, 61, 48, 0.12);
  --shadow-lg: 0 24px 60px rgba(36, 61, 48, 0.18);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --container-narrow: 720px;
  --radius: 6px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--cream);
  z-index: 100;
  border-radius: var(--radius);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
  text-align: center;
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section__heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin: 0 0 1.25rem;
}

.section__title--light {
  color: var(--cream);
}

.section__lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section--why .section__lede {
  color: rgba(245, 241, 232, 0.78);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.eyebrow--accent {
  color: var(--accent);
}

.eyebrow--light {
  color: var(--accent-soft);
}

/* ============================================================
   Wordmark
   ============================================================ */
.wordmark {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark__primary {
  color: var(--cream);
}

.wordmark__accent {
  color: var(--accent);
}

.wordmark--hero {
  font-size: clamp(3rem, 9.5vw, 6.75rem);
  margin: 0 0 1.5rem;
  letter-spacing: 0.12em;
}

.wordmark--footer {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(132, 181, 159, 0.12), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(201, 169, 97, 0.08), transparent 55%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--cream);
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.08);
}

.hero__circle--one {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -160px;
}

.hero__circle--two {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: -120px;
  border-color: rgba(201, 169, 97, 0.12);
}

.hero__circle--three {
  width: 220px;
  height: 220px;
  top: 50%;
  left: 80%;
  border-color: rgba(132, 181, 159, 0.18);
  transform: translate(-50%, -50%);
  display: none;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--accent);
  margin: 0 0 2rem;
  letter-spacing: 0.02em;
}

.hero__intro {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: rgba(245, 241, 232, 0.85);
  max-width: 540px;
  margin: 0 auto 2.75rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  display: block;
  z-index: 2;
}

.hero__scroll-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (min-width: 900px) {
  .hero__circle--three {
    display: block;
  }
}

/* ============================================================
   Email form
   ============================================================ */
.email-form {
  position: relative;
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(245, 241, 232, 0.08);
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.email-form:focus-within {
  border-color: rgba(201, 169, 97, 0.55);
  background: rgba(245, 241, 232, 0.12);
}

.email-form__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.email-form__input::placeholder {
  color: rgba(245, 241, 232, 0.55);
}

.email-form__submit {
  flex-shrink: 0;
  border: 0;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.email-form__submit:hover {
  background: var(--accent-soft);
}

.email-form__submit:active {
  transform: scale(0.98);
}

.email-form__submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.email-form__message {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.85rem);
  text-align: center;
  font-size: 0.92rem;
  color: var(--accent-soft);
  margin: 0;
  min-height: 1.2em;
  transition: color 0.2s var(--ease);
}

.email-form__message[data-state="error"] {
  color: #f1b9a3;
}

/* Capture (light bg) variant */
.email-form--capture {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.email-form--capture:focus-within {
  border-color: var(--accent);
  background: var(--white);
}

.email-form--capture .email-form__input {
  color: var(--charcoal);
}

.email-form--capture .email-form__input::placeholder {
  color: rgba(44, 44, 44, 0.45);
}

.email-form__submit--dark {
  background: var(--primary);
  color: var(--cream);
}

.email-form__submit--dark:hover {
  background: var(--primary-dark);
}

.email-form--capture .email-form__message {
  color: var(--primary);
}

.email-form--capture .email-form__message[data-state="error"] {
  color: #b3563f;
}

@media (max-width: 520px) {
  .email-form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .email-form__input {
    text-align: center;
  }

  .email-form__submit {
    border-radius: 999px;
    padding: 0.95rem 1.4rem;
  }
}

/* ============================================================
   About section
   ============================================================ */
.section--about {
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 880px) {
  .about__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
  }
}

.about__copy h2 {
  margin-bottom: 1.5rem;
}

.about__copy p {
  font-size: 1.05rem;
  color: var(--charcoal);
}

.experience-card {
  background: var(--primary);
  color: var(--cream);
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-md);
}

.experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(201, 169, 97, 0.22);
  pointer-events: none;
}

.experience-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  color: var(--cream);
}

.experience-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.experience-card__list li {
  position: relative;
  padding-left: 1.85rem;
  color: rgba(245, 241, 232, 0.92);
  line-height: 1.55;
}

.experience-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   Why section
   ============================================================ */
.section--why {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(132, 181, 159, 0.12), transparent 55%),
    var(--primary);
  color: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 760px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.why-card {
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid rgba(245, 241, 232, 0.1);
  padding: 2.25rem 1.85rem;
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.3);
  background: rgba(245, 241, 232, 0.06);
}

.why-card__mark {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.why-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 0.85rem;
  color: var(--cream);
  line-height: 1.25;
}

.why-card p {
  color: rgba(245, 241, 232, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

/* ============================================================
   Capture section
   ============================================================ */
.section--capture {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.section--capture .section__lede {
  margin-bottom: 2.5rem;
}

.capture__fineprint {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(245, 241, 232, 0.7);
  padding: 3rem 0;
  font-size: 0.875rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__meta p {
  margin: 0 0 0.35rem;
}

.footer__tm {
  color: var(--accent-soft);
  font-size: 0.82rem;
}

@media (min-width: 720px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__meta {
    text-align: right;
  }
}

/* ============================================================
   Reveal animation
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
