/* ============================================================
   ANISAH — Virtual Assistant Portfolio
   Design system: cosmic-latte cream + sangria red + cornflower blue.
   Display: Instrument Serif · Body: Hanken Grotesk · Tag: JetBrains Mono
   ============================================================ */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  /* — surfaces / ink (warm cream neutrals) — */
  --bg:        #FFFCF3;   /* pale cosmic-latte cream */
  --bg-panel:  #FBF5E6;   /* soft cream block */
  --bg-deep:   #930500;   /* Sangria red block */
  --card:      #FFFFFF;   /* clean white card */
  --ink:       #2b1813;   /* primary text — warm espresso */
  --ink-soft:  #6e5a4f;   /* secondary text */
  --ink-faint: #a8917f;   /* captions */
  --line:      #efe6d3;   /* hairlines */
  --line-deep: #ddccab;

  /* — accents — */
  --clay:      #930500;   /* primary accent — deep red */
  --clay-deep: #6f0400;
  --blue:      #95BBEA;   /* secondary accent — powder blue */
  --blue-deep: #4f7bb3;
  --sage:      var(--blue); /* legacy alias → blue */
  --accent:    var(--clay);

  /* — type — */
  --display: "Instrument Serif", Georgia, serif;
  --body:    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* — geometry — */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 18px;
  --radius-lg: 30px;

  /* blue gingham fill */
  --gingham:
    repeating-linear-gradient(0deg, rgba(149,187,234,.85) 0 11px, transparent 11px 22px),
    repeating-linear-gradient(90deg, rgba(149,187,234,.85) 0 11px, transparent 11px 22px),
    #ffffff;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* dark / alt theme hooks driven by Tweaks */
body.theme-evening {
  --bg:        #1e120f;
  --bg-panel:  #271511;
  --bg-deep:   #140907;
  --card:      #271613;
  --ink:       #f6ecdb;
  --ink-soft:  #cbb6a6;
  --ink-faint: #927d6f;
  --line:      #3a241f;
  --line-deep: #4a302a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-synthesis: none;
  transition: background .5s var(--ease), color .5s var(--ease);
}

::selection { background: var(--clay); color: #fff; }

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

/* ---------- shared layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

section { position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: 0; font-synthesis: none; }

.section-head { max-width: 720px; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 18px 0 0;
  color: var(--ink);
}
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 18px; max-width: 56ch; text-wrap: pretty; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: 13px;
}
.brand { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-size: 25px; letter-spacing: .01em; }
.brand b { font-weight: 400; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; transform: translateY(-2px); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.cta {
  background: var(--ink); color: var(--bg);
  padding: 11px 20px; border-radius: 100px; white-space: nowrap;
  font-weight: 500; transition: transform .25s var(--ease), background .25s;
}
.nav-links a.cta:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 168px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(52px, 8.5vw, 104px);
  line-height: .98;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { margin-top: 30px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 15px 28px; border-radius: 100px;
  font-weight: 500; font-size: 15.5px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: var(--clay-deep); }
.btn-primary .arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { border-color: var(--line-deep); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.btn-hover-blue:hover { background: var(--blue); color: #2a0f0c; border-color: var(--blue); }

.hero-meta { margin-top: 52px; display: flex; gap: 44px; }
.hero-meta .stat .n { font-family: var(--display); font-size: 40px; color: var(--ink); line-height: 1; }
.hero-meta .stat .l { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

.hero-socials { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.hero-socials .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-right: 4px; }
.hero-socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-deep); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.hero-socials a:hover { transform: translateY(-3px); background: var(--accent); color: #fff; border-color: var(--accent); }
.hero-socials a svg { width: 18px; height: 18px; }

.hero-portrait { position: relative; isolation: isolate; }
.hero-portrait::before { content: ""; position: absolute; z-index: -1; inset: 28px -22px -22px 28px; background: var(--gingham); border-radius: var(--radius-lg); transform: rotate(-2deg); box-shadow: 0 22px 50px -30px rgba(120,50,40,.4); }
.hero-portrait image-slot { width: 100%; height: clamp(430px, 49vw, 560px); box-shadow: 0 30px 70px -36px rgba(60,42,28,.5); }
.hero-portrait .badge {
  position: absolute; left: -28px; bottom: 34px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 100px; padding: 12px 20px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 18px 40px -22px rgba(60,42,28,.55);
  font-size: 14px; font-weight: 500;
}
.hero-portrait .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); position: relative; }
.hero-portrait .pulse::after { content:""; position:absolute; inset:-5px; border-radius:50%; border:1px solid var(--sage); animation: pulse 2.4s infinite; }
.hero-portrait .badge.busy .pulse { background: #c08a2e; }
.hero-portrait .badge.busy .pulse::after { border-color: #c08a2e; }
@keyframes pulse { 0%{transform:scale(.6);opacity:.9} 100%{transform:scale(1.7);opacity:0} }
.hero-portrait .frame-tag {
  position: absolute; top: 20px; right: -16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  writing-mode: vertical-rl; color: var(--ink-faint);
}

/* marquee of services under hero */
.marquee { margin-top: 78px; border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--ink-soft); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-portrait { position: sticky; top: 110px; isolation: isolate; }
.about-portrait::before { content: ""; position: absolute; z-index: -1; inset: -18px -18px 60px 22px; background: var(--gingham); border-radius: var(--radius-lg); transform: rotate(2.5deg); }
.about-portrait image-slot { width: 100%; height: clamp(380px, 42vw, 480px); }
.about-portrait .sig { font-family: var(--display); font-style: italic; font-size: 34px; margin-top: 22px; color: var(--ink); }
.about-body h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 0; }
.about-body .lead { font-size: 21px; color: var(--ink); margin-top: 26px; line-height: 1.55; text-wrap: pretty; }
.about-body p { color: var(--ink-soft); margin-top: 20px; }
.about-values { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-values .v { background: var(--bg); padding: 24px; }
.about-values .v h4 { font-family: var(--body); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 9px; }
.about-values .v h4 i { width: 7px; height: 7px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); display: inline-block; }
.about-values .v p { margin-top: 8px; font-size: 14.5px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: 110px 0; background: repeating-linear-gradient(90deg, #FFF8E7 0 52px, var(--blue) 52px 104px); transition: background .5s var(--ease); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.svc-note {
  position: relative;
  max-width: 32ch;
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink);
  margin: 6px 8px 4px;
}
/* iOS-style selection highlight: tight band that clones across each wrapped line */
.svc-note .hl-text {
  background: rgba(147, 5, 0, .20);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0.22em 0.08em;
}
.svc-note .hl-text b { font-weight: 600; color: var(--clay-deep); }
/* selection handles (the little pins) sit inline at the very start & end of the text */
.hl-h { position: relative; display: inline-block; width: 0; vertical-align: baseline; }
.hl-h::before { content: ""; position: absolute; width: 2.5px; background: var(--clay); }
.hl-h::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--clay); }
.hl-h.start::before { left: -1px; top: -1.35em; height: 1.7em; }
.hl-h.start::after  { left: -1px; top: -1.35em; transform: translate(-5px, -50%); }
.hl-h.end::before   { right: -1px; top: 0.25em; height: 1.7em; }
.hl-h.end::after    { right: -1px; top: 1.95em; transform: translate(7px, -50%); }
.svc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -34px rgba(60,42,28,.5); border-color: var(--line-deep); }
.svc:hover::before { transform: scaleX(1); }
.svc .num { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); letter-spacing: .1em; }
.svc .ico { margin: 18px 0 20px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.svc h3 { font-size: 27px; }
.svc p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.svc ul { margin-top: 16px; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.svc li { font-size: 12.5px; font-family: var(--mono); color: var(--ink-soft); border: 1px solid var(--line-deep); padding: 4px 9px; border-radius: 100px; }
.svc-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--accent); transition: gap .25s var(--ease); }
.svc-link .arrow { transition: transform .3s var(--ease); }
.svc:hover .svc-link { gap: 12px; }
.svc:hover .svc-link .arrow { transform: translateX(3px); }

/* =========================================================
   TOOLS
   ========================================================= */
.tools { padding: 96px 0; }
.tools .wrap { text-align: center; }
.tools .eyebrow { justify-content: center; }
.tools h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 16px; }
.tool-marquee {
  margin-top: 48px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tool-track { display: flex; gap: 14px; width: max-content; animation: scroll 44s linear infinite; }
.tool-marquee:hover .tool-track { animation-play-state: paused; }
.tool {
  flex: none; width: 150px; height: 130px;
  display: grid; place-items: center; padding: 22px;
  background: transparent; border: 0;
  position: relative;
}
.tool::before {
  content: ""; position: absolute;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--blue);
  opacity: 0; transform: scale(.6);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
  z-index: 0;
}
.tool:hover::before { opacity: 1; transform: scale(1); }
.tool .logo { position: relative; z-index: 1; height: 52px; width: auto; max-width: 96px; object-fit: contain; }
.tool .glyph { position: relative; z-index: 1; font-family: var(--display); font-size: 38px; color: var(--ink); }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: 110px 0; background: var(--bg-deep); color: #f3ece0; transition: background .5s var(--ease); }
.process .eyebrow { color: var(--blue); }
.process h2 { color: #fff6f0; }
.process .section-head p { color: #f6d8d3; }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 34px 26px 30px; border-left: 1px solid rgba(255,255,255,.12); position: relative; }
.step:first-child { border-left: 0; padding-left: 0; }
.step .n { font-family: var(--display); font-size: 56px; color: rgba(255,255,255,.18); line-height: 1; }
.step h3 { font-size: 25px; margin-top: 16px; color: #fff6f0; }
.step p { margin-top: 12px; font-size: 14.5px; color: #f3cdc8; }
.step .dot { position: absolute; top: 41px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.step:first-child .dot { left: 0; }

/* =========================================================
   CLIENTS — creator cards
   ========================================================= */
.clients { padding: 100px 0; }
.clients .section-head { max-width: none; text-align: center; }
.clients .section-head .eyebrow { justify-content: center; }
.clients .section-head p { margin-inline: auto; }
.client-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 18px; display: flex; flex-direction: column; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.client-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -30px rgba(60,42,28,.5); border-color: var(--line-deep); }
.client-card image-slot { width: 100%; height: 168px; border-radius: 10px; }
.client-card .c-name { font-family: var(--display); font-size: 22px; line-height: 1.1; margin-top: 14px; color: var(--ink); }
.client-card .c-role { font-size: 12px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }
.client-card .c-ig {
  margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13px; color: var(--accent); font-weight: 500; align-self: center;
  transition: gap .25s var(--ease), color .2s;
}
.client-card .c-ig:hover { color: var(--clay-deep); gap: 10px; }
.client-card .c-ig svg { width: 15px; height: 15px; }
.clients .note { margin-top: 30px; text-align: center; font-size: 13px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .08em; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi { padding: 110px 0; }
.testi-stage { margin-top: 50px; position: relative; }
.quote {
  display: none; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
}
.quote.active { display: grid; animation: fade .6s var(--ease); min-height: 230px; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quote .avatar { width: 150px; }
.quote .avatar image-slot { width: 150px; height: 150px; }
.quote blockquote { font-family: var(--display); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.34; color: var(--ink); font-weight: 400; text-wrap: pretty; }
.quote .mark { color: var(--accent); }
.quote .who { margin-top: 22px; font-family: var(--body); }
.quote .who b { font-weight: 600; font-size: 16px; }
.quote .who span { color: var(--ink-soft); font-size: 14.5px; }
.testi-nav { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: 10px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line-deep); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.dots button.on { width: 28px; border-radius: 100px; background: var(--accent); }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-deep); background: transparent; cursor: pointer; color: var(--ink); transition: background .25s, color .25s, border-color .25s; display: grid; place-items: center; }
.arrows button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.logos { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; opacity: .8; }
.logos span { font-family: var(--display); font-size: 22px; color: var(--ink-soft); font-style: italic; }

/* =========================================================
   PACKAGES
   ========================================================= */
.pkg { padding: 110px 0; background: var(--bg-panel); transition: background .5s var(--ease); }
.pkg-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -38px rgba(60,42,28,.5); }
.plan.featured { background: var(--bg-deep); color: #f3ece0; border-color: var(--bg-deep); }
.plan.featured .price, .plan.featured h3 { color: #f7f1e6; }
.plan.featured .tag { background: var(--blue); color: #2a0f0c; }
.plan.featured .feat li { color: #f3cdc8; }
.plan.featured .feat li i { background: var(--blue); }
.plan.featured .btn-ghost { border-color: rgba(255,255,255,.25); color: #f3ece0; }
.plan.featured .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.plan .tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--clay-deep); margin-bottom: 22px; }
.plan h3 { font-size: 30px; }
.plan .price { font-family: var(--display); font-size: 52px; margin-top: 16px; line-height: 1; }
.plan .price small { font-family: var(--body); font-size: 15px; color: var(--ink-soft); }
.plan.featured .price small { color: #f3cdc8; }
.plan .blurb { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; min-height: 42px; }
.plan.featured .blurb { color: #f3cdc8; }
.plan .feat { list-style: none; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.plan .feat li { font-size: 14.5px; display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); }
.plan .feat li i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); margin-top: 4px; position: relative; }
.plan .feat li i::after { content: ""; position: absolute; left: 5px; top: 4px; width: 4px; height: 7px; border: 1.5px solid #fff; border-top: 0; border-left: 0; transform: rotate(40deg); }
.plan .btn { margin-top: auto; justify-content: center; width: 100%; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 120px 0 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.contact h2 { font-size: clamp(40px, 6vw, 72px); margin-top: 18px; }
.contact h2 em { font-style: italic; color: var(--accent); }
.contact .lead { margin-top: 22px; color: var(--ink-soft); font-size: 18px; max-width: 42ch; }
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 4px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; transition: color .2s, padding .3s var(--ease); }
.contact-list a:hover { color: var(--accent); padding-left: 8px; }
.contact-list a .k { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); width: 92px; letter-spacing: .08em; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 30px 70px -44px rgba(60,42,28,.45); }
.form h3 { font-family: var(--body); font-weight: 600; font-size: 17px; }
.field { margin-top: 18px; }
.field label { font-size: 13px; color: var(--ink-soft); display: block; margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-deep); border-radius: 10px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.bad input, .field.bad textarea { border-color: #c0573f; }
.field .err { color: #c0573f; font-size: 12px; margin-top: 6px; display: none; }
.field.bad .err { display: block; }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 24px; }
.form-ok { text-align: center; padding: 30px 10px; display: none; }
.form-ok.show { display: block; animation: fade .5s var(--ease); }
.form-ok .check { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-deep); margin: 0 auto 18px; position: relative; }
.form-ok .check::after { content:""; position:absolute; left: 21px; top: 15px; width: 11px; height: 20px; border: 2.5px solid #fff; border-top:0; border-left:0; transform: rotate(40deg); }
.form-ok h3 { font-family: var(--display); font-weight: 500; font-size: 28px; }
.form-ok p { color: var(--ink-soft); margin-top: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 60px 0 50px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px; background: var(--gingham); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 22px; }
.footer .small { font-size: 13px; color: var(--ink-faint); }
.footer .socials { display: flex; gap: 22px; font-size: 14px; }
.footer .socials a { color: var(--ink-soft); transition: color .2s; }
.footer .socials a:hover { color: var(--accent); }

/* =========================================================
   MANIFESTO — striped script band
   ========================================================= */
.manifesto {
  position: relative;
  padding: clamp(70px, 9vw, 120px) var(--gutter);
  background: repeating-linear-gradient(
    90deg,
    #FFF8E7 0 44px,
    var(--blue) 44px 88px
  );
  overflow: hidden;
}
.manifesto-inner { max-width: 680px; margin: 0 auto; position: relative; }
.manifesto-card {
  position: relative;
  background: #FFF8E7;
  border: 1px solid var(--line-deep);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px) clamp(30px, 5vw, 66px);
  text-align: center;
  box-shadow: 0 34px 80px -42px rgba(60,42,28,.55);
}
.manifesto .script {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  color: var(--clay);
  font-size: clamp(48px, 7.5vw, 90px);
  line-height: 1.04;
}
.manifesto .smallcaps {
  margin: 34px auto 0;
  max-width: 46ch;
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.7;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}
.manifesto .smallcaps b { font-weight: 400; color: var(--clay); border-bottom: 2px solid var(--clay); padding-bottom: 1px; }
.manifesto .accent {
  font-family: "Parisienne", cursive;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--clay);
  position: absolute;
  white-space: nowrap;
  z-index: 2;
}
.manifesto .accent.tl { top: 18px; left: 24px; transform: rotate(-7deg); }
.manifesto .accent.br { bottom: 18px; right: 26px; transform: rotate(-7deg); }
@media (max-width: 640px) {
  .manifesto .accent.tl { top: 12px; left: 16px; }
  .manifesto .accent.br { bottom: 12px; right: 16px; }
  .manifesto .smallcaps { letter-spacing: .06em; }
}

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

/* ---- Tablet (iPad portrait & landscape) ---- */
@media (max-width: 1024px) {
  .hero { padding: 140px 0 76px; }
  .hero-grid { gap: clamp(28px, 4vw, 56px); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(5, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .about, .services, .tools, .process, .testi, .pkg { padding-block: 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-portrait { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-copy { text-align: left; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 400px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  /* packages: stack & center instead of leaving a 2+1 orphan */
  .pkg-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan.featured { order: -1; }
}

/* ---- Large phone / small tablet ---- */
@media (max-width: 720px) {
  .hero { padding: 124px 0 64px; }
  .hero h1 { font-size: clamp(40px, 11vw, 66px); }
  .hero-lead { font-size: 18px; }
  /* keep hero accents from spilling off-screen */
  .hero-portrait .badge { left: 50%; transform: translateX(-50%); right: auto; bottom: 16px; white-space: nowrap; }
  .hero-portrait .frame-tag { display: none; }
  .hero-portrait::before { inset: 20px -10px -14px 16px; }
  .marquee { margin-top: 56px; }
  .marquee span { font-size: 22px; }
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .pkg-grid, .steps, .about-values { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .quote .avatar image-slot { width: 88px; height: 88px; }
  .testi-nav { flex-direction: column-reverse; gap: 22px; align-items: flex-start; }
}

/* ---- Phone ---- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding-block: 14px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; right: var(--gutter); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; gap: 16px; box-shadow: 0 20px 50px -28px rgba(60,42,28,.5); }
  .nav-toggle { display: block; }
  .about, .services, .tools, .process, .testi, .pkg { padding-block: 68px; }
  .section-head h2 { font-size: clamp(30px, 8vw, 42px); }
  .about-body .lead { font-size: 18px; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .hero-meta .stat .n { font-size: 34px; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .step { border-left: 0; padding-left: 0; padding-block: 22px; }
  .step .dot { display: none; }
  .plan { padding: 30px 26px; }
  .form { padding: 26px 22px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ---- Small phone ---- */
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(34px, 12vw, 44px); }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .client-grid { grid-template-columns: 1fr; }
  .hero-meta .stat .l { font-size: 12.5px; }
}
