/* ============================================================
   TAMARA ASHWORTH — DESIGN SYSTEM
   Layout: Justin Welsh · Palette: Berolzheimer warm editorial
   ============================================================ */

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

:root {
  /* Core palette — warm editorial (Berolzheimer-inspired) */
  --bg:              #FBFAF3;
  --bg-alt:          #F2EDE0;
  --bg-warm:         #EDE5D4;
  --bg-dark:         #253028;
  --bg-dark-alt:     #2D3B30;

  --ink:             #1A1A18;
  --ink-muted:       #5A5750;
  --ink-faint:       #9A9690;

  /* Accent palette */
  --sage:            #7A9B7E;
  --sage-light:      #B2CCBC;
  --sage-dark:       #4A6A50;

  --terracotta:      #B8694A;
  --terracotta-light:#D4956E;
  --terracotta-pale: #F0DDD4;

  --mauve:           #B4818B;
  --mauve-pale:      #EDD8DC;

  --gold:            #b9a13a;
  --gold-pale:       #F0E6CA;

  --teal:            #7AAAA4;
  --teal-pale:       #D0E5E3;

  --border:          #E2DDD4;
  --border-warm:     #D8D0C0;
  --border-dark:     #3A4D3D;

  --white:           #FFFFFF;

  /* Typography */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }


/* === TYPOGRAPHY === */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
}

em {
  font-style: italic;
  color: var(--terracotta);
}

.em--warm { color: var(--gold) !important; }

p { color: var(--ink-muted); font-size: 1.0625rem; }


/* === LAYOUT === */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow { max-width: 960px; }


/* === SECTION CHROME === */

.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.section-label--light { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.section-title--light { color: var(--white); }


/* === BUTTONS === */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: #B87355;
  color: var(--bg);
  border-color: #B87355;
}
.btn--primary:hover {
  background: #a3654b;
  border-color: #a3654b;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(184,115,85,0.35);
}

/* Shimmer effect */
.btn--shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s var(--ease);
}
.btn--shimmer:hover::after { left: 160%; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-warm);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-alt);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-1px);
}

.btn--full { width: 100%; justify-content: center; }

.link-arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  transition: gap 0.2s var(--ease), color 0.2s;
}
.link-arrow:hover { color: var(--ink); gap: 0.5em; }


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--teal));
  z-index: 200;
  transition: width 0.1s linear;
}


/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-lg);
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: #5C7A4A; }

.nav__cta {
  font-weight: 500 !important;
  color: #5C7A4A !important;
  background: var(--bg-alt);
  border: 1px solid #5C7A4A;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s !important;
}
.nav__cta:hover {
  background: #5C7A4A !important;
  color: var(--bg) !important;
  border-color: #5C7A4A !important;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border);
  gap: var(--space-sm);
  background: var(--bg);
}
.nav__mobile-menu a {
  font-size: 1.05rem;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile-menu a:last-child {
  border-bottom: none;
  font-weight: 600;
  color: var(--terracotta);
}
.nav__mobile-menu.is-open { display: flex; }


/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: calc(100vh - 68px);
  max-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating ambient orbs */
.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
}

.orb--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--terracotta-pale), transparent 70%);
  top: -120px; right: -100px;
  animation: drift1 18s ease-in-out infinite;
}

.orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--teal-pale), transparent 70%);
  bottom: -80px; left: -60px;
  animation: drift2 22s ease-in-out infinite;
}

.orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-pale), transparent 70%);
  top: 30%; left: 15%;
  animation: drift3 16s ease-in-out infinite;
}

.orb--4 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--mauve-pale), transparent 70%);
  bottom: 20%; right: 12%;
  animation: drift1 20s ease-in-out infinite reverse;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.06); }
  66%  { transform: translate(-20px, 20px) scale(0.97); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-35px, 25px) scale(1.04); }
  75%  { transform: translate(20px, -15px) scale(0.98); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50%  { transform: translate(40px, -30px); }
}

.hero__content { position: relative; z-index: 1; }

/* Floating widget */
.hero__widget {
  position: absolute;
  bottom: var(--space-2xl);
  right: clamp(var(--space-md), 6vw, var(--space-2xl));
  background: rgba(251,250,243,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 1;
  animation: widgetFloat 4s ease-in-out infinite;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

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

.widget-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.widget-dot--active {
  background: #5AB882;
  box-shadow: 0 0 0 3px rgba(90,184,130,0.25);
  animation: widgetPulse 2s ease-in-out infinite;
}
@keyframes widgetPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(90,184,130,0.25); }
  50%  { box-shadow: 0 0 0 6px rgba(90,184,130,0.1); }
}

.widget-lines { display: flex; flex-direction: column; gap: 4px; }
.widget-line {
  height: 2px;
  border-radius: 2px;
  background: var(--border-warm);
  animation: widgetScan 2.5s ease-in-out infinite;
}
.widget-line--short  { width: 28px; }
.widget-line--medium { width: 44px; animation-delay: 0.3s; }
.widget-line--long   { width: 56px; animation-delay: 0.6s; }

@keyframes widgetScan {
  0%, 100% { opacity: 0.4; }
  50%  { opacity: 1; background: var(--teal); }
}

.widget-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Eyebrow with pulse dot */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5C7A4A;
  margin-bottom: var(--space-md);
}

.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5C7A4A;
  flex-shrink: 0;
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92,122,74,0.5); opacity: 1; }
  50%  { box-shadow: 0 0 0 5px rgba(92,122,74,0); opacity: 0.8; }
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.hero__headline em { color: #5C7A4A; }

.hero__sub {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-faint);
  font-size: 1.1rem;
  z-index: 1;
  animation: bounce 2s infinite;
  /* hide if viewport is too short to avoid overflow */
}
@media (max-height: 680px) { .hero__scroll-indicator { display: none; } }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(7px); }
}


/* ============================================================
   STATS STRIP
   ============================================================ */

.stats-strip {
  background: #1E2E1A;
  padding: var(--space-xl) 0;
  border-top: 1px solid #253A20;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #344D2E;
  border: 1px solid #344D2E;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  background: #253A20;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  transition: background 0.2s;
}
.stat-item:hover { background: #2C4426; }

/* Badge variant */
.stat-item--badge { padding: var(--space-lg) var(--space-md); }

.stat-badge-icon {
  font-size: 1.75rem;
  color: #D4956E;
  margin-bottom: 0.75rem;
}

.stat-badge-label {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.stat-badge-sub {
  font-size: 0.85rem;
  color: #C2D0B8;
  line-height: 1.45;
}

/* Keep old num styles in case used elsewhere */
.stat-item__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
  margin-bottom: 0.4rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-suffix {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: #b9a13a;
}
.stat-item__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}


/* ============================================================
   PILLARS
   ============================================================ */

.pillars {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.pillars .section-title { margin-bottom: var(--space-xl); }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-warm);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pillar {
  background: var(--bg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* Color glow on hover */
.pillar__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.pillar--ai   .pillar__glow { background: radial-gradient(ellipse at 50% 0%, var(--terracotta-pale) 0%, transparent 70%); }
.pillar--flow .pillar__glow { background: radial-gradient(ellipse at 50% 0%, var(--teal-pale) 0%, transparent 70%); }
.pillar--ownership .pillar__glow { background: radial-gradient(ellipse at 50% 0%, var(--gold-pale) 0%, transparent 70%); }
.pillar:hover .pillar__glow { opacity: 1; }

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  z-index: 1;
}

.pillar__icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}
.pillar--ai         .pillar__icon { color: var(--terracotta); }
.pillar--flow       .pillar__icon { color: var(--teal); }
.pillar--ownership  .pillar__icon { color: var(--gold); }

.pillar__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.pillar__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.pillar__link {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: color 0.2s, gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}
.pillar--ai        .pillar__link { color: var(--terracotta); }
.pillar--flow      .pillar__link { color: var(--teal); }
.pillar--ownership .pillar__link { color: var(--gold); }
.pillar__link:hover { color: var(--ink); gap: 0.5em; }


/* ============================================================
   WORK
   ============================================================ */

.work {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
}

.work__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.work__intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.services { display: flex; flex-direction: column; }

.service {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  border-radius: var(--radius-sm);
}
.service:first-child { border-top: 1px solid var(--border); }
.service:hover { background: var(--bg-alt); padding-left: var(--space-sm); }

.service__num {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.05em;
  min-width: 32px;
  padding-top: 3px;
}

.service__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.service__desc { font-size: 0.9375rem; line-height: 1.6; }

/* Sidebar */
.work__sidebar {
  position: sticky;
  top: calc(68px + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Animated gradient border on primary sidebar card */
.sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
}

.sidebar-card--glow {
  background: var(--bg);
  border: none;
  padding: calc(var(--space-lg) + 1px);
}
.sidebar-card--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--terracotta), var(--gold), var(--teal), var(--terracotta));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientBorder 5s ease infinite;
}
@keyframes gradientBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sidebar-card--alt { background: var(--bg); }

.sidebar-card--photo {
  padding: 0;
  overflow: hidden;
  border: none;
  background: none;
}
.sidebar-card__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.sidebar-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-xs);
}

.sidebar-card__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.sidebar-card__body {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}


/* ============================================================
   FLOWSYSTEM
   ============================================================ */

.flowsystem {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

/* Dot grid background */
.flowsystem__grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Ambient color glow */
.flowsystem__ambient {
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(196,164,90,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
  animation: ambientDrift 12s ease-in-out infinite;
}
@keyframes ambientDrift {
  0%, 100% { transform: translate(0,0); }
  50%  { transform: translate(-60px, 40px); }
}

.flowsystem__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.flowsystem__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: var(--space-2xl);
}

.flowsystem__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.flow-feature {
  background: var(--bg-dark-alt);
  padding: var(--space-xl) var(--space-lg);
  transition: background 0.25s var(--ease);
  position: relative;
}
.flow-feature::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transition: width 0.4s var(--ease);
}
.flow-feature:hover { background: #354840; }
.flow-feature:hover::after { width: 100%; }

.flow-feature__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* Live pulse indicator */
.flow-feature__pulse {
  position: relative;
  width: 12px; height: 12px;
  flex-shrink: 0;
}
.pulse-core {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--gold);
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.flow-feature__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.flow-feature__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.flow-feature__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196,164,90,0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.flowsystem__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.flowsystem__cta-note {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.3);
}


/* ============================================================
   THE PATH ROADMAP
   ============================================================ */

.path {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
}

.path__intro {
  font-size: 1.0625rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.roadmap { display: flex; flex-direction: column; }

.roadmap__item {
  display: flex;
  gap: var(--space-lg);
  padding-bottom: var(--space-2xl);
}
.roadmap__item--last .roadmap__stage { padding-bottom: 0; }

.roadmap__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.roadmap__num {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-warm);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--terracotta);
  background: var(--bg);
  flex-shrink: 0;
  letter-spacing: 0.05em;
  transition: background 0.3s, border-color 0.3s;
}
.roadmap__item:hover .roadmap__num {
  background: var(--terracotta-pale);
  border-color: var(--terracotta);
}

.roadmap__connector {
  flex: 1;
  width: 1px;
  background: var(--border);
  margin: var(--space-sm) 0;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}
.roadmap__connector-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--terracotta), var(--gold));
  transition: height 0.8s var(--ease);
}
.roadmap__item.is-visible .roadmap__connector-fill { height: 100%; }

.roadmap__content { padding-top: 10px; }

.roadmap__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.roadmap__sub {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.roadmap__desc {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: var(--space-md);
}

.roadmap__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  display: inline-block;
  font-size: 0.7875rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tag:hover {
  background: var(--terracotta-pale);
  border-color: var(--terracotta);
  color: var(--terracotta);
}


/* ============================================================
   ABOUT
   ============================================================ */

.about {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.about__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--terracotta-pale), var(--mauve-pale), var(--teal-pale));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
}
.about__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.about__image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,26,24,0.08));
}

.about__social {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

.social-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(26,26,24,0.06);
  border: 1px solid rgba(26,26,24,0.12);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.social-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
  background: var(--terracotta-pale);
}

.about__content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  max-width: 560px;
}

.about__quote {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 1.3rem !important;
  color: var(--ink) !important;
  border-left: 3px solid var(--terracotta);
  padding-left: var(--space-md);
  margin: var(--space-xl) 0 !important;
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
}

.contact__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.contact__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  border: 3px solid var(--border-warm);
}

.contact__sub {
  font-size: 1.0625rem;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 0;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-faint); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184,105,74,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form__note { font-size: 0.875rem; text-align: center; color: var(--ink-faint); }
.form__note a { color: var(--terracotta); font-weight: 500; }
.form__note a:hover { color: var(--ink); }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: 0;
}

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.contact-card--hero {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-sm);
}
.contact-card__hero-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.contact-card__hero-body {
  flex: 1;
  min-width: 0;
}
.contact-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.contact-card:hover {
  border-color: var(--terracotta);
  transform: translateX(3px);
}

.contact-card h4 { margin-bottom: 0.35rem; color: var(--ink); font-size: 0.95rem; }
.contact-card p { font-size: 0.85rem; line-height: 1.5; margin-bottom: var(--space-xs); }


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-2xl);
  align-items: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: var(--space-md);
}

.footer__name {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer__tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}

.footer__links, .footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__links a, .footer__social a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer__links a:hover, .footer__social a:hover { color: var(--white); }

.footer__bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.2); }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .work__layout { grid-template-columns: 1fr; }
  .work__sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1; min-width: 240px; }

  .about__layout { grid-template-columns: 1fr; }
  .about__image-placeholder { aspect-ratio: 16/9; max-width: 400px; }

  .contact__header { flex-direction: column; align-items: center; text-align: center; }
  .contact__sub { margin-left: auto; margin-right: auto; }
  .contact__layout { grid-template-columns: 1fr; }
  .contact__info { padding-top: 0; }
  .contact-card__row { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .footer__brand { grid-column: 1 / -1; }

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

  .hero__widget { display: none; }
}

@media (max-width: 720px) {
  :root { --space-2xl: 4rem; --space-3xl: 6rem; }

  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }

  .pillars__grid { grid-template-columns: 1fr; }
  .flowsystem__features { grid-template-columns: 1fr; }

  .hero__headline { font-size: clamp(2.5rem, 10vw, 4rem); }
}

@media (max-width: 520px) {
  .container { padding: 0 var(--space-md); }
  .hero { min-height: calc(100vh - 68px); padding: var(--space-lg) 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card__row { grid-template-columns: 1fr; }
  .contact-card--hero { flex-direction: row; }
}


/* ============================================================
   UTILITY / SCROLL ANIMATIONS
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
