/* Great Digital Marketing — Home (faithful to the Canva "GREAT Website_v2") */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #06101f;
  --navy: #14295a;
  --gold: #b39b6f;
  --gold-2: #c4ad80;
  --gold-ink: #8f7748;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --band: #efefef;
  --cream: #f4f3ef;
  --text: #1e2433;
  --muted: #4a5266;
  --line: #d9d9d9;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --container: 1250px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.15; }
p { margin: 0; }
em { font-style: normal; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

.crop { position: relative; display: block; overflow: hidden; width: 100%; }
.crop > img { position: absolute; max-width: none; height: auto; }

.eyebrow { font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 700; letter-spacing: -.005em; }
.lead { font-size: clamp(1rem, 1.25vw, 1.15rem); font-weight: 400; color: var(--navy); line-height: 1.5; }
.section-head { text-align: center; margin-bottom: clamp(36px, 4.5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.section-head .rule { display: block; width: 68px; height: 3px; background: var(--gold); margin-top: 10px; }
.section-head.on-dark .eyebrow { color: var(--gold); }
.section-head.on-dark .h2 { color: #fff; }

.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 34px; border: 0; border-radius: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-ui); font-size: .95rem; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(6,16,31,.55); }
.btn:hover::after { transform: translateX(120%); }
.btn-gold { --bg: var(--gold); --fg: #fff; }
.btn-gold:hover { --bg: #a88e5f; }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-sm { min-height: 44px; padding: 10px 30px; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: relative; z-index: 50; background: #fff; }
.lang-switch { grid-area: lang; justify-self: end; align-self: center; display: flex; gap: 8px; }
.flag { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 8px 4px 4px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-family: var(--font-ui); font-size: .78rem; font-weight: 700; color: var(--muted); transition: border-color .2s, color .2s, background-color .2s; }
.flag svg { width: 28px; height: 19px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.flag:hover { color: var(--navy); background: var(--mist); }
.flag.is-active { color: var(--navy); border-color: var(--line); }

.header-inner {
  width: min(100% - var(--gutter) * 2, 1250px); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand nav cta lang";
  align-items: center; column-gap: 28px; padding: 10px 0;
}
.brand { grid-area: brand; justify-self: start; display: block; width: clamp(170px, 15vw, 210px); }
.logo-img { width: 100%; }
.main-nav { grid-area: nav; justify-self: center; }
.main-nav ul { display: flex; gap: clamp(22px, 4.2vw, 74px); list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: inline-block; padding: 6px 6px 10px; font-family: var(--font-ui); font-size: 1.08rem; text-transform: uppercase; text-decoration: none; color: var(--navy); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { grid-area: cta; justify-self: end; }
.menu-toggle { display: none; }

.site-header.is-stuck .header-inner {
  position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 60;
  padding: 10px max(var(--gutter), calc((100% - 1250px) / 2));
  grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand nav cta lang"; column-gap: 28px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(6,16,31,.35); animation: barIn .55s var(--ease-out) both;
}
.site-header.is-stuck .brand { width: 220px; justify-self: start; }
.site-header.is-stuck .main-nav { justify-self: center; }
.site-header.is-stuck .main-nav a { font-size: .95rem; }
@keyframes barIn { from { transform: translateY(-100%); } to { transform: none; } }


/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero-media { position: absolute; inset: -8% 0 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,31,.86) 0%, rgba(6,16,31,.74) 45%, rgba(6,16,31,.55) 100%); }
.hero-inner { min-height: clamp(460px, 37.6vw, 600px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 72px; padding-left: clamp(0px, 3vw, 40px); }
.hero-title { color: #fff; font-size: clamp(2rem, 2.9vw, 2.65rem); font-weight: 700; line-height: 1.12; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--gold-2); }
.hero-lead { margin: 20px 0 30px; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.32; color: #fff; max-width: 25em; font-weight: 400; }

/* Trusted */
.trusted { padding: 44px 0 52px; box-shadow: 0 18px 24px -24px rgba(0,0,0,.12); position: relative; }

/* About */
.about { padding: 48px 0 clamp(64px, 7vw, 96px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); background: var(--mist); }
.about-media { margin: 0; position: relative; padding-left: 22px; background: var(--gold); overflow: hidden; }

.about-media .crop > img { transition: transform 1.2s var(--ease-out); }
.about-media:hover .crop > img { transform: scale(1.04); }
.about-copy { padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.about-copy .lead { max-width: 26em; margin-bottom: 26px; }

/* Services */
.services { padding: 0 0 clamp(64px, 7vw, 96px); }
.service-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1200px; }
.service { padding: 24px clamp(10px, 1.6vw, 26px) 34px; text-align: center; border-left: 2px solid #cfcfcf; }
.service:first-child { border-left: 0; }
.service h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; line-height: 1.2; }
.service p { font-size: .98rem; color: var(--text); line-height: 1.3; }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Process */
.process { background: var(--ink); color: #fff; padding: clamp(56px, 6vw, 80px) 0 clamp(64px, 7vw, 92px); }
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1150px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { text-align: center; }
.step-head { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; height: 110px; margin-bottom: 26px; }
.step-num { font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; color: var(--gold); }
.step-icon { width: auto; height: 100px; object-fit: contain; transition: transform .6s var(--ease-out); }
.step:hover .step-icon { transform: translateY(-6px) scale(1.04); }
.step-link { position: absolute; top: 50%; left: calc(50% + 92px); width: calc(100% - 184px); height: 3px; background: var(--gold); transform-origin: left; }
.step h3 { color: #fff; font-size: 1.3rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.step p { color: #fff; font-size: 1.02rem; line-height: 1.2; max-width: 14em; margin-inline: auto; }

/* Cases */
.cases { padding: clamp(36px, 4vw, 52px) 0 clamp(64px, 7vw, 92px); }
.cases .section-head { margin-bottom: 36px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4.2vw, 68px); max-width: 1200px; margin-inline: auto; }
.case { background: #fff; border: 2px solid #ececec; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.case:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(6,16,31,.35); }
.case-shot { overflow: hidden; }
.case-shot .crop > img { transition: transform 1.1s var(--ease-out); }
.case:hover .case-shot .crop > img { transform: scale(1.06); }
.case-body { padding: 22px 24px 26px; }
.case-learn { font-size: 1.3rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.case-learn span { color: var(--navy); }
.case-scope { margin-top: 10px; font-size: 1rem; color: var(--text); }
.case-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; font-size: 1.2rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); text-decoration: none; }
.case-link::after { content: "→"; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease-out); }
.case:hover .case-link::after, .case-link:focus-visible::after { opacity: 1; transform: none; }

/* CTA band */
.cta { background: var(--band); padding: clamp(40px, 4.5vw, 60px) 0; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; align-items: center; gap: 24px; }
.compass { display: block; width: 150px; }
.cta-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.cta-copy .h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.cta-copy .lead { font-size: clamp(1.15rem, 1.9vw, 1.7rem); margin-bottom: 26px; }

/* Reviews */
.reviews { padding: clamp(64px, 7vw, 92px) 0; }
.reviews .h2 { margin-bottom: clamp(36px, 4.5vw, 60px); }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; max-width: 1110px; margin-inline: auto; }
.review { margin: 0; padding: 26px 20px 30px; background: var(--cream); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.review:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -28px rgba(6,16,31,.35); }
.avatar { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; font-weight: 500; margin-bottom: 6px; }
.g-badge { position: absolute; right: -6px; bottom: -4px; width: 22px; height: 22px; }
.review figcaption b { display: block; font-family: var(--font-ui); font-size: .95rem; color: #111; }
.review figcaption span { display: block; font-size: .78rem; color: #6b7080; }
.stars { color: #f6bb06; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.review blockquote { margin: 6px 0 0; font-family: var(--font-ui); font-size: .93rem; line-height: 1.45; color: #2b2b2b; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(52px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 110px); padding-bottom: clamp(48px, 5.5vw, 72px); max-width: 1120px; }
.logo-footer { width: 255px; }
.footer-tagline { margin-top: 32px; font-size: clamp(1.4rem, 2.3vw, 2.05rem); font-weight: 400; line-height: 1.12; color: var(--gold); max-width: 16em; }
.footer-contact { list-style: none; margin: 46px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 56px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact .ico { width: 26px; height: 26px; flex: none; }
.footer-contact .ico svg, .footer-contact .ico img { width: 100%; height: 100%; }
.footer-contact a { font-family: var(--font-ui); text-decoration: none; font-weight: 700; color: #fff; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.newsletter { width: 100%; max-width: 400px; }
.newsletter-title { display: block; font-size: 1.45rem; font-weight: 700; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.newsletter-row { display: flex; }
.newsletter input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 14px; background: transparent; color: #fff; border: 2px solid #fff; border-right: 0; font: inherit; font-size: 1.05rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.75); }
.newsletter input:focus-visible { outline: none; border-color: var(--gold); }
.newsletter .btn { min-height: 52px; padding-inline: 18px; }
.social { display: flex; gap: 20px; }
.social a { display: block; width: 62px; height: 62px; color: var(--gold); transition: transform .4s var(--ease-out), color .3s; }
.social a:hover { transform: translateY(-4px); color: var(--gold-2); }
.social svg { width: 100%; height: 100%; }
.social a[hidden] { display: none; }
.footer-side > .btn { min-width: 330px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.65); max-width: 1120px; }
.footer-bottom a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Forms / dialog */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; margin-top: 10px; font-size: .92rem; }
.form-status.ok { color: #7fd3a7; }
.form-status.err { color: #ff9b9b; }
.booking .form-status.ok { color: #1f7a4d; }
.booking .form-status.err { color: #b42318; }
.booking { width: min(100% - 32px, 640px); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: #fff; color: var(--text); box-shadow: 0 40px 120px -30px rgba(6,16,31,.6); overflow: auto; }
.booking::backdrop { background: rgba(6,16,31,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.booking-card { position: relative; padding: clamp(28px, 5vw, 44px); }
.booking .eyebrow { font-size: .8rem; margin-bottom: 8px; }
.booking h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; padding-right: 36px; }
.booking-lead { margin: 10px 0 24px; color: var(--muted); }
.booking-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: var(--navy); }
.booking-close:hover { background: var(--mist); }
.booking-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.field .opt { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,41,90,.12); }
.field [aria-invalid="true"] { border-color: #b42318; }

/* Simple pages */
.simple-page { background: var(--mist); }
.simple-inner { padding-block: clamp(72px, 10vw, 140px); max-width: 860px; }
.simple-body { margin-top: 22px; }
.simple-body a { color: var(--navy); font-weight: 600; }
.simple-inner .h2 { margin-top: 10px; }

/* Motion defaults */
.js [data-reveal], .js [data-stagger] > *, .js [data-hero-fade], .js .hero-title .line > span { opacity: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .service:nth-child(4) { border-left: 0; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-link { left: calc(50% + 80px); width: calc(100% - 136px); }
  .step-icon { height: 80px; }
}
@media (max-width: 860px) {
  .flag span { display: none; }
  .header-inner { grid-template-columns: 1fr auto auto; grid-template-areas: "brand lang toggle"; column-gap: 10px; padding: 12px 0; }
  .brand { width: 200px; justify-self: start; }
  .main-nav, .header-cta { display: none; }
  .site-header.is-stuck .header-inner { grid-template-columns: 1fr auto auto; grid-template-areas: "brand lang toggle"; }
  .site-header.is-stuck .brand { width: 180px; }
  .hero-media img { object-position: 30% 30%; }
    .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { padding-left: 0; padding-top: 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step-link { display: none; }
  .case-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .compass { width: 112px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-side > .btn { min-width: 0; width: 100%; max-width: 400px; }
}
@media (max-width: 560px) {
      .service-list { grid-template-columns: minmax(0, 1fr); }
  .service { border-left: 0; border-top: 2px solid #e2e2e2; padding-top: 30px; }
  .service:first-child { border-top: 0; }
  .review-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .newsletter-row { flex-direction: column; gap: 10px; }
  .newsletter input { border-right: 2px solid #fff; }
  .btn { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-hero-fade], .js .hero-title .line > span { opacity: 1; }
}

/* ---------- v3 additions ---------- */
/* Client logo carousel */
.logo-marquee { margin-top: 34px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; animation: logos 38s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { flex: none; padding: 0 clamp(36px, 4.5vw, 70px); }
.logo-item .crop { height: 78px; width: auto; transition: transform .4s var(--ease-out); }
.logo-item:hover .crop { transform: scale(1.08); }
@keyframes logos { to { transform: translateX(-33.3333%); } }

/* Service icons: full icon visible + hover animation on the whole column */
.service { position: relative; transition: background-color .4s, box-shadow .4s; cursor: default; }
.service::before { content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.service:hover { background: #faf8f3; }
.service:hover::before { transform: scaleX(1); }
.svc-icon { display: block; width: 96px; margin: 0 auto 24px; }
.svc-svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.svc-svg .r1 { stroke-width: 2.6; }
.svc-svg .r2 { stroke-width: 1.7; }
.svc-svg .glyph { stroke-width: 2.2; transform-origin: 50% 50%; transition: transform .8s cubic-bezier(.22,1,.36,1), stroke .4s; }
.svc-svg .ring { stroke-dasharray: 1; stroke-dashoffset: 0; transform-origin: 50% 50%; transform: rotate(-90deg); }
.service:hover .svc-svg .r1 { animation: ringDraw 1.2s cubic-bezier(.65,0,.35,1); }
.service:hover .svc-svg .r2 { animation: ringDraw 1.2s cubic-bezier(.65,0,.35,1) .12s backwards; }
.service:hover .svc-svg .glyph { transform: scale(1.1); stroke: var(--gold-ink); }
@keyframes ringDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.service h3, .service p { transition: transform .5s var(--ease-out); }
.service:hover h3 { transform: translateY(-3px); }

/* Compass: always turning slowly; JS adds a spin each time it enters the screen */
.compass-anim { overflow: visible; }
.compass-img { display: block; width: 100%; height: auto; }
.compass-anim .crop > img, .compass-anim > img { animation: compassTurn 40s linear infinite; transform-origin: 52.7% 49.8%; }
@keyframes compassTurn { to { transform: rotate(360deg); } }
.compass-anim-soft .crop > img { animation: none; }

/* Inner page hero */
.page-hero { background: #fff; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 48px); align-items: center; width: auto; max-width: none; margin-left: max(var(--gutter), calc((100% - var(--container)) / 2)); margin-right: 0; padding-left: 0; }
.page-hero-copy { padding: 40px 0 48px; }
.page-title { font-size: clamp(2rem, 3.4vw, 3.05rem); font-weight: 700; line-height: 1.1; color: var(--navy); }
.page-title-sm { font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.page-title .line { display: block; overflow: hidden; }
.page-title .line > span { display: inline-block; }
.rule-left { display: block; width: 84px; height: 4px; background: var(--gold); margin: 30px 0 26px; }
.page-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--navy); margin-top: 16px; }
.page-hero-media .crop { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
.js .page-title .line > span { opacity: 0; }

/* Split sections */
.split-dark-img, .split-dark { display: grid; grid-template-columns: minmax(0, 37%) minmax(0, 1fr); background: var(--mist); align-items: stretch; }
.split-dark { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); background: var(--ink); }
.split-media { overflow: hidden; position: relative; background: var(--ink); align-self: stretch; display: flex; align-items: center; }
.split-dark-img .split-media { background: #0b1a2e; }
img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.split-copy { padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 18px; color: var(--navy); font-size: clamp(1rem, 1.25vw, 1.12rem); }
.statement { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.3; }
.statement b { font-weight: 700; }
.split-copy.on-dark { color: #fff; }
.split-copy.on-dark .h2 { color: #fff; font-size: clamp(1.6rem, 2.5vw, 2.25rem); }
.split-copy.on-dark .eyebrow { color: var(--gold); }
.split-copy .rule-left { margin: 6px 0 4px; }
.promises { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.promises li { display: flex; flex-direction: column; gap: 12px; font-size: 1.15rem; line-height: 1.2; }
.promises img, .promises .crop { width: 62px; height: auto; }

.believe { padding: clamp(56px, 6vw, 84px) 0; }
.believe-list { list-style: none; margin: 0 auto; padding: 0 0 30px; max-width: 820px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 3px solid var(--gold); }
.believe-list li { display: flex; flex-direction: column; align-items: center; gap: 18px; font-size: 1.15rem; letter-spacing: .06em; color: var(--text); }
.believe-list li + li { border-left: 3px solid var(--gold); }
.believe-list img { height: 76px; width: auto; transition: transform .6s var(--ease-out); }
.believe-list li:hover img { transform: translateY(-6px) rotate(-6deg); }
.believe-text { text-align: center; margin-top: 32px; display: flex; flex-direction: column; gap: 22px; letter-spacing: .06em; font-size: 1.1rem; color: var(--text); }
.believe-text .strong, .founders .strong { font-weight: 700; color: #111; }

.approach { background: var(--band); padding: clamp(56px, 6vw, 84px) 0; }
.pillars { list-style: none; margin: 0 auto; padding: 0; max-width: 1150px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars li { padding: 6px 22px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pillars li + li { border-left: 3px solid var(--gold); }
.pillars img, .pillars .crop { height: 64px; width: auto; transition: transform .6s var(--ease-out); }
.pillars .crop { width: 96px; height: auto; }
.pillars li:hover img, .pillars li:hover .crop { transform: translateY(-6px) scale(1.05); }
.pillars h3 { font-size: 1.05rem; font-weight: 700; color: #111; margin-top: 8px; }
.pillars p { font-size: 1rem; color: var(--text); line-height: 1.3; }

.mission { padding: clamp(48px, 5vw, 70px) 0; }
.mission-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; }
.mission-compass { display: block; width: 210px; }
.mission-compass .compass-img { opacity: .6; }
.mission-text { font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-weight: 700; font-style: italic; line-height: 1.2; color: var(--navy); margin-top: 10px; }
.mission-text em { color: var(--gold); }

.founders { background: var(--mist); padding: clamp(48px, 5vw, 72px) 0; }
.founders-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.founders-copy { display: flex; flex-direction: column; gap: 18px; color: var(--navy); font-size: clamp(1rem, 1.3vw, 1.18rem); }
.founders-copy .strong { color: var(--navy); }
.founders-photo { margin: 0; }

.quote-cta { padding: clamp(56px, 6vw, 84px) 0; text-align: center; }
.quote-cta .container { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.quote { font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-weight: 700; font-style: italic; color: var(--navy); line-height: 1.3; }

/* Services page blocks */
.svc-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--mist); }
.svc-block + .svc-block { margin-top: 4px; }
.svc-block .svc-media { order: 2; overflow: hidden; position: relative; min-height: 360px; }
.svc-block.flip .svc-media { order: 0; }
.svc-block:hover .svc-media:not(.cinematic) img.cover, .split-dark:hover img.cover { transform: scale(1.05); }
.svc-copy { padding: clamp(36px, 5vw, 64px) clamp(24px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.svc-title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.svc-lead, .svc-ideal { color: var(--navy); font-weight: 400; font-size: 1.08rem; }
.svc-items { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 4px; }
.svc-items li { font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.svc-items li::before { content: "• "; }

/* Case studies page */
.case-study { padding: clamp(48px, 5vw, 76px) 0; }
.case-study.alt { background: #fff; border-top: 1px solid var(--mist); }
.cs-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 60px); align-items: center; max-width: 1150px; margin-inline: auto; }
.cs-grid.flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); }
.cs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-gallery .crop { aspect-ratio: 1.55 !important; }
.cs-gallery .crop > img { transition: transform 1s var(--ease-out); }
.cs-gallery .crop:hover > img { transform: scale(1.06); }
.cs-text { border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); padding: 26px 14px; display: flex; flex-direction: column; gap: 14px; color: var(--text); font-size: 1rem; }
.cs-text h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.goose-visual { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; align-items: center; }
.goose-phone { position: relative; }
.goose-hand { width: 100%; position: relative; z-index: 1; }
.goose-screen { position: absolute; left: 7.4%; top: 0; width: 42.8%; z-index: 0; overflow: hidden; border-radius: 14px; }
.goose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.goose-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease-out); }
.goose-grid img:hover { transform: scale(1.06); }

/* Google reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin: -20px 0 40px; color: var(--text); }
.reviews-head .score { font-size: 1.4rem; font-weight: 700; color: #111; }
.reviews-head .glogo { height: 26px; width: auto; }
.reviews-head a { color: var(--navy); font-weight: 600; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 63px) / 4); gap: 21px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.review-track::-webkit-scrollbar { display: none; }
.review-track .review { scroll-snap-align: start; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review-date { font-size: .78rem; color: #8a8f9c; }
.review blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review .more { background: none; border: 0; padding: 4px 0; color: #6b7080; font-size: .85rem; text-decoration: underline; min-height: 32px; }
.review-nav { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.review-nav button { width: 46px; height: 46px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 1.2rem; transition: background-color .3s, color .3s; }
.review-nav button:hover { background: var(--ink); color: #fff; }

@media (max-width: 1100px) {
  .review-track { grid-auto-columns: calc((100% - 21px) / 2); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .pillars li:nth-child(3) { border-left: 0; }
}
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); width: auto; margin-left: 0; padding: 0 var(--gutter); }
  .page-hero-media { margin: 0 calc(var(--gutter) * -1); }
  .split-dark-img, .split-dark, .svc-block, .founders-grid, .cs-grid, .cs-grid.flip, .mission-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-block .svc-media, .svc-block.flip .svc-media { order: 0; }
  .svc-block .svc-media { min-height: 260px; }
  .mission-compass { width: 120px; margin-inline: auto; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .logo-item .crop { height: 60px; }
}
@media (max-width: 560px) {
  .review-track { grid-auto-columns: 86%; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillars li + li { border-left: 0; border-top: 3px solid var(--gold); padding-top: 24px; }
  .believe-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .believe-list li + li { border-left: 0; }
  .goose-visual { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track, .compass-anim .crop > img, .compass-anim > img { animation: none; }
  .js .page-title .line > span { opacity: 1; }
}
.avatar { background: var(--navy); overflow: visible; }
.avatar img { position: absolute; inset: 0; z-index: 1; }
.avatar .g-badge { z-index: 2; }
.review { height: 100%; }
.main-nav a { white-space: nowrap; }
.site-header.is-stuck .main-nav ul { gap: clamp(16px, 2.2vw, 36px); }
.site-header.is-stuck .flag span { display: none; }

.main-nav ul { gap: clamp(18px, 2.6vw, 44px); }
.main-nav a { font-size: 1rem; }

/* Back to top */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: 22px; z-index: 70; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; box-shadow: 0 12px 28px -10px rgba(6,16,31,.5); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out), visibility .4s, background-color .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); transform: translateY(-4px); }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Canva shows this photo mirrored */
.page-hero-media .crop > img { transform: scaleX(-1); }
.pillar-svg { width: 96px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 3; transition: transform .6s var(--ease-out); }
.pillars li:hover .pillar-svg { transform: translateY(-6px) scale(1.05); }

/* Split photos always fill the full height of their row (no empty bands) */
.split-media { container-type: size; min-height: 420px; display: block; }
.split-media > .crop { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max(100cqw, calc(100cqh * var(--r))); max-width: none; }
@media (max-width: 860px) { .split-media { min-height: 0; height: 72vw; } }

/* Founders photo — layered, interactive */
.founders-photo { position: relative; margin: 0; perspective: 1200px; padding: 0 26px 26px 0; }
.fp-frame { position: absolute; inset: 26px 0 0 26px; border: 2px solid var(--gold); z-index: 0; }
.fp-card { position: relative; z-index: 1; overflow: hidden; transform-style: preserve-3d; will-change: transform; box-shadow: 0 40px 70px -38px rgba(6,16,31,.7); }
.fp-img .crop > img { will-change: transform; }
.fp-sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.2), transparent 55%); opacity: 0; transition: opacity .4s; }
.founders-photo:hover .fp-sheen { opacity: 1; }
.fp-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 70px 24px 20px; background: linear-gradient(transparent, rgba(6,16,31,.92)); color: #fff; font-size: .82rem; }
.fp-cap span { display: flex; flex-direction: column; gap: 2px; color: rgba(255,255,255,.78); letter-spacing: .02em; }
.fp-cap b { color: #fff; font-size: 1.05rem; }
.fp-cap span::before { content: ""; width: 28px; height: 2px; margin-bottom: 8px; background: var(--gold); }
.fp-cap span:last-child { text-align: right; align-items: flex-end; }
.fp-badge { position: absolute; right: -6px; top: -34px; z-index: 2; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--ink); box-shadow: 0 22px 40px -16px rgba(6,16,31,.75), inset 0 0 0 1px rgba(179,155,111,.55); }
.fp-badge b { position: relative; font-size: 2.1rem; line-height: 1; color: var(--gold-2); }
.fp-badge b::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(179,155,111,.45); }
.fp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: fpSpin 22s linear infinite; }
.fp-ring text { font-family: var(--font); font-size: 9.6px; font-weight: 600; fill: #fff; }
@keyframes fpSpin { to { transform: rotate(360deg); } }
.js [data-founders] .fp-cap, .js [data-founders] .fp-badge { opacity: 0; }
@media (max-width: 860px) { .fp-badge { right: 6px; top: -24px; width: 104px; height: 104px; } .fp-badge b { font-size: 1.6rem; } .fp-ring text { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .fp-ring { animation: none; } }

/* Chess photo — cinematic loop: slow push-in toward the king, focus pull, drifting bokeh, gold glint */
.cinematic { background: #000; }
.cinematic img.cover { transform-origin: 32% 55%; animation: chessPush 18s ease-in-out infinite alternate, chessFocus 9s ease-in-out infinite; }
@keyframes chessPush { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.22) translate(3%, -2%); } }
@keyframes chessFocus { 0%, 100% { filter: blur(0) brightness(1) saturate(1.05); } 45% { filter: blur(1.4px) brightness(.92) saturate(1); } 55% { filter: blur(0) brightness(1.08) saturate(1.15); } }
.cinematic .vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 80% at 32% 55%, transparent 40%, rgba(0,0,0,.55) 100%); animation: vig 9s ease-in-out infinite; }
@keyframes vig { 50% { opacity: .65; } }
.cinematic .glint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(105deg, transparent 38%, rgba(255,214,140,.0) 42%, rgba(255,214,140,.45) 48%, rgba(255,214,140,0) 54%, transparent 60%); background-size: 250% 100%; animation: glint 7s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes glint { 0% { background-position: 150% 0; } 45%, 100% { background-position: -60% 0; } }
.cinematic .bokeh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cinematic .bokeh i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(140,190,255,.55), rgba(140,190,255,0) 70%); filter: blur(2px); mix-blend-mode: screen; animation: drift 14s ease-in-out infinite alternate; }
.cinematic .bokeh i:nth-child(1) { width: 90px; height: 90px; left: 8%; top: 18%; }
.cinematic .bokeh i:nth-child(2) { width: 60px; height: 60px; left: 62%; top: 10%; animation-duration: 11s; }
.cinematic .bokeh i:nth-child(3) { width: 120px; height: 120px; left: 78%; top: 55%; animation-duration: 17s; opacity: .7; }
.cinematic .bokeh i:nth-child(4) { width: 46px; height: 46px; left: 45%; top: 70%; animation-duration: 9s; }
.cinematic .bokeh i:nth-child(5) { width: 70px; height: 70px; left: 20%; top: 72%; animation-duration: 13s; background: radial-gradient(circle, rgba(255,200,120,.5), rgba(255,200,120,0) 70%); }
.cinematic .bokeh i:nth-child(6) { width: 54px; height: 54px; left: 88%; top: 20%; animation-duration: 15s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); opacity: .35; } 50% { opacity: .9; } 100% { transform: translate(-40px, -30px) scale(1.25); opacity: .45; } }
.svc-block:hover .cinematic img.cover { animation-play-state: paused, running; }
@media (prefers-reduced-motion: reduce) { .cinematic img.cover, .cinematic .glint, .cinematic .bokeh i, .cinematic .vignette { animation: none; } }

/* ================= BLOG ================= */
.blog-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, #1d3a78 0%, var(--navy) 38%, var(--ink) 100%); color: #fff; text-align: center; padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 84px); }
.blog-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-2) 50%, var(--gold) 80%, transparent); }
.blog-hero-glow { position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: 50%; top: -30vmax; transform: translateX(-50%); background: radial-gradient(circle, rgba(179,155,111,.28), transparent 62%); animation: glowDrift 14s ease-in-out infinite alternate; }
@keyframes glowDrift { to { transform: translate(-38%, 6%) scale(1.15); } }
.blog-hero .page-title { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); }
.blog-hero-sub { max-width: 40em; margin: 14px auto 0; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255,255,255,.85); }
.blog-hero-rule { display: block; width: 72px; height: 3px; margin: 22px auto 0; background: var(--gold); }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(44px, 5vw, 72px); }
.post-rows { display: grid; gap: clamp(26px, 3vw, 40px); }
.post-row { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 30px); align-items: center; }
.post-row-img, .pc-img { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 3 / 2; background: var(--mist); box-shadow: 0 18px 34px -22px rgba(6,16,31,.55); }
.post-row-img img, .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; }
.post-row:hover .post-row-img img, .post-card:hover .pc-img img { transform: scale(1.07); }
.cat-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(179,155,111,.16); color: var(--gold-ink); font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .3s, color .3s; }
a.cat-pill:hover { background: var(--gold); color: #fff; }
.post-row-title { margin: 10px 0 8px; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.post-row-title a, .post-card h3 a { color: var(--navy); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease-out); }
.post-row-title a:hover, .post-card h3 a:hover { background-size: 100% 2px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 10px; padding: 0; list-style: none; font-family: var(--font-ui); font-size: .85rem; color: var(--muted); }
.post-meta li { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 2; }
.post-row-excerpt { margin: 0 0 16px; color: var(--muted); }
.read-more { min-height: 42px; padding: 8px 24px; font-size: .82rem; }
.blog-empty { padding: 40px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; }
.blog-empty p { color: var(--muted); }
.pager { display: flex; gap: 8px; margin-top: 40px; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--navy); text-decoration: none; }
.pager a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

.blog-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-box { padding: 20px; border: 1px solid #e6e8ee; border-radius: 16px; background: #f7f8fb; }
.side-title { margin: 0 0 14px; font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.side-search { display: flex; gap: 8px; }
.side-search input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .92rem; background: #fff; }
.side-search input:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(179,155,111,.25); }
.side-search .btn { min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: .78rem; }
.side-recent { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.side-recent a { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; text-decoration: none; }
.side-recent img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; transition: transform .5s var(--ease-out); }
.side-recent a:hover img { transform: scale(1.08) rotate(-2deg); }
.side-recent b { display: block; font-size: .9rem; line-height: 1.25; color: var(--navy); }
.side-recent a:hover b { color: var(--gold-ink); }
.side-recent small { display: block; margin-top: 3px; font-size: .78rem; color: var(--muted); }
.year-card { position: relative; display: block; height: 84px; overflow: hidden; border-radius: 12px; text-decoration: none; color: #fff; isolation: isolate; }
.year-card + .year-card { margin-top: 10px; }
.year-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.year-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,31,.88), rgba(20,41,90,.35)); }
.year-card:hover img { transform: scale(1.08); }
.year-card span { position: absolute; left: 14px; bottom: 10px; }
.year-card b { display: block; font-size: 1.6rem; line-height: 1; }
.year-card small { font-size: .78rem; font-weight: 700; color: var(--gold-2); }
.year-card.is-active { outline: 2px solid var(--gold); outline-offset: 2px; }
.side-cats { margin: 0; padding: 0; list-style: none; }
.side-cats a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; transition: background-color .3s, color .3s; }
.side-cats a:hover { background: #fff; }
.side-cats a[aria-current] { background: #fff; color: var(--gold-ink); box-shadow: 0 6px 16px -12px rgba(6,16,31,.5); }
.side-cats span { font-size: .78rem; color: var(--muted); }

/* article */
.read-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.article { padding-top: clamp(36px, 4.5vw, 60px); }
.wrap-narrow { width: min(100% - var(--gutter) * 2, 760px); margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.back-link { font-family: var(--font-ui); font-size: .88rem; font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.back-link:hover { color: var(--navy); }
.art-title { margin: 16px 0 12px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.art-meta { margin: 0; font-family: var(--font-ui); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.art-cover { width: min(100% - var(--gutter) * 2, 1080px); margin: clamp(26px, 3vw, 40px) auto; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 8; box-shadow: 0 30px 60px -36px rgba(6,16,31,.6); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.prose .art-lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--navy); font-weight: 500; }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.prose h2::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 12px; background: var(--gold); }
.prose ul { padding-left: 1.1em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--navy); }
.prose blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: #f7f5f0; font-size: 1.2rem; font-weight: 600; line-height: 1.5; color: var(--navy); }
.prose a { color: var(--gold-ink); }
.art-gallery { margin-top: 36px; }
.gallery-title { font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery-grid button { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--mist); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery-grid button:hover img { transform: scale(1.08); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding: 26px 0 clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.share b { margin-right: 6px; color: var(--navy); }
.share a, .share button { padding: 9px 16px; border: 1px solid #e3e5eb; border-radius: 999px; background: #f4f5f8; font: inherit; font-size: .85rem; font-weight: 600; color: var(--navy); text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s, transform .3s var(--ease-out); }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.related { background: #f4f5f8; padding: clamp(48px, 6vw, 80px) 0; }
.related .h2 { margin-bottom: 26px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid #e3e5eb; border-radius: 16px; background: #fff; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -28px rgba(6,16,31,.55); }
.post-card .pc-img { border-radius: 0; box-shadow: none; }
.pc-body { padding: 18px 20px 22px; }
.post-card h3 { margin: 10px 0 6px; font-size: 1.12rem; line-height: 1.3; }
.post-card time { font-size: .82rem; color: var(--muted); }

.lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(6,16,31,.94); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background-color .3s; }
.lightbox button:hover { background: var(--gold); }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .post-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .art-cover { aspect-ratio: 4 / 3; border-radius: 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; }
}
@media (prefers-reduced-motion: reduce) { .blog-hero-glow { animation: none; } }

/* Blog: hovering an article fans out related articles behind its photo */
.post-row-media { position: relative; }
.fan { display: none; }
@media (hover: hover) and (min-width: 760px) {
  .post-row:hover, .post-row:focus-within { position: relative; z-index: 5; }
  .post-row-img { position: relative; z-index: 2; }
  .fan { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .fan-card { --x: 0px; --y: -70px; --r: 0deg; position: absolute; left: 50%; top: 0; width: 112px; display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 8px; border-radius: 11px; background: #fff; text-decoration: none; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 14px 28px -8px rgba(6,16,31,.35); opacity: 0; transform: translate(-50%, 8%) rotate(0deg) scale(.86); transition: transform .5s cubic-bezier(.22,.9,.3,1), opacity .3s ease, box-shadow .25s ease; transition-delay: calc(var(--i, 0) * 55ms); }
  .fan-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
  .fan-card span { font-size: .68rem; font-weight: 700; line-height: 1.2; color: var(--navy); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .fan-more { justify-content: center; align-items: center; min-height: 118px; background: linear-gradient(150deg, var(--navy), var(--ink)); color: #fff; text-align: center; }
  .fan-more small { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
  .fan-more b { font-size: .8rem; }
  .fan-card:nth-child(1) { --x: -112px; --y: -126px; --r: -8deg; }
  .fan-card:nth-child(2) { --x: -22px;  --y: -148px; --r: -2.5deg; }
  .fan-card:nth-child(3) { --x: 68px;   --y: -148px; --r: 2.5deg; }
  .fan-card:nth-child(4) { --x: 158px;  --y: -126px; --r: 8deg; }
  .fan-card { width: 96px; }
  .fan-more { min-height: 112px; }
  /* the photo steps back a little while the related articles fan out above it */
  .post-row:hover .post-row-img, .post-row:focus-within .post-row-img { transform: translateY(10px); box-shadow: 0 26px 40px -24px rgba(6,16,31,.6); }
  .post-row-img { transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
  .post-row:hover .fan, .post-row:focus-within .fan { pointer-events: auto; }
  .post-row:hover .fan-card, .post-row:focus-within .fan-card { opacity: 1; transform: translate(calc(-50% + var(--x)), var(--y)) rotate(var(--r)); }
  .fan-card:hover { z-index: 9; box-shadow: 0 0 0 2px var(--gold), 0 20px 34px -10px rgba(6,16,31,.45); }
  .post-row:hover .fan-card:hover { transform: translate(calc(-50% + var(--x)), calc(var(--y) - 10px)) rotate(var(--r)) scale(1.06); transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) { .fan-card { transition: opacity .2s; } }

/* Logo: the G emblem draws itself, then "GREAT", then "DIGITAL MARKETING" (one after the other) */
@property --la { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.logo-anim { overflow: visible; }
.logo-anim .la { position: absolute; inset: 0; overflow: hidden; }
.logo-anim .la > img { position: absolute; max-width: none; height: auto; }
.la-icon { clip-path: circle(var(--ir) at var(--ix) var(--iy)); transform-origin: var(--ix) var(--iy); transition: transform 1s cubic-bezier(.34,1.3,.64,1);
  -webkit-mask-image: conic-gradient(from 0deg at var(--ix) var(--iy), #000 var(--la), transparent 0); mask-image: conic-gradient(from 0deg at var(--ix) var(--iy), #000 var(--la), transparent 0); }
.la-word { clip-path: inset(var(--wt) var(--wr) var(--wb) var(--wl)); }
.la-sub { clip-path: inset(var(--st) var(--sr) var(--sb) var(--sl)); }
.logo-anim.is-playing .la-icon { animation: laIcon 1.4s cubic-bezier(.65,0,.35,1) .15s backwards; }
.logo-anim.is-playing .la-word { animation: laWord 1s cubic-bezier(.16,1,.3,1) 1.25s backwards; }
.logo-anim.is-playing .la-sub { animation: laSub 1.1s cubic-bezier(.16,1,.3,1) 1.9s backwards; }
@keyframes laIcon { from { --la: 0deg; transform: rotate(-120deg) scale(.8); } 70% { transform: rotate(8deg) scale(1.04); } to { --la: 360deg; transform: none; } }
@keyframes laWord { from { clip-path: inset(var(--wt) calc(100% - var(--wl)) var(--wb) var(--wl)); transform: translateX(-14px); opacity: 0; } 30% { opacity: 1; } to { clip-path: inset(var(--wt) var(--wr) var(--wb) var(--wl)); transform: none; opacity: 1; } }
@keyframes laSub { from { clip-path: inset(var(--st) calc(100% - var(--sl)) var(--sb) var(--sl)); opacity: 0; letter-spacing: 0; } to { clip-path: inset(var(--st) var(--sr) var(--sb) var(--sl)); opacity: 1; } }
.brand .logo-anim { transform-origin: left center; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .logo-anim, .brand:focus-visible .logo-anim { transform: scale(1.06); }
/* no spin on hover (entry animation only) */
@media (prefers-reduced-motion: reduce) { .logo-anim .la { animation: none !important; transition: none !important; } }

/* ================= FAQ ================= */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(44px, 5vw, 72px); }
.faq-tools { display: grid; gap: 16px; margin-bottom: 30px; }
.faq-search { position: relative; display: block; }
.faq-search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--gold-ink); stroke-width: 2; stroke-linecap: round; }
.faq-search input { width: 100%; height: 54px; padding: 0 20px 0 48px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #f7f8fb; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.faq-search input:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(179,155,111,.18); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-chips button { padding: 9px 16px; border: 1px solid #e3e5eb; border-radius: 999px; background: #fff; font: inherit; font-size: .85rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.faq-chips button:hover { border-color: var(--gold); transform: translateY(-2px); }
.faq-chips button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-group + .faq-group { margin-top: 34px; }
.faq-group-title { margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid #e6e8ee; border-radius: 16px; background: #fff; transition: border-color .35s, box-shadow .45s var(--ease-out), transform .45s var(--ease-out); }
.faq-item:hover { border-color: rgba(179,155,111,.6); transform: translateY(-2px); box-shadow: 0 18px 34px -26px rgba(6,16,31,.45); }
.faq-item[open] { border-color: var(--gold); box-shadow: 0 24px 44px -30px rgba(6,16,31,.55); }
.faq-item summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 16px; }
.faq-num { font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--gold-ink); }
.faq-q { font-size: clamp(1rem, 1.35vw, 1.12rem); font-weight: 700; line-height: 1.35; color: var(--navy); }
.faq-icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: #f4f1ea; transition: background-color .35s, transform .5s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--gold-ink); transition: transform .45s var(--ease-out), background-color .35s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--gold-2); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 22px 22px calc(22px + 16px + 1.6rem); color: var(--muted); line-height: 1.7; }
.faq-a a { color: var(--gold-ink); }
.faq-item.is-hidden, .faq-group.is-hidden { display: none; }
.faq-empty { padding: 30px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }
.faq-side { position: sticky; top: 100px; }
.faq-card { position: relative; overflow: hidden; padding: 30px 26px; border-radius: 18px; background: radial-gradient(260px 200px at 100% 0%, rgba(179,155,111,.3), transparent 70%), linear-gradient(160deg, var(--navy), var(--ink)); color: #fff; box-shadow: 0 30px 60px -36px rgba(6,16,31,.7); }
.faq-card .compass { position: absolute; right: -36px; bottom: -36px; width: 170px; opacity: .22; }
.faq-card h2 { color: #fff; font-size: 1.45rem; margin-bottom: 10px; }
.faq-card p { color: rgba(255,255,255,.8); margin: 0 0 20px; }
.faq-card .btn { position: relative; width: 100%; }
.faq-mail { position: relative; display: block; margin-top: 14px; font-size: .88rem; color: var(--gold-2); text-align: center; }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } }
@media (max-width: 560px) { .faq-item summary { padding: 16px; gap: 12px; } .faq-a p { padding: 0 16px 18px; } .faq-num { display: none; } .faq-item summary { grid-template-columns: 1fr auto; } }

/* ================= Site chat ================= */
.chatw { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: 22px; z-index: 80; font-family: var(--font); }
.chatw ~ .to-top, .to-top { bottom: 22px; }
body:has(.chatw) .to-top { bottom: 88px; }
.chatw-fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: linear-gradient(150deg, var(--navy), var(--ink)); color: #fff; cursor: pointer; box-shadow: 0 16px 34px -12px rgba(6,16,31,.6), inset 0 0 0 2px rgba(179,155,111,.6); transition: transform .4s var(--ease-out); animation: chatPop .8s var(--ease-out) 1.2s both; }
.chatw-fab:hover { transform: translateY(-3px) scale(1.04); }
.chatw-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: chatPing 2.6s ease-out 2.4s 3; }
.chatw-fab svg { position: absolute; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out), opacity .3s; }
.chatw-fab .i-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chatw.is-open .chatw-fab .i-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.chatw.is-open .chatw-fab .i-close { opacity: 1; transform: none; }
.chatw-badge { position: absolute; right: -2px; top: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: .72rem; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
@keyframes chatPop { from { opacity: 0; transform: scale(.4) translateY(20px); } }
@keyframes chatPing { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.5); } }
.chatw-panel { position: absolute; right: 0; bottom: 74px; display: flex; flex-direction: column; width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 40px 80px -30px rgba(6,16,31,.55), 0 0 0 1px rgba(6,16,31,.06); transform-origin: bottom right; animation: chatIn .45s var(--ease-out); }
.chatw-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }
.chatw-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: radial-gradient(240px 140px at 100% 0%, rgba(179,155,111,.35), transparent 70%), linear-gradient(150deg, var(--navy), var(--ink)); color: #fff; }
.chatw-avatar { width: 40px; height: 40px; flex: none; }
.chatw-avatar img { width: 100%; height: 100%; }
.chatw-head div { flex: 1; min-width: 0; }
.chatw-head b { display: block; font-size: 1rem; }
.chatw-head small { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: rgba(255,255,255,.75); }
.chatw-head small i { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62,207,142,.25); }
.chatw-head button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.chatw-head button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chatw-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #f5f6f9; }
.chatw-msg { max-width: 82%; animation: chatIn .35s var(--ease-out); }
.chatw-msg p { margin: 0; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.chatw-msg small { display: block; margin-top: 3px; font-size: .68rem; color: var(--muted); }
.from-admin { align-self: flex-start; }
.from-admin p { background: #fff; color: var(--text); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px -4px rgba(6,16,31,.2); }
.from-visitor { align-self: flex-end; text-align: right; }
.from-visitor p { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
.chatw-start { display: grid; gap: 8px; padding: 12px 14px 0; background: #fff; border-top: 1px solid #eceef3; }
.chatw-start[hidden] { display: none; }
.chatw-start input { height: 40px; padding: 0 12px; border: 1px solid #dfe2ea; border-radius: 10px; font: inherit; font-size: .88rem; }
.chatw-send { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px 14px; background: #fff; }
.chatw-start:not([hidden]) + .chatw-send { padding-top: 8px; }
.chatw-start input:focus, .chatw-send textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(179,155,111,.2); }
.chatw-send textarea { flex: 1; max-height: 120px; min-height: 42px; padding: 10px 12px; border: 1px solid #dfe2ea; border-radius: 12px; font: inherit; font-size: .9rem; resize: none; }
.chatw-send button { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 12px; background: var(--gold); color: #fff; cursor: pointer; transition: background-color .3s, transform .3s; }
.chatw-send button:hover { background: var(--ink); }
.chatw-send button:disabled { opacity: .5; }
.chatw-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chatw-err { margin: 0; padding: 0 14px 12px; background: #fff; color: #c0392b; font-size: .8rem; }
@media (max-width: 520px) { .chatw-panel { position: fixed; inset: auto 8px 86px 8px; width: auto; height: min(70vh, 540px); } }
@media (prefers-reduced-motion: reduce) { .chatw-fab, .chatw-fab::after, .chatw-panel, .chatw-msg { animation: none; } }
.read-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.more-cat { font-family: var(--font-ui); font-size: .85rem; font-weight: 700; color: var(--gold-ink); text-decoration: none; letter-spacing: .02em; }
.more-cat:hover { color: var(--navy); text-decoration: underline; }

.chatw-msg p { white-space: pre-line; }
.from-bot p { border: 1px dashed rgba(179,155,111,.6); }
.chatw-msg p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; font-weight: 600; }


/* ================= Mobile menu (drawer) ================= */
.mmenu, .mm-ov { display: none; }
@media (max-width: 860px) {
  html.mm-lock, html.mm-lock body { overflow: hidden; }
  .menu-toggle { grid-area: toggle; position: relative; z-index: 2; display: block; width: 92px; padding: 12px 0; border: 0; border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font: 700 12px/1 var(--font); letter-spacing: .2em; text-indent: .2em;
    box-shadow: 0 8px 20px -6px rgba(179,155,111,.55), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s var(--ease-out), box-shadow .25s; }
  .menu-toggle:active { transform: scale(.95); }
  .menu-toggle .mt-label { display: block; }
  .site-header.is-stuck .header-inner { grid-template-areas: "brand lang toggle"; }

  .mm-ov { display: block; position: fixed; inset: 0; z-index: 200; background: rgba(6,16,31,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .6s; }
  .mm-ov.show { opacity: 1; }
  .mm-ov[hidden], .mmenu[hidden] { display: none; }

  .mmenu { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 88%; max-width: 420px; z-index: 210; color: #fff;
    padding: 0 20px calc(26px + env(safe-area-inset-bottom)) 26px; overflow: hidden auto; overscroll-behavior: contain;
    background:
      radial-gradient(120% 70% at 100% 0%, rgba(179,155,111,.30) 0%, rgba(179,155,111,.08) 35%, transparent 60%),
      radial-gradient(90% 60% at 0% 100%, rgba(20,41,90,.75) 0%, transparent 60%),
      linear-gradient(165deg, #0b1830 0%, #06101f 100%);
    box-shadow: -24px 0 60px rgba(0,0,0,.45);
    clip-path: circle(0 at calc(100% - var(--mx, 60px)) var(--my, 46px)); visibility: hidden;
    transition: clip-path .8s cubic-bezier(.65,0,.35,1), visibility 0s linear .8s; }
  .mmenu::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 28px 28px; -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
  .mmenu.open { clip-path: circle(160% at calc(100% - var(--mx, 60px)) var(--my, 46px)); visibility: visible; transition: clip-path 1s cubic-bezier(.65,0,.35,1), visibility 0s; }
  .mmenu > * { position: relative; flex-shrink: 0; }

  .mm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 18px; }
  .mm-logo { display: block; width: 150px; }
  .mm-close { width: 92px; padding: 12px 0; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink);
    font: 700 12px/1 var(--font); letter-spacing: .2em; text-indent: .2em; box-shadow: 0 8px 20px -6px rgba(179,155,111,.55), inset 0 1px 0 rgba(255,255,255,.35); }
  .mm-close:active { transform: scale(.95); }

  .mm-links { list-style: none; margin: 8px 0 24px; padding: 0; }
  .mm-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .mm-links a { display: flex; align-items: center; gap: 14px; padding: 12px 2px; color: #e9ecf2; text-decoration: none; font: 300 1.3rem/1.2 var(--font); letter-spacing: .01em; transition: color .35s; }
  .mm-num { flex: 0 0 auto; width: 24px; font: 600 11px/1 var(--font); letter-spacing: .08em; color: rgba(255,255,255,.35); transition: color .35s; }
  .mm-label { flex: 1 1 0%; transition: transform .45s var(--ease-out); }
  .mm-arrow { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(179,155,111,.4);
    transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out); }
  .mm-arrow svg { width: 16px; height: 16px; animation: mmNudge 2.6s ease-in-out infinite; }
  .mm-links a:hover, .mm-links a:focus-visible, .mm-links a.on { color: #fff; }
  .mm-links a:hover .mm-label, .mm-links a:focus-visible .mm-label { transform: translateX(6px); }
  .mm-links a:hover .mm-arrow, .mm-links a.on .mm-arrow { background: var(--gold); color: var(--ink); border-color: var(--gold); }
  .mm-links a.on .mm-num, .mm-links a:hover .mm-num { color: var(--gold); }
  .mm-links a.on .mm-label { font-weight: 600; }
  @keyframes mmNudge { 0%, 70%, 100% { transform: translate(0, 0); } 80% { transform: translate(2px, -2px); } 90% { transform: translate(0, 0); } }

  .mm-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 22px; border: 0; border-radius: 30px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font: 700 .82rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
    box-shadow: 0 10px 26px -8px rgba(179,155,111,.6); }
  .mm-search { display: flex; margin-top: 16px; height: 46px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
  .mm-search input { flex: 1 1 0%; min-width: 0; border: 0; background: none; color: #fff; padding: 0 14px; font: 15px var(--font); }
  .mm-search input::placeholder { color: rgba(255,255,255,.45); }
  .mm-search input:focus { outline: none; }
  .mm-search:focus-within { border-color: rgba(179,155,111,.6); }
  .mm-search button { width: 48px; border: 0; background: none; color: var(--gold); display: grid; place-items: center; }
  .mm-search svg { width: 18px; height: 18px; }
  .mm-line { border: 0; border-top: 1px solid rgba(179,155,111,.3); margin: 22px 0; width: 100%; }
  .mm-social { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; }
  .mm-social a { color: #9aa3b5; text-decoration: none; font: 600 12px/1.4 var(--font); letter-spacing: .14em; transition: color .2s; }
  .mm-social a:hover { color: var(--gold); }
  .mm-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
  .mm-foot > a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 500 .92rem var(--font); }
  .mm-foot svg { width: 16px; height: 16px; color: var(--gold); }
  .mm-lang { display: flex; gap: 4px; padding: 3px; border-radius: 30px; background: rgba(255,255,255,.07); }
  .mm-lang a { padding: 7px 14px; border-radius: 30px; color: #9aa3b5; text-decoration: none; font: 700 12px/1 var(--font); letter-spacing: .1em; }
  .mm-lang a.on { background: var(--gold); color: var(--ink); }

  /* staggered entrance */
  .mmenu .mm-links li, .mmenu .mm-cta, .mmenu .mm-search, .mmenu .mm-line, .mmenu .mm-social, .mmenu .mm-foot { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
  .mmenu.open .mm-links li, .mmenu.open .mm-cta, .mmenu.open .mm-search, .mmenu.open .mm-line, .mmenu.open .mm-social, .mmenu.open .mm-foot { opacity: 1; transform: none; }
  .mmenu.open .mm-links li:nth-child(1) { transition-delay: .28s; } .mmenu.open .mm-links li:nth-child(2) { transition-delay: .33s; }
  .mmenu.open .mm-links li:nth-child(3) { transition-delay: .38s; } .mmenu.open .mm-links li:nth-child(4) { transition-delay: .43s; }
  .mmenu.open .mm-links li:nth-child(5) { transition-delay: .48s; } .mmenu.open .mm-links li:nth-child(6) { transition-delay: .53s; }
  .mmenu.open .mm-cta { transition-delay: .58s; } .mmenu.open .mm-search { transition-delay: .62s; } .mmenu.open .mm-line { transition-delay: .66s; }
  .mmenu.open .mm-social { transition-delay: .7s; } .mmenu.open .mm-foot { transition-delay: .74s; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .mmenu, .mmenu.open { transition: none; }
  .mmenu .mm-links li, .mmenu .mm-cta, .mmenu .mm-search, .mmenu .mm-line, .mmenu .mm-social, .mmenu .mm-foot { transition: none; }
  .mm-arrow svg { animation: none; }
}
@media (max-width: 560px) {
  .header-inner { column-gap: 8px; }
  .brand, .site-header.is-stuck .brand { width: 148px; }
  .lang-switch { gap: 4px; }
  .flag { padding: 3px; min-height: 30px; }
  .flag svg { width: 24px; height: 16px; }
  .menu-toggle { width: 84px; }
}
@media (max-width: 360px) {
  .brand, .site-header.is-stuck .brand { width: 124px; }
  .menu-toggle { width: 74px; letter-spacing: .14em; }
}

/* ================= Mobile polish ================= */
@media (max-width: 760px) {
  /* Hero titles flow naturally instead of forced desktop line breaks */
  .page-title .line { display: inline; overflow: visible; }
  .page-title .line > span { display: inline; }
  .page-title .line::after { content: " "; }
  .page-title { font-size: clamp(1.75rem, 7.4vw, 2.2rem); line-height: 1.15; text-wrap: balance; }
  .page-title-sm { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
  .page-hero-copy { padding-top: 8px; }
  /* Floating buttons: chat on the right, "back to top" small, beside it — and room at the end of the page */
  body:has(.chatw) .to-top, .to-top { width: 42px; height: 42px; right: calc(max(16px, env(safe-area-inset-right)) + 70px); bottom: calc(30px + env(safe-area-inset-bottom)); box-shadow: 0 8px 20px -8px rgba(6,16,31,.5); }
  .to-top svg { width: 20px; height: 20px; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  /* comfortable tap targets */
  .footer-links a, .site-footer a { min-height: 32px; }
  .btn { min-height: 48px; }
}

/* ================= Mobile header — option 5 (navy bar, white logo, EN|PT capsule, gold round menu) ================= */
@media (max-width: 860px) {
  .site-header { background: #06101f; border-bottom: 1px solid rgba(255,255,255,.06); }
  .header-inner { grid-template-columns: 1fr auto auto; column-gap: 10px; padding: 12px 0; min-height: 66px; }
  .site-header.is-stuck .header-inner { background: rgba(6,16,31,.94); box-shadow: 0 12px 30px -16px rgba(0,0,0,.7); padding-top: 10px; padding-bottom: 10px; }
  .brand, .site-header.is-stuck .brand { width: 150px; }
  .brand .la img { filter: brightness(0) invert(1); }

  .lang-switch { gap: 0; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
  .lang-switch .flag { min-height: 0; height: 30px; padding: 0 11px; gap: 0; border: 0; border-radius: 999px; color: #9aa3b5; background: none;
    font: 800 11px/1 var(--font-ui); letter-spacing: .08em; transition: background .25s, color .25s; }
  .lang-switch .flag svg { display: none; }
  .lang-switch .flag span, .site-header.is-stuck .lang-switch .flag span { display: inline; }
  .lang-switch .flag:hover { background: rgba(255,255,255,.08); color: #fff; }
  .lang-switch .flag.is-active { background: var(--gold); color: var(--ink); }

  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; text-indent: 0; letter-spacing: 0;
    box-shadow: 0 8px 20px -8px rgba(179,155,111,.7), inset 0 1px 0 rgba(255,255,255,.35); }
  .menu-toggle .mt-label { display: block; width: 18px; height: 2px; border-radius: 2px; font-size: 0; color: transparent; background: var(--ink);
    box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
}
@media (max-width: 560px) {
  .brand, .site-header.is-stuck .brand { width: 140px; }
  .menu-toggle { width: 42px; height: 42px; }
  .lang-switch .flag { padding: 0 10px; }
}
@media (max-width: 360px) {
  .brand, .site-header.is-stuck .brand { width: 118px; }
  .lang-switch .flag { padding: 0 8px; height: 28px; }
  .menu-toggle { width: 40px; height: 40px; }
}

/* ================= Mobile: inner page heroes (About, Services, Case studies) ================= */
@media (max-width: 860px) {
  .page-hero { padding-bottom: 34px; background: linear-gradient(180deg, #fff 0%, #fff 58%, var(--mist) 58%, var(--mist) 100%); }
  .page-hero-grid { gap: 22px; }
  .page-hero-copy { padding: 26px 0 0; }
  .page-hero .rule-left { width: 64px; height: 3px; margin: 20px 0 14px; }
  .page-hero .page-sub { margin-top: 0; font-size: 1.05rem; color: var(--muted); }
  .page-hero-media { position: relative; margin: 0; }
  .page-hero-media::before { content: ""; position: absolute; inset: 14px -8px -10px 14px; border: 2px solid var(--gold); border-radius: 22px; opacity: .55; z-index: 0; }
  .page-hero-media .crop { position: relative; z-index: 1; display: block; width: 100%; border-radius: 20px; overflow: hidden;
    -webkit-mask-image: none; mask-image: none; box-shadow: 0 24px 50px -26px rgba(6,16,31,.55); }
}
@media (max-width: 760px) {
  .page-title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .page-title-sm { font-size: clamp(1.4rem, 6vw, 1.75rem); }
}

/* ================= Mobile: "No generic solutions / No random marketing / Only intentional growth" ================= */
@media (max-width: 860px) {
  .promises { gap: 12px; margin-top: 24px; }
  .promises li { position: relative; overflow: hidden; flex-direction: row; align-items: center; gap: 16px; padding: 14px 16px 14px 14px;
    border: 1px solid rgba(179,155,111,.28); border-radius: 16px; font-size: 1.05rem; font-weight: 600; line-height: 1.3;
    background: linear-gradient(100deg, rgba(179,155,111,.14), rgba(255,255,255,.02) 70%); }
  .promises li > img, .promises li > .crop { flex: none; width: 46px; height: auto; }
  .promises li > span { flex: 1; }
  .promises li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(179,155,111,0));
    transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
  .promises.is-in li::after { transform: scaleX(1); }
  .promises.is-in li:nth-child(2)::after { transition-delay: .18s; }
  .promises.is-in li:nth-child(3)::after { transition-delay: .36s; }
}
/* Services: on phones the photo comes first, then the headline */
@media (max-width: 860px) {
  .page-hero.ph-img-first { padding-top: 20px; background: linear-gradient(180deg, var(--mist) 0%, var(--mist) 34%, #fff 34%, #fff 100%); }
  .ph-img-first .page-hero-media { order: -1; }
  .ph-img-first .page-hero-copy { padding-top: 6px; }
}
@media (max-width: 860px) { .page-hero .page-title + .page-sub { margin-top: 12px; } .page-hero { padding-bottom: 26px; } }
/* Blog fan: opens downwards when the photo is close to the top of the screen (under the sticky menu) */
@media (hover: hover) and (min-width: 760px) {
  .post-row.fan-down .fan-card:nth-child(1), .post-row.fan-down .fan-card:nth-child(4) { --y: calc(var(--fy, 200px) + 4px); }
  .post-row.fan-down .fan-card:nth-child(2), .post-row.fan-down .fan-card:nth-child(3) { --y: calc(var(--fy, 200px) + 26px); }
  .post-row.fan-down:hover .post-row-img { transform: translateY(-8px); }
}

/* ================= Mobile: same "photo card" pattern as the page tops (rounded photo + soft gold frame) ================= */
@media (max-width: 860px) {
  .split-dark-img .split-media, .split-dark .split-media, .svc-block .svc-media {
    position: relative; margin: 28px var(--gutter) 4px; padding: 0 8px 10px 0; background: transparent !important; overflow: visible; }
  .split-dark-img .split-media::before, .split-dark .split-media::before, .svc-block .svc-media::before {
    content: ""; position: absolute; inset: 14px 0 0 14px; border: 2px solid var(--gold); border-radius: 22px; opacity: .55; z-index: 0; pointer-events: none; }
  /* About: compass + business owner photos */
  .split-media .crop { position: relative; z-index: 1; display: block; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -26px rgba(6,16,31,.6); }
  .split-dark .split-media .crop { box-shadow: 0 24px 50px -22px rgba(0,0,0,.85); }
  /* Services: one photo per service */
  .svc-block .svc-media { min-height: 0; aspect-ratio: 4 / 3; }
  .svc-block .svc-media img.cover, .svc-block .svc-media .vignette, .svc-block .svc-media .glint, .svc-block .svc-media .bokeh {
    inset: 0 8px 10px 0; width: auto; height: auto; border-radius: 20px; z-index: 1; }
  .svc-block .svc-media img.cover { box-shadow: 0 24px 50px -26px rgba(6,16,31,.6); }
  .svc-block .svc-media .vignette, .svc-block .svc-media .glint, .svc-block .svc-media .bokeh { z-index: 2; overflow: hidden; }
  .svc-copy { padding-top: 22px; }
}
