/* ============================================
   GHOST CREATIVE + BRANDING
   Site Stylesheet v1.0
   ============================================ */

/* ---- Variables ---- */
:root {
  /* Brand palette */
  --phantom: #0a211f;
  --phantom-soft: #143430;
  --tezador: #2a4e45;
  --tezador-deep: #1d3a34;
  --energink: #d8ff85;
  --energink-deep: #bce758;
  --mint: #8dfdba;
  --cream: #F5F2EC;
  --bone: #ECE7DD;
  --white: #FFFFFF;
  --gray-mid: #767676;
  --gray-line: #1a3a36;
  --gray-line-light: #E5E1D8;

  /* Type */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-italic: 'Fraunces', Georgia, serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(56px, 7.5vw, 112px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--phantom);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(44px, 7.5vw, 104px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--gray-mid); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--energink);
  margin: 0 0 22px;
}
.italic { font-family: var(--font-italic); font-style: italic; font-weight: 400; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: var(--section-pad) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ---- Section variants ---- */
.bg-phantom { background: var(--phantom); color: var(--cream); }
.bg-phantom .lead { color: rgba(245, 242, 236, 0.78); }
.bg-phantom .eyebrow { color: var(--energink); }
.bg-tezador { background: var(--tezador); color: var(--cream); }
.bg-tezador .lead { color: rgba(245, 242, 236, 0.82); }
.bg-tezador .eyebrow { color: var(--mint); }
.bg-cream { background: var(--cream); color: var(--phantom); }
.bg-cream .lead { color: var(--gray-mid); }
.bg-white { background: var(--white); color: var(--phantom); }

/* Lime accent panel — third card in the Superside-style rotation */
.bg-lime { background: var(--energink); color: var(--phantom); }
.bg-lime .lead { color: rgba(10, 33, 31, 0.72); }
.bg-lime .eyebrow { color: var(--tezador); }
.bg-lime h1 .it,
.bg-lime h2 .it,
.bg-lime h3 .it { color: var(--tezador); }
.bg-lime .checklist li::before { color: var(--tezador); }
.bg-lime a:hover { color: var(--tezador); }

/* Mint headline color on dark backgrounds (Superside hero pattern) */
.bg-phantom h1,
.bg-phantom h2,
.bg-phantom h3,
.bg-tezador h1,
.bg-tezador h2,
.bg-tezador h3,
.cta-strip h1,
.cta-strip h2,
.cta-strip h3,
.engagement-block h1,
.engagement-block h2,
.engagement-block h3,
.amazon-callout h2,
.amazon-callout h3 { color: var(--mint); }
.bg-phantom h1 .it,
.bg-phantom h2 .it,
.bg-phantom h3 .it,
.bg-tezador h1 .it,
.bg-tezador h2 .it,
.bg-tezador h3 .it,
.cta-strip h1 .it,
.cta-strip h2 .it,
.cta-strip h3 .it,
.engagement-block h2 .it,
.amazon-callout h3 .it { color: var(--mint); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--phantom);
  color: var(--cream);
  border-bottom: 1px solid var(--gray-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand .logo {
  height: 32px;
  width: auto;
  display: block;
  transform: translateY(4px);
  /* Force logo to render white on all pages, regardless of source SVG fill */
  filter: brightness(0) invert(1);
}
@media (max-width: 640px) {
  .brand .logo { height: 26px; transform: translateY(3px); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cream);
  opacity: 0.78;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { opacity: 1; color: var(--energink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--energink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--energink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-cta:hover { background: var(--energink); color: var(--phantom); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--energink);
  color: var(--phantom);
}
.btn-primary:hover {
  background: var(--energink-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 242, 236, 0.3);
}
.btn-ghost:hover {
  border-color: var(--energink);
  color: var(--energink);
}
.btn-dark {
  background: var(--phantom);
  color: var(--cream);
}
.btn-dark:hover { background: var(--tezador); }
.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---- Hero ---- */
.hero {
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-inner { max-width: 720px; }
.hero-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--tezador-deep);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .hero-image { aspect-ratio: 4/5; max-height: none; }
}
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { color: var(--energink); }
.hero h1 .it {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.hero p { max-width: 720px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Full-width image strip (sits below hero) */
.image-strip {
  background: var(--phantom);
  padding: 0;
  line-height: 0;
}
.image-strip img {
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  object-fit: cover;
  display: block;
}

/* Pillar image (inside behind-the-scenes section) */
.pillar-image {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .pillar-image { aspect-ratio: 4/5; margin-top: 8px; }
}

/* Amazon callout image */
.amazon-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--tezador-deep);
}
.amazon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Who-it's-for grid */
.who-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.who-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--tezador);
}
.who-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; gap: 32px; }
  .who-image { aspect-ratio: 4/5; }
}

/* ---- Prose section with a small vertical side image (about page pattern) ---- */
.prose-with-image {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.prose-with-image.reverse {
  grid-template-columns: 300px 1fr;
}
.prose-with-image.reverse .prose { order: 2; }
.prose-with-image.reverse .side-image { order: 1; }
.side-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--tezador-deep);
  position: sticky;
  top: 100px;
}
.side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .prose-with-image,
  .prose-with-image.reverse { grid-template-columns: 1fr; gap: 32px; }
  .prose-with-image.reverse .prose { order: 1; }
  .prose-with-image.reverse .side-image { order: 2; }
  .side-image { aspect-ratio: 4/5; max-width: 100%; margin: 0; position: static; }
}

/* ---- Section header (eyebrow + h2) ---- */
.section-head { max-width: 820px; margin: 0 0 56px; }
.section-head h2 .it {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.section-head .lead { margin-top: 24px; }

/* ---- Pillars / two-up grid ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---- Behind-the-scenes pillar block ---- */
.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.pillar-row .pillar-label {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--energink);
  line-height: 1.3;
}
@media (max-width: 860px) {
  .pillar-row { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- Bullet list (custom) ---- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checklist li {
  position: relative;
  padding-left: 36px;
  font-size: 17px;
  line-height: 1.5;
}
.checklist li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -2px;
  font-weight: 800;
  color: var(--mint);
  font-size: 22px;
  line-height: 1.4;
}
/* On light sections (cream/white) mint reads too pale — use tezador for contrast */
.bg-cream .checklist li::before,
.bg-white .checklist li::before {
  color: var(--tezador);
}

/* ---- Service cards ---- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--gray-line-light);
}
.service {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--gray-line-light);
  align-items: start;
  transition: padding 0.3s var(--ease);
}
.service-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.service-icon {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tezador-deep);
  flex-shrink: 0;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(36px, 3.4vw, 44px);
  color: var(--tezador);
  font-weight: 400;
  line-height: 1;
}
.service h3 { margin-bottom: 16px; }
.service p { color: var(--gray-mid); max-width: 720px; }
.service h4.sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--phantom);
  margin: 28px 0 12px;
}
@media (max-width: 720px) {
  .service { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .service-num { font-size: 32px; }
  .service-icon { width: 116px; height: 116px; }
  .service-meta { flex-direction: row; align-items: center; gap: 18px; }
}

/* ---- Featured Amazon callout strip ---- */
.amazon-callout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px);
  background: var(--tezador);
  color: var(--cream);
  border-radius: 24px;
  margin-top: 64px;
}
.amazon-callout .label {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--energink);
  font-size: 18px;
}
.amazon-callout h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  max-width: 560px;
}
.amazon-callout p {
  margin: 12px 0 0;
  color: rgba(245, 242, 236, 0.78);
  max-width: 560px;
}
.amazon-callout .btn-primary { font-size: 15px; padding: 14px 24px; }
@media (max-width: 760px) {
  .amazon-callout { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

/* ---- Credibility strip ---- */
.creds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 60px);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 56px 0;
  margin: 0;
}
.bg-cream .creds, .bg-white .creds {
  border-color: var(--gray-line-light);
}
.creds .stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--energink);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.creds .stat-label {
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--gray-mid);
  line-height: 1.4;
}
.bg-phantom .creds .stat-label, .bg-tezador .creds .stat-label {
  color: rgba(245, 242, 236, 0.65);
}
@media (max-width: 720px) {
  .creds { grid-template-columns: 1fr; gap: 36px; padding: 36px 0; }
}

/* ---- About page specific ---- */
.about-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; }
}
.about-hero .headshot-wrap {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--tezador);
  border-radius: 16px;
  overflow: hidden;
}
.about-hero .headshot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02);
}

.prose {
  max-width: 760px;
}
.prose h2 { margin-bottom: 24px; }
.prose h3 { margin: 56px 0 16px; }
.prose p {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  margin: 0 0 1em;
}

/* ---- CTA strip (closing) ---- */
.cta-strip {
  text-align: left;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--phantom);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-strip h2 { max-width: 900px; margin-bottom: 24px; }
.cta-strip h2 .it { font-family: var(--font-italic); font-style: italic; font-weight: 300; }
.cta-strip p { max-width: 640px; color: rgba(245, 242, 236, 0.82); margin-bottom: 36px; font-size: 19px; }

/* CTA grid — text + side image variant (used on home page closing CTA) */
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.cta-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--tezador-deep);
}
.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-image { aspect-ratio: 4/5; max-height: none; }
}

/* ---- Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--phantom);
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 17px;
  padding: 14px 16px;
  border: 1px solid var(--gray-line-light);
  border-radius: 8px;
  background: var(--white);
  color: var(--phantom);
  transition: border-color 0.2s var(--ease);
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--tezador);
}
.field textarea { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }

.email-fallback {
  margin-top: 24px;
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-line-light);
}
.email-fallback p { margin: 0; font-size: 15px; color: var(--gray-mid); }
.email-fallback a {
  color: var(--phantom);
  font-weight: 700;
  border-bottom: 2px solid var(--energink);
  transition: color 0.2s var(--ease);
}
.email-fallback a:hover { color: var(--tezador); }

.contact-meta { margin-top: 8px; }
.contact-meta h3 { margin-bottom: 24px; }
.contact-meta dl {
  margin: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 14px;
  column-gap: 24px;
}
.contact-meta dt {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.contact-meta dd { margin: 0; font-size: 17px; }
.contact-meta dd a {
  border-bottom: 1px solid var(--gray-line-light);
  transition: border-color 0.2s var(--ease);
}
.contact-meta dd a:hover { border-color: var(--energink); }

/* ---- Footer ---- */
.site-footer {
  background: var(--phantom);
  color: var(--cream);
  padding: 80px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-line);
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}
.footer-top h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--energink);
  margin-bottom: 20px;
}
.footer-tag {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: rgba(245, 242, 236, 0.85);
  max-width: 480px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list a {
  color: rgba(245, 242, 236, 0.75);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}
.footer-list a:hover { color: var(--energink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  font-size: 13px;
  color: rgba(245, 242, 236, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Engagement model block ---- */
.engagement-block {
  background: var(--phantom);
  color: var(--cream);
  padding: clamp(60px, 8vw, 96px);
  border-radius: 24px;
  margin-top: 80px;
}
.engagement-block h2 .it {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
}
.engagement-block .lead { color: rgba(245, 242, 236, 0.78); max-width: 720px; }

/* Engagement block with side image (services page) */
.engagement-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.engagement-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--tezador-deep);
}
.engagement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .engagement-grid { grid-template-columns: 1fr; gap: 32px; }
  .engagement-image { aspect-ratio: 4/5; max-height: none; }
}

/* ---- Mobile nav simplification ---- */
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
