/* ===========================================================
   Be Me Space — v2 Earthy Boutique (revised palette + typography)
   Cream + navy palette. Fraunces for h1, Neue Power for headings,
   Avenir for body. Drop font files in fonts/ to activate.
   =========================================================== */

/* -------- Custom font faces (drop trial files in fonts/) -------- */
@font-face {
  font-family: "Neue Power";
  src: url("fonts/NeuePowerTrial-Heavy.woff2") format("woff2"),
       url("fonts/NeuePowerTrial-Heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Power";
  src: url("fonts/NeuePowerTrial-Medium.woff2") format("woff2"),
       url("fonts/NeuePowerTrial-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Power";
  src: url("fonts/NeuePowerTrial-Regular.woff2") format("woff2"),
       url("fonts/NeuePowerTrial-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("fonts/AvenirNext-Regular.woff2") format("woff2"),
       url("fonts/AvenirNext-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("fonts/AvenirNext-Medium.woff2") format("woff2"),
       url("fonts/AvenirNext-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url("fonts/AvenirNext-Demi.woff2") format("woff2"),
       url("fonts/AvenirNext-Demi.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --linen:    #F8F1E2;
  --sand:     #EFE5D0;
  --sand-2:   #E2D4B7;

  --blue-deep:#263a99;        /* primary brand color (h1 italic, buttons, footer) */
  --blue-mid: #1B2D7E;        /* deeper hover state */
  --blue-light:#96b4df;       /* contact section background */

  /* clay = legacy alias, now mapped to navy so existing rules just work */
  --clay:     var(--blue-deep);
  --clay-2:   var(--blue-mid);
  --olive:    #6B7541;        /* sage — used in 1 client logo style */

  --ink:      #14182E;        /* body text — neutral dark navy/ink */
  --ink-2:    #4A5168;        /* muted body */
  --ink-3:    #7A809A;        /* hint */
  --line:     rgba(20, 24, 46, .12);
  --line-2:   rgba(20, 24, 46, .22);

  --radius:    8px;
  --radius-lg: 16px;

  --shadow-1: 0 8px 30px rgba(20, 24, 46, .08);
  --shadow-2: 0 24px 60px rgba(20, 24, 46, .16);

  --container: 1240px;
  --space:     clamp(96px, 12vw, 160px);

  /* Typography — h1 only uses display serif (Fraunces).
     All other headings + nav use Neue Power Trial Heavy.
     Paragraphs / body / buttons use Avenir. */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-heading: "Neue Power", "Mulish", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-body:    "Avenir", "Avenir Next", "Mulish", "Inter", system-ui, -apple-system, sans-serif;

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

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--ink);
}
h1 {
  font-family: var(--font-display);
  font-weight: 500;
}
h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;        /* Neue Power Heavy */
  letter-spacing: -.025em;
}
em { font-style: italic; }
p { margin: 0; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 22px; } }

/* -------- Buttons + links -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .005em;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 15.5px; }

.btn--primary {
  background: var(--ink);
  color: var(--linen);
}
.btn--primary:hover { background: var(--clay-2); transform: translateY(-1px); }

.btn--clay {
  background: var(--clay);
  color: var(--linen);
}
.btn--clay:hover { background: var(--linen); color: var(--ink); transform: translateY(-1px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--line-2);
  align-self: flex-start;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }
.link-arrow:hover svg { transform: translateX(6px); }

/* link-arrow on light blue CTA bg — dark text + subtle border */
.link-arrow--light {
  color: var(--ink);
  border-color: rgba(20, 24, 46, .35);
}
.link-arrow--light:hover { color: var(--blue-deep); border-color: var(--blue-deep); }

/* -------- Navbar -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(248, 241, 226, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand__logo {
  display: block;
  width: 96px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
  transition: transform .35s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-1deg) scale(1.04); }
.brand--light .brand__logo {
  filter: brightness(0) invert(1);
  width: 132px;
  height: 55px;
}
@media (max-width: 540px) {
  .brand__logo { width: 80px; height: 34px; }
}

.nav__links {
  display: flex;
  gap: 32px;
  font-family: var(--font-heading);   /* Neue Power for navigation */
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-2);
}
.nav__links a { position: relative; padding: 8px 0; transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta { display: none; }
@media (min-width: 760px) { .nav__cta { display: inline-flex; } }

.lang-toggle {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
  background: transparent;
}
.lang-toggle__pill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  width: 76px;
}
.lang-toggle__pill::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .3s var(--ease);
  transform: translateX(100%);
}
.lang-toggle__pill[data-active="en"]::before { transform: translateX(0); }
.lang-opt {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  padding: 6px 0;
  color: var(--ink-2);
  transition: color .3s var(--ease);
}
.lang-toggle__pill[data-active="en"] .lang-opt[data-lang="en"],
.lang-toggle__pill[data-active="id"] .lang-opt[data-lang="id"] {
  color: var(--linen);
}

.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 9px; right: 9px;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 24px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    background: var(--linen);
    padding: 28px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    visibility: hidden;             /* prevents the panel's cream bg from painting over navbar */
    pointer-events: none;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav__links a { font-size: 18px; padding: 12px 0; font-family: var(--font-heading); }
  .nav__links.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .35s var(--ease), visibility 0s linear 0s;
  }
  .nav__burger { display: block; }
}

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 12vw, 160px);
  background: var(--linen);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; gap: 56px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.eyebrow__line {
  width: 36px;
  height: 1px;
  background: var(--ink-2);
}

.hero__title {
  font-family: var(--font-display);   /* h1 — Fraunces serif */
  font-size: clamp(56px, 9vw, 124px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 32px;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}

.hero__lede {
  max-width: 520px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat { display: inline-flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -.02em;
  line-height: 1;
}
.stat__num i { font-style: normal; font-size: .6em; vertical-align: .25em; margin-left: 2px; color: var(--clay); }
.stat__label { font-size: 12.5px; color: var(--ink-3); letter-spacing: .03em; }
.stat__sep { width: 1px; height: 32px; background: var(--line); align-self: center; }
@media (max-width: 540px) { .stat__sep { display: none; } }

/* Hero photo */
.hero__visual { position: relative; }
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: 12px 12px 200px 200px / 12px 12px 200px 200px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
  box-shadow: var(--shadow-2);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.hero-photo:hover img { transform: scale(1.04); }
.hero-photo figcaption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--linen);
  font-size: 13px;
  letter-spacing: .04em;
}
.hero-photo__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
}
.hero-photo__cap {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: .01em;
  opacity: .92;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 24, 46, .55) 100%);
  pointer-events: none;
}

.hero-stamp {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--linen);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  border: 1px solid rgba(248, 241, 226, .25);
  transform: rotate(-8deg);
  z-index: 2;
}
@media (max-width: 920px) { .hero__visual { max-width: 480px; margin: 0 auto; } }

/* -------- Generic section -------- */
.section { padding: var(--space) 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
}
/* eyebrow inside CTA banner — dark on light blue */
.section-eyebrow--inverse { color: var(--blue-deep); opacity: .85; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 800;                  /* Neue Power Heavy */
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 22ch;
}
.section-title em { font-style: normal; font-weight: 800; color: var(--clay); }
.section-sub {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--ink-2);
  max-width: 62ch;
  margin-top: 20px;
  line-height: 1.65;
}
.section-head { margin-bottom: 64px; max-width: 980px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-title { max-width: 26ch; margin-inline: auto; }
.section-head--center .section-sub { margin-inline: auto; }

/* -------- About -------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .about__inner { grid-template-columns: 1fr; } }
.about__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-2);
  line-height: 1.7;
}
.about__head .section-title { max-width: 16ch; }

/* -------- Client logo carousel -------- */
.client { padding-bottom: clamp(64px, 8vw, 100px); }
.client .section-head { margin-bottom: 56px; }

.logo-marquee {
  position: relative;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 0;
  border-block: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
}
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee::before { left: 0;  background: linear-gradient(90deg, var(--sand), transparent); }
.logo-marquee::after  { right: 0; background: linear-gradient(270deg, var(--sand), transparent); }

.logo-track {
  display: flex;
  gap: 64px;
  align-items: center;
  white-space: nowrap;
  width: max-content;
}
.logo-track--ltr { animation: logo-l 56s linear infinite; }
.logo-track--rtl { animation: logo-r 64s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }

@keyframes logo-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logo-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  font-family: var(--font-heading);
  color: var(--ink);
  letter-spacing: -.005em;
  opacity: .68;
  transition: opacity .35s var(--ease);
  flex-shrink: 0;
}
.logo:hover { opacity: 1; }

.logo--serif {
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
}
.logo--serif em { font-style: normal; color: var(--clay); margin: 0 4px; font-size: 20px; }

.logo--mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 8px 14px;
  border-radius: 4px;
  height: auto;
}

.logo--script {
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  color: var(--olive);
  letter-spacing: -.02em;
}

.logo--block {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .04em;
}

.logo--circle { font-weight: 500; font-size: 22px; letter-spacing: -.005em; font-family: var(--font-body); }
.logo--circle i {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--clay);
  margin-right: 4px;
}

.logo--stack {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  padding: 6px 16px;
  border-left: 1px solid var(--clay);
  font-family: var(--font-body);
}
.logo--stack b { font-family: var(--font-heading); font-style: italic; font-size: 22px; letter-spacing: -.01em; text-transform: none; font-weight: 500; }

.logo--bold {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -.025em;
  font-family: var(--font-heading);
}

.logo--dot { font-weight: 500; font-size: 22px; letter-spacing: -.005em; }
.logo--dot i {
  color: var(--clay);
  font-style: normal;
  font-weight: 500;
  margin: 0 2px;
}

/* Image logos — uploaded via Client CPT.
   Matches the height/opacity of text-styled logos for visual consistency. */
.logo--img {
  padding: 0 28px;
}
.logo--img img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  /* Desaturate slightly to blend with the editorial tone — remove this filter line
     for full-color logos. */
  filter: grayscale(100%);
  transition: filter .35s var(--ease);
}
.logo--img:hover img { filter: grayscale(0%); }

@media (max-width: 720px) {
  .logo-track { gap: 40px; }
  .logo { height: 46px; padding: 0 14px; }
  .logo--script { font-size: 26px; }
  .logo--bold { font-size: 22px; }
  .logo--serif { font-size: 22px; }
  .logo--img img { height: 30px; max-width: 140px; }
}

/* -------- Why us — numbered list -------- */
.why__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 920px) { .why__inner { grid-template-columns: 1fr; } }

.why-list {
  display: flex;
  flex-direction: column;
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding .3s var(--ease);
}
.why-item:first-child { border-top: 1px solid var(--line); }
.why-item:hover { padding-left: 8px; }
.why-item__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  line-height: .9;
  color: var(--clay);
}
.why-item__body h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -.015em;
  margin-bottom: 8px;
}
.why-item__body p {
  font-size: clamp(15px, 1.2vw, 16.5px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.65;
}

/* -------- Portfolio grid -------- */
.port-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 720px) { .port-grid { grid-template-columns: 1fr; } }

.port-card { position: relative; }
.port-card--wide { grid-column: span 2; }
@media (max-width: 720px) { .port-card--wide { grid-column: span 1; } }

.port-card__link {
  display: block;
  color: inherit;
}
.port-card__media {
  position: relative;
  margin: 0 0 24px 0;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
}
.port-card--wide .port-card__media { aspect-ratio: 21 / 9; }

.port-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.port-card:hover .port-card__media img { transform: scale(1.05); }

.port-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.port-card__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  color: var(--clay);
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.port-card__meta h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -.015em;
  transition: color .25s var(--ease);
}
.port-card:hover h3 { color: var(--clay); }
.port-card__meta p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* -------- FAQ -------- */
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .faq__inner { grid-template-columns: 1fr; } }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-top: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -.015em;
  color: var(--ink);
  user-select: none;
  transition: color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item:hover summary { color: var(--clay); }

.faq-item__chev {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-2);
  flex-shrink: 0;
  font-family: var(--font-body);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.faq-item[open] .faq-item__chev {
  transform: rotate(45deg);
  background: var(--clay);
  color: var(--linen);
  border-color: var(--clay);
}

.faq-item__body {
  padding: 0 4px 28px 4px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 64ch;
}

/* -------- CTA banner -------- */
.cta-banner {
  position: relative;
  background: var(--blue-light);   /* light periwinkle blue #96b4df */
  color: var(--ink);                /* dark text for readability on light bg */
  padding: clamp(96px, 12vw, 140px) 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner__inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 0 24px; }

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  color: var(--ink);              /* dark text on light blue bg */
}
.cta-banner__title em { font-style: normal; font-weight: 800; color: var(--blue-deep); }

.cta-banner__sub {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--ink);
  opacity: .82;
  max-width: 56ch;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 56px;
}

.cta-banner__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--ink);
  opacity: .85;
  letter-spacing: .02em;
}
.cta-banner__contacts a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }

/* -------- Footer -------- */
.footer {
  background: var(--blue-deep);     /* deep navy #263a99 */
  color: var(--linen);
  padding-top: 80px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand p { color: rgba(248, 241, 226, .6); margin-top: 18px; max-width: 38ch; font-size: 14.5px; line-height: 1.6; }

.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-light);          /* light periwinkle on navy bg */
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  font-size: 14.5px;
  padding: 5px 0;
  color: rgba(248, 241, 226, .78);
  transition: color .25s var(--ease);
}
.footer__col a:hover { color: var(--linen); }

.footer__base {
  border-top: 1px solid rgba(248, 241, 226, .12);
  padding: 24px 0;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(248, 241, 226, .55);
  letter-spacing: .03em;
}
.footer__tagline {
  font-family: var(--font-display);   /* italic Fraunces stays for tagline */
  font-size: 14px;
  color: var(--blue-light);            /* light periwinkle, visible on navy */
}

/* -------- Floating WhatsApp -------- */
.fab-wa {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  width: 58px; height: 58px;
  background: #25D366;              /* WhatsApp green for instant recognition */
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 36px rgba(37, 211, 102, .4), 0 4px 12px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab-wa svg { width: 26px; height: 26px; }
.fab-wa:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(37, 211, 102, .5), 0 6px 16px rgba(0, 0, 0, .15); }

/* -------- Reveal animation -------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------- Instagram section -------- */
.instagram { background: var(--linen); }
.instagram .section-head { margin-bottom: 48px; }

/* Profile header strip */
.ig-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 24px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  max-width: 720px;
  margin: 0 auto 32px;
}
@media (max-width: 540px) { .ig-header { grid-template-columns: auto 1fr; padding: 16px; gap: 14px; } .ig-header__follow { grid-column: 1 / -1; justify-self: center; } }

.ig-header__avatar {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--line);
  flex-shrink: 0;
  overflow: hidden;
}
.ig-header__avatar img {
  width: 38px; height: auto;
  object-fit: contain;
}

.ig-header__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ig-header__handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.ig-header__icon { width: 18px; height: 18px; color: var(--blue-deep); flex-shrink: 0; }
.ig-header__stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.ig-header__stats b { font-weight: 600; color: var(--ink); font-family: var(--font-body); }

.ig-header__follow {
  padding: 10px 22px;
  font-size: 13.5px;
}

/* Tile grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 640px) { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sand);
  border-radius: 4px;
  display: block;
  isolation: isolate;
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.ig-tile:hover img { transform: scale(1.06); }

.ig-tile__type {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 20px;
  height: 20px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}
.ig-tile__type svg { width: 100%; height: 100%; }

.ig-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 24, 46, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  transition: opacity .3s var(--ease);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
}
.ig-tile:hover .ig-tile__overlay,
.ig-tile:focus-visible .ig-tile__overlay { opacity: 1; }
.ig-tile__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ig-tile__stat svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .ig-tile__overlay { gap: 16px; font-size: 13px; }
  .ig-tile__stat svg { width: 16px; height: 16px; }
}

.ig-footer {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* -------- Carousel (inside portfolio cards) -------- */
.carousel { position: absolute; inset: 0; }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}
.carousel-slide[data-active="true"] {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.port-card:hover .carousel-slide[data-active="true"] img { transform: scale(1.04); }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  background: rgba(20, 24, 46, .35);
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.carousel-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.carousel-dot:hover { background: rgba(255, 255, 255, .85); }
.carousel-dot.is-active {
  background: var(--linen);
  width: 28px;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .carousel-slide { transition: none; }
}
