/* ============================================================
   VIZCARR AUTOMATIONS — style.css
   ============================================================ */

/* === TOKENS === */
:root {
  --ivory: #F4EFE6;
  --ivory-warm: #EDE4D3;
  --brown: #3B2A20;
  --brown-deep: #2A1D15;
  --green: #2c3d2b;
  --green-deep: #1e2b1d;
  --text: #4A2E1A;
  --text-muted: #7A6A5C;
  --border: #D9CFC2;
  --border-strong: #B8A993;
  --container: 1240px;
  --container-narrow: 880px;
  --section-pad: clamp(96px, 12vw, 160px);
}

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

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

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

/* === BASE === */
body {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }

h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
}

p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

.bg-ivory { background-color: var(--ivory); }
.bg-ivory-warm { background-color: var(--ivory-warm); }
.bg-brown-deep { background-color: var(--brown-deep); }
.bg-green { background-color: var(--green); }
.text-center { text-align: center; }

section { padding: var(--section-pad) 0; }

/* === COMPONENTS === */

/* Eyebrow labels */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 1rem;
}

.eyebrow-light { color: var(--ivory); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 44px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary { background: var(--brown); color: var(--ivory); border-color: var(--brown); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px);
}

.btn-secondary { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--brown); color: var(--ivory); transform: translateY(-1px);
}

.btn-inverted { background: var(--ivory); color: var(--brown); border-color: var(--ivory); }
.btn-inverted:hover, .btn-inverted:focus-visible {
  background: var(--ivory-warm); border-color: var(--ivory-warm); transform: translateY(-1px);
}

.btn-full { width: 100%; display: block; }

/* Cards */
.card {
  background: var(--ivory-warm);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 2px;
  transition: border-color 250ms ease, transform 250ms ease;
}

.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 1.25rem; }

.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  color: var(--green);
  font-weight: 600;
  font-style: normal;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.card-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.02em;
  display: inline-block;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 200ms ease, color 200ms ease;
}

.card-link:hover { color: var(--green-deep); border-color: var(--green-deep); }

/* Form inputs */
.form-group { margin-bottom: 2rem; }

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  min-height: 44px;
  transition: border-color 200ms ease;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group textarea:focus { border-bottom: 2px solid var(--brown); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--border-strong); }

.form-error {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #8B0000;
  line-height: 1.5;
}

.form-error a { color: #8B0000; text-decoration: underline; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Price display */
.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--brown);
  display: block;
  line-height: 1.1;
}

.price small { font-size: 1.5rem; font-weight: 400; }

.price-timing {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

/* Included block */
.included-block {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.included-block ul { list-style: none; padding: 0; }

.included-block li {
  font-size: 0.9375rem;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.included-block li::before { content: '—'; color: var(--green); font-weight: 600; flex-shrink: 0; }
.included-block li:last-child { border-bottom: none; }

.price-block { padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  background: var(--green);
  transition: background 300ms ease, border-bottom 300ms ease, padding 300ms ease;
}

header.is-scrolled {
  background: var(--green-deep);
  border-bottom: 1px solid var(--green-deep);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.desktop-nav { display: flex; align-items: center; gap: 2.5rem; }

.desktop-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.02em;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 200ms ease;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ivory);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.desktop-nav a:hover { color: var(--ivory-warm); }
.desktop-nav a:hover::after { transform: scaleX(1); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-open .mobile-nav { transform: translateX(0); }

.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav a:hover { color: var(--green); }
.mobile-nav .btn { font-family: 'Inter', sans-serif; font-size: 1rem; margin-top: 0.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 300ms ease, opacity 300ms ease;
}

body.menu-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* === FOOTER === */
footer {
  background: var(--brown-deep);
  color: var(--ivory);
  padding: clamp(64px, 8vw, 120px) 0 clamp(32px, 4vw, 48px);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.footer-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ivory);
  font-weight: 600;
  max-width: 600px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.footer-divider {
  height: 1px;
  background: rgba(244, 239, 230, 0.12);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { height: 36px; width: auto; opacity: 0.85; }

.footer-address {
  font-size: 0.875rem;
  color: rgba(244, 239, 230, 0.55);
  line-height: 1.6;
  margin: 0;
}

.footer-col nav { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: rgba(244, 239, 230, 0.7);
  transition: color 200ms ease;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.footer-col nav a:hover { color: var(--ivory); }

.footer-contact-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.4);
}

.footer-col > a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: rgba(244, 239, 230, 0.7);
  transition: color 200ms ease;
}

.footer-col > a:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  font-size: 0.8125rem;
  color: rgba(244, 239, 230, 0.35);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom a { color: rgba(244, 239, 230, 0.35); transition: color 200ms ease; }
.footer-bottom a:hover { color: rgba(244, 239, 230, 0.7); }
.footer-sep { margin: 0 0.5rem; }

/* === HERO === */
.hero {
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content { max-width: 900px; }

/* Homepage split hero */
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-top: 120px;
  padding-bottom: clamp(64px, 8vw, 120px);
}

.home-hero-grid .hero-content { max-width: none; }

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  height: auto;
  max-width: 480px;
  display: block;
}

/* Footer logo on inner pages */
.footer-brand-logo {
  height: 104px;
  width: auto;
  display: block;
  align-self: flex-start;
  margin-top: 1.5rem;
  background: var(--ivory);
  padding: 10px;
  border-radius: 2px;
}
.hero h1 { margin-bottom: 1.5rem; max-width: 820px; }

.hero-subhead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.page-lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-top: 1.5rem;
}

.hero-page {
  min-height: 45vh;
  padding-top: 160px;
  padding-bottom: clamp(64px, 8vw, 120px);
  align-items: flex-end;
}

.hero-page h1 { max-width: 720px; }


/* === PAGE: HOME === */
.section-services h2 { max-width: 420px; margin-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.services-grid .card:nth-child(-n+3) { grid-column: span 2; }
.services-grid .card:nth-child(4),
.services-grid .card:nth-child(5) { grid-column: span 3; }

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.philosophy-left h2 { margin-top: 0.5rem; }
.philosophy-right p { color: var(--text-muted); }

.principles-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.principle {
  flex: 1;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 1.5rem;
}

.principle-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--ivory-warm);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 250ms ease, transform 250ms ease;
}

.portfolio-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.portfolio-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ivory);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.portfolio-card:hover .portfolio-image img { transform: scale(1.03); }

.portfolio-info { padding: 1.75rem; }

.portfolio-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.portfolio-info h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.portfolio-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.testimonial {
  margin: 3rem 0 0;
  padding: 3rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--green);
  padding: 1rem 1.25rem;
  border-radius: 2px;
}

.testimonial-attribution strong { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9375rem; color: var(--ivory); }
.testimonial-role { font-size: 0.875rem; color: var(--ivory-warm); }

.cta-content {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
}

.cta-heading { color: var(--ivory); margin-bottom: 1.25rem; }

.cta-subtext {
  color: rgba(244, 239, 230, 0.68);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* === PAGE: SERVICES === */
.service-section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.service-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.service-left { position: sticky; top: 120px; }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.service-left .eyebrow { margin-bottom: 0.5rem; }
.service-left h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0; }
.service-right > p { color: var(--text-muted); margin-bottom: 1.25rem; }

.retainer-price { margin: 1.5rem 0; }

.retainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.retainer-col { padding: 2rem; border: 1px solid var(--border); border-radius: 2px; }
.retainer-col.included { background: var(--ivory); }
.retainer-col.not-included { background: transparent; }
.retainer-col ul { list-style: none; padding: 0; }
.retainer-col.included li::before { content: '\2713  '; color: var(--green); font-weight: 600; }
.retainer-col.not-included li::before { content: '\2014  '; color: var(--text-muted); }
.retainer-col li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.retainer-col li:last-child { border-bottom: none; }

.section-custom { padding: clamp(64px, 8vw, 96px) 0; }

.section-custom p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

/* === PAGE: PROCESS === */
.section-steps { padding: var(--section-pad) 0; }

.step {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--border);
}

.step:first-of-type { padding-top: 0; }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 8vw, 8rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.step-content { padding-top: 0.5rem; }
.step-content h2 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); margin-bottom: 1rem; }
.step-content p { color: var(--text-muted); max-width: 560px; }

/* === PAGE: ABOUT === */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.founder-image { position: sticky; top: 120px; }
.founder-image img { width: 100%; border: 1px solid var(--border); border-radius: 2px; }

.founder-bio { padding-top: 0.5rem; }
.founder-bio p { color: var(--text-muted); margin-bottom: 1.5rem; }

.founder-bio p:first-of-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--text);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* === PAGE: CONTACT === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-info { padding-top: 2rem; position: sticky; top: 120px; }
.contact-item { margin-bottom: 2.5rem; }

.contact-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-item a {
  font-size: 1rem;
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 200ms ease;
}

.contact-item a:hover { color: var(--green-deep); }
.contact-item span { font-size: 1rem; color: var(--text); line-height: 1.6; }

.contact-form-wrap {
  padding: 2.5rem;
  background: var(--ivory-warm);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.form-success { text-align: center; padding: 3rem; }
.success-heading { font-size: 3rem; color: var(--brown); margin-bottom: 1rem; }

/* Legal pages */
.legal-content { max-width: var(--container-narrow); margin: 0 auto; }

.legal-content h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-top: 3rem;
  margin-bottom: 0.75rem;
}

.legal-content h2:first-of-type { margin-top: 2rem; }
.legal-content p { color: var(--text-muted); }

.legal-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.fade-in:nth-child(2) { transition-delay: 80ms; }
.fade-in:nth-child(3) { transition-delay: 160ms; }
.fade-in:nth-child(4) { transition-delay: 240ms; }

.services-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.services-grid .fade-in:nth-child(2) { transition-delay: 80ms; }
.services-grid .fade-in:nth-child(3) { transition-delay: 160ms; }
.services-grid .fade-in:nth-child(4) { transition-delay: 240ms; }
.services-grid .fade-in:nth-child(5) { transition-delay: 320ms; }

.values-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.values-grid .fade-in:nth-child(2) { transition-delay: 80ms; }
.values-grid .fade-in:nth-child(3) { transition-delay: 160ms; }
.values-grid .fade-in:nth-child(4) { transition-delay: 240ms; }

.portfolio-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.portfolio-grid .fade-in:nth-child(2) { transition-delay: 100ms; }
.portfolio-grid .fade-in:nth-child(3) { transition-delay: 200ms; }

/* === RESPONSIVE === */
@media (max-width: 1023px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-brand { order: -1; }
  .hero-logo { max-width: 280px; margin: 0 auto; }
  .desktop-nav { gap: 1.5rem; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 2rem; }
  .principles-row { flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .principle-sep { display: none; }
  .principle { padding: 0.5rem 1rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 100px 1fr; gap: 2rem; }
  .step-num { font-size: 5rem; }
  .service-layout { grid-template-columns: 1fr; gap: 2rem; }
  .service-left { position: static; }
  .service-num { font-size: 3rem; }
  .founder-grid { grid-template-columns: 1fr 1.2fr; }
  .founder-image { position: static; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  h1 { font-size: clamp(2.25rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.875rem, 6vw, 2.5rem); }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .retainer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
  .step-num { font-size: 4rem; }
  .step-content { padding-top: 0; }
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner .btn-primary { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-image { position: static; max-width: 340px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; padding-top: 0; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col:first-child { grid-column: auto; }
  .footer-cta { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-cta .btn { align-self: center; }
  .testimonial { padding: 2rem 1.5rem; }
  .principles-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .principle { text-align: left; padding: 0; }
  .hero-page { padding-top: 120px; align-items: flex-start; }
  .mobile-nav a { font-size: 2rem; }
  .service-left h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  :root { --section-pad: clamp(64px, 12vw, 96px); }
  .container { padding-left: 20px; padding-right: 20px; }
  .card { padding: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
