/* ==========================================================================
   TALES & TONE — High-End Editorial Design System
   Dharsi Chauhan — Freelance Writer & Brand Voice Studio
   ========================================================================== */

:root {
  /* Color Palette: Warm Linen, Deep Ink, Terracotta & Sage */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F3EFE9;
  --bg-card: #FFFFFF;
  --bg-dark: #141518;
  --bg-dark-surface: #1E2024;

  --text-primary: #18191C;
  --text-secondary: #4A4A48;
  --text-muted: #72706A;
  --text-light: #9C988F;
  --text-inverted: #F8F6F0;

  --accent: #B86B3E;          /* Warm Terracotta / Amber */
  --accent-hover: #9E562B;
  --accent-soft: #F7EEE7;
  --accent-border: #E8D3C4;

  --border-subtle: #E8E2D7;
  --border-card: #DFD8CD;
  --border-dark: #2C2F36;

  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-italic-accent: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 2.75rem;
  --space-2xl: 3.75rem;

  /* Container */
  --container-max: 1200px;
  --header-height: 64px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(24, 25, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 25, 28, 0.06);
  --shadow-lg: 0 16px 40px rgba(24, 25, 28, 0.08);
  --shadow-float: 0 12px 30px rgba(18, 140, 126, 0.3);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #FAF7F2;
  background-image: 
    radial-gradient(ellipse 70% 50% at 10% 8%, rgba(246, 230, 215, 0.75) 0%, transparent 60%),
    radial-gradient(ellipse 65% 45% at 90% 16%, rgba(240, 226, 210, 0.65) 0%, transparent 55%),
    radial-gradient(ellipse 75% 55% at 50% 50%, rgba(247, 241, 232, 0.5) 0%, transparent 65%),
    radial-gradient(ellipse 65% 50% at 85% 85%, rgba(242, 227, 214, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 15% 92%, rgba(232, 237, 230, 0.5) 0%, transparent 55%),
    radial-gradient(rgba(36, 28, 20, 0.038) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-attachment: fixed, fixed, fixed, fixed, fixed, scroll;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Bespoke Tactile Paper Grain Overlay (Authentic Print Studio Feel) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Selection */
::selection {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Utilities */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.italic-accent {
  font-family: var(--font-italic-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 600px;
}

.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.65rem;
}

.section-header-centered .section-desc {
  margin: 0 auto;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-lead-inline {
  font-size: 1.15rem;
  max-width: 480px;
  color: var(--text-secondary);
}

.section-center-action {
  text-align: center;
  margin-top: 1.65rem;
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 107, 62, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-card);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-outline-dark:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #fff;
  border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-secondary {
  background-color: transparent;
  color: var(--whatsapp-dark);
  border-color: #25D366;
}

.btn-whatsapp-secondary:hover {
  background-color: #E8F8EE;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 4px;
}

.editorial-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--accent);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.editorial-link:hover {
  color: var(--accent);
}

.editorial-link:hover::after {
  transform: scaleX(0.7);
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background-color: var(--bg-dark);
  color: #DDD;
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.announcement-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.announcement-mobile {
  display: none;
}

.announcement-desktop {
  display: inline;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
  display: inline-block;
  animation: pulseStatus 2.2s infinite;
}

@keyframes pulseStatus {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.announcement-link {
  color: #FFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.announcement-link:hover {
  color: var(--accent-border);
}

/* ==========================================================================
   SITE HEADER & NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--transition-fast);
}

.brand-lockup:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-monogram {
  width: 38px;
  height: 38px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
}

.brand-lockup:hover .brand-monogram {
  transform: scale(1.04);
  background-color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  font-family: var(--font-italic-accent);
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border-card);
  border-radius: 4px;
  padding: 6px;
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.mobile-drawer.open {
  visibility: visible;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 21, 24, 0.6);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 360px;
  height: 100%;
  background: var(--bg-primary);
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-primary);
  cursor: pointer;
}

.drawer-nav {
  margin-top: 2rem;
  flex-grow: 1;
}

.drawer-nav ul {
  list-style: none;
}

.drawer-nav li {
  margin-bottom: 1.25rem;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.drawer-link.active {
  color: var(--accent);
}

.drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.drawer-meta {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.drawer-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   PAGE VIEWS SYSTEM
   ========================================================================== */
.page-view {
  display: none;
  opacity: 0;
  animation: fadeInView 0.4s ease forwards;
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.page-view.active-view {
  display: block;
  opacity: 1;
}

@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-container {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.page-header {
  max-width: 820px;
  margin-bottom: 1.65rem;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}

.page-lead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero-section {
  padding: 1.85rem 0 2.35rem;
  background: radial-gradient(circle at 80% 20%, rgba(247, 238, 231, 0.8) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.badge-text-mobile {
  display: none;
}

.badge-text-desktop {
  display: inline;
}

.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  max-width: 950px;
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.hero-lead {
  font-size: clamp(1.18rem, 2.2vw, 1.45rem);
  color: var(--text-primary);
  max-width: 780px;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.hero-sublead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 1.65rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.85rem;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background-color: var(--border-subtle);
  margin: 0 auto;
}

/* ==========================================================================
   INTRODUCTION SECTION
   ========================================================================== */
.intro-section {
  padding: 2.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.intro-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2.35rem;
  align-items: center;
}

.editorial-card-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.85rem 1.65rem;
  box-shadow: var(--shadow-md);
}

.stamp-accent {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(184, 107, 62, 0.3);
}

.author-portrait-monogram {
  width: 72px;
  height: 72px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.author-portrait-emblem {
  width: 148px;
  height: 148px;
  background: var(--bg-card);
  border: 3.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 24px rgba(44, 39, 36, 0.16);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.author-portrait-emblem:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(184, 107, 62, 0.25);
}

.author-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  transform: scale(1.12);
  display: block;
  transition: transform 0.4s ease;
}

.author-portrait-emblem:hover .author-photo-img {
  transform: scale(1.18);
}

.author-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.author-card-name {
  font-size: 1.7rem;
  margin-bottom: 0.25rem;
}

.author-card-role {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.author-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  color: var(--text-secondary);
}

.quote-box {
  background: var(--bg-primary);
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1.1rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.25rem;
}

.quote-box p {
  font-family: var(--font-italic-accent);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.location-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.intro-narrative .prose p {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.intro-action {
  margin-top: 1.5rem;
}

/* ==========================================================================
   WHAT I DO / SERVICES OVERVIEW (HOME)
   ========================================================================== */
.what-i-do-section {
  padding: 2.35rem 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-teaser-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 1.85rem 1.65rem;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-teaser-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-corner-index {
  position: absolute;
  top: 1.5rem;
  right: 1.65rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
}

.service-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.15rem;
}

.service-teaser-title {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.service-teaser-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.teaser-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   SELECTED WORK SECTION (HOME)
   ========================================================================== */
.selected-work-section {
  padding: 2.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.featured-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.featured-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 1.85rem 1.65rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.featured-case-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.case-number {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.case-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  color: var(--text-secondary);
}

.case-title {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.case-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.view-project-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.featured-case-card:hover .view-project-link {
  color: var(--accent);
}

.case-industry {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   WHY TALES & TONE (HOME)
   ========================================================================== */
.why-section {
  padding: 2.35rem 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 1.75rem 1.45rem;
  transition: transform var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.pillar-title {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
}

.pillar-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CLOSING CTA BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 2.35rem 0;
}

.cta-banner-card {
  background: var(--bg-dark);
  color: var(--text-inverted);
  border-radius: 10px;
  padding: 2.65rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #D4A373, var(--accent));
}

.cta-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-border);
  margin-bottom: 0.85rem;
}

.cta-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #FFF;
  margin-bottom: 0.65rem;
}

.cta-subheadline {
  font-family: var(--font-italic-accent);
  font-style: italic;
  font-size: 1.35rem;
  color: #CCC;
  margin-bottom: 1.75rem;
}

.cta-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-btn-wrap .btn-primary {
  background-color: #FFF;
  color: var(--bg-dark);
  border-color: #FFF;
}

.cta-btn-wrap .btn-primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFF;
}

.cta-btn-wrap .btn-whatsapp-secondary {
  color: #25D366;
  border-color: #25D366;
}

.cta-btn-wrap .btn-whatsapp-secondary:hover {
  background-color: rgba(37, 211, 102, 0.15);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  margin-bottom: 2.25rem;
  align-items: start;
}

.about-main-text .prose p {
  font-size: 1.2rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
  color: var(--text-primary);
}

.dropcap-p::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 4px;
  color: var(--accent);
  font-weight: 700;
}

.about-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* About Page Author Showcase */
.about-author-showcase {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.about-portrait-frame {
  position: relative;
  width: 100%;
  height: 310px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  background-color: var(--bg-secondary);
}

.about-author-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.5s ease;
}

.about-portrait-frame:hover .about-author-img {
  transform: scale(1.03);
}

.about-photo-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(24, 25, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.about-author-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.about-author-location {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.quick-facts-title {
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.quick-facts-list {
  list-style: none;
}

.quick-facts-list li {
  margin-bottom: 0.95rem;
}

.qf-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.qf-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-deepdive-section {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.25rem;
}

.experience-foundation-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 2.25rem 1.85rem;
}

.foundation-lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  max-width: 850px;
}

.learnings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.learning-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.learning-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.learning-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.learning-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.approach-section {
  margin-bottom: 2.25rem;
}

.three-pillars-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.pillar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 1.85rem 1.6rem;
  transition: transform var(--transition-smooth);
}

.pillar-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.pillar-box-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.pillar-box-header h3 {
  font-size: 1.8rem;
  margin: 0.4rem 0 0.75rem;
}

.pillar-box p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.industries-section {
  margin-bottom: 2.25rem;
}

.industry-tag-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.industry-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  margin-bottom: 0.5rem;
}

.chip-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.chip-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-closer-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.about-closer-content {
  max-width: 700px;
}

.closer-title {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.about-closer-content p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.closer-motto {
  font-family: var(--font-italic-accent);
  font-size: 1.15rem;
  color: var(--accent);
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.services-full-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.service-detail-row {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.85rem 1.65rem;
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 1.35rem;
  align-items: center;
  transition: all var(--transition-smooth);
}

.service-detail-row:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.service-row-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.service-row-title {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.service-row-subtitle {
  font-family: var(--font-italic-accent);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
  font-weight: 400;
}

.service-row-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  max-width: 720px;
}

.service-deliverables {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deliverable-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.deliverable-pill {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: var(--text-secondary);
}

.service-row-action {
  text-align: right;
}

.service-cta-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.service-cta-title {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.service-cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PORTFOLIO PAGE
   ========================================================================== */
.portfolio-intro-quote {
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.35rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
}

.portfolio-intro-quote p {
  font-family: var(--font-italic-accent);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.portfolio-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text-primary);
  color: #FFF;
  border-color: var(--text-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.85rem 1.65rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.project-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-tag {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.project-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}

.project-title {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.project-client-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.project-body-preview {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.meta-row {
  font-size: 0.92rem;
  line-height: 1.5;
}

.meta-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 0.35rem;
}

.meta-text {
  color: var(--text-secondary);
}

.project-card-action {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.view-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.portfolio-card:hover .view-project-btn {
  color: var(--accent);
}

.portfolio-closing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.portfolio-closing-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.portfolio-closing-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.portfolio-closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   EXPERIENCE PAGE
   ========================================================================== */
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.5rem;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
}

.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.marker-line {
  flex-grow: 1;
  width: 2px;
  background-color: var(--border-subtle);
  margin-top: 0.5rem;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.85rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.timeline-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1.5rem;
}

.timeline-company {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.timeline-location {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.timeline-badge {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  white-space: nowrap;
}

.timeline-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.timeline-areas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.area-tag {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.formats-showcase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.format-pill {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  color: var(--text-primary);
}

.experience-closer-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.closing-quote-phrase {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  color: var(--text-primary);
  max-width: 750px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.85rem;
  align-items: start;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.85rem 1.65rem;
  box-shadow: var(--shadow-sm);
}

.form-header {
  margin-bottom: 1.25rem;
}

.form-title {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.required {
  color: var(--accent);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: 4px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #FFF;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.form-toast {
  margin-top: 1.5rem;
  background: #EAF8EE;
  border: 1px solid #B8E4C4;
  border-radius: 6px;
  padding: 1rem 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.toast-content strong {
  display: block;
  color: #16532B;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.toast-content p {
  color: #2F6944;
  font-size: 0.88rem;
  margin: 0;
}

.direct-contact-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.direct-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.direct-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.direct-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.direct-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.contact-method-item:hover {
  border-color: var(--accent);
  background: #FFF;
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.cm-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.cm-icon.wa-icon {
  background: #E8F8EE;
  color: var(--whatsapp-green);
  border-color: #C8ECD4;
}

.cm-text {
  flex-grow: 1;
}

.cm-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.cm-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cm-arrow {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.contact-method-item:hover .cm-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.studio-badge-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.5rem 1.35rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-sizing: border-box;
  max-width: 100%;
}

.studio-badge-card > div:last-child {
  min-width: 0;
  flex: 1;
}

.badge-icon-pin {
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
}

.studio-badge-title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.studio-badge-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: normal;
}

.final-contact-cta {
  background: var(--bg-primary);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
}

.final-contact-cta .quote-text {
  font-family: var(--font-italic-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ==========================================================================
   PROJECT DETAILS MODAL
   ========================================================================== */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.project-modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 21, 24, 0.7);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 3rem 2.75rem;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.project-modal.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.modal-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.modal-client {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-title {
  font-size: 2.3rem;
  line-height: 1.15;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modal-section-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.modal-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.modal-copy-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 1.75rem;
  margin-top: 0.5rem;
}

.copy-box-header {
  margin-bottom: 1rem;
}

.copy-box-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.modal-copy-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: normal;
}

.modal-copy-text p {
  font-family: inherit;
  color: inherit;
  margin-bottom: 0.85rem;
}

.modal-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #DDD;
  padding: 2.75rem 0 1.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-logo-badge {
  background: #FAF8F5;
  border: 1px solid var(--border-card);
  border-radius: 4px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.footer-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.footer-brand .brand-monogram {
  background: var(--accent);
  color: #FFF;
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFF;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.footer-brand-sub {
  display: block;
  font-family: var(--font-italic-accent);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--accent-border);
  margin-bottom: 0.4rem;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: #AAA;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFF;
  margin-bottom: 0.75rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #AAA;
}

.footer-nav a:hover {
  color: #FFF;
  padding-left: 3px;
}

.footer-location-text {
  font-size: 0.85rem;
  color: #BBB;
  margin-bottom: 0.35rem;
}

.footer-phone-link,
.footer-email-link {
  display: block;
  font-size: 0.85rem;
  color: #AAA;
  margin-bottom: 0.35rem;
}

.footer-phone-link:hover,
.footer-email-link:hover {
  color: var(--accent-border);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
}

.footer-social-row a {
  color: #AAA;
}

.footer-social-row a:hover {
  color: #FFF;
}

.footer-social-row .sep {
  color: #555;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  font-size: 0.76rem;
  color: #888;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp-green);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  z-index: 90;
  transition: all var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  background-color: var(--whatsapp-dark);
}

.floating-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-dark);
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.floating-whatsapp-btn:hover .floating-tooltip {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-divider {
    display: none;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .editorial-card-frame {
    max-width: 480px;
  }
  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
  .three-pillars-cards {
    grid-template-columns: 1fr;
  }
  .industry-tag-cloud {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail-row {
    grid-template-columns: 60px 1fr;
  }
  .service-row-action {
    grid-column: 2;
    text-align: left;
    margin-top: 1rem;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 48px;
  }

  /* Ultra-Compact Top Announcement Bar */
  .announcement-bar {
    padding: 0.22rem 0.5rem;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .announcement-inner {
    gap: 0.35rem;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }

  .announcement-desktop {
    display: none;
  }

  .announcement-mobile {
    display: inline;
  }

  .status-indicator {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25);
  }

  /* Compact, Sleek Site Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-container {
    height: var(--header-height);
    padding: 0 0.85rem;
  }

  .brand-lockup {
    gap: 0.45rem;
  }

  .brand-logo-img {
    height: 28px;
    width: auto;
  }

  .brand-text {
    justify-content: center;
  }

  .brand-name {
    font-size: 0.96rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1;
  }

  /* Hide tagline on mobile to keep header single-row and slim */
  .brand-tagline {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    gap: 0.45rem;
  }

  /* Compact micro-CTA button on mobile */
  .site-header .header-actions .btn-outline-dark {
    display: inline-flex;
    padding: 0.24rem 0.6rem;
    font-size: 0.74rem;
    height: 29px;
    border-radius: 4px;
    gap: 0.25rem;
  }

  .site-header .header-actions .btn-outline-dark svg {
    width: 10px;
    height: 10px;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3.5px;
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all var(--transition-fast);
  }

  .mobile-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--accent);
  }

  .mobile-toggle .hamburger-bar {
    width: 15px;
    height: 1.5px;
    background-color: var(--text-primary);
    border-radius: 2px;
  }

  /* Mobile Drawer Polish */
  .drawer-panel {
    width: 85%;
    max-width: 320px;
    padding: 1.75rem 1.4rem;
  }

  .drawer-logo-img {
    height: 36px;
  }

  .drawer-link {
    font-size: 1.35rem;
    padding: 0.5rem 0;
  }

  /* Page Layout & Container Polish */
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .page-container {
    padding-top: 1.15rem;
    padding-bottom: 2rem;
  }

  .page-header {
    margin-bottom: 1.25rem;
  }

  .page-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
    margin-bottom: 0.65rem;
  }

  .page-lead {
    font-size: 0.98rem;
  }

  /* Hero Section — Minimal Whitespace & Sleek Mobile Badge */
  .hero-section {
    padding: 1rem 0 1.5rem;
  }

  .hero-editorial-badge {
    margin-bottom: 0.75rem;
    padding: 0.22rem 0.65rem;
    font-size: 0.72rem;
    white-space: nowrap;
    gap: 0.4rem;
  }

  .badge-text-desktop {
    display: none;
  }

  .badge-text-mobile {
    display: inline;
  }

  .badge-text {
    font-size: 0.72rem;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    margin-bottom: 0.65rem;
    line-height: 1.15;
  }

  .hero-lead {
    font-size: 0.96rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }

  .hero-sublead {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    padding: 1.25rem 1rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  /* Intro / About Section */
  .intro-section {
    padding: 2rem 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .editorial-card-frame {
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }

  .author-portrait-emblem {
    width: 130px;
    height: 130px;
    margin-bottom: 1.15rem;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
  }

  .section-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }

  .section-desc {
    font-size: 1rem;
  }

  /* Grids */
  .services-overview-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .featured-work-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .learnings-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .about-closer-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }

  .closer-title {
    font-size: 1.65rem;
  }

  /* Services Detail Rows */
  .services-full-list {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .service-detail-row {
    grid-template-columns: 1fr;
    padding: 1.45rem 1.15rem;
    gap: 1rem;
  }

  .service-row-number {
    font-size: 1.75rem;
  }

  .service-row-title {
    font-size: 1.55rem;
  }

  .service-row-subtitle {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
  }

  .service-row-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .service-row-action {
    grid-column: 1;
    text-align: left;
    margin-top: 0.35rem;
  }

  .service-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }

  .service-cta-title {
    font-size: 1.6rem;
  }

  /* Portfolio Filter */
  .portfolio-intro-quote {
    padding: 0.95rem 1.15rem;
    margin-bottom: 1.35rem;
  }

  .portfolio-intro-quote p {
    font-size: 1.05rem;
  }

  .portfolio-filter-bar {
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }

  .filter-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }

  /* Timeline / Experience */
  .timeline-entry {
    grid-template-columns: 20px 1fr;
    gap: 1rem;
  }

  .timeline-header-block {
    flex-direction: column;
    gap: 0.4rem;
  }

  /* Contact Page */
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.2rem;
  }

  .direct-contact-card {
    padding: 1.5rem 1.2rem;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .form-input {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  }

  /* Project Details Modal */
  .project-modal {
    padding: 1rem 0.75rem;
  }

  .modal-content {
    padding: 2.25rem 1.25rem 1.75rem;
    max-height: 90vh;
    border-radius: 8px;
  }

  .modal-close {
    top: 1rem;
    right: 1.1rem;
    font-size: 1.75rem;
  }

  .modal-title {
    font-size: 1.65rem;
  }

  .modal-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .modal-copy-box {
    padding: 1.25rem 1rem;
  }

  .modal-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .modal-footer .btn {
    width: 100%;
  }

  /* Compact Footer */
  .site-footer {
    padding: 1.75rem 0 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-logo-img {
    height: 28px;
  }

  .footer-brand-name {
    font-size: 1.05rem;
  }

  .footer-brand-desc {
    display: none;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
    align-items: center;
    padding-top: 1rem;
  }

  /* Floating WhatsApp Button */
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .floating-tooltip {
    display: none;
  }
}

/* Extra small mobile devices (<= 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 44px;
  }

  .announcement-bar {
    font-size: 0.68rem;
    padding: 0.2rem 0.4rem;
  }

  .header-container {
    padding: 0 0.65rem;
  }

  .brand-logo-img {
    height: 24px;
  }

  .brand-name {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
  }

  .brand-tagline {
    display: none;
  }

  .site-header .header-actions .btn-outline-dark {
    padding: 0.2rem 0.45rem;
    font-size: 0.68rem;
    height: 26px;
  }

  .site-header .header-actions .btn-outline-dark svg {
    display: none;
  }

  .mobile-toggle {
    width: 28px;
    height: 28px;
    padding: 4px;
    gap: 3px;
  }

  .mobile-toggle .hamburger-bar {
    width: 13px;
    height: 1.5px;
  }

  .hero-section {
    padding: 0.85rem 0 1.5rem;
  }

  .hero-editorial-badge {
    margin-bottom: 0.65rem;
    padding: 0.18rem 0.55rem;
    font-size: 0.68rem;
  }

  .author-portrait-emblem {
    width: 120px;
    height: 120px;
  }

  .hero-headline {
    font-size: 2.05rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: 1.25rem 1rem;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .industry-tag-cloud {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp-btn {
    bottom: 0.85rem;
    right: 0.85rem;
    width: 44px;
    height: 44px;
  }

  .site-footer {
    padding: 1.25rem 0 0.85rem;
  }

  .footer-top {
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .footer-bottom {
    padding-top: 0.75rem;
    font-size: 0.72rem;
  }
}

/* Very small mobile devices (<= 340px) */
@media (max-width: 340px) {
  .site-header .header-actions .btn-outline-dark {
    display: none;
  }
}
