/* =========================================================
   FnBeyond — v2
   Dark, photographic, big condensed type.
   ========================================================= */

:root {
  color-scheme: only light;
  /* luxury hospitality: navy, brass, slate, ivory (old espresso/saffron set is in ../backups) */
  --ink: #14213d;
  --deep: #3b4a63;
  --accent: #b8924a;
  --accent-ink: #8a6a2e;
  --accent-soft: #d4b47a;
  --mist: #ece6d8;
  --paper: #f7f3ea;
  --text: #16203a;
  --muted: #5d6478;
  --line: rgba(20, 33, 61, .14);
  --line-d: rgba(255, 255, 255, .14);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.display {
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
}
.display em, .serif-i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-stretch: normal;
  color: var(--accent);
}
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.on-dark { color: #fff; }
.on-dark .label { color: var(--accent-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; border-radius: 40px;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: var(--deep); color: #fff; }
.btn--big { height: 72px; padding: 0 40px; font-size: 17px; }
.wa-ico { display: inline-flex; width: 20px; height: 20px; }
.wa-ico svg { width: 100%; height: 100%; fill: currentColor; }

.more {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
}
.more::after {
  content: "\2192";
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid currentColor; font-size: 16px;
  transition: background .25s, color .25s, transform .25s;
}
.more:hover::after { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(4px); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .35s, height .35s; }
.hdr__in { display: flex; align-items: center; gap: 40px; height: 88px; transition: height .35s; }
.hdr.is-solid { background: rgba(20, 33, 61, .96); backdrop-filter: blur(10px); }
.hdr.is-solid .hdr__in { height: 70px; }

.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.logo { background: var(--ink); padding: 8px 14px; border-radius: 12px; }
.logo img { /* white logo files, no CSS filter: survives browsers' forced dark mode */ }
.logo img:first-child { height: 46px; }
.logo img:last-child { height: 24px; }

.nav { display: flex; gap: 34px; }
.nav a {
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  position: relative; transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: 50%; top: -12px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--accent);
}
.hdr .btn { height: 44px; padding: 0 20px; font-size: 13px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.burger span { display: block; width: 26px; height: 2px; margin: 7px auto; background: #fff; transition: transform .3s; }

/* ---------- HOME hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; background: var(--ink); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 33, 61, .55) 0%, rgba(20, 33, 61, .15) 35%, rgba(20, 33, 61, .92) 100%);
}
.hero .wrap { position: relative; padding-bottom: 56px; padding-top: 140px; }
.hero h1 { font-size: clamp(64px, 12.5vw, 210px); margin-top: 22px; }
.hero h1 em { color: var(--accent-soft); }
.hero__foot {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-d);
}
.hero__foot p { max-width: 34em; color: rgba(255, 255, 255, .82); font-size: 18px; }

/* scrolling ticker */
.ticker { background: var(--accent); color: var(--ink); overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: tick 40s linear infinite; padding: 16px 0; }
.ticker span {
  font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .02em;
  padding: 0 22px; display: inline-flex; align-items: center; gap: 44px;
}
.ticker span::after { content: "\2726"; font-size: 14px; color: #fff; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- statement with inline photos ---------- */
.statement { padding: clamp(90px, 12vw, 170px) 0; }
.statement__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.statement__grid > .label, .intro2__grid > .label { margin-top: .9em; }
.statement__text {
  font-size: clamp(30px, 4.1vw, 62px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em;
  color: var(--ink);
}
.statement__text .serif-i { font-size: 1.08em; }
.pic {
  display: inline-block; vertical-align: middle;
  width: 1.9em; height: .95em; border-radius: 1em; overflow: hidden;
  margin: 0 .08em; transform: translateY(-.06em);
}
.pic img { width: 100%; height: 100%; object-fit: cover; }
.statement .more { margin-top: 48px; color: var(--ink); }

/* ---------- expanding service panels ---------- */
.panels-sec { background: var(--ink); color: #fff; padding: clamp(90px, 10vw, 140px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(44px, 6.4vw, 104px); margin-top: 18px; }
.panels { display: flex; gap: 12px; height: 640px; }
.panel {
  position: relative; flex: 1; overflow: hidden; border-radius: 18px;
  text-decoration: none; color: #fff;
  transition: flex .7s cubic-bezier(.2, .7, .2, 1);
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 61, .1) 30%, rgba(20, 33, 61, .9)); }
.panel__body { position: absolute; inset: auto 0 0; padding: 34px; z-index: 1; }
.panel__n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent-soft); }
.panel h3 { font-size: clamp(38px, 3.8vw, 60px); margin: 6px 0 0; }
.panel ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s, opacity .4s, margin .4s;
}
.panel li { font-size: 13px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 30px; white-space: nowrap; }
.panels:hover .panel { flex: .8; }
.panels .panel:hover { flex: 1.7; }
.panel:hover img { transform: scale(1.04); }
.panel:hover ul { max-height: 200px; opacity: 1; margin-top: 18px; }

/* ---------- feature (live consultation) ---------- */
.feature { padding: clamp(90px, 10vw, 150px) 0; }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.feature__img { position: relative; }
.feature__img figure { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.feature__img figure img { width: 100%; height: 100%; object-fit: cover; }
.feature__badge {
  position: absolute; right: -34px; top: 40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 18px; line-height: 1;
  transform: rotate(-10deg);
}
.feature h2 { font-size: clamp(40px, 5vw, 78px); margin: 22px 0 28px; color: var(--ink); }
.feature p { color: var(--muted); font-size: 18px; max-width: 32em; }
.feature .feature__quote {
  margin-top: 36px; padding: 26px 0 0; border-top: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.25; color: var(--deep);
}

/* ---------- reasons (hover image list) ---------- */
.reasons { background: var(--ink); color: #fff; padding: clamp(90px, 10vw, 150px) 0; position: relative; }
.reasons__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.reason {
  display: grid; grid-template-columns: 90px 1.3fr 1fr; gap: 30px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line-d);
  transition: padding .4s, color .3s;
}
.reason__n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--accent-soft); }
.reason h3 { font-size: clamp(34px, 4.4vw, 70px); transition: color .3s, transform .4s; }
.reason p { color: rgba(255, 255, 255, .7); font-size: 16.5px; }
.reason__thumb { display: none; }
.reasons__list:hover .reason h3 { color: rgba(255, 255, 255, .3); }
.reasons__list .reason:hover h3 { color: #fff; transform: translateX(14px); }


/* ---------- mosaic ---------- */
.mosaic {
  display: grid; gap: 12px; padding: 12px;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr; grid-template-rows: 300px 300px;
}
.mosaic figure { border-radius: 14px; overflow: hidden; }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figure:nth-child(1) { grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-row: span 2; }

/* ---------- big CTA ---------- */
.bigcta { background: var(--accent); color: var(--ink); padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; }
.bigcta h2 { font-size: clamp(80px, 17vw, 290px); line-height: .82; }
.bigcta h2 em { color: #fff; }
.bigcta__row { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(20, 33, 61, .25); }
.bigcta__row p { font-size: 19px; max-width: 28em; }
.bigcta__num { font-stretch: 72%; font-weight: 800; font-size: clamp(26px, 3vw, 40px); text-decoration: none; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 90px 0 30px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 70px; }
.ftr__grid h4 { color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.ftr__grid p { max-width: 22em; }
.ftr__grid ul { list-style: none; margin: 0; padding: 0; }
.ftr__grid li { padding: 4px 0; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--accent-soft); }
.ftr__word { width: 100%; opacity: .95; }
.ftr__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; font-size: 13px; color: rgba(255, 255, 255, .45); }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 74px; z-index: 95;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5);
  transition: transform .25s;
}
.wa-float .wa-ico { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.p-hero { background: var(--ink); color: #fff; padding: 170px 0 0; }
.p-hero__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding-bottom: 56px; }
.p-hero h1 { font-size: clamp(60px, 10vw, 170px); margin-top: 22px; }
.p-hero h1 em { color: var(--accent-soft); }
.p-hero__aside { max-width: 22em; color: rgba(255, 255, 255, .75); font-size: 17px; padding-bottom: 10px; }
.p-hero--stack .p-hero__top { grid-template-columns: 1fr; align-items: start; gap: 22px; }
.p-hero--stack h1 em { font-size: 1.2em; line-height: .8; }
.p-hero--stack .p-hero__aside { max-width: 44em; font-size: clamp(17px, 1.4vw, 20px); padding-bottom: 0; }
.p-hero__img { height: clamp(300px, 56vh, 620px); overflow: hidden; border-radius: 18px 18px 0 0; }
.p-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* about: intro */
.intro2 { padding: clamp(90px, 10vw, 150px) 0; }
.intro2__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.intro2__big { font-size: clamp(26px, 3vw, 44px); line-height: 1.22; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.intro2__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; color: var(--muted); }
.intro2__mid { margin-top: 40px; text-align: justify; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.45; color: var(--muted); }

/* mission / vision blocks */
.mv2 { display: grid; grid-template-columns: 1fr 1fr; }
.mv2__b { padding: clamp(60px, 7vw, 110px) var(--pad); min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.mv2__b--accent { background: var(--accent); color: var(--ink); }
.mv2__b--deep { background: var(--deep); color: #fff; }
.mv2__b h2 { font-size: clamp(60px, 8vw, 130px); }
.mv2__b p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; max-width: 22em; }
.mv2__b .label { color: inherit; opacity: .8; }

/* approach */
.approach { padding: clamp(90px, 10vw, 150px) 0; }
.approach__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.approach__lines { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.approach__lines li {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.8vw, 58px); line-height: 1; color: var(--ink);
}
.approach__lines li span { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--accent); font-stretch: normal; font-size: .7em; }
.approach figure { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.approach figure img { width: 100%; height: 100%; object-fit: cover; }

/* services page */
.chips { position: sticky; top: 70px; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.chips .wrap { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; }
.chips a {
  flex: none; text-decoration: none; padding: 10px 20px; border-radius: 30px; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  transition: background .2s, color .2s;
}
.chips a:hover, .chips a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.svc { padding: clamp(80px, 9vw, 130px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.svc:nth-of-type(even) { background: var(--mist); }
.svc__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.svc__side { position: sticky; top: 160px; }
.svc__n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); }
.svc h2 { font-size: clamp(54px, 7vw, 116px); color: var(--ink); margin: 4px 0 20px; }
.svc__side p { color: var(--muted); font-size: 18px; max-width: 26em; }
.svc__side figure { margin-top: 36px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 11; }
.svc__side figure img { width: 100%; height: 100%; object-fit: cover; }
.svc__group + .svc__group { margin-top: 56px; }
.svc__group h3 {
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  padding-bottom: 16px; border-bottom: 2px solid var(--ink);
}
.svc__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.svc__list li {
  counter-increment: s;
  display: grid; grid-template-columns: 54px 1fr; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 1.9vw, 27px); font-weight: 500; color: var(--ink); letter-spacing: -.01em;
  transition: padding .3s, color .3s;
}
.svc__list li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .1em; }
.svc__list li:hover { padding-left: 12px; color: var(--accent); }

/* contact page */
.contact2 { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100vh; background: var(--ink); color: #fff; }
.contact2__l { padding: 170px var(--pad) 90px; display: flex; flex-direction: column; justify-content: center; }
.contact2 h1 { font-size: clamp(72px, 11vw, 190px); margin: 22px 0 30px; }
.contact2 h1 em { color: var(--accent-soft); }
.contact2__l > p { color: rgba(255, 255, 255, .78); font-size: 19px; max-width: 30em; margin-bottom: 40px; }
.contact2__r { position: relative; min-height: 420px; }
.contact2__r img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.tell { padding: clamp(80px, 9vw, 130px) 0; }
.tell__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 100px); }
.tell h2 { font-size: clamp(44px, 5.4vw, 84px); color: var(--ink); margin-top: 18px; }
.tell ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: t; }
.tell li { counter-increment: t; display: grid; grid-template-columns: 70px 1fr; padding: 28px 0; border-bottom: 1px solid var(--line); }
.tell li::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--accent); line-height: 1; }
.tell b { display: block; font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 4px; letter-spacing: -.01em; }
.tell span { color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 12px 12px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 70px;
  padding: 34px; border-radius: 18px; min-height: 260px;
  background: var(--mist); color: var(--ink); text-decoration: none;
  transition: background .3s, color .3s;
}
.tile:hover { background: var(--ink); color: #fff; }
.tile--wa { background: var(--accent); }
.tile__k { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tile__v { font-stretch: 72%; font-weight: 800; font-size: clamp(28px, 2.8vw, 42px); line-height: 1; word-break: break-word; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panels:hover .panel, .panels .panel:hover { flex: none; height: 440px; }
  .panel ul { max-height: none; opacity: 1; margin-top: 18px; }
  .reason { grid-template-columns: 70px 1fr; }
  .reason p { grid-column: 2; }
  .feature__grid, .approach__grid, .svc__grid, .tell__grid { grid-template-columns: 1fr; }
  /* "Our approach" lines: centred on phones */
  .approach .label { display: flex; justify-content: center; text-align: center; }
  .approach__lines li { justify-content: center; text-align: center; gap: 4px 12px; flex-wrap: nowrap; white-space: nowrap; font-size: min(7vw, 52px); }
  .svc__side { position: static; }
  .feature__badge { right: 16px; }
  .contact2 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 0 var(--pad);
    background: var(--ink);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav a { font-size: 44px; font-stretch: 72%; font-weight: 800; letter-spacing: 0; color: #fff; padding: 6px 0; }
  .nav a[aria-current="page"] { color: var(--accent-soft); }
  .nav a[aria-current="page"]::before { display: none; }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .hdr .btn { display: none; }
  .burger { display: block; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero__foot { grid-template-columns: 1fr; }
  .statement__grid, .intro2__grid { grid-template-columns: 1fr; gap: 24px; }
  .intro2__cols { grid-template-columns: 1fr; gap: 20px; }
  .mv2 { grid-template-columns: 1fr; }
  .mv2__b { min-height: 0; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .mosaic figure:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .mosaic figure:nth-child(4) { grid-row: span 1; }
  .mosaic figure:nth-child(5) { grid-column: span 2; }
  .p-hero__top { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 180px; gap: 40px; }
  .reason { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
  .reason p { grid-column: auto; }
  .reasons__list:hover .reason h3 { color: #fff; }
  .feature__badge { width: 116px; height: 116px; font-size: 15px; top: -30px; }
  .panel { height: 400px; }
  .panel__body { padding: 24px; }
}

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

/* =========================================================
   SITE ASSISTANT
   ========================================================= */
.ai-launch {
  position: fixed; right: 94px; bottom: 80px; z-index: 96;
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px 0 16px; border: 0; border-radius: 30px; cursor: pointer;
  background: var(--ink); color: #fff;
  font: 600 14px/1 var(--sans); letter-spacing: .04em;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: transform .25s, opacity .25s;
}
.ai-launch:hover { transform: translateY(-2px); }
.ai-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
.ai-launch__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(184, 146, 74, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(184, 146, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 146, 74, 0); } }

.ai-panel {
  position: fixed; right: 22px; bottom: 148px; z-index: 120;
  width: 390px; height: min(620px, calc(100vh - 180px));
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--text);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
  opacity: 0; pointer-events: none; transform: translateY(16px) scale(.98); transform-origin: bottom right;
  transition: opacity .3s, transform .3s;
}
.ai-panel.is-open { opacity: 1; pointer-events: auto; transform: none; }

.ai-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.ai-head img { height: 32px; }
.ai-head div { flex: 1; line-height: 1.25; }
.ai-head b { display: block; font-size: 15px; }
.ai-head span { font-size: 12px; color: rgba(255, 255, 255, .65); }
.ai-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ai-close:hover { background: var(--accent); color: var(--ink); }

.ai-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.ai-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ai-msg--me { align-self: flex-end; background: var(--deep); color: #fff; border-bottom-right-radius: 4px; }
.ai-sum { display: inline-block; margin: 2px 0 6px; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--mist); border-radius: 4px; }
.ai-wa {
  display: block; margin-top: 12px; padding: 11px 14px; border-radius: 12px; text-align: center;
  background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}
.ai-wa:hover { background: #1ebe5a; }

.ai-typing { display: flex; gap: 4px; padding: 14px 16px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .2s; }
.ai-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; }
.ai-chips:empty { display: none; }
.ai-chips button {
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: 7px 12px; border-radius: 20px; font: 500 13px var(--sans); cursor: pointer;
  transition: background .2s, color .2s;
}
.ai-chips button:hover { background: var(--ink); color: #fff; }

.ai-form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #fff; }
.ai-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 24px; padding: 11px 16px; font: 15px var(--sans); background: var(--paper); color: var(--text); }
.ai-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.ai-form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 18px; cursor: pointer; }

@media (max-width: 860px) {
  .ai-launch { right: 92px; bottom: 26px; padding: 0 16px 0 14px; }
  .ai-panel { right: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; }
  /* free Netlify hosting adds a fixed "Powered by Netlify" badge at the bottom: keep it clear of the buttons and chat */
  .wa-float { bottom: 74px; }
  .ai-launch { bottom: 78px; }
  .ai-panel { bottom: 64px; height: calc(100% - 64px); }
}

/* ---------- palette contrast: saffron needs dark text, and a deeper tone on light backgrounds ---------- */
.label, .display em, .serif-i, .svc__n, .svc__group h3, .approach__lines li span, .tell li::before { color: var(--accent-ink); }
.svc__list li:hover { color: var(--accent-ink); }
.hero .display em, .panels-sec .display em, .reasons .display em, .p-hero .display em, .contact2 .display em { color: var(--accent-soft); }
.p-hero .label, .hero .label, .panels-sec .label, .reasons .label, .contact2 .label { color: var(--accent-soft); }
.mv2__b .label { color: inherit; }
.btn { color: var(--ink); }
.btn:hover { background: #fff; color: var(--ink); }
.btn--ink { color: #fff; }
.btn--ink:hover { background: var(--deep); color: #fff; }
.more:hover::after { color: var(--ink); }
.feature__badge { color: var(--ink); }
.bigcta .display em { color: var(--deep); }
.feature .feature__quote { color: var(--deep); }
