/*
Theme Name: A Lynn Creative
Theme URI: https://alynncreative.com
Author: Audrey
Author URI: https://alynncreative.com
Description: Custom WordPress theme for A Lynn Creative — a fractional digital studio. Built with ACF Pro, Classic Editor, and Fluent Forms. Content fully editable via ACF field groups and three custom post types (Projects, Services, Testimonials).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alynn-creative
Tags: custom, fractional-studio, acf-pro, classic-editor, fluent-forms
*/


/* ============================================================
   A LYNN CREATIVE — Grovia-inspired warm minimal system
   ============================================================ */

:root {
  /* Backgrounds */
  --bg: #fcfbf8;
  --bg-soft: #f5efe3;
  --bg-tan: #ede2cc;
  --bg-card: #ffffff;

  /* Text */
  --ink: #1f1d1a;
  --body: #4a463f;
  --muted: #736a5c;

  /* Lines */
  --line: #e8e1d1;
  --line-soft: #f0e9d9;

  /* Accent — deep purple (primary) */
  --accent: #591b7d;
  --accent-hover: #3f1257;
  --accent-light: #e5d4b3;
  --accent-glow: rgba(89, 27, 125, 0.08);

  /* Supporting earth tones (used in project cards) */
  --sage: #8aa285;
  --terracotta: #c98768;
  --plum: #8a6779;
  --dusty-blue: #8a9aa8;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(31, 29, 26, 0.04);
  --shadow-sm: 0 2px 8px rgba(31, 29, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(31, 29, 26, 0.06);
  --shadow-lg: 0 20px 50px rgba(31, 29, 26, 0.08);
  --shadow-xl: 0 30px 80px rgba(31, 29, 26, 0.1);

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
}

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
header.scrolled {
  background: rgba(252, 251, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.brand .mark {
  background: var(--accent);
  color: var(--bg);
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.brand-text { font-weight: 500; }
.brand-text strong { font-weight: 700; }
.brand .script,
.footer-brand .script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.55em;
  color: var(--accent);
  line-height: 0.85;
  letter-spacing: -0.005em;
  margin-right: 0.06em;
  vertical-align: -0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease, left 0.25s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a:hover::after {
  width: 100%;
  left: 0;
}
.nav-links a.active {
  color: var(--accent);
}
.nav-links a.active::after {
  width: 100%;
  left: 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta,
.nav-icon-btn {
  height: 38px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta {
  padding: 0 0.95rem 0 0.85rem;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
}
.nav-icon-btn {
  width: 38px;
  flex-shrink: 0;
}
.nav-cta:hover,
.nav-icon-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.nav-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-icon-btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-accent {
  background: var(--accent);
  color: var(--bg);
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn .arrow {
  transition: transform 0.3s;
  font-size: 1rem;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============ HERO ============ */
.hero {
  padding: 9rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 65%);
  border-radius: 50%;
  opacity: 0.45;
  z-index: 0;
  animation: drift 18s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--bg-tan) 0%, transparent 65%);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
  animation: drift 22s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 880px; }

/* Hero 2-column layout when showcase present */
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-grid .hero-content { max-width: none; }

.hero-showcase {
  position: relative;
  width: 100%;
  height: 460px;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  will-change: translate;
}

/* === Card 1: Subscriber/list placeholder === */
.float-card-1 {
  width: clamp(280px, 32vw, 340px);
  top: 0;
  right: 40px;
  rotate: -1.8deg;
  z-index: 2;
  animation:
    floatFadeIn 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    floatDrift1 9s 1.2s ease-in-out infinite;
}

/* === Card 2: Stats/chart placeholder === */
.float-card-2 {
  width: clamp(220px, 26vw, 280px);
  top: 240px;
  right: -20px;
  rotate: 3deg;
  z-index: 3;
  animation:
    floatFadeIn 0.9s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    floatDrift2 11s 1.5s ease-in-out infinite;
}

/* List card internals */
.ph-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.05rem 1.15rem 0.55rem;
}
.ph-title {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ph-meta {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}
.ph-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.15rem;
}
.ph-row-highlight {
  background: linear-gradient(90deg, rgba(248, 220, 130, 0.45), rgba(248, 220, 130, 0.18));
}
.ph-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ph-av-purple { background: linear-gradient(135deg, #d4b5dd 0%, #8e5fa6 100%); }
.ph-av-sage   { background: linear-gradient(135deg, #c5d8b3 0%, #7da571 100%); }
.ph-av-peach  { background: linear-gradient(135deg, #e8c5b0 0%, #c6896a 100%); }
.ph-row-content { flex: 1; min-width: 0; }
.ph-row-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.ph-row-sub {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}
.ph-footer {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  padding: 0.7rem 1.15rem 0.95rem;
}

/* Stat + chart card internals */
.ph-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 1.1rem 0.1rem;
}
.ph-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
}
.ph-stat-trend {
  font-size: 0.7rem;
  font-weight: 600;
  color: #b25e44;
}
.ph-stat-number {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: 0.1rem 1.1rem 0;
  line-height: 1.1;
}
.ph-stat-sub {
  font-size: 0.68rem;
  color: var(--muted);
  padding: 0.1rem 1.1rem 0.65rem;
}
.ph-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 62px;
  padding: 0 1.1rem;
}
.ph-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top,
    #e8b88a 0%, #e8b88a 33%,
    #d99393 33%, #d99393 66%,
    #a8c4d2 66%, #a8c4d2 100%);
}
.ph-chart-labels {
  display: flex;
  gap: 6px;
  padding: 0.45rem 1.1rem 0.85rem;
  font-size: 0.6rem;
  color: var(--muted);
}
.ph-chart-labels span {
  flex: 1;
  text-align: center;
}

@keyframes floatFadeIn {
  from { opacity: 0; translate: 0 16px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes floatDrift1 {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}
@keyframes floatDrift2 {
  0%, 100% { translate: 0 0; }
  50%      { translate: -5px -11px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-showcase { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { opacity: 1 !important; animation: none !important; translate: 0 0 !important; }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xs);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  position: relative;
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 58ch;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Trusted-by strip */
.trusted {
  padding: 2.5rem 0 5rem;
  position: relative;
  z-index: 2;
}
.trusted-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.trusted-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  align-items: center;
}
.trusted-row span {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--body);
  letter-spacing: -0.01em;
}
.trusted-row .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* ============ SECTIONS ============ */
section { padding: clamp(4.5rem, 9vw, 7rem) 0; position: relative; }

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
}
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.section-lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--body);
  max-width: 60ch;
  line-height: 1.55;
}

/* ============ WORK ============ */
.work-section { background: var(--bg-soft); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.work-thumb {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-thumb { transform: scale(1.03); }

.work-info {
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.work-name {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.work-name .arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.3s;
  color: var(--muted);
}
.work-card:hover .work-name .arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
}
.work-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 768px) { .work-grid { grid-template-columns: 1fr; } }

/* ============ SERVICES (cards) ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent-light);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: 'Albert Sans', sans-serif;
}
.service-title {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.service-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--body);
}
.service-card .arrow {
  display: inline-flex;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}
.service-card:hover .arrow { gap: 0.6rem; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============ PROCESS STEPS ============ */
.process { background: var(--bg-soft); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.process-step {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  position: relative;
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--r-pill);
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.process-title {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.process-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--body);
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============ F+B FEATURE BLOCK ============ */
.fnb-feature {
  background: var(--bg-tan);
  position: relative;
  overflow: hidden;
}
.fnb-feature::before {
  content: 'F+B';
  position: absolute;
  top: -60px;
  right: -30px;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(15rem, 35vw, 28rem);
  color: var(--bg);
  opacity: 0.5;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.fnb-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.fnb-list {
  list-style: none;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
}
.fnb-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fnb-list li:last-child { border-bottom: none; }
.fnb-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .fnb-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============ F+B SPECIALTIES (on F+B page) ============ */
.fnb-specialties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fnb-specialty {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s;
}
.fnb-specialty:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.fnb-specialty-num {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.fnb-specialty h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.fnb-specialty p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--body);
}
@media (max-width: 900px) {
  .fnb-specialties { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fnb-specialties { grid-template-columns: 1fr; }
}

/* ============ ABOUT ============ */
.about-content {
  max-width: 720px;
}
.about-content p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 1.5rem;
}
.about-content p em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--body);
}
.contact-detail {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}
.contact-detail:first-of-type {
  margin-top: 2.5rem;
  border-top: none;
  padding-top: 0;
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact-value {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
a.contact-value:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(178, 94, 68, 0.08);
  border: 1px solid rgba(178, 94, 68, 0.25);
  border-radius: var(--r-md);
  color: #8c4632;
  font-size: 0.88rem;
  line-height: 1.4;
}
.form-error a { color: #8c4632; font-weight: 600; }

.form-success {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.form-success h3 {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.form-success p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 38ch;
  margin-inline: auto;
}
.form-success a { color: var(--accent); font-weight: 500; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--bg-soft);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 1.85rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Albert Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 0.75;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 0.5rem;
  height: 1.4rem;
}
.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.5rem;
  flex: 1;
}
.testimonial-author {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
}
.testimonial-name {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============ CTA ============ */
.cta {
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-card {
  background: var(--accent);
  color: var(--bg);
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 60%);
  opacity: 0.28;
  border-radius: 50%;
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 60%);
  opacity: 0.18;
  border-radius: 50%;
}
.cta-card .inner { position: relative; z-index: 2; }
.cta-card h2 {
  color: var(--bg);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  max-width: 22ch;
  margin-inline: auto;
}
.cta-card h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-light);
}
.cta-card .btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.cta-card .btn-primary:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: 9.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 65%);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  max-width: 16ch;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.page-hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--body);
  max-width: 58ch;
  line-height: 1.55;
}

/* About-page hero with photo */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.5;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 760px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-hero-photo img {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ============ FOOTER ============ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 28ch;
  line-height: 1.55;
}
.footer-col h4 {
  font-family: 'Geist', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero::before, .hero::after, .cta-card::before, .cta-card::after,
  .status-dot::after {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .reveal { transform: none !important; }
}
