
/* ===========================
   GOOGLE FONTS
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@100;300;400;700;800;900&family=Instrument+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Instrument+Serif:ital@0;1&family=Freehand&display=swap');

/* ===========================
   DESIGN TOKENS
=========================== */
@import url('tokens.css');

/* ===========================
   FONT FACE (local fallback)
=========================== */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: local('Instrument Sans'), local('Instrument Sans Regular'),
       url('../assets/fonts/InstrumentSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Instrument Sans Medium'),
       url('../assets/fonts/InstrumentSans-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Instrument Sans SemiBold'),
       url('../assets/fonts/InstrumentSans-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Instrument Serif'),
       url('../assets/fonts/InstrumentSerif-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Instrument Serif Italic'),
       url('../assets/fonts/InstrumentSerif-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Archivo Bold'),
       url('../assets/fonts/Archivo-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: local('Archivo ExtraBold'), local('Archivo Black'),
       url('../assets/fonts/Archivo-ExtraBold.woff2') format('woff2');
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

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

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

.caption-break { display: none; }

/* ===========================
   GLOBAL WRAP
=========================== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ===========================
   NAV (unified bar)
=========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 100px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 300;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, transform 0.35s ease;
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav--scrolled .nav-center {
  opacity: 0;
  pointer-events: none;
}

/* Dark nav variant — used on pages with hero images */
.nav--dark {
  background: rgba(0, 0, 0, 0.85) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.nav--dark .nav-logo          { color: #fff; }
.nav--dark .nav-offer-text    { color: rgba(255, 255, 255, 0.7); }
.nav--dark .menu-icon span    { background: #fff; }

.nav-top-row {
  display: contents;
}

.nav-logo {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #111;
  text-transform: uppercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-logo-site,
.nav-logo-page {
  color: inherit;
  text-decoration: none;
}

.nav-logo-sep {
  opacity: 0.4;
  font-weight: 300;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-offer-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: #555555;
  white-space: nowrap;
}

.nav-offer-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 10px;
  width: auto;
  height: auto;
  background: linear-gradient(180deg, rgba(60, 140, 226, 0.84) 0%, #2A80DC 78.85%);
  color: #fff;
  border: none;
  font-size: 14px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  font-style: normal;
  border-radius: 44px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

/* Shine sweep — shared */
.nav-offer-btn::after,
.btn-blue::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: btnShine 3.5s ease-in-out infinite;
  pointer-events: none;
  transition: none;
}

/* ── Nav button: text flip up ── */
.nav-offer-btn .btn-text {
  display: inline-block;
  overflow: hidden;       /* clip lives here — no border-radius, works perfectly */
  line-height: 1.1;
}

.nav-offer-btn .btn-label {
  display: block;
  position: relative;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ghost text — second line below, clipped by .btn-text */
.nav-offer-btn .btn-label::after {
  content: 'Get the Playbook';
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
}

.nav-offer-btn:hover .btn-label {
  transform: translateY(-100%);
}

/* ── Blue button: arrow slide in ── */
.btn-blue::before {
  content: '→';
  position: absolute;
  right: 22px;
  font-size: 20px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.btn-blue .btn-text {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Hover — shared */
.nav-offer-btn:hover,
.btn-blue:hover {
  opacity: 0.88;
  animation: none;
}

.nav-offer-btn:hover {
  box-shadow: 0 3px 14px rgba(42, 128, 220, 0.45);
}

.btn-blue:hover {
  box-shadow: 0 4px 20px rgba(42, 128, 220, 0.45);
}

.nav-offer-btn:hover::after,
.btn-blue:hover::after {
  animation: none;
}

.btn-blue:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.btn-blue:hover .btn-text {
  transform: translateX(-10px);
}

.nav-offer-btn:active,
.btn-blue:active {
  opacity: 0.75;
  box-shadow: none;
}


@keyframes btnShine {
  0%   { left: -80%; }
  28%  { left: 120%; }
  100% { left: 120%; }
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
}

.menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #111;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
  transform-origin: center;
  flex-shrink: 0;
}

/* Hamburger → X */
.menu-icon.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-icon.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-icon.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dark nav variant — spans stay white */
.nav--dark .menu-icon span { background: #fff; }

/* When menu is open — make nav logo + spans white so they read over dark overlay */
.nav--menu-open .nav-logo { color: #fff !important; }
.nav--menu-open .menu-icon span { background: #fff; }

/* ===========================
   MENU OVERLAY
=========================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: #111111;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 60px 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4,0,0.2,1);
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-link {
  display: block;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-link:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.menu-overlay.open .menu-link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entrance */
.menu-overlay.open .menu-link:nth-child(1) { transition-delay: 0.06s; }
.menu-overlay.open .menu-link:nth-child(2) { transition-delay: 0.10s; }
.menu-overlay.open .menu-link:nth-child(3) { transition-delay: 0.14s; }
.menu-overlay.open .menu-link:nth-child(4) { transition-delay: 0.18s; }
.menu-overlay.open .menu-link:nth-child(5) { transition-delay: 0.22s; }
.menu-overlay.open .menu-link:nth-child(6) { transition-delay: 0.26s; }
.menu-overlay.open .menu-link:nth-child(7) { transition-delay: 0.30s; }

.menu-link-text {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(36px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color 0.2s ease;
}

.menu-link:hover .menu-link-text { color: rgba(255,255,255,0.45); }

.menu-overlay-footer {
  position: absolute;
  bottom: 60px;
  left: 60px;
  right: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-overlay-tagline {
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.3);
}

.menu-overlay-socials {
  display: flex;
  gap: 20px;
}

.menu-overlay-socials a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s ease;
}

.menu-overlay-socials a:hover { color: #fff; }

/* Close button inside overlay */
.menu-close {
  position: absolute;
  top: 38px;
  right: 40px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-close span {
  display: block;
  position: absolute;
  width: 24px;
  height: 1.5px;
  background: #fff;
}
.menu-close span:nth-child(1) { transform: rotate(45deg); }
.menu-close span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile adjustments */
@media (max-width: 768px) {
  .menu-overlay { padding: 100px 24px 80px; }
  .menu-link { padding: 10px 0; }
  .menu-link-text { font-size: clamp(30px, 10vw, 52px); }
  .menu-overlay-footer { left: 24px; right: 24px; bottom: 40px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .menu-close { right: 24px; }
}

/* ===========================
   HERO
=========================== */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background: #ECEAE5;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  transform: scale(1.15);
  transform-origin: center center;
  will-change: transform;
}

.hero-name {
  position: absolute;
  top: calc(59px + 41vh);
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 40px;
  z-index: 2;
}

.hero-name span {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 31px;
  letter-spacing: 36px;
  text-transform: uppercase;
  color: #111;
}

.hero-name span:nth-child(1) { text-align: left; }
.hero-name span:nth-child(2) { text-align: center; }
.hero-name span:nth-child(3) { text-align: right; margin-right: -36px; }

.hero-logo-wrap {
  position: absolute;
  left: 50%;
  top: calc(41px + 59vh);
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.hero-logo {
  width: 1120px;
  max-width: 92vw;
}

/* ===========================
   HEADLINE
=========================== */
.headline {
  background: #fff;
  padding: 250px 0 200px;
  position: relative;
  overflow: hidden;
}

/* Emoji 3D */
.emoji-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

.emoji-card {
  width: 100%;
  height: 100%;
}


.headline-wrap {
  max-width: 1599px;
  padding: 0 60px;
  text-align: center;
}

.headline-h1-wrap {
  position: relative;
  display: inline-block;
}

.headline h1 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(42px, 7.8vw, 125px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #111111;
  text-align: center;
  margin-bottom: 0;
}

.headline-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(42px, 7.8vw, 125px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-align: center;
  color: #111111;
  margin-top: 0;
}

.explore-link {
  display: inline-block;
  margin-top: 80px;
  font-family: 'Archivo', sans-serif;
  font-style: normal;
  font-weight: 100;
  font-size: 24px;
  line-height: 26px;
  text-align: center;
  color: #111111;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.explore-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #555;
  transition: width 0.3s ease;
}

.explore-link:hover {
  color: #555;
}

.explore-link:hover::after {
  width: 100%;
}

/* ── Shared text-link arrow ── */
.link-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* ── Light-background text links ── */
.explore-link,
.card-link,
.newsletter a,
.blog-read-link,
.blog-card-link {
  position: relative;
  text-decoration: none;
  transition: color 0.25s ease;
}

.explore-link::after,
.card-link::after,
.newsletter a::after,
.blog-read-link::after,
.blog-card-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.explore-link:hover,
.card-link:hover,
.newsletter a:hover,
.blog-read-link:hover,
.blog-card-link:hover {
  color: #555;
}

.explore-link:hover::after,
.card-link:hover::after,
.newsletter a:hover::after,
.blog-read-link:hover::after,
.blog-card-link:hover::after {
  width: 100%;
}

/* ── Dark-background text links ── */
.brief-link,
.about-link,
.portfolio-cta {
  position: relative;
  text-decoration: none;
  transition: color 0.25s ease;
}

.brief-link::after,
.about-link::after,
.portfolio-cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.brief-link:hover,
.about-link:hover,
.portfolio-cta:hover {
  color: #fff;
}

.brief-link:hover::after,
.about-link:hover::after,
.portfolio-cta:hover::after {
  width: 100%;
}

/* Arrow nudge on all text links */
.explore-link:hover .link-arrow,
.card-link:hover .link-arrow,
.newsletter a:hover .link-arrow,
.blog-read-link:hover .link-arrow,
.blog-card-link:hover .link-arrow,
.brief-link:hover .link-arrow,
.about-link:hover .link-arrow,
.portfolio-cta:hover .link-arrow {
  transform: translateX(5px);
}

.blog-explore {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

/* blog-card-link and blog-read-link base styles (used in WP templates) */
.blog-read-link {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.blog-card-date {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  line-height: 1.4;
  margin-bottom: 16px;
}

.blog-card-title {
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 24px 0 0;
  padding: 0;
}

.blog-card-body {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: #888;
  margin: 18px 0 0;
  padding: 0;
  flex: 1;
}

.blog-card-link {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  display: inline-block;
  margin-top: 48px;
}

/* ===========================
   TICKER
=========================== */
.ticker-wrap {
  background: #fff;
  padding: 24px 0;
  overflow: hidden;
}

.ticker {
  display: flex;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker-scroll 20s linear infinite;
  flex-shrink: 0;
}

.ticker-track span {
  font-family: 'Archivo', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 52px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #111111;
  padding: 0 24px;
}

.ticker-track .dot {
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 0 8px;
  color: #111111;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ===========================
   PLAYBOOK
=========================== */
.playbook {
  padding: 100px 0;
  background: #F6F6F6;
}

.playbook .wrap {
  max-width: 1400px;
}

.playbook-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "text images"
    "cta  images";
  gap: 40px 100px;
  align-items: start;
}

.pb-text {
  grid-area: text;
  max-width: 620px;
}

.pb-images {
  grid-area: images;
}

.pb-cta {
  grid-area: cta;
}

.pb-text h2 {
  font-family: 'Instrument Serif', serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #111111;
  line-height: 1.15;
  letter-spacing: -1px;
}

.pb-text p {
  margin: 16px 0 28px;
  font-family: 'Archivo', sans-serif;
  font-style: normal;
  font-weight: 100;
  font-size: 20px;
  line-height: 29px;
  color: #111111;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 52px;
  width: auto;
  height: auto;
  background: linear-gradient(180deg, rgba(60, 140, 226, 0.84) 0%, #2A80DC 78.85%);
  color: #fff;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

.btn-blue:hover {
  box-shadow: 0 4px 20px rgba(42, 128, 220, 0.45);
}

.pb-images {
  position: relative;
  width: 400px;
  height: 480px;
  flex-shrink: 0;
}

.pb-img-1 {
  position: absolute;
  width: 240px;
  left: 10px;
  top: 30px;
  transform: rotate(-8deg);
  box-shadow: 6px 12px 40px rgba(0,0,0,0.18);
  z-index: 2;
}

.pb-img-2 {
  position: absolute;
  width: 240px;
  right: 10px;
  top: 80px;
  transform: rotate(7deg);
  box-shadow: 6px 12px 40px rgba(0,0,0,0.18);
  z-index: 1;
}

/* ===========================
   BLACK SECTION
=========================== */
.black {
  background: #000;
  color: #fff;
  padding: 140px 0;
}

.black .wrap {
  max-width: 1400px;
}

.black-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "heading services"
    "brief   services";
  gap: 60px 40px;
  align-items: start;
}

.black-left {
  grid-area: heading;
}

.services {
  grid-area: services;
}

.brief-wrap {
  grid-area: brief;
}

.black-heading {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(48px, 5.8vw, 88px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: #fff;
}

.serif-italic {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

.brief-wrap {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brief-label {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  color: #fff;
}

.brief-link {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.services {
  text-align: left;
  flex-shrink: 0;
  width: 320px;
  padding-top: 8px;
}

.services-label {
  font-family: 'Instrument Serif', serif;
  font-style: normal;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 18px;
}

.services-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.services-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-blue  { background: #00B2FF; }
.dot-red   { background: #FF007B; }
.dot-green { background: #B2FF00; }

.services-list {
  list-style: none;
}

.services-list li {
  font-family: 'Instrument Serif', serif;
  font-style: normal;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

/* ===========================
   THINKING
=========================== */
.thinking {
  padding: 72px 0 120px;
  background: #fff;
}

.thinking .wrap {
  max-width: 1400px;
}

.thinking-header {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.thinking-label {
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #888;
}

.thinking-title {
  font-family: 'Instrument Serif', serif;
  font-style: normal;
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 80px;
  color: #111;
  line-height: 1;
}

.thinking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

.card-date {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #888;
  margin-bottom: 16px;
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-title {
  margin-top: 24px;
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.card-body {
  margin-top: 18px;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  line-height: 1.65;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: 48px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.thinking-footer {
  margin-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.btn-outline {
  background: transparent;
  color: #111;
  border: 1.5px solid #111;
  padding: 0 40px;
  height: 52px;
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 400;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-outline:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.btn-outline:active {
  background: #333;
  box-shadow: none;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
}

.newsletter-label {
  font-weight: 700;
  color: #111;
}

.newsletter a {
  font-weight: 400;
  color: #111;
  text-decoration: none;
}

/* ===========================
   PORTFOLIO
=========================== */

/* Journey break */
.journey-break {
  background: #fff;
  padding: 80px 24px;
  text-align: center;
}

.journey-break-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.journey-break-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
}

.journey-break-text {
  font-family: 'Instrument Serif', serif;
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 400;
  color: #111;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}

.journey-break-arrow {
  font-size: 18px;
  color: #888;
  animation: bounceDown 1.6s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

.portfolio {
  background: #000;
  color: #fff;
  padding: 140px 0;
}

.portfolio-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.03em;
  color: #fff;
}

.portfolio-strike-wrap {
  position: relative;
  display: inline-block;
}

.strikeout-img {
  position: absolute;
  left: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 112%;
  height: auto;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
}

@keyframes strikethrough {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

.portfolio.active .strikeout-img {
  animation: strikethrough 0.55s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s forwards;
}

.portfolio-body-wrap {
  max-width: 420px;
  margin: 80px auto 0;
  text-align: center;
}

.portfolio-body {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.portfolio-quote {
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 400;
  color: #fff;
  margin-top: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

/* ── CASE CARDS (shared: work page + home portfolio marquee) ── */
.case-card {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.case-card:hover img { transform: scale(1.04); }
.case-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}
.case-tag {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.case-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
  color: #fff;
}
.case-sub {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}

.portfolio-marquee {
  overflow: hidden;
  margin-top: 80px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.portfolio-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: portfolio-scroll 24s linear infinite;
}

.portfolio-marquee-track a {
  display: block;
  flex-shrink: 0;
}
.portfolio-marquee-track img {
  height: 380px;
  width: auto;
  display: block;
}

@keyframes portfolio-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.portfolio-cta {
  display: inline-block;
  margin-top: 150px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.portfolio .wrap {
  max-width: 1400px;
  text-align: center;
}

/* ===========================
   ABOUT
=========================== */
.about {
  background: #2a2a2a;
  color: #fff;
  padding: 140px 0;
  text-align: center;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
}

.about-overlap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  height: 320px;
  overflow: visible;
}

.about-serif {
  font-family: 'Freehand', cursive;
  font-style: normal;
  font-size: clamp(40px, 5.5vw, 80px);
  color: #fff;
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

.about-img-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 1;
}

.about-img-wrap img {
  width: 260px;
  display: block;
  filter: grayscale(100%) contrast(1.05);
  border: 10px solid #fff;
  border-bottom: 32px solid #fff;
  box-shadow: 4px 16px 40px rgba(0,0,0,0.65);
}

.about-caption {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-top: 48px;
  line-height: 1.4;
}

.about-link {
  display: inline-block;
  margin-top: 32px;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

/* ===========================
   SPLIT
=========================== */
.split {
  display: flex;
  background: #fff;
}

.split-img-wrap {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.split-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%);
}

.split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 80px;
  min-height: 600px;
}

.split-text h2 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111;
}

.split-text h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

.split-body {
  margin-top: 48px;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 400;
  line-height: 1.7;
  color: #555;
}

.split-contact {
  margin-top: 48px;
  display: flex;
  gap: 60px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  color: #111;
}

.split-contact a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #2a2a2a;
  padding: 80px 60px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.footer-socials {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-socials a {
  color: #fff;
  transition: opacity 0.2s;
}

.footer-socials a:hover {
  opacity: 0.7;
}

.footer-logo {
  width: 160px;
}

.footer-copy {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}

/* ===========================
   REVEAL ANIMATION
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RELATED ARTICLES CAROUSEL
=========================== */
.art-related-carousel { position: relative; }

.art-related-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.art-related-track::-webkit-scrollbar { display: none; }

.art-related-track .art-related-card {
  flex: 0 0 calc(25% - 24px);
  scroll-snap-align: start;
  min-width: 0;
}

.art-related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.art-related-header .art-related-label { margin-bottom: 0; }

.art-related-nav { display: flex; gap: 12px; }

.art-related-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #111111;
  background: transparent;
  color: #111111;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.art-related-btn:hover { background: #111111; color: #fff; }
.art-related-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

@media (max-width: 1024px) {
  .art-related-track .art-related-card { flex: 0 0 calc(50% - 16px); }

  /* Related articles + thinking page: 2-column grid at tablet */
  .blog-grid-section .thinking-grid,
  .art-related-section .thinking-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
    display: grid;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .blog-grid-section .thinking-grid .card,
  .art-related-section .thinking-grid .card {
    flex: none;
    max-width: 100%;
    scroll-snap-align: none;
  }
}
@media (max-width: 600px) {
  .art-related-track .art-related-card { flex: 0 0 100%; }
}

/* ===========================
   MOBILE — 768px and below
=========================== */
@media (max-width: 768px) {

  .wrap {
    padding: 0 24px;
  }

  /* Top bar */
  .topbar {
    font-size: 10px;
    padding: 8px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .topbar-btn {
    font-size: 10px;
    padding: 5px 12px;
  }

  /* Nav */
  .nav {
    padding: 0 20px;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  }

  .nav--hidden {
    transform: none;
  }

  .nav--scrolled {
    background: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom-color: rgba(0,0,0,0.06) !important;
  }

  .nav--dark.nav--scrolled {
    background: rgba(0,0,0,0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom-color: rgba(255,255,255,0.08) !important;
  }

  .nav > .nav-logo,
  .nav > .menu-icon { display: flex; }

  .nav-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(44px, 8vw, 56px);
    width: 100%;
    flex-shrink: 0;
  }

  .nav-logo {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .nav-center {
    position: static;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 64px;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    max-height: 64px;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, border-color 0.35s ease;
  }

  .nav--scrolled .nav-center {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    border-top-color: transparent;
  }

  .nav-offer-text {
    font-size: 16px;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-offer-btn {
    font-size: 13px;
    width: auto;
    height: 36px;
    padding: 8px 16px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Hero */
  .hero {
    margin-top: calc(clamp(44px, 8vw, 56px) + 56px);
    height: calc(100vh - clamp(44px, 8vw, 56px) - 56px);
  }

  .hero-name {
    top: 52%;
    transform: translateY(-50%);
    padding: 0 20px;
  }

  .hero-name span {
    font-size: clamp(14px, 4.5vw, 28px);
    letter-spacing: clamp(6px, 2vw, 18px);
  }

  .hero-name span:nth-child(3) {
    margin-right: calc(-1 * clamp(6px, 2vw, 18px));
  }

  .hero-logo {
    width: min(92vw, 460px);
  }

  .hero-logo-wrap {
    top: 70%;
    transform: translate(-50%, -50%);
  }

  /* Headline */
  .headline {
    padding: 70px 0 100px;
  }

  .headline-wrap {
    padding: 0 24px;
  }

  .headline h1 {
    font-size: 38px;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }

  .headline-serif {
    font-size: 38px;
    line-height: 1.1;
  }

  .explore-link {
    margin-top: 60px;
  }

  .emoji-scene {
    width: 45px;
    height: 45px;
  }

  /* Ticker */
  .ticker-track span {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.03em;
  }

  /* Playbook */
  .playbook {
    padding: 70px 0;
  }

  .playbook-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .pb-text {
    max-width: 100%;
    text-align: center;
    order: 1;
  }

  .pb-images {
    order: 2;
  }

  .pb-cta {
    order: 3;
    text-align: center;
  }

  .pb-text h2 {
    font-size: 48px;
    line-height: 0.94;
  }

  .pb-images {
    width: 100%;
    height: 320px;
  }

  .pb-img-1 {
    width: 160px;
    left: calc(50% - 130px);
    top: 20px;
  }

  .pb-img-2 {
    width: 160px;
    right: auto;
    left: calc(50% - 30px);
    top: 60px;
  }

  /* Black section */
  .black {
    padding: 80px 0;
  }

  .black-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .black-left {
    text-align: center;
    order: 1;
  }

  .services {
    order: 2;
  }

  .brief-wrap {
    order: 3;
    justify-content: center;
  }

  .black-heading {
    font-size: 48px;
    letter-spacing: -0.03em;
  }

  .brief-wrap {
    margin-top: 48px;
    gap: 24px;
    justify-content: center;
  }

  .services {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    width: 100%;
    text-align: center;
  }

  .services-dots {
    justify-content: center;
  }

  /* Thinking */
  .thinking {
    padding: 80px 0;
  }

  .thinking-header {
    margin-bottom: 46px;
  }

  .thinking-title {
    font-size: 40px;
    margin-bottom: 48px;
  }

  .thinking-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    margin-right: -24px;
    padding-right: 24px;
    width: calc(100% + 24px);
  }

  .thinking-grid::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 54vw;
    max-width: 220px;
    scroll-snap-align: start;
  }

  .card-title {
    font-size: 16px;
    margin-top: 16px;
  }

  .card-body {
    font-size: 12px;
    margin-top: 12px;
  }

  .card-link {
    margin-top: 24px;
  }

  .thinking-footer {
    margin-top: 50px;
  }

  .blog-grid-section {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 24px;
  }

  /* Thinking page + related articles grid — single column stack, not carousel */
  .blog-grid-section .thinking-grid,
  .art-related-section .thinking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .blog-grid-section .thinking-grid .card,
  .art-related-section .thinking-grid .card {
    flex: none;
    max-width: 100%;
    scroll-snap-align: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .blog-grid-section .thinking-grid .card:first-child,
  .art-related-section .thinking-grid .card:first-child {
    border-top: none;
    padding-top: 0;
  }

  .blog-grid-section .thinking-grid .card-title {
    font-size: 20px;
    margin-top: 24px;
  }

  .blog-grid-section .thinking-grid .card-body {
    font-size: 13px;
    margin-top: 18px;
  }

  .blog-grid-section .thinking-grid .card-link {
    margin-top: 24px;
  }

  .blog-explore {
    margin-top: 48px;
  }

  .newsletter {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* Portfolio */
  .portfolio {
    padding: 80px 0;
  }

  .portfolio-title {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .portfolio-body-wrap {
    margin-top: 24px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 36px;
  }

  .portfolio-grid img {
    height: 180px;
  }

  .portfolio-quote {
    font-size: 15px;
    margin-top: 24px;
  }

  /* About */
  .about {
    padding: 80px 0;
  }

  .about-title {
    font-size: 48px;
    letter-spacing: -0.03em;
  }

  .about-overlap {
    height: 260px;
  }

  .caption-break { display: inline; }

  .about-serif {
    font-size: 28px;
    white-space: normal;
    text-align: center;
    padding: 0 20px;
    line-height: 1.2;
  }

  .about-img-wrap img {
    width: 200px;
  }

  /* Split */
  .split {
    flex-direction: column;
  }

  .split-img-wrap {
    width: 100%;
    height: 480px;
  }

  .split-text {
    padding: 0 24px 60px;
    text-align: center;
    align-items: center;
    min-height: auto;
    justify-content: flex-start;
  }

  .split-text h2 {
    font-size: 36px;
  }

  .split-contact {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  /* Footer */
  footer {
    padding: 50px 24px;
  }
}

/* ===========================
   MEDIUM TABLET — 900px-1100px
=========================== */
@media (max-width: 1100px) and (min-width: 769px) {

  .nav {
    height: 100px;
    padding: 0 32px;
  }

  .hero {
    margin-top: 100px;
    height: calc(100vh - 100px);
  }

  .hero-name {
    top: 41%;
  }

  .hero-logo-wrap {
    top: 59%;
  }

  .thinking-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

  .portfolio-grid img {
    height: 250px;
  }

  .black-heading {
    font-size: 40px;
  }

  .split-text {
    padding: 60px 50px;
  }
}

.blog-featured { background: #fff !important; }
