/* ============================================================
   LEGACY WEB STUDIO — Stylesheet
   Sunset palette · Warm & professional
   ============================================================ */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  /* Sunset palette */
  --sunset-deep:    #1E0A3C;
  --sunset-indigo:  #2D1B69;
  --sunset-purple:  #4A148C;
  --sunset-grape:   #6A1EA8;
  --sunset-warm-purple: #7B2FBE;
  --sunset-coral:   #C2410C;
  --sunset-orange:  #EA580C;
  --sunset-amber:   #D97706;
  --sunset-gold:    #F59E0B;

  /* Warm neutrals */
  --cream:         #FAF7F2;
  --cream-deep:    #F5F0E8;
  --sand:          #FFF7ED;
  --peach:         #FEE8D6;
  --peach-deep:    #FDD5B2;

  /* Text */
  --text-dark:     #1C0A00;
  --text-warm:     #292524;
  --text-muted:    #78716C;
  --text-light:    rgba(255,255,255,0.88);
  --text-light-dim: rgba(255,255,255,0.58);

  /* Borders */
  --border-warm:   #E8D5C4;
  --border-light:  rgba(255,255,255,0.12);

  /* State */
  --success: #15803D;
  --error:   #DC2626;

  /* Type */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Shape */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Shadows (warm-tinted) */
  --sh-sm: 0 2px 8px  rgba(100, 40, 10, 0.07);
  --sh-md: 0 6px 24px rgba(100, 40, 10, 0.10);
  --sh-lg: 0 16px 48px rgba(100, 40, 10, 0.14);
  --sh-coral: 0 8px 32px rgba(194, 65, 12, 0.28);
  --sh-purple: 0 8px 28px rgba(74, 20, 140, 0.22);

  /* Misc */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --t:         0.28s;
  --container: 1200px;
  --py:        96px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-warm);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t) var(--ease); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--py) 0; }

.section--deep {
  background: var(--sunset-deep);
  color: var(--text-light);
}

.section--warm-accent {
  background: linear-gradient(135deg, #FFF3E0 0%, #FEE8D6 50%, #FDD5B2 100%);
}

/* ---- SECTION HEADERS ---- */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunset-orange);
  margin-bottom: 14px;
}

.section__eyebrow--warm { color: var(--sunset-gold); }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--sunset-orange);
}

.section__title--light { color: #fff; }

.section__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.78;
}

.section__desc--light { color: var(--text-light-dim); }

.section__header--light .section__title { color: #fff; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--r-md);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.btn--warm {
  background: var(--sunset-orange);
  color: #fff;
  box-shadow: var(--sh-coral);
}
.btn--warm:hover {
  background: var(--sunset-coral);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(194,65,12,0.35);
  color: #fff;
}
.btn--warm:active { transform: translateY(0); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn--lg { padding: 16px 36px; font-size: 0.9375rem; }
.btn--full { width: 100%; }

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.btn--loading .btn__text { display: none; }
.btn--loading .btn__spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- NAVIGATION ---- */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: padding var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.nav-header.scrolled {
  padding: 12px 0;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-warm), 0 4px 20px rgba(100,40,10,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Inline SVG logo — no container needed, colours switch via CSS */
.nav__logo-svg {
  height: 36px;
  width: auto;
  display: block;
}

/* LEGACY: white over dark hero */
.logo-legacy {
  fill: #ffffff;
  transition: fill var(--t) var(--ease);
}

/* Web Studio: brand purple — visible on both light and dark */
.logo-sub { fill: #6A1EA8; }

/* Cream nav: switch LEGACY to warm dark */
.nav-header.scrolled .logo-legacy { fill: var(--text-dark); }

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  position: relative;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.nav__link:not(.nav__link--cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--sunset-gold);
  transition: width var(--t) var(--ease);
}

.nav__link:not(.nav__link--cta):hover { color: #fff; }
.nav__link:not(.nav__link--cta):hover::after { width: 100%; }

.nav-header.scrolled .nav__link:not(.nav__link--cta) { color: var(--text-warm); }
.nav-header.scrolled .nav__link:not(.nav__link--cta):hover { color: var(--text-dark); }
.nav-header.scrolled .nav__link:not(.nav__link--cta)::after { background: var(--sunset-orange); }

.nav__link--cta {
  background: var(--sunset-orange);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.8rem;
}
.nav__link--cta:hover {
  background: var(--sunset-coral);
  color: #fff !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 910;
  position: relative;
}

.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}

.nav-header.scrolled .nav__hamburger span { background: var(--text-warm); }

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu state (set via JS) */
@media (max-width: 860px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(30, 10, 60, 0.97);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t) var(--ease);
    z-index: 899;
  }

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

  .nav__link { font-size: 1.25rem; color: rgba(255,255,255,0.9) !important; }
  .nav__link--cta { font-size: 1rem; }
  .nav__link:not(.nav__link--cta)::after { background: var(--sunset-gold); }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sunset-deep); /* fallback if canvas fails */
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Left-side gradient to ensure text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(30, 10, 60, 0.68) 0%,
    rgba(30, 10, 60, 0.35) 55%,
    rgba(30, 10, 60, 0.0) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}

/* ---- Hero text ---- */
.hero__text { max-width: 600px; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sunset-gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: italic;
  font-weight: 800;
  color: var(--sunset-gold);
  background: linear-gradient(90deg, var(--sunset-gold), var(--sunset-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__trust-pill {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 5px 12px;
  border-radius: var(--r-full);
}

/* ---- Browser mockup ---- */
.hero__mockup {
  width: 100%;
  max-width: 420px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
  animation: mockup-float 5s ease-in-out infinite;
}

.hero__mockup:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

@keyframes mockup-float {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg) translateY(0); }
  50%       { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg) translateY(-10px); }
}

.mockup__chrome {
  background: #2D2D2D;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup__dots { display: flex; gap: 5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red   { background: #FF5F57; }
.dot--amber { background: #FEBC2E; }
.dot--green { background: #28C840; }

.mockup__url-bar {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  padding: 3px 10px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-align: center;
}

.mockup__screen {
  background: #F8F5F0;
  padding: 0;
  min-height: 260px;
}

.mockup__nav-strip {
  height: 36px;
  background: #fff;
  border-bottom: 1px solid #EEE;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mockup__nav-strip::before {
  content: '';
  width: 60px; height: 8px;
  background: linear-gradient(90deg, var(--sunset-deep), var(--sunset-purple));
  border-radius: 4px;
  opacity: 0.7;
}

.mockup__hero-stripe {
  background: linear-gradient(135deg, var(--sunset-indigo) 0%, var(--sunset-orange) 100%);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup__headline-line {
  height: 10px;
  background: rgba(255,255,255,0.85);
  border-radius: 5px;
}
.mockup__headline-line--wide   { width: 80%; }
.mockup__headline-line--medium { width: 55%; }

.mockup__cta-pill {
  margin-top: 4px;
  width: 100px; height: 22px;
  background: var(--sunset-gold);
  border-radius: 5px;
}

.mockup__cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 12px 0;
}

.mockup__card {
  height: 48px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border-top: 3px solid;
}
.mockup__card:nth-child(1) { border-color: var(--sunset-orange); }
.mockup__card:nth-child(2) { border-color: var(--sunset-purple); }
.mockup__card:nth-child(3) { border-color: var(--sunset-amber); }

.mockup__text-rows {
  padding: 10px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup__text-line {
  height: 6px;
  background: #DDD;
  border-radius: 3px;
}
.mockup__text-line--short { width: 65%; }

/* Hero scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hero__scroll-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ---- WHY US ---- */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.why-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: var(--peach-deep);
}

.why-card__icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--peach);
  border-radius: var(--r-md);
  color: var(--sunset-orange);
}

.why-card__body { flex: 1; }

.why-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.why-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- SERVICES ---- */
.services__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 52px;
}

.service-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--t) var(--ease);
}

.service-item:last-child { border-bottom: none; }

.service-item:hover { background: rgba(234, 88, 12, 0.07); }

.service-item__left {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item__num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sunset-gold);
}

.service-item__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.service-item__right {
  padding: 36px 36px;
}

.service-item__desc {
  font-size: 0.9375rem;
  color: var(--text-light-dim);
  line-height: 1.78;
  margin-bottom: 18px;
}

.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-item__tags li {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sunset-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.services__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.services__cta-text {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--text-light-dim);
}

/* ---- PORTFOLIO ---- */
.portfolio { background: var(--sand); }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.portfolio-card {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}

.portfolio-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-6px);
}

.portfolio-card__visual {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-card__visual--a {
  background: linear-gradient(135deg, var(--sunset-indigo) 0%, var(--sunset-purple) 50%, var(--sunset-orange) 100%);
}
.portfolio-card__visual--b {
  background: linear-gradient(135deg, #1a0f2e 0%, var(--sunset-grape) 55%, var(--sunset-amber) 100%);
}
.portfolio-card__visual--c {
  background: linear-gradient(135deg, var(--sunset-coral) 0%, var(--sunset-orange) 50%, var(--sunset-gold) 100%);
}

.portfolio-card__visual-inner {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

/* Abstract visual placeholders */
.pv-line {
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  width: 100%;
}
.pv-line--wide   { width: 80%; }
.pv-line--med    { width: 55%; }
.pv-line--narrow { width: 40%; }

.pv-bar-row { display: flex; gap: 6px; align-items: flex-end; }
.pv-bar     { width: 24px; height: 30px; background: rgba(255,255,255,0.3); border-radius: 3px 3px 0 0; }
.pv-bar--tall { height: 46px; background: rgba(255,255,255,0.5); }
.pv-bar--mid  { height: 38px; background: rgba(255,255,255,0.35); }

.pv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}
.pv-cell     { height: 28px; background: rgba(255,255,255,0.28); border-radius: 5px; }
.pv-cell--tall { height: 44px; background: rgba(255,255,255,0.45); }
.pv-cell--mid  { height: 36px; background: rgba(255,255,255,0.35); }

.pv-circle-row { display: flex; gap: 8px; align-items: center; }
.pv-circle      { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.pv-circle--lg  { width: 42px; height: 42px; background: rgba(255,255,255,0.5); }

.portfolio-card__tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.portfolio-card__body { padding: 22px; }

.portfolio-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.portfolio-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 14px;
}

.portfolio-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sunset-orange);
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}

.portfolio-card__cta:hover {
  gap: 10px;
  color: var(--sunset-coral);
}

.portfolio__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.portfolio__note a {
  color: var(--sunset-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- ABOUT ---- */
.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__content .section__eyebrow,
.about__content .section__title { text-align: left; }

.about__text {
  font-size: 1rem;
  color: var(--text-warm);
  line-height: 1.82;
  margin-bottom: 18px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about__stat {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  box-shadow: var(--sh-md);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.about__stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.about__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--sunset-orange);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.about__stat-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- CONTACT ---- */
.contact { background: var(--cream); }

/* Calendly banner */
.contact__calendly-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--sunset-indigo) 0%, var(--sunset-purple) 50%, var(--sunset-coral) 100%);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  margin-bottom: 48px;
  box-shadow: var(--sh-purple);
}

.contact__calendly-text { flex: 1; }

.contact__calendly-heading {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.contact__calendly-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 560px;
}

/* Divider */
.contact__divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.contact__divider::before,
.contact__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-warm);
}

.contact__divider span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Contact grid */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact__info .section__eyebrow,
.contact__info .section__title { text-align: left; }

.contact__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 32px;
}

.contact__detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact__detail svg { color: var(--sunset-orange); flex-shrink: 0; }
.contact__detail a:hover { color: var(--sunset-orange); }

/* Form */
.contact__form {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__group { margin-bottom: 20px; }

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-warm);
  margin-bottom: 7px;
}

.form__req   { color: var(--sunset-orange); }
.form__optional { font-weight: 400; color: var(--text-muted); }

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  line-height: 1.5;
  -webkit-appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder { color: #B5A99A; }

.form__input:focus,
.form__textarea:focus {
  border-color: var(--sunset-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form__input.error,
.form__textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form__textarea { resize: vertical; min-height: 108px; }

.form__error {
  display: block;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 5px;
  min-height: 16px;
}

.form__privacy {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.55;
}

.form__privacy a {
  color: var(--sunset-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__success {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  color: var(--success);
  text-align: center;
}
.form__success.visible { display: block; }

/* ---- FOOTER ---- */
.footer {
  background: #0F0805;
  color: rgba(255,255,255,0.55);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__logo-svg {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.72;
  max-width: 270px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
  transition: color var(--t) var(--ease);
}

.footer__links a:hover { color: rgba(255,255,255,0.88); }

.footer__email,
.footer__calendly {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color var(--t) var(--ease);
}

.footer__email { color: var(--sunset-gold); word-break: break-all; }
.footer__email:hover { color: #FFC93C; }

.footer__calendly { color: var(--sunset-orange); }
.footer__calendly:hover { color: #FF7A40; }

.footer__location {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
  margin-top: 6px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer__made { color: rgba(255,255,255,0.15); }

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-in.in-view {
  opacity: 1;
  transform: none;
}

.stagger-in > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.stagger-in.in-view > *:nth-child(1)  { opacity:1; transform:none; transition-delay:0.04s; }
.stagger-in.in-view > *:nth-child(2)  { opacity:1; transform:none; transition-delay:0.10s; }
.stagger-in.in-view > *:nth-child(3)  { opacity:1; transform:none; transition-delay:0.16s; }
.stagger-in.in-view > *:nth-child(4)  { opacity:1; transform:none; transition-delay:0.22s; }
.stagger-in.in-view > *:nth-child(5)  { opacity:1; transform:none; transition-delay:0.28s; }
.stagger-in.in-view > *:nth-child(6)  { opacity:1; transform:none; transition-delay:0.34s; }

/* ---- ACCESSIBILITY ---- */
:focus-visible {
  outline: 2.5px solid var(--sunset-orange);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .why-us__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --py: 72px; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero__mockup { display: none; }

  .hero__text { max-width: 100%; text-align: left; }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item__left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 24px 24px 16px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .service-item__right { padding: 20px 24px 28px; }

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

  .about__inner { grid-template-columns: 1fr; gap: 48px; }

  .contact__calendly-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 28px;
  }

  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
  :root { --py: 60px; }

  .why-us__grid { grid-template-columns: 1fr; }

  .portfolio__grid { grid-template-columns: 1fr; }

  .about__stats { grid-template-columns: 1fr 1fr; }

  .form__row { grid-template-columns: 1fr; }

  .contact__form { padding: 24px 18px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .section__header { margin-bottom: 44px; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

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

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .hero__headline { font-size: clamp(1.9rem, 8vw, 3rem); }
}

/* ---- PRINT ---- */
@media print {
  * { animation: none !important; transition: none !important; }

  body {
    color: #000 !important;
    background: #fff !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  .nav-header,
  #hero-canvas,
  .hero__overlay,
  .hero__scroll-hint,
  .hero__mockup,
  .hero__trust,
  .hero__actions,
  .btn,
  .nav__hamburger,
  .contact__calendly-banner,
  .contact__divider,
  .contact__form { display: none !important; }

  .hero {
    background: #2D1B69 !important;
    min-height: auto !important;
    padding: 40pt 0 30pt !important;
  }

  .hero__text { color: #fff !important; }
  .hero__headline { color: #fff !important; font-size: 24pt; }
  .hero__sub { color: rgba(255,255,255,0.8) !important; }

  .section { padding: 30pt 0 !important; break-inside: avoid; }
  .section--deep { background: #2D1B69 !important; color: #fff !important; }
  .section--warm-accent { background: #FFF3E0 !important; }

  .container { max-width: 100% !important; padding: 0 16pt !important; }

  .why-us__grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12pt !important; }
  .why-card { box-shadow: none !important; border-color: #ccc !important; }

  .services__list { border: 1px solid #ccc !important; }
  .service-item { grid-template-columns: 140pt 1fr !important; }
  .service-item__left { padding: 14pt !important; }
  .service-item__right { padding: 14pt !important; }
  .service-item__tags li { color: #333 !important; background: #eee !important; border-color: #ccc !important; }

  .portfolio__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .portfolio-card { box-shadow: none !important; }

  .about__stats { grid-template-columns: repeat(4, 1fr) !important; }

  .footer { background: #fff !important; color: #333 !important; padding: 20pt 0 0 !important; }
  .footer__grid { grid-template-columns: 1fr 1fr !important; }
  .footer__links a,
  .footer__email,
  .footer__calendly { color: #333 !important; }
  .footer__logo-svg .logo-legacy,
  .footer__logo-svg text { fill: #111 !important; }

  a[href]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  a[href^="#"]:after,
  a[href^="https://calendly"]:after { content: none; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__mockup { animation: none !important; }
}
