/*
Theme Name: Rinato Studio
Theme URI: https://rinato.studio
Author: Rinato
Description: Warm editorial design for Rinato Studio — purpose-driven digital growth partner.
Version: 6.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rinato
*/

/* ==========================================
   DESIGN TOKENS
   ========================================== */
:root {
  /* Brand palette */
  --flame-red: #FF1A0D;
  --ember-orange: #FF6E05;
  --warm-amber: #FBEA02;
  --gold: #FFD055;
  --gradient-brand: linear-gradient(135deg, #FF1A0D 0%, #FF6E05 45%, #FFD055 100%);
  --gradient-brand-text: linear-gradient(90deg, #FF1A0D 0%, #FF6E05 55%, #FFD055 100%);

  /* Legacy alias — keeps other pages working */
  --coral: #FF1A0D;
  --coral-hover: #E0150A;
  --coral-light: #FF6E05;

  /* Warm light backgrounds */
  --bg: #FEFCF9;
  --bg-warm: #FBF8F4;
  --bg-cream: #F6F1EB;
  --off-white: #FBF8F4;

  /* Text */
  --text: #1A1612;
  --text-body: #4A443D;
  --text-secondary: #7A7269;
  --neutral: #7A7269;
  --text-muted: #A89F95;
  --text-light: #C8BFB5;
  --light: #EDE8E2;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-logo: 'Fraunces', Georgia, serif;
  --font-mono: monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 22, 18, 0.04);
  --shadow-md: 0 8px 30px rgba(26, 22, 18, 0.06);
  --shadow-lg: 0 20px 60px rgba(26, 22, 18, 0.08);
  --shadow-glow: 0 8px 40px rgba(255, 110, 5, 0.1);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body { font-family:var(--font-body); font-weight:400; font-size:16px; line-height:1.7; color:var(--text-body); background:var(--bg); overflow-x:hidden; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:var(--coral); transition:all .3s ease; }
a:hover { color:var(--coral-hover); }
.container { max-width:1240px; margin:0 auto; padding:0 clamp(24px, 5vw, 72px); }

/* Subtle grain texture */
body::after {
  content: '';
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* Section label */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ember-orange);
  margin-bottom: 20px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .35s cubic-bezier(.16, 1, .3, 1);
  border: none;
}
.btn--primary, .btn--coral {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 26, 13, 0.15);
}
.btn--primary:hover, .btn--coral:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 26, 13, 0.25);
}
.btn--ghost {
  padding: 15px 8px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
}
.btn--ghost:hover { color: var(--coral); }
.btn--ghost .btn-arrow { transition: transform .3s ease; }
.btn--ghost:hover .btn-arrow { transform: translateX(4px); }
.btn--outline { background:transparent; border:2px solid var(--text); color:var(--text); padding:14px 36px; }
.btn--outline:hover { background:var(--text); color:#fff; transform:translateY(-2px); }
.btn--white-outline { border:2px solid rgba(255,255,255,.25); color:#fff; background:transparent; padding:14px 36px; }
.btn--white-outline:hover { background:#fff; color:var(--text); border-color:#fff; }
.btn-group { display:flex; gap:16px; flex-wrap:wrap; align-items:center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: gap .3s ease;
}
.link-arrow:hover { gap: 14px; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  background: transparent;
  transition: all .4s ease;
}
.header.scrolled {
  padding: 16px 0;
  background: rgba(254, 252, 249, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 2px rgba(26, 22, 18, 0.03);
}
/* Subtle gradient line at bottom of scrolled header */
.header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  -webkit-transition: opacity .4s ease;
  transition: opacity .4s ease;
}
.header.scrolled::after {
  opacity: 0.12;
}
.header .container { display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:14px; text-decoration:none; }
.brand__phoenix {
  width: 48px;
  height: 48px;
  object-fit: contain;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-filter: drop-shadow(0 2px 8px rgba(255, 110, 5, 0.08));
  filter: drop-shadow(0 2px 8px rgba(255, 110, 5, 0.08));
}
.header.scrolled .brand__phoenix { width:40px; height:40px; }
.brand__wordmark-svg {
  height: 24px;
  width: auto;
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  -webkit-transition: height .3s ease;
  transition: height .3s ease;
}
.header.scrolled .brand__wordmark-svg { height: 20px; }
.brand__wordmark-img {
  height: 22px;
  width: auto;
  min-width: 80px;
  max-width: 140px;
  object-fit: contain;
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.header.scrolled .brand__wordmark-img { height: 18px; }
/* Legacy text fallback */
.brand__wordmark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  transition: all .3s ease;
}
.brand__wordmark span { color: var(--text); }
.header.scrolled .brand__wordmark { font-size: 17px; }
.main-nav { display:flex; align-items:center; gap:32px; }
.main-nav__links { display:flex; gap:30px; list-style:none; }
.main-nav__links a { font-size:15px; font-weight:500; color:var(--text-secondary); text-decoration:none; transition:color .3s; }
.main-nav__links a:hover, .main-nav__links a.active { color:var(--text); }
.nav-cta {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 100px;
  background: var(--text);
  color: #fff !important;
  text-decoration: none;
  transition: all .3s;
}
.nav-cta:hover { background:var(--coral); color:#fff !important; box-shadow:var(--shadow-glow); transform:translateY(-1px); }
.menu-toggle { display:none; background:none; border:none; cursor:pointer; width:32px; height:24px; position:relative; z-index:1001; }
.menu-toggle span { display:block; width:100%; height:2px; background:var(--text); position:absolute; left:0; transition:all .3s; }
.menu-toggle span:nth-child(1) { top:0; }
.menu-toggle span:nth-child(2) { top:50%; transform:translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom:0; }
.menu-toggle.active span:nth-child(1) { top:50%; transform:translateY(-50%) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity:0; }
.menu-toggle.active span:nth-child(3) { bottom:50%; transform:translateY(50%) rotate(-45deg); }
.mobile-menu { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:var(--bg); z-index:999; padding:100px 40px 40px; flex-direction:column; align-items:center; justify-content:center; gap:28px; }
.mobile-menu.active { display:flex; }
.mobile-menu a { font-family:var(--font-display); font-size:28px; font-weight:600; color:var(--text); text-decoration:none; }
.mobile-menu a:hover { color:var(--coral); }

/* ==========================================
   LOADING SCREEN
   ========================================== */
.loading-screen {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loading-screen.loaded { opacity:0; visibility:hidden; pointer-events:none; }
.loading-content { text-align:center; }
.loading-logo { margin-bottom:24px; }
.loading-logo__img {
  width: 80px; height: 80px;
  margin: 0 auto;
  object-fit: contain;
  -webkit-animation: loadingPulse 1.8s ease-in-out infinite, loadingFloat 2.4s ease-in-out infinite;
  animation: loadingPulse 1.8s ease-in-out infinite, loadingFloat 2.4s ease-in-out infinite;
}
.loading-wordmark-svg {
  height: 30px;
  width: auto;
  display: block;
  margin: 0 auto;
  -webkit-animation: loadingFadeUp .8s ease .3s both;
  animation: loadingFadeUp .8s ease .3s both;
}
.loading-wordmark-img {
  height: 28px;
  width: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  -webkit-animation: loadingFadeUp .8s ease .3s both;
  animation: loadingFadeUp .8s ease .3s both;
}
.loading-wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  animation: loadingFadeUp .8s ease .3s both;
}
.loading-wordmark span { color: var(--text); }
.loading-verb {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ember-orange);
  margin-top: 8px;
  animation: loadingFadeUp .8s ease .6s both;
}
@keyframes loadingPulse { 0%,100% { opacity:.7; } 50% { opacity:1; } }
@keyframes loadingFloat { 0%,100% { transform:translateY(0) scale(1); } 50% { transform:translateY(-8px) scale(1.05); } }
@keyframes loadingFadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ==========================================
   HERO — ANIMATED
   ========================================== */
.hero {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.hero__glow--1 {
  top: -15%; right: -8%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(255, 208, 85, 0.12) 0%, rgba(255, 110, 5, 0.06) 40%, transparent 70%);
  -webkit-animation: softGlow 10s ease-in-out infinite alternate;
  animation: softGlow 10s ease-in-out infinite alternate;
}
.hero__glow--2 {
  bottom: -10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 26, 13, 0.04) 0%, transparent 70%);
  -webkit-animation: softGlow 12s ease-in-out infinite alternate-reverse;
  animation: softGlow 12s ease-in-out infinite alternate-reverse;
}
@-webkit-keyframes softGlow {
  0% { opacity: 0.6; -webkit-transform: scale(1); }
  100% { opacity: 1; -webkit-transform: scale(1.1); }
}
@keyframes softGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero__tag-line {
  width: 36px; height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  overflow: hidden;
}
.hero-line {
  display: block;
  opacity: 0;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-animation: lineReveal .9s cubic-bezier(.16, 1, .3, 1) forwards;
  animation: lineReveal .9s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hero-line:nth-child(1) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; }
.hero-line:nth-child(2) { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; }
@-webkit-keyframes lineReveal { to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }
@keyframes lineReveal { to { opacity: 1; transform: translateY(0); } }
.hero__title em {
  font-style: italic;
  font-weight: 600;
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Hero animation classes */
.hero-anim {
  opacity: 0;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
}
.hero-anim.hero-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: opacity .9s cubic-bezier(.16, 1, .3, 1), -webkit-transform .9s cubic-bezier(.16, 1, .3, 1);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

/* Phoenix visual */
.hero__visual {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: relative;
}
.hero__phoenix-wrapper {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  height: clamp(180px, 22vw, 280px);
}
.phoenix-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.phoenix-glow--1 {
  top: -25%; right: -25%; bottom: -25%; left: -25%;
  background: radial-gradient(circle, rgba(255, 26, 13, 0.08) 0%, transparent 65%);
  -webkit-animation: breathe 4s ease-in-out infinite;
  animation: breathe 4s ease-in-out infinite;
}
.phoenix-glow--2 {
  top: -15%; right: -15%; bottom: -15%; left: -15%;
  background: radial-gradient(circle, rgba(255, 110, 5, 0.06) 0%, transparent 60%);
  -webkit-animation: breathe 4s ease-in-out 1s infinite;
  animation: breathe 4s ease-in-out 1s infinite;
}
.phoenix-glow--3 {
  top: -35%; right: -35%; bottom: -35%; left: -35%;
  background: radial-gradient(circle, rgba(255, 208, 85, 0.04) 0%, transparent 55%);
  -webkit-animation: breathe 5s ease-in-out 0.5s infinite;
  animation: breathe 5s ease-in-out 0.5s infinite;
}
@-webkit-keyframes breathe {
  0%, 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 0.6; }
  50% { -webkit-transform: scale(1.08); transform: scale(1.08); opacity: 1; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.phoenix-float {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  -webkit-animation: gentleFloat 6s ease-in-out infinite;
  animation: gentleFloat 6s ease-in-out infinite;
}
.phoenix-float img {
  width: 100%; height: 100%;
  object-fit: contain;
  -webkit-filter: drop-shadow(0 8px 30px rgba(255, 110, 5, 0.12));
  filter: drop-shadow(0 8px 30px rgba(255, 110, 5, 0.12));
}
@-webkit-keyframes gentleFloat {
  0%, 100% { -webkit-transform: translateY(0) rotate(0deg); transform: translateY(0) rotate(0deg); }
  25% { -webkit-transform: translateY(-8px) rotate(0.5deg); transform: translateY(-8px) rotate(0.5deg); }
  50% { -webkit-transform: translateY(-14px) rotate(0deg); transform: translateY(-14px) rotate(0deg); }
  75% { -webkit-transform: translateY(-6px) rotate(-0.5deg); transform: translateY(-6px) rotate(-0.5deg); }
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(0.5deg); }
  50% { transform: translateY(-14px) rotate(0deg); }
  75% { transform: translateY(-6px) rotate(-0.5deg); }
}

/* Embers — warm floating particles with glow */
.ember {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}
.ember--1 { bottom: 22%; left: 18%; width: 7px; height: 7px; background: var(--flame-red); -webkit-box-shadow: 0 0 8px 2px rgba(255,26,13,0.4); box-shadow: 0 0 8px 2px rgba(255,26,13,0.4); opacity: 0; -webkit-animation: emberRise 3.5s ease-out 1.5s infinite; animation: emberRise 3.5s ease-out 1.5s infinite; }
.ember--2 { bottom: 28%; right: 18%; width: 6px; height: 6px; background: var(--ember-orange); -webkit-box-shadow: 0 0 8px 2px rgba(255,110,5,0.4); box-shadow: 0 0 8px 2px rgba(255,110,5,0.4); opacity: 0; -webkit-animation: emberRise2 4.5s ease-out 2.2s infinite; animation: emberRise2 4.5s ease-out 2.2s infinite; }
.ember--3 { bottom: 32%; left: 48%; width: 5px; height: 5px; background: var(--gold); -webkit-box-shadow: 0 0 6px 2px rgba(255,208,85,0.5); box-shadow: 0 0 6px 2px rgba(255,208,85,0.5); opacity: 0; -webkit-animation: emberRise 4s ease-out 3s infinite; animation: emberRise 4s ease-out 3s infinite; }
.ember--4 { bottom: 18%; right: 28%; width: 5px; height: 5px; background: var(--ember-orange); -webkit-box-shadow: 0 0 6px 2px rgba(255,110,5,0.35); box-shadow: 0 0 6px 2px rgba(255,110,5,0.35); opacity: 0; -webkit-animation: emberRise2 5s ease-out 2s infinite; animation: emberRise2 5s ease-out 2s infinite; }
@-webkit-keyframes emberRise {
  0% { opacity: 0; -webkit-transform: translateY(0) translateX(0) scale(1); }
  8% { opacity: 0.9; }
  40% { opacity: 0.6; }
  100% { opacity: 0; -webkit-transform: translateY(-100px) translateX(14px) scale(0.3); }
}
@keyframes emberRise {
  0% { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
  8% { opacity: 0.9; }
  40% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100px) translateX(14px) scale(0.3); }
}
@-webkit-keyframes emberRise2 {
  0% { opacity: 0; -webkit-transform: translateY(0) translateX(0) scale(1); }
  8% { opacity: 0.8; }
  35% { opacity: 0.5; }
  100% { opacity: 0; -webkit-transform: translateY(-85px) translateX(-12px) scale(0.2); }
}
@keyframes emberRise2 {
  0% { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
  8% { opacity: 0.8; }
  35% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-85px) translateX(-12px) scale(0.2); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px; z-index: 2;
}
.scroll-indicator__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember-orange);
  -webkit-animation: scrollBounce 2s ease-in-out infinite;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator__track {
  width: 1px; height: 36px;
  background: -webkit-linear-gradient(top, var(--text-light), transparent);
  background: linear-gradient(to bottom, var(--text-light), transparent);
}
@-webkit-keyframes scrollBounce {
  0%, 100% { -webkit-transform: translateY(0); opacity: 1; }
  50% { -webkit-transform: translateY(8px); opacity: 0.4; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ==========================================
   PARTNERS STRIP
   ========================================== */
.partners-strip {
  padding: 48px 0;
  background: var(--bg-warm);
  border-top: 1px solid rgba(26, 22, 18, 0.04);
  border-bottom: 1px solid rgba(26, 22, 18, 0.04);
}
.partners-strip .container { display:flex; align-items:center; gap:44px; }
.partners-strip__label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.partners-strip__names { display:flex; gap:36px; }
.partners-strip__names a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  transition: color .3s;
}
.partners-strip__names a:hover { color:var(--text-secondary); }

/* ==========================================
   PHILOSOPHY
   ========================================== */
.philosophy { padding:clamp(80px, 12vw, 150px) 0; background:var(--bg); }
.philosophy .container { display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(48px, 7vw, 110px); align-items:start; }
.philosophy__left { position:sticky; top:120px; }
.philosophy__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.philosophy__title em { font-style:italic; font-weight:600; }
.philosophy__accent {
  display: block;
  width: 48px; height: 3px;
  background: var(--gradient-brand);
  margin-top: 32px;
  border-radius: 2px;
}
.philosophy__right p { font-size:17px; color:var(--text-body); line-height:1.9; margin-bottom:20px; }
.philosophy__highlight {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--text);
  padding: 24px 0 24px 24px;
  border-left: 3px solid var(--coral);
  margin: 32px 0;
  line-height: 1.4;
}

/* ==========================================
   SERVICES — ASYMMETRIC
   ========================================== */
.services {
  padding: clamp(80px, 12vw, 150px) 0;
  background: var(--bg-warm);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 10%; right: 0;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse at 80% 30%, rgba(255, 208, 85, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.services__header {
  max-width: 560px;
  margin-bottom: clamp(48px, 7vw, 80px);
  position: relative; z-index: 2;
}
.services__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.services__title em { font-style:italic; font-weight:600; }

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative; z-index: 2;
  align-items: stretch;
}
.service-item {
  background: var(--bg);
  border: 1px solid rgba(26, 22, 18, 0.05);
  border-radius: 16px;
  padding: clamp(28px, 3.5vw, 44px);
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  overflow: hidden;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 110, 5, 0.08);
}
.service-item:hover::before { transform: scaleX(1); }

/* Cards stretch to equal height via grid */

.service-item--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.service-item__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--ember-orange);
  opacity: 0.65;
  -webkit-transition: opacity .3s ease, color .3s ease;
  transition: opacity .3s ease, color .3s ease;
}
.service-item:hover .service-item__icon {
  opacity: 1;
  color: var(--flame-red);
}

.service-item__number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  margin-bottom: 16px;
  transition: opacity .4s ease;
}
.service-item:hover .service-item__number { opacity: 0.5; }
.service-item__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.service-item__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  -webkit-flex: 1;
  flex: 1;
}
.services__cta {
  margin-top: 48px;
  position: relative; z-index: 2;
}

/* ==========================================
   WORK / PARTNERS
   ========================================== */
.work { padding:clamp(80px, 12vw, 150px) 0; background:var(--bg); }
.work__header { margin-bottom:clamp(48px, 6vw, 72px); }
.work__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.work__title em { font-style:italic; font-weight:600; }
.work__sub { font-size:16px; color:var(--text-secondary); max-width:480px; margin-top:12px; }
.work__grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.work-card {
  background: var(--bg-warm);
  border: 1px solid rgba(26, 22, 18, 0.04);
  border-radius: 20px;
  padding: clamp(32px, 4vw, 48px);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  overflow: hidden;
}
.work-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 110, 5, 0.03), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 110, 5, 0.08);
  color: inherit;
}
.work-card:hover::after { opacity: 1; }
.work-card__industry {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}
.work-card__client {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.work-card__text { font-size:15px; color:var(--text-secondary); line-height:1.8; }
.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-weight: 500;
  font-size: 14px;
  margin-top: 20px;
  position: relative; z-index: 2;
  transition: gap .3s ease;
}
.work-card:hover .work-card__link { gap: 14px; }

/* ==========================================
   CASE STUDIES LIST (page-work)
   ========================================== */
.case-studies { padding:0 0 100px; }
.case-study-card { display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--light); border-radius:24px; overflow:hidden; text-decoration:none; margin-bottom:40px; transition:all .4s cubic-bezier(.16,1,.3,1); }
.case-study-card:hover { box-shadow:var(--shadow-lg); border-color:transparent; transform:translateY(-4px); }
.case-study-card__content { padding:56px 48px; display:flex; flex-direction:column; justify-content:center; }
.case-study-card__tag { font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--coral); margin-bottom:16px; }
.case-study-card__title { font-family:var(--font-display); font-weight:700; font-size:clamp(28px,3vw,44px); color:var(--text); margin-bottom:8px; }
.case-study-card__industry { font-size:14px; color:var(--text-secondary); margin-bottom:20px; }
.case-study-card__text { font-size:15px; color:var(--text-secondary); line-height:1.8; margin-bottom:24px; }
.case-study-card__link { font-family:var(--font-display); font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:var(--coral); }
.case-study-card__image { background:var(--off-white); display:flex; align-items:center; justify-content:center; min-height:320px; overflow:hidden; }
.case-study-card__image img { width:100%; height:100%; object-fit:cover; }
.case-study-card__image--placeholder { color:var(--text-light); font-size:14px; }

/* ==========================================
   CASE STUDY DETAIL
   ========================================== */
.cs-hero { padding:200px 0 80px; }
.cs-back { display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:500; color:var(--text-secondary); text-decoration:none; transition:all .3s; margin-bottom:48px; }
.cs-back:hover { color:var(--coral); gap:14px; }
.cs-back svg { transition:transform .3s; }
.cs-back:hover svg { transform:translateX(-4px); }
.cs-hero__center { text-align:center; max-width:800px; margin:0 auto; }
.cs-hero__label { font-family:var(--font-display); font-style:italic; font-size:20px; color:var(--coral); margin-bottom:20px; }
.cs-hero__title { font-family:var(--font-display); font-weight:700; font-size:clamp(48px,8vw,96px); line-height:.9; letter-spacing:-3px; color:var(--text); margin-bottom:16px; }
.cs-hero__title em { font-style:italic; color:var(--coral); }
.cs-hero__industry { font-size:16px; color:var(--text-secondary); }
.cs-meta { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--light); border-bottom:1px solid var(--light); margin:60px 0 80px; }
.cs-meta__item { padding:28px 0; }
.cs-meta__item + .cs-meta__item { padding-left:28px; border-left:1px solid var(--light); }
.cs-meta__label { font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--coral); margin-bottom:6px; }
.cs-meta__value { font-family:var(--font-display); font-weight:600; font-size:15px; color:var(--text); }
.cs-screenshot { margin:0 0 60px; border-radius:16px; overflow:hidden; border:1px solid var(--light); background:var(--off-white); aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; position:relative; }
.cs-screenshot img { width:100%; height:100%; object-fit:cover; position:absolute; top:0; left:0; }
.cs-screenshot__placeholder { font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--text-secondary); }
.cs-section { padding:80px 0; }
.cs-section--alt { background:var(--off-white); }
.cs-section .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.cs-section h2 { font-family:var(--font-display); font-weight:700; font-size:clamp(24px,3vw,36px); line-height:1.1; color:var(--text); margin-bottom:24px; }
.cs-section h2 em { font-style:italic; color:var(--coral); }
.cs-section__right p { font-size:16px; color:var(--text-body); line-height:1.9; margin-bottom:20px; }
.cs-list { list-style:none; margin:20px 0; }
.cs-list li { font-size:15px; color:var(--text-body); line-height:1.8; padding:8px 0 8px 24px; position:relative; border-bottom:1px solid rgba(0,0,0,.04); }
.cs-list li:last-child { border-bottom:none; }
.cs-list li::before { content:''; position:absolute; left:0; top:17px; width:8px; height:8px; border-radius:50%; background:var(--coral); opacity:.4; }
.cs-visit { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display); font-size:13px; font-weight:600; letter-spacing:1px; color:var(--coral); margin-top:20px; transition:gap .3s; }
.cs-visit:hover { gap:14px; }

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  padding: clamp(80px, 12vw, 150px) 0;
  background: var(--bg-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255, 110, 5, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.cta-section__title em { font-style:italic; font-weight:600; }
.cta-section__sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ==========================================
   PAGE HERO (non-homepage)
   ========================================== */
.page-hero { padding:200px 0 80px; }
.page-hero__title { font-family:var(--font-display); font-weight:700; font-size:clamp(32px,5vw,56px); line-height:1.1; color:var(--text); max-width:780px; margin-bottom:24px; }
.page-hero__title em { font-style:italic; color:var(--coral); }
.page-hero__text { font-size:17px; color:var(--text-body); line-height:1.8; max-width:560px; }

/* ==========================================
   SERVICE DETAIL
   ========================================== */
.service-detail { padding:100px 0; }
.service-detail--alt { background:var(--off-white); }
.service-detail__content { max-width:680px; }
.service-detail__title { font-family:var(--font-display); font-weight:700; font-size:clamp(22px,2.5vw,32px); line-height:1.1; color:var(--text); margin:16px 0 24px; }
.service-detail__content > p { font-size:16px; line-height:1.9; color:var(--text-body); margin-bottom:16px; }
.service-detail__meta { margin-top:28px; padding:24px 28px; border-radius:16px; background:var(--off-white); border:1px solid var(--light); }
.service-detail--alt .service-detail__meta { background:var(--bg); }
.service-detail__meta-label { font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--coral); margin-bottom:8px; }
.service-detail__meta-text { font-size:14px; color:var(--text-body); line-height:1.7; margin-bottom:0; }

/* ==========================================
   ABOUT SECTIONS
   ========================================== */
.founder-section { padding:80px 0 100px; }
.founder { max-width:680px; margin:0 auto; text-align:center; }
.founder__photo { width:120px; height:120px; border-radius:50%; overflow:hidden; margin:0 auto 32px; border:3px solid var(--light); }
.founder__photo img { width:100%; height:100%; object-fit:cover; }
.founder__quote { font-family:var(--font-display); font-size:20px; font-weight:400; font-style:italic; line-height:1.8; color:var(--text-body); margin:0 0 24px; }
.founder__name { font-family:var(--font-display); font-size:16px; font-weight:600; color:var(--text); }
.founder__title { font-size:13px; color:var(--text-secondary); margin-top:4px; }

.about-story { padding:120px 0; background:var(--off-white); }
.about-story .container, .about-howwework .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.about-story h2, .about-howwework h2 { font-family:var(--font-display); font-weight:700; font-size:clamp(28px,3vw,40px); line-height:1.1; color:var(--text); margin-bottom:24px; }
.about-story__right p, .about-howwework__right p { font-size:16px; color:var(--text-body); line-height:1.9; margin-bottom:20px; }
.about-howwework { padding:120px 0; }

.about-values { padding:120px 0; background:var(--off-white); }
.about-values h2 { font-family:var(--font-display); font-weight:700; font-size:clamp(28px,3vw,40px); line-height:1.1; color:var(--text); margin-bottom:48px; }
.about-values__grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.value-card { padding:36px; border-radius:20px; border:1px solid var(--light); background:var(--bg); transition:all .3s; }
.value-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
.value-card__title { font-family:var(--font-display); font-size:18px; font-weight:600; color:var(--text); margin-bottom:10px; }
.value-card__text { font-size:15px; color:var(--text-body); line-height:1.7; }

/* ==========================================
   CONTACT
   ========================================== */
.contact-section { padding:200px 0 140px; }
.contact-section .container { display:grid; grid-template-columns:1.1fr .9fr; gap:80px; align-items:start; }
.contact__title { font-family:var(--font-display); font-weight:700; font-size:clamp(28px,3.5vw,44px); line-height:1.1; color:var(--text); margin-bottom:16px; }
.contact__title em { font-style:italic; color:var(--coral); }
.contact__sub { font-size:16px; color:var(--text-body); line-height:1.8; max-width:480px; margin-bottom:40px; }
.contact-form { display:flex; flex-direction:column; gap:20px; }
.form-group { display:flex; flex-direction:column; gap:8px; }
.form-group label { font-size:12px; font-weight:600; letter-spacing:1px; color:var(--text-secondary); }
.form-group input, .form-group textarea { font-family:var(--font-body); font-size:15px; padding:16px 20px; border:1px solid var(--light); border-radius:14px; background:var(--off-white); color:var(--text); transition:all .3s; outline:none; }
.form-group input:focus, .form-group textarea:focus { border-color:var(--coral); box-shadow:0 0 0 3px rgba(255,26,13,.08); }
.form-group textarea { min-height:160px; resize:vertical; }
.contact-info { padding-top:20px; }
.contact-info__mascot { max-width:180px; margin-bottom:36px; }
.contact-info__item { margin-bottom:24px; }
.contact-info__label { font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--coral); margin-bottom:6px; }
.contact-info__text { font-size:16px; color:var(--text-body); }
.contact-note { margin-top:40px; padding:28px; border-radius:16px; background:var(--off-white); border:1px solid var(--light); font-size:14px; color:var(--text-body); line-height:1.8; font-style:italic; }

/* ==========================================
   BLOG
   ========================================== */
.blog-archive { padding:0 0 120px; }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card { border:1px solid var(--light); border-radius:20px; overflow:hidden; transition:all .35s cubic-bezier(.16,1,.3,1); background:var(--bg); }
.blog-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.blog-card__inner { display:block; color:inherit; text-decoration:none; height:100%; }
.blog-card__image-wrap { aspect-ratio:16/10; overflow:hidden; background:var(--off-white); }
.blog-card__image { width:100%; height:100%; object-fit:cover; }
.blog-card__content { padding:28px; }
.blog-card__meta { font-size:12px; color:var(--text-secondary); margin-bottom:14px; }
.blog-card__title { font-family:var(--font-display); font-size:20px; font-weight:600; line-height:1.2; margin-bottom:14px; color:var(--text); }
.blog-card__excerpt { color:var(--text-body); line-height:1.8; font-size:14px; }
.blog-card__link { display:inline-flex; margin-top:18px; font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:var(--coral); }
.blog-empty { padding:48px; border:1px solid var(--light); border-radius:20px; background:var(--off-white); max-width:700px; }
.blog-pagination { margin-top:40px; }
.blog-pagination .nav-links { display:flex; gap:12px; flex-wrap:wrap; }
.blog-pagination a, .blog-pagination span { padding:10px 14px; border:1px solid var(--light); border-radius:999px; text-decoration:none; color:var(--coral); }
.blog-pagination .current { background:var(--coral); color:#fff; border-color:var(--coral); }

/* Blog single */
.blog-hero { padding:200px 0 80px; }
.blog-hero__meta { display:flex; align-items:center; gap:16px; margin-bottom:24px; }
.blog-hero__tag { font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--coral); background:rgba(255,26,13,.06); padding:6px 14px; border-radius:50px; }
.blog-hero__date { font-size:13px; color:var(--text-secondary); }
.blog-hero__title { font-family:var(--font-display); font-weight:700; font-size:clamp(32px,4.5vw,52px); line-height:1.08; color:var(--text); max-width:780px; margin-bottom:24px; }
.blog-hero__excerpt { font-size:18px; line-height:1.8; color:var(--text-body); max-width:620px; }
.blog-body { padding:0 0 100px; }
.blog-body .container { display:grid; grid-template-columns:1fr 280px; gap:80px; align-items:start; }
.blog-content { max-width:720px; }
.blog-content h2 { font-family:var(--font-display); font-weight:700; font-size:clamp(22px,2.5vw,30px); line-height:1.15; color:var(--text); margin:56px 0 20px; }
.blog-content h3 { font-family:var(--font-display); font-weight:600; font-size:clamp(18px,2vw,22px); color:var(--text); margin:40px 0 16px; }
.blog-content p { font-size:16px; line-height:1.85; color:var(--text-body); margin-bottom:20px; }
.blog-content strong { font-weight:600; color:var(--text); }
.blog-content a { color:var(--coral); text-decoration:underline; text-decoration-color:rgba(255,26,13,.3); text-underline-offset:3px; }
.blog-content a:hover { text-decoration-color:var(--coral); }
.blog-content img { border-radius:16px; margin:32px 0; }
.blog-content ul, .blog-content ol { margin:16px 0 24px; padding-left:0; list-style:none; }
.blog-content ul li, .blog-content ol li { font-size:16px; line-height:1.85; color:var(--text-body); padding:8px 0 8px 28px; position:relative; }
.blog-content ul li::before { content:''; position:absolute; left:0; top:18px; width:8px; height:8px; border-radius:50%; background:var(--coral); opacity:.4; }
.blog-content ol { counter-reset:ol-counter; }
.blog-content ol li { counter-increment:ol-counter; }
.blog-content ol li::before { content:counter(ol-counter) '.'; position:absolute; left:0; top:8px; font-family:var(--font-display); font-weight:700; font-size:14px; color:var(--coral); }
.blog-content blockquote { font-size:20px; font-weight:600; color:var(--text); padding:24px 0 24px 24px; border-left:3px solid var(--coral); margin:40px 0; line-height:1.5; }
.blog-cta { margin-top:64px; padding:48px; border-radius:24px; background:var(--bg-cream); border:1px solid rgba(26,22,18,0.06); position:relative; overflow:hidden; }
.blog-cta__text { font-size:18px; color:var(--text-secondary); line-height:1.7; max-width:500px; margin-bottom:24px; }
.blog-cta__text strong { color:var(--text); font-weight:600; }
.blog-sidebar { position:sticky; top:120px; }
.sidebar-toc { padding:32px; border-radius:20px; background:var(--off-white); border:1px solid var(--light); margin-bottom:24px; }
.sidebar-toc__title { font-family:var(--font-display); font-style:italic; font-size:16px; color:var(--coral); margin-bottom:20px; }
.sidebar-toc__list { list-style:none; }
.sidebar-toc__list li { margin-bottom:10px; }
.sidebar-toc__list a { font-size:14px; color:var(--text-secondary); text-decoration:none; transition:all .3s; display:block; line-height:1.5; }
.sidebar-toc__list a:hover { color:var(--text); padding-left:8px; }
.sidebar-related { padding:32px; border-radius:20px; background:var(--text); }
.sidebar-related__title { font-family:var(--font-display); font-style:italic; font-size:16px; color:var(--coral); margin-bottom:20px; }
.sidebar-related__item { display:block; padding:14px 0; border-top:1px solid rgba(255,255,255,.06); text-decoration:none; }
.sidebar-related__item:first-of-type { border-top:none; }
.sidebar-related__item-title { font-size:14px; font-weight:600; color:#fff; line-height:1.4; transition:color .3s; }
.sidebar-related__item:hover .sidebar-related__item-title { color:var(--coral); }

/* ==========================================
   SUSTAINABILITY
   ========================================== */
.sust-hero { padding:200px 0 100px; }
.sust-hero__title { font-family:var(--font-display); font-weight:700; font-size:clamp(32px,5vw,60px); line-height:1.1; color:var(--text); max-width:800px; margin-bottom:24px; }
.sust-hero__title em { font-style:italic; color:var(--coral); }
.sust-hero__sub { font-size:17px; color:var(--text-body); line-height:1.8; max-width:600px; }
.sust-hero .section-label { color:var(--coral); }

.sust-stat { padding:120px 0; text-align:center; position:relative; overflow:hidden; }
.sust-stat__number { font-family:var(--font-display); font-size:clamp(80px,12vw,180px); font-weight:700; color:var(--text); letter-spacing:-6px; line-height:.85; position:relative; }
.sust-stat__detail { font-family:var(--font-display); font-size:14px; font-weight:600; letter-spacing:6px; text-transform:uppercase; color:var(--text); margin-top:16px; position:relative; }
.sust-stat__text { font-size:18px; color:var(--text-secondary); line-height:1.6; max-width:520px; margin:36px auto 0; position:relative; }
.sust-stat__source { font-family:var(--font-display); font-style:italic; font-size:13px; color:var(--text-light); margin-top:32px; position:relative; }

.sust-gaps { padding:120px 0; background:var(--text); }
.sust-gaps__title { font-family:var(--font-display); font-weight:700; font-size:clamp(28px,4vw,48px); line-height:1.05; color:#fff; margin-bottom:56px; }
.sust-gaps__title em { font-style:italic; color:var(--coral); }
.sust-gaps .section-label { color:var(--coral); }
.sust-gap { padding:28px 0; border-top:1px solid rgba(255,255,255,.06); display:grid; grid-template-columns:64px 1fr; gap:4px 20px; align-items:start; }
.sust-gap:last-child { border-bottom:1px solid rgba(255,255,255,.06); }
.sust-gap__number { font-family:var(--font-display); font-size:36px; font-weight:700; color:rgba(255,255,255,.08); line-height:1; }
.sust-gap__name { font-family:var(--font-display); font-size:20px; font-weight:600; color:#fff; margin-bottom:4px; }
.sust-gap__text { font-size:15px; color:#666; line-height:1.6; }

.sust-impact { padding:120px 0; background:var(--coral); }
.sust-impact__inner { text-align:center; }
.sust-impact__number { font-family:var(--font-display); font-size:clamp(80px,12vw,180px); font-weight:700; color:#fff; letter-spacing:-6px; line-height:.85; margin-bottom:12px; }
.sust-impact__detail { font-family:var(--font-display); font-size:14px; font-weight:600; letter-spacing:6px; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:36px; }
.sust-impact__text { font-size:20px; color:rgba(255,255,255,.7); line-height:1.6; max-width:520px; margin:0 auto; }
.sust-impact__text strong { font-weight:700; color:#fff; }
.sust-impact__source { font-family:var(--font-display); font-style:italic; font-size:13px; color:rgba(255,255,255,.3); margin-top:32px; }

.sust-response { padding:120px 0; }
.sust-response .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.sust-response h2 { font-family:var(--font-display); font-weight:700; font-size:clamp(28px,3.5vw,40px); line-height:1.1; color:var(--text); }
.sust-response h2 em { font-style:italic; color:var(--coral); }
.sust-response__right p { font-size:16px; color:var(--text-body); line-height:1.9; margin-bottom:20px; }
.sust-response__right a, .sust-gap__text a, .sust-stat__source a { color:var(--coral); text-decoration:underline; text-decoration-color:rgba(255,26,13,.3); text-underline-offset:3px; transition:text-decoration-color .3s; }
.sust-response__right a:hover, .sust-gap__text a:hover, .sust-stat__source a:hover { text-decoration-color:var(--coral); }

.sust-values { padding:120px 0; background:var(--text); }
.sust-values .section-label { color:var(--coral); margin-bottom:40px; }
.sust-values__grid { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.sust-value { padding:36px 40px; border:1px solid rgba(255,255,255,.04); }
.sust-value__name { font-family:var(--font-display); font-size:20px; font-weight:600; color:#fff; margin-bottom:8px; }
.sust-value__text { font-size:15px; color:#666; line-height:1.7; }

@media (max-width:1024px) {
  .sust-response .container { grid-template-columns:1fr; gap:40px; }
  .sust-values__grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .sust-hero { padding:160px 0 80px; }
  .sust-gap { grid-template-columns:1fr; }
  .sust-gap__number { font-size:24px; margin-bottom:8px; }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid rgba(26, 22, 18, 0.06);
  padding: clamp(56px, 8vw, 96px) 0 36px;
}
.footer .container { max-width:1240px; margin:0 auto; padding:0 clamp(24px, 5vw, 72px); }
.footer__grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:clamp(36px, 5vw, 72px); margin-bottom:56px; }
.footer__wordmark-svg {
  height: 20px;
  width: auto;
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
.footer__wordmark-img {
  height: 18px;
  width: auto;
  min-width: 70px;
  object-fit: contain;
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
.footer__wordmark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.footer__wordmark span { color: var(--text); }
.footer__tagline { font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--text-muted); margin-bottom:14px; }
.footer__desc { font-size:14px; color:var(--text-secondary); line-height:1.8; }
.footer__heading { font-family:var(--font-body); font-size:11px; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--text-muted); margin-bottom:22px; }
.footer__links { list-style:none; }
.footer__links li { margin-bottom:12px; }
.footer__links a { font-size:14px; color:var(--text-secondary); text-decoration:none; transition:color .3s; }
.footer__links a:hover { color:var(--coral); }
.footer__bottom { padding-top:28px; border-top:1px solid rgba(26, 22, 18, 0.06); font-size:13px; color:var(--text-muted); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer__logo { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer__location { display:flex; align-items:center; gap:6px; }

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in { opacity:0; -webkit-transform:translateY(28px); transform:translateY(28px); -webkit-transition:opacity .9s cubic-bezier(.16,1,.3,1), -webkit-transform .9s cubic-bezier(.16,1,.3,1); transition:opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.fade-in.visible { opacity:1; -webkit-transform:translateY(0); transform:translateY(0); }

.fade-in-left { opacity:0; -webkit-transform:translateX(-50px); transform:translateX(-50px); -webkit-transition:opacity .9s cubic-bezier(.16,1,.3,1), -webkit-transform .9s cubic-bezier(.16,1,.3,1); transition:opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.fade-in-left.visible { opacity:1; -webkit-transform:translateX(0); transform:translateX(0); }

.fade-in-right { opacity:0; -webkit-transform:translateX(50px); transform:translateX(50px); -webkit-transition:opacity .9s cubic-bezier(.16,1,.3,1), -webkit-transform .9s cubic-bezier(.16,1,.3,1); transition:opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.fade-in-right.visible { opacity:1; -webkit-transform:translateX(0); transform:translateX(0); }

/* ==========================================
   VISUAL ENHANCEMENTS — v6
   ========================================== */

/* Gradient divider */
.gradient-divider { height:2px; background:var(--gradient-brand); opacity:.12; border:none; margin:0; }

/* Phoenix watermark */
.phoenix-watermark { position:absolute; width:clamp(300px,40vw,600px); height:auto; opacity:.025; pointer-events:none; z-index:0; }

/* Decorative orb */
.visual-orb { position:absolute; border-radius:50%; pointer-events:none; z-index:0; }

/* Dot grid pattern */
.dot-grid { position:absolute; top:0; right:0; bottom:0; left:0; background-image:radial-gradient(circle,rgba(26,22,18,0.04) 1px,transparent 1px); background-size:28px 28px; pointer-events:none; opacity:.5; }
.dot-grid--right { left:50%; }
.dot-grid--light { opacity:.3; }

/* Enhanced section label with gradient line prefix */
.section-label { display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center; gap:12px; }
.section-label::before { content:''; width:24px; height:2px; background:var(--gradient-brand); border-radius:1px; -webkit-flex-shrink:0; flex-shrink:0; }

/* Enhanced philosophy highlight — styled quote */
.philosophy__highlight {
  position:relative;
  font-family:var(--font-display);
  font-weight:500;
  font-size:22px;
  color:var(--text);
  padding:32px 32px 32px 36px;
  margin:36px 0;
  line-height:1.4;
  background:linear-gradient(135deg,rgba(255,26,13,0.03) 0%,rgba(255,208,85,0.02) 100%);
  border-radius:12px;
  border-left:4px solid var(--flame-red);
}
.philosophy__highlight::before {
  content:'\201C';
  position:absolute;
  top:-8px; left:12px;
  font-family:var(--font-display);
  font-size:72px;
  font-weight:700;
  background:var(--gradient-brand-text);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  opacity:.15;
  line-height:1;
}

/* Service icon pill */
.svc-icon-pill {
  width:48px; height:48px;
  display:-webkit-flex; display:flex;
  -webkit-align-items:center; align-items:center;
  -webkit-justify-content:center; justify-content:center;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(255,26,13,0.06) 0%,rgba(255,208,85,0.04) 100%);
  color:var(--ember-orange);
  margin-bottom:20px;
  -webkit-transition:all .3s; transition:all .3s;
}
.svc-icon-pill svg { width:24px; height:24px; }
.service-item:hover .svc-icon-pill, .service-detail:hover .svc-icon-pill { background:linear-gradient(135deg,rgba(255,26,13,0.1) 0%,rgba(255,208,85,0.08) 100%); color:var(--flame-red); }

/* Partner card browser mockup */
.pcard-preview {
  height:180px;
  background:var(--bg-warm);
  position:relative;
  overflow:hidden;
  display:-webkit-flex; display:flex;
  -webkit-align-items:center; align-items:center;
  -webkit-justify-content:center; justify-content:center;
  border-radius:20px 20px 0 0;
}
.pcard-preview::before { content:''; position:absolute; top:0;left:0;right:0;bottom:0; background:linear-gradient(135deg,rgba(255,26,13,0.03) 0%,rgba(255,208,85,0.02) 100%); }
.pcard-browser { width:85%; height:120px; background:#fff; border-radius:8px 8px 0 0; position:relative; z-index:1; box-shadow:0 4px 20px rgba(0,0,0,0.06); margin-top:30px; }
.pcard-browser__dots { display:flex; gap:6px; padding:10px 14px; }
.pcard-browser__dots span { width:8px; height:8px; border-radius:50%; background:var(--light); }
.pcard-browser__url { margin:0 14px; padding:6px 12px; background:var(--bg-warm); border-radius:4px; font-size:10px; color:var(--text-muted); letter-spacing:.5px; }

/* Enhanced CTA section — with mesh and watermark */
.cta-section { position:relative; overflow:hidden; }
.cta-section .cta-mesh-1 { position:absolute; top:-20%;left:-10%; width:600px;height:600px; background:radial-gradient(circle,rgba(255,26,13,0.05) 0%,transparent 60%); pointer-events:none; }
.cta-section .cta-mesh-2 { position:absolute; bottom:-20%;right:-10%; width:500px;height:500px; background:radial-gradient(circle,rgba(255,208,85,0.06) 0%,transparent 60%); pointer-events:none; }
.cta-section .cta-phoenix { position:absolute; left:50%;top:50%; -webkit-transform:translate(-50%,-50%); transform:translate(-50%,-50%); width:300px; opacity:.025; pointer-events:none; }

/* Enhanced page-hero with orb */
.page-hero { position:relative; overflow:hidden; }
.page-hero .visual-orb { top:-15%; right:-10%; width:500px; height:500px; background:radial-gradient(ellipse,rgba(255,208,85,0.1) 0%,rgba(255,110,5,0.04) 40%,transparent 70%); }

/* Enhanced founder section */
.founder__quote {
  position:relative;
  padding:32px;
  background:linear-gradient(135deg,rgba(255,26,13,0.02) 0%,rgba(255,208,85,0.015) 100%);
  border-radius:16px;
  border:1px solid rgba(26,22,18,0.04);
}
.founder__quote::before {
  content:'\201C';
  position:absolute;
  top:4px; left:16px;
  font-family:var(--font-display);
  font-size:64px;
  font-weight:700;
  background:var(--gradient-brand-text);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  opacity:.12;
  line-height:1;
}

/* Value cards with gradient accent */
.value-card { position:relative; overflow:hidden; }
.value-card::before { content:''; position:absolute; top:0;left:0; width:3px;height:100%; background:var(--gradient-brand); opacity:0; -webkit-transition:opacity .3s; transition:opacity .3s; border-radius:0 2px 2px 0; }
.value-card:hover::before { opacity:1; }

/* Enhanced contact section */
.contact-section { position:relative; overflow:hidden; }
.contact-section .visual-orb--contact { top:10%; right:-5%; width:500px; height:500px; background:radial-gradient(ellipse,rgba(255,208,85,0.08) 0%,transparent 60%); }

/* Case study enhanced meta */
.cs-meta { position:relative; }
.cs-meta::before { content:''; position:absolute; top:0;left:0;right:0; height:2px; background:var(--gradient-brand); opacity:.1; }

/* Enhanced blog CTA */
.blog-cta { position:relative; overflow:hidden; }
.blog-cta::before { content:''; position:absolute; top:-30%;right:-20%; width:300px;height:300px; background:radial-gradient(circle,rgba(255,26,13,0.08) 0%,transparent 60%); pointer-events:none; }

/* Service detail enhanced */
.service-detail { position:relative; overflow:hidden; }
.service-detail .visual-orb--svc { position:absolute; top:20%; right:-10%; width:400px; height:400px; background:radial-gradient(ellipse,rgba(255,208,85,0.05) 0%,transparent 60%); pointer-events:none; }
.service-detail__meta { position:relative; }
.service-detail__meta::before { content:''; position:absolute; top:0;left:0; width:3px;height:100%; background:var(--gradient-brand); border-radius:2px; opacity:.5; }
.service-detail__meta { padding-left:20px; border-left:none; }

/* 404 enhanced */
.error-404 { position:relative; overflow:hidden; }
.error-404 .visual-orb { top:20%;left:50%; -webkit-transform:translateX(-50%); transform:translateX(-50%); width:600px;height:600px; background:radial-gradient(circle,rgba(255,208,85,0.06) 0%,transparent 60%); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width:1024px) {
  .philosophy .container, .about-story .container, .about-howwework .container, .cs-section .container { grid-template-columns:1fr; gap:40px; }
  .philosophy__left { position:static; }
  .services__grid { grid-template-columns:1fr; }
  .service-item--wide { grid-template-columns:1fr; }
  .work__grid { grid-template-columns:1fr; }
  .blog-body .container { grid-template-columns:1fr; gap:48px; }
  .blog-sidebar { position:static; }
  .case-study-card { grid-template-columns:1fr; }
  .case-study-card__image { min-height:240px; }
}

@media (max-width:900px) {
  .hero__inner { grid-template-columns:1fr; text-align:center; }
  .hero__sub { margin-left:auto; margin-right:auto; }
  .hero-actions, .hero .btn-group { -webkit-justify-content:center; justify-content:center; }
  .hero__tag { -webkit-justify-content:center; justify-content:center; }
  .hero__visual { -webkit-order:-1; order:-1; margin-bottom:16px; }
  .hero__phoenix-wrapper { width:160px; height:160px; }
}

@media (max-width:768px) {
  .main-nav__links, .main-nav .nav-cta { display:none; }
  .menu-toggle { display:block; }
  .brand__wordmark-img { height:18px !important; min-width:70px; display:block !important; }
  .brand__wordmark-svg { height:18px !important; }
  .brand__phoenix { width:36px !important; height:36px !important; }
  .brand { gap:10px; }
  .hero { padding-top:100px; min-height:auto; padding-bottom:60px; }
  /* Ensure hero content is always visible on mobile */
  .hero-anim { opacity:1; -webkit-transform:none; transform:none; }
  .hero-line { opacity:1; -webkit-transform:none; transform:none; -webkit-animation:none; animation:none; }
  .hero__tag { opacity:1; -webkit-transform:none; transform:none; -webkit-animation:none; animation:none; }
  .page-hero { padding:160px 0 60px; }
  .page-hero__title { font-size:32px; }
  .partners-strip .container { flex-direction:column; gap:16px; align-items:flex-start; }
  .about-values__grid { grid-template-columns:1fr; }
  .contact-section .container { grid-template-columns:1fr; gap:40px; }
  .cs-meta { grid-template-columns:1fr; }
  .cs-meta__item + .cs-meta__item { padding-left:0; border-left:none; border-top:1px solid var(--light); padding-top:20px; }
  .cs-hero__title { font-size:48px; letter-spacing:-1px; }
  .footer__grid { grid-template-columns:1fr; gap:40px; }
  .footer__bottom { text-align:center; flex-direction:column; }
  .blog-grid { grid-template-columns:1fr; }
  .loading-wordmark-img { height:22px; min-width:70px; }
  .loading-wordmark-svg { height:24px; }
  .footer__wordmark-img { height:16px !important; min-width:60px; display:block !important; }
  .footer__wordmark-svg { height:16px !important; }
}
