/* =========================================================
   The Ress Brand — Virtual Assistant portfolio
   Brand colour: #cc4e00
   ========================================================= */

:root {
  --brand: #cc4e00;
  --brand-600: #b34500;
  --brand-700: #993a00;
  --brand-soft: #fbeadf;
  --brand-tint: #fff5ee;

  --ink: #1c1612;
  --ink-soft: #4a4039;
  --muted: #8a7d72;

  --cream: #fdf8f3;
  --paper: #ffffff;
  --line: #ece2d8;

  --shadow-sm: 0 1px 2px rgba(28, 22, 18, .05), 0 4px 12px rgba(28, 22, 18, .04);
  --shadow-md: 0 10px 30px rgba(28, 22, 18, .08);
  --shadow-lg: 0 24px 60px rgba(28, 22, 18, .12);

  --radius: 18px;
  --radius-lg: 28px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(64px, 9vw, 120px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-soft);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
  color: var(--ink);
}

.section__head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section__sub { color: var(--ink-soft); font-size: 1.08rem; margin: 0 auto; max-width: 54ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  line-height: 1;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(204, 78, 0, .28);
}
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(204, 78, 0, .34); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .32);
}
.btn--whatsapp:hover { background: #1fbe5a; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, .4); }
.btn__wa { filter: brightness(0) invert(1); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 243, .72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__logo { height: 62px; width: auto; max-width: 260px; object-fit: contain; display: block; }
.brand__logo--footer { height: 64px; max-width: 260px; }
.brand__fallback { align-items: center; gap: 10px; }
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(204, 78, 0, .3);
}
.brand__text { font-size: 1.25rem; letter-spacing: -.01em; font-family: var(--font-display); }
.brand__dot { color: var(--brand); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 500; font-size: .98rem; color: var(--ink-soft); transition: color .2s ease; }
.nav__links a:hover { color: var(--brand); }
.nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--brand); }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 .3em;
}
.hero__title em { font-style: italic; color: var(--brand); }
.hero__lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36ch; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: .9rem; color: var(--muted);
}
.hero__trust li { position: relative; padding-left: 18px; }
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); transform: translateY(-50%);
}

/* Hero decorative motion layer */
.hero__copy, .hero__visual { position: relative; z-index: 1; }
.hero__deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__deco .deco { position: absolute; }

.deco--squiggle, .deco--wave, .deco--plus { fill: none; stroke: var(--brand); stroke-linecap: round; }
.deco--squiggle { stroke-width: 2; opacity: .16; }
.deco--wave { stroke-width: 2.2; opacity: .13; }
.deco--plus { stroke-width: 2; opacity: .22; }
.deco--squiggle path, .deco--wave path { stroke-dasharray: 5 9; animation: decoFlow 7s linear infinite; }

.deco--dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); opacity: .2; animation: decoTwinkle 5s ease-in-out infinite; }
.deco--ring { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--brand); opacity: .16; animation: decoTwinkle 6s ease-in-out infinite; }

.d1 { width: 120px; top: 14%; right: 30%; animation: decoDrift1 15s ease-in-out infinite; }
.d2 { width: 92px;  bottom: 16%; left: 24%; animation: decoDrift2 18s ease-in-out infinite; }
.d3 { width: 158px; top: 52%; right: 4%;  animation: decoDrift1 21s ease-in-out infinite; }
.d4 { width: 138px; top: 24%; left: 1%;   animation: decoDrift2 17s ease-in-out infinite; }
.pl1 { width: 18px; top: 12%; left: 16%;  animation: decoSpin 26s linear infinite; }
.pl2 { width: 22px; bottom: 14%; right: 16%; animation: decoSpin 32s linear infinite reverse; }
.dot1 { top: 20%; right: 12%; animation-delay: 0s; }
.dot2 { top: 64%; left: 8%;  width: 7px; height: 7px; animation-delay: 1.4s; }
.dot3 { bottom: 24%; right: 34%; width: 8px; height: 8px; animation-delay: 2.6s; }
.dot4 { top: 40%; left: 40%; width: 6px; height: 6px; opacity: .14; animation-delay: 3.4s; }
.rg1 { top: 70%; right: 22%; animation-delay: 1s; }

@keyframes decoFlow { to { stroke-dashoffset: -28; } }
@keyframes decoTwinkle { 0%, 100% { opacity: .1; transform: scale(.85); } 50% { opacity: .32; transform: scale(1.2); } }
@keyframes decoSpin { to { transform: rotate(360deg); } }
@keyframes decoDrift1 { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(10px, -16px) rotate(3deg); } }
@keyframes decoDrift2 { 0%, 100% { transform: translate(0, 0) rotate(2deg); } 50% { transform: translate(-12px, 14px) rotate(-4deg); } }

/* Hero visual */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__blob {
  position: absolute; inset: -10% -6% -10% -6%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(204, 78, 0, .18), transparent 70%),
              radial-gradient(50% 50% at 20% 80%, rgba(204, 78, 0, .12), transparent 70%);
  z-index: 0; filter: blur(8px);
}

/* Hero figure — transparent portrait on a soft, subtle backdrop */
.hero-figure {
  position: relative;
  display: grid; place-items: end center;
  width: min(560px, 94vw);
  min-height: 580px;
}
.hero-figure__glow {
  position: absolute; z-index: 0; bottom: 4%; left: 50%;
  transform: translateX(-50%);
  width: min(440px, 82vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(204, 78, 0, .16), transparent 62%);
  filter: blur(36px);
  animation: floatOrb1 18s ease-in-out infinite alternate;
}
.hero-figure__img {
  position: relative; z-index: 1;
  width: 100%; max-width: 100%; max-height: 640px;
  object-fit: contain; object-position: bottom center;
  /* fade the lower half of the portrait into the background */
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}
.portrait {
  position: relative; z-index: 1;
  width: min(420px, 80vw);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--brand-soft), var(--brand-tint));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
}
.portrait__img { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; }
.portrait__fallback {
  grid-area: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 12rem);
  font-weight: 500;
  color: var(--brand);
  opacity: .85;
}
.portrait__badge {
  position: absolute; z-index: 2;
  left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.portrait__dot {
  width: 9px; height: 9px; border-radius: 50%; background: #22a06b;
  box-shadow: 0 0 0 0 rgba(34, 160, 107, .5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 160, 107, .5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 160, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); }
}

/* ---------- Animated hero scene ---------- */
.hero-scene { display: grid; place-items: center; position: relative; }
.hero-scene__core {
  position: relative; z-index: 2;
  width: 156px; height: 156px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 48px rgba(204, 78, 0, .26), inset 0 0 0 1px var(--brand-soft);
  animation: coreFloat 6s ease-in-out infinite;
}
.hero-scene__logo { width: 74%; height: 74%; object-fit: contain; display: block; }
.hero-scene__core-fallback { font-family: var(--font-display); font-weight: 600; font-size: 3.8rem; color: var(--brand); }
.hero-scene__ring {
  position: absolute; z-index: 1;
  width: 172px; height: 172px; border-radius: 50%;
  border: 2px solid rgba(204, 78, 0, .35);
  animation: ringPulse 3.4s ease-out infinite;
}
.hero-scene__ring--2 { animation-delay: 1.7s; }
@keyframes ringPulse {
  0% { transform: scale(.66); opacity: .8; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes coreFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-scene__chip {
  position: absolute; z-index: 3;
  width: 58px; height: 58px; border-radius: 16px;
  background: #fff; color: var(--brand);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  animation: chipFloat 4.5s ease-in-out infinite;
}
.hero-scene__chip svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene__chip--a { top: 13%; left: 9%;  animation-delay: 0s; }
.hero-scene__chip--b { top: 17%; right: 9%; animation-delay: .9s; color: #2EB67D; }
.hero-scene__chip--c { bottom: 26%; left: 8%; animation-delay: 1.8s; color: #2EB67D; }
.hero-scene__chip--d { bottom: 31%; right: 8%; animation-delay: 2.6s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-13px) rotate(-3deg); } }

/* ---------- Value strip ---------- */
.strip { background: var(--ink); color: var(--cream); }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding-block: clamp(42px, 5vw, 64px);
}
.strip__item { text-align: center; padding: 8px clamp(16px, 2.5vw, 32px); position: relative; }
.strip__item + .strip__item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: rgba(255, 255, 255, .12);
}
.strip__item strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.7rem); color: #fff; line-height: 1; margin-bottom: 12px;
}
.strip__item span {
  display: block; font-size: .92rem; line-height: 1.45;
  color: rgba(253, 248, 243, .66); max-width: 20ch; margin-inline: auto;
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__visual { display: grid; place-items: center; }
.about-scene {
  position: relative;
  width: 100%; max-width: 400px; aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--brand-soft), var(--brand-tint));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about__body p { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 18px; }
.about__list {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.about__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }
.about__list svg { color: var(--brand); flex: 0 0 auto; }

/* ---------- Cards (services) ---------- */
.services { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-tint); margin-bottom: 18px;
  color: var(--brand);
}
.card__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0 0 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- Tools ---------- */
.tools__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  max-width: 1000px; margin-inline: auto;
}
.tools__list .tool {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tools__list .tool:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(204, 78, 0, .14);
  border-color: var(--brand-soft);
}
.tools__list .tool img {
  width: 58px; height: 58px; padding: 12px; box-sizing: border-box;
  background: var(--cream); border-radius: 16px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.tools__list .tool:hover img { transform: scale(1.08) rotate(-3deg); }
.tools__list .tool span { font-weight: 600; font-size: .85rem; color: var(--ink-soft); line-height: 1.3; }

/* ---------- Skills ---------- */
.skills { background: var(--paper); }
.skills__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: 980px; margin-inline: auto;
}
.skills__list li {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px 11px 38px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-soft);
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.skills__list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.skills__list li:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-3px); }

/* ---------- Portfolio / gallery ---------- */
.portfolio { background: var(--paper); }
/* Video sized to match a gallery image tile */
.portfolio__video {
  margin: 0 auto clamp(28px, 4vw, 44px);
  max-width: 270px;
}
.portfolio__video video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.portfolio__video figcaption {
  margin-top: 12px; text-align: center;
  font-weight: 600; font-size: .92rem; color: var(--muted);
}
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery--certs { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; gap: 26px; }
.shot { margin: 0; }
.shot__link {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.shot__link:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.shot__link img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform .45s ease;
}
.shot__link:hover img { transform: scale(1.05); }
.gallery--certs .shot__link { aspect-ratio: 4 / 3; }
.shot figcaption {
  margin-top: 12px; text-align: center;
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(28, 22, 18, .88);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(1000px, 94vw);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14);
  color: #fff; font-size: 2rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* ---------- Work / steps ---------- */
.work { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600; color: var(--brand);
  display: block; margin-bottom: 10px; line-height: 1;
}
.step h3 { font-size: 1.15rem; margin: 0 0 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Book ---------- */
.book { background: linear-gradient(180deg, var(--brand-tint), var(--cream)); }
.book__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.book__visual { display: grid; place-items: center; padding: 10px 18px; }

/* 3D book treatment — works with any cover image */
.book3d {
  position: relative;
  width: min(290px, 74vw);
  transform: rotate(-2deg);
  transition: transform .45s ease;
}
.book3d:hover { transform: rotate(0deg) translateY(-6px); }
.book3d__cover {
  display: block;
  width: 100%;
  border-radius: 4px 7px 7px 4px;
  position: relative;
  z-index: 1;
  /* page-edge stack on the right + soft drop shadow = book look */
  box-shadow:
    1px 0 0 rgba(255, 255, 255, .6),
    3px 0 0 #efe7db,
    4px 0 0 #fff,
    6px 0 0 #e8dfd2,
    7px 0 0 #fff,
    9px 0 0 #e0d6c8,
    10px 0 0 #fff,
    12px 0 0 #d8cdbd,
    18px 24px 46px rgba(28, 22, 18, .32);
}
.book3d__cover--fallback {
  aspect-ratio: 1 / 1.4;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 26px;
}
/* spine binding shadow on the left edge of the cover */
.book3d::before {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  top: 0; left: 0; bottom: 0; width: 18px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, rgba(0,0,0,.32), rgba(0,0,0,.10) 45%, rgba(255,255,255,.16) 55%, transparent 80%);
}
.book3d::after {
  content: ""; position: absolute; z-index: 3; pointer-events: none;
  top: 0; left: 10px; bottom: 0; width: 1px;
  background: rgba(255, 255, 255, .2);
}
.book__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--brand);
  margin: -.4em 0 .8em !important;
  max-width: none !important;
}
.book__cover-title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.05; }
.book__cover-by { margin-top: 14px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.book__copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; margin: 0 0 26px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 34px 30px;
  box-shadow: var(--shadow-sm);
}
.quote__mark {
  position: absolute; top: 6px; left: 26px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--brand-soft);
}
.quote blockquote {
  position: relative; z-index: 1;
  margin: 0 0 22px; font-size: 1.08rem; color: var(--ink-soft);
}
.quote figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 16px; }
.quote__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.quote__role { font-size: .9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__card {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  background: linear-gradient(180deg, var(--brand-tint), var(--cream));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  box-shadow: var(--shadow-md);
}
.contact__card .eyebrow { margin-bottom: 10px; }
.contact__lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 30px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 26px; }
.contact__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--ink); margin: 0;
}
.contact__phone svg { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(52px, 6vw, 76px); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.brand--footer { gap: 12px; }
.brand--footer .brand__text { color: #fff; font-size: 1.2rem; }
.footer__tag { color: rgba(253, 248, 243, .6); font-size: .95rem; margin: 0; max-width: 42ch; }
.footer__links { display: flex; gap: 28px; margin: 4px 0; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: rgba(253, 248, 243, .82); font-weight: 500; transition: color .2s ease; }
.footer__links a:hover { color: var(--brand); }
.footer__copy {
  color: rgba(253, 248, 243, .45); font-size: .85rem; margin: 8px 0 0;
  padding-top: 24px; width: 100%; max-width: 440px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ---------- Floating WhatsApp button ---------- */
.fab {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: 60;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fab img { filter: brightness(0) invert(1); }
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: fabPulse 2.4s infinite;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
.fab__tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--ink); color: #fff;
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: var(--shadow-sm);
}
.fab:hover .fab__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   DYNAMIC ENHANCEMENTS — motion, depth & life
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 80;
  background: linear-gradient(90deg, var(--brand), #ff8a3d);
  box-shadow: 0 0 10px rgba(204, 78, 0, .5);
  transition: width .1s linear;
}

/* Hero — animated aurora orbs */
.hero { isolation: isolate; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px; top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(204, 78, 0, .34), transparent 65%);
  animation: floatOrb1 15s ease-in-out infinite alternate;
}
.hero::after {
  width: 440px; height: 440px; bottom: -180px; right: -80px;
  background: radial-gradient(circle, rgba(255, 150, 80, .28), transparent 65%);
  animation: floatOrb2 19s ease-in-out infinite alternate;
}
@keyframes floatOrb1 { from { transform: translate(0,0) scale(1); } to { transform: translate(50px,40px) scale(1.12); } }
@keyframes floatOrb2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,-50px) scale(1.1); } }

/* Animated gradient on the hero accent word */
.hero__title em {
  background: linear-gradient(100deg, var(--brand) 0%, #ff8a3d 50%, var(--brand) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

.hero__blob { animation: floatOrb2 17s ease-in-out infinite alternate; }

/* Buttons — shine sweep */
.btn { position: relative; overflow: hidden; }
.btn--primary::after, .btn--whatsapp::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); pointer-events: none;
  transition: left .65s ease;
}
.btn--primary:hover::after, .btn--whatsapp:hover::after { left: 150%; }

/* Nav links — animated underline + active state */
.nav__links a:not(.nav__cta) { position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__links a:not(.nav__cta):hover::after,
.nav__links a.is-active:not(.nav__cta)::after { transform: scaleX(1); }
.nav__links a.is-active:not(.nav__cta) { color: var(--brand); }

/* Service cards — hover glow + icon pop */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px circle at 50% 0%, rgba(204, 78, 0, .12), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover::before { opacity: 1; }
.card__icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.card:hover .card__icon { transform: translateY(-4px) rotate(-5deg) scale(1.08); }

/* Marquee band */
.marquee {
  overflow: hidden; background: var(--ink); color: var(--cream);
  padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .08);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 30px;
  white-space: nowrap; will-change: transform;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: -.01em;
}
.marquee__dot { color: var(--brand); font-size: 1rem !important; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Count-up numbers pop slightly when revealed */
.strip__item strong { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .portrait__dot, .fab::after, .hero::before, .hero::after, .hero__blob,
  .hero__title em, .portrait, .marquee__track,
  .hero-scene__core, .hero-scene__ring, .hero-scene__chip,
  .hero-figure__glow, .hero__deco .deco,
  .deco--squiggle path, .deco--wave path { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero-figure { min-height: 420px; width: min(380px, 90vw); }
  .hero-figure__img { max-height: 420px; }
  .about__grid, .book__inner { grid-template-columns: 1fr; }
  .about__visual { order: -1; width: 100%; }
  .about-scene { max-width: 460px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tools__list { grid-template-columns: repeat(3, 1fr); }
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .strip__item + .strip__item::before { display: none; }

  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin-top: 14px; border-bottom: 0 !important; }
  .nav__toggle { display: block; }
}

@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .gallery--certs { grid-template-columns: 1fr; }
  .tools__list { grid-template-columns: 1fr 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .contact__actions .btn { flex: 1 1 100%; justify-content: center; }

  /* keep the About animation roomy, not cramped, on phones */
  .about-scene { aspect-ratio: 1 / 1; }
  .hero-scene__core { width: 124px; height: 124px; }
  .hero-scene__core-fallback { font-size: 3rem; }
  .hero-scene__chip { width: 50px; height: 50px; }
  .hero-scene__chip svg { width: 23px; height: 23px; }
  .hero-scene__chip--a { top: 12%; left: 8%; }
  .hero-scene__chip--b { top: 16%; right: 8%; }
  .hero-scene__chip--c { bottom: 16%; left: 8%; }
  .hero-scene__chip--d { bottom: 20%; right: 8%; }
}
