/* =========================================================
   NTM PRINTSHOP — STYLES
   Aesthetic: Editorial / Industrial / Premium Workshop
   ========================================================= */

:root {
  /* Color palette — paper + ink + safety-cut orange */
  --paper:        #f4ede0;    /* cream paper */
  --paper-soft:   #ebe2d0;
  --paper-dark:   #d8cdb5;
  --ink:          #161412;    /* near-black, warm */
  --ink-soft:     #2b2722;
  --ink-mid:      #5a544c;
  --ink-light:    #8a8378;
  --accent:       #ff5a1f;    /* electric orange */
  --accent-deep:  #d94717;
  --line:         #1614121a;
  --line-strong:  #16141233;
  --white:        #ffffff;

  /* Type */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1320px;
  --pad-x: clamp(20px, 4vw, 64px);

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

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--f-body);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  /* Subtle paper grain */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.018) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.015) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: italic; }

/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow i {
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
}
.eyebrow--light { color: var(--paper-dark); }
.eyebrow--light i { background: var(--accent); }

.section__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 28px;
  max-width: 14ch;
}
.section__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.section__title--light { color: var(--paper); }
.section__title--light em { color: var(--accent); }
.section__sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5;
  max-width: 52ch;
  color: var(--ink-mid);
}

.strike {
  position: relative;
  display: inline-block;
  color: var(--ink-light);
}
.strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 4px;
  background: var(--accent);
  transform: rotate(-1.5deg);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover {
  background: var(--accent);
  color: var(--ink);
}
.btn--accent {
  background: var(--accent);
  color: var(--ink);
}
.btn--accent:hover {
  background: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 90, 31, 0.3);
}
.btn--xl {
  padding: 22px 38px;
  font-size: 17px;
}
.btn--full { width: 100%; justify-content: center; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  background: rgba(244, 237, 224, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__mark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
}
.nav__mark-dot {
  color: var(--accent);
  font-size: 10px;
  margin: 0 1px;
  transform: translateY(-3px);
  display: inline-block;
}
.nav__brand-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink-mid);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--accent);
  color: var(--ink);
}
.nav__cta:hover svg { transform: translateX(3px); }
.nav__cta svg { transition: transform 0.3s var(--ease); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav__burger span {
  height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--paper);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 40px var(--pad-x);
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.drawer__cta {
  margin-top: auto;
  color: var(--accent) !important;
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__ticker {
  position: absolute;
  top: 84px;
  left: 0; right: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  height: 38px;
  display: flex;
  align-items: center;
}
.hero__ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: ticker 60s linear infinite;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.hero__ticker-track span:not(:nth-child(2n)) { color: var(--ink); font-weight: 500; }
.hero__ticker-track span { display: inline-block; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--pad-x) 0;
  position: relative;
  z-index: 2;
}

.hero__meta {
  display: flex;
  gap: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta-item .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(58px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.9s var(--ease) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.1s; }
.hero__line:nth-child(2) { animation-delay: 0.25s; padding-left: clamp(40px, 10vw, 160px); }
.hero__line:nth-child(3) { animation-delay: 0.4s; padding-left: clamp(20px, 5vw, 80px); }
.hero__line em {
  font-style: italic;
  font-weight: 300;
  font-feature-settings: "ss01";
}
.hero__accent {
  display: inline-block;
  position: relative;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.hero__accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 8%;
  height: 12%;
  background: var(--accent);
  opacity: 0.18;
  z-index: -1;
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  max-width: 580px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin-bottom: 40px;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease) 0.6s forwards;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease) 0.75s forwards;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 700px;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease) 0.9s forwards;
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.stat__plus { color: var(--accent); font-style: italic; }
.stat__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-top: 10px;
  display: block;
}

/* Hero materials decorative grid */
.hero__materials {
  position: absolute;
  right: var(--pad-x);
  top: 240px;
  width: 28%;
  max-width: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  opacity: 0;
  animation: heroReveal 1s var(--ease) 0.5s forwards;
  z-index: 1;
}
.material-card {
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.material-card:nth-child(1) {
  grid-row: 1 / 3;
  aspect-ratio: 3 / 5;
}
.material-card:nth-child(2) { aspect-ratio: 1; }
.material-card:nth-child(3) { aspect-ratio: 1; }

.material-card--wood {
  background:
    repeating-linear-gradient(
      88deg,
      #8a5a2c 0px,
      #6b4220 2px,
      #9a6a3a 4px,
      #7a4a26 7px,
      #8a5a2c 10px
    );
  background-size: 100% 4px;
}
.material-card--wood::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30px 80px at 30% 40%, rgba(60,30,10,0.4), transparent),
    radial-gradient(ellipse 20px 60px at 70% 70%, rgba(60,30,10,0.3), transparent);
}
.material-card--acrylic {
  background:
    linear-gradient(135deg, var(--accent) 0%, #ff8a5a 50%, var(--accent-deep) 100%);
}
.material-card--acrylic::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
}
.material-card--paper {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 6px, rgba(0,0,0,0.04) 6px 7px);
}

.material-card__label {
  position: absolute;
  bottom: 10px; left: 10px; right: 10px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.material-card__label span {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 8px;
  border-radius: 4px;
}
.material-card--paper .material-card__label span { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }

/* =========================================================
   2. POSITIONING
   ========================================================= */
.positioning {
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
  border-top: 1px solid var(--line);
}
.positioning .section__head { padding: 0; max-width: var(--maxw); margin-bottom: 60px; }

.positioning__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.positioning__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.positioning__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.positioning__lede {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}
.positioning__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

.positioning__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 40px;
}
.pillar {
  border: 1px solid var(--line-strong);
  padding: 22px 16px;
  border-radius: 10px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--paper);
  transition: all 0.3s var(--ease);
}
.pillar:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-3px);
}
.pillar:nth-child(2):hover, .pillar:nth-child(4):hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* =========================================================
   3. CAMPAIGN PRODUCTION
   ========================================================= */
.campaigns {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.campaigns::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,90,31,0.08), transparent 40%);
  pointer-events: none;
}

.campaigns .section__head { color: var(--paper); padding: 0 var(--pad-x); }
.campaigns .section__title { color: var(--paper); }
.campaigns .section__sub { color: var(--paper-dark); }

.campaigns__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(244,237,224,0.12);
  border-left: 1px solid rgba(244,237,224,0.12);
  position: relative;
}
.use-case {
  padding: 36px 28px;
  border-right: 1px solid rgba(244,237,224,0.12);
  border-bottom: 1px solid rgba(244,237,224,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.3s var(--ease);
  position: relative;
  min-height: 180px;
}
.use-case:hover { background: rgba(255,90,31,0.06); }
.use-case:hover .use-case__num { color: var(--accent); }

.use-case__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--paper-dark);
  transition: color 0.3s var(--ease);
}
.use-case__name {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: auto;
}

.use-case--cta {
  background: var(--accent);
  color: var(--ink);
}
.use-case--cta:hover { background: var(--paper); }
.use-case--cta a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}
.use-case--cta a > span:first-child {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  font-style: italic;
}
.use-case__arrow {
  font-size: 28px;
  align-self: flex-end;
  transition: transform 0.3s var(--ease);
}
.use-case--cta:hover .use-case__arrow { transform: translateX(8px); }

/* =========================================================
   4. CASE STUDY
   ========================================================= */
.case {
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
  position: relative;
}
.case__tag {
  max-width: var(--maxw);
  margin: 0 auto 60px;
}

.case__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.case__visual { position: relative; }
.case__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-soft);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.25);
}
.case__svg {
  width: 100%; height: 100%;
  display: block;
}
.case__image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(22,20,18,0.4) 100%);
  pointer-events: none;
}
.case__image-label {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 6px 10px;
  border-radius: 4px;
  z-index: 2;
}
.case__image-coords {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--paper);
  background: rgba(22,20,18,0.7);
  padding: 6px 10px;
  border-radius: 4px;
  z-index: 2;
}

.case__client {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}
.case__client span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.case__client strong {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.case__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.case__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.case__row-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding-top: 4px;
}
.case__row-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mid);
}
.case__row-body--lead {
  font-family: var(--f-display);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}

.case__content .btn { margin-top: 36px; }

/* =========================================================
   5. CAPABILITIES
   ========================================================= */
.capabilities {
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cap-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cap-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 40px;
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.18);
  border-color: var(--ink);
}
.cap-card__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cap-card__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
}
.cap-card h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cap-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cap-card li {
  font-size: 16px;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-weight: 500;
}
.cap-card li::before {
  content: '+';
  font-family: var(--f-mono);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.cap-card--accent {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cap-card--accent .cap-card__head { border-bottom-color: rgba(244,237,224,0.15); }
.cap-card--accent .cap-card__num { background: var(--accent); color: var(--ink); }
.cap-card--accent li { color: var(--paper-dark); }
.cap-card--accent li::before { color: var(--accent); }
.cap-card--accent:hover { border-color: var(--accent); }

/* =========================================================
   6. WHY
   ========================================================= */
.why {
  padding: clamp(80px, 10vw, 160px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,90,31,0.12), transparent 70%);
  pointer-events: none;
}
.why .section__head { color: var(--paper); padding: 0 var(--pad-x); }

.why__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(244,237,224,0.12);
  border: 1px solid rgba(244,237,224,0.12);
}
.why__item {
  background: var(--ink);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: background 0.3s var(--ease);
}
.why__item:hover { background: #1f1c18; }
.why__item:hover .why__num { color: var(--accent); }
.why__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--paper-dark);
  transition: color 0.3s var(--ease);
}
.why__item h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 12px 0 8px;
}
.why__item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper-dark);
  margin-top: auto;
}

/* =========================================================
   7. PROCESS
   ========================================================= */
.process {
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
}

.process__list {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.process__step {
  display: grid;
  grid-template-columns: 200px 1fr 2fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line-strong);
  align-items: start;
  transition: padding 0.3s var(--ease);
  position: relative;
}
.process__step:last-child { border-bottom: 1px solid var(--line-strong); }
.process__step:hover { padding-left: 16px; }
.process__step:hover h3 { color: var(--accent); }

.process__num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-mid);
  text-transform: uppercase;
}
.process__step h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  transition: color 0.3s var(--ease);
}
.process__step p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 50ch;
}

/* =========================================================
   8. CTA BAND
   ========================================================= */
.cta-band {
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
  background:
    radial-gradient(ellipse at center, #ff7a3f 0%, var(--accent) 60%, var(--accent-deep) 100%);
  color: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 30px, rgba(0,0,0,0.03) 30px 31px);
  pointer-events: none;
}

.cta-band__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.cta-band__eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 28px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 4px;
}
.cta-band__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.cta-band__title em {
  font-style: italic;
  font-weight: 300;
}
.cta-band__sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 40px;
}
.cta-band__or {
  display: block;
  margin-top: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.cta-band__or a { font-weight: 600; border-bottom: 1px solid currentColor; }

/* =========================================================
   9. CONTACT
   ========================================================= */
.contact {
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
}
.contact__grid {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
}
.contact__block {
  background: var(--paper);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.contact__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.contact__value {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.contact__value a { transition: color 0.2s var(--ease); }
.contact__value a:hover { color: var(--accent); }
.contact__hours {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
  margin-top: 12px;
  text-transform: uppercase;
}
.contact__block--cta { background: var(--ink); color: var(--paper); }
.contact__block--cta .contact__label { color: var(--accent); }

.contact__map {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  filter: grayscale(0.3) contrast(1.05);
}

/* =========================================================
   10. FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--pad-x) 24px;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244,237,224,0.12);
}
.footer__logo {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 20px;
}
.footer__logo span { color: var(--accent); font-size: 16px; transform: translateY(-8px); margin: 0 2px; }
.footer__tag {
  font-family: var(--f-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--paper-dark);
  max-width: 36ch;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.footer__nav a {
  font-size: 15px;
  color: var(--paper-dark);
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover { color: var(--accent); }

.footer__bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.float-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--accent);
  color: var(--ink);
  width: auto;
  height: 56px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px -8px rgba(255, 90, 31, 0.5);
  z-index: 90;
  transition: all 0.3s var(--ease);
  animation: waEnter 0.5s var(--ease) 1.5s backwards;
}
.float-wa:hover {
  background: var(--ink);
  color: var(--accent);
  transform: scale(1.05);
}
@keyframes waEnter {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   REVEAL ANIMATIONS (intersection observer)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__materials { display: none; }

  .positioning__grid { grid-template-columns: 1fr; gap: 40px; }
  .case__inner { grid-template-columns: 1fr; gap: 50px; }
  .cap-grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .campaigns__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr 1fr; }

  .process__step { grid-template-columns: 140px 1fr; }
  .process__step p { grid-column: 1 / -1; padding-left: 0; }
}

@media (max-width: 640px) {
  .hero { padding-top: 110px; }
  .hero__title { font-size: clamp(48px, 14vw, 80px); }
  .hero__line:nth-child(2) { padding-left: 24px; }
  .hero__line:nth-child(3) { padding-left: 12px; }
  .hero__sub { font-size: 17px; }
  .hero__stats { grid-template-columns: 1fr; gap: 20px; }
  .hero__stats .stat { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .hero__stats .stat:last-child { border: none; }

  .positioning__pillars { grid-template-columns: repeat(2, 1fr); }

  .campaigns__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .cap-card { padding: 28px; }

  .case__row { grid-template-columns: 1fr; gap: 8px; }
  .case__row-label { font-size: 10px; }

  .process__step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .process__step:hover { padding-left: 0; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .float-wa span { display: none; }
  .float-wa { padding: 0; width: 56px; justify-content: center; }

  .btn--xl { padding: 18px 28px; font-size: 15px; }

  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__line, .hero__sub, .hero__ctas, .hero__stats, .hero__materials { opacity: 1; transform: none; }
}
