/* Freelanz Management Services — website mockups
   Dark cinematic sections alternate with light ones. Palette follows the FMS app (--ui-* tokens) and the logo.
   This is a deliberate single look: every colour below is explicit and does not switch with the OS theme. */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300..700&family=Newsreader:opsz,wght@6..72,400..600&display=swap");

:root {
  /* dark sections */
  --d0: #0a1120;
  --d1: #0d172a;
  --d2: #101c32;
  --d3: #162540;
  --d4: #1b2d4b;
  --dline: #2a3e5f;
  --on: #eef2f8;
  --on2: rgba(238, 242, 248, 0.7);
  --on3: rgba(238, 242, 248, 0.68);
  /* light sections */
  --l0: #f6f4ef;
  --l1: #ffffff;
  --lline: #e3ded3;
  --text: #464d5c;
  --head: #0f1f38;
  --muted: #566072;
  /* brand */
  --teal: #7fb0e8;
  --teal-hover: #9ac3f0;
  --teal-deep: #1f5ea8;
  --teal-deep-hover: #174c8a;
  --aqua: #a9c7ee;
  --cyan: #8fbcf0;
  --blue: #3a73b8;
  --green: #8fb398;
  --soft-blue: #e5edf8; --soft-mint: #e6eee4; --soft-sand: #f3ecd9; --soft-peach: #f5e8df;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sec: clamp(64px, 8vw, 104px);
  --sans: "Geist", "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --pad: max(24px, calc((100vw - 1200px) / 2));
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--on2); background: var(--d2); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; margin: 0; color: var(--on); }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); letter-spacing: -0.042em; }
h3 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.025em; }
h2, .phero h1, .big, .tf-pull, .statement p.words { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { padding-inline: var(--pad); width: 100%; }
.label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: block; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--on2); max-width: 40ch; }
.small { font-size: 0.95rem; color: var(--on3); }
.light { background: var(--l0); color: var(--text); }
.light h1, .light h2, .light h3, .light h4 { color: var(--head); }
.light .label { color: var(--teal-deep); }
.light .lede { color: var(--muted); }
.light .small { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid var(--teal); background: var(--teal); color: #0b1626; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.btn:hover { background: var(--teal-hover); border-color: var(--teal-hover); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55); }
.btn.ghost { background: transparent; color: var(--on); border-color: rgba(238, 242, 248, 0.3); }
.btn.ghost:hover { background: rgba(238, 242, 248, 0.08); border-color: rgba(238, 242, 248, 0.6); box-shadow: none; }
.light .btn { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.light .btn:hover { background: var(--teal-deep-hover); border-color: var(--teal-deep-hover); box-shadow: 0 10px 22px -12px rgba(15, 31, 56, 0.5); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); text-decoration: none; transition: gap 0.3s var(--ease); }
.tlink::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform 0.3s var(--ease); }
.tlink:hover::after { transform: translateX(4px); }
.light .tlink { color: var(--teal-deep); }

/* ---------- header ---------- */
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(13, 23, 42, 0.88); backdrop-filter: saturate(1.6) blur(22px); -webkit-backdrop-filter: saturate(1.6) blur(22px); border-bottom-color: rgba(42, 62, 95, 0.7); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .logo { width: 46px; height: auto; overflow: visible; }
.brand-text { line-height: 1.1; }
.brand-text span { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.brand-text b { display: block; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em; color: var(--on); }
.logo .l-ring, .logo .l-chart { filter: brightness(2.1) saturate(1.15); }   /* the artwork is navy on white; lift ring, arrow and bars so they read on the dark sections */
.l-bird, .fly-bird { filter: brightness(1.3) saturate(1.1); }   /* no glow: a lighter blue keeps the bird easy to see on the dark sections */
.b-win { transform-box: view-box; transform-origin: 87.7px 41px; transform: skewY(var(--a1, 0deg)); }
.b-wout { transform-box: view-box; transform-origin: 62.2px 34.4px; transform: skewY(var(--a2, 0deg)); }
.b-tail { transform-box: view-box; transform-origin: 75.9px 70.2px; transform: rotate(var(--at, 0deg)); }
.brand:hover .l-bird { animation: flutter 1.1s var(--ease); }
.brand:hover .b-win { animation: flapA 0.5s ease-in-out 2; }
.brand:hover .b-wout { animation: flapB 0.5s ease-in-out 2; }
.brand:hover .b-tail { animation: flapT 0.5s ease-in-out 2; }
@keyframes flutter { 30% { transform: translate(-1px, -3px) rotate(-5deg); } 60% { transform: translate(1px, 1px) rotate(2deg); } }
@keyframes flapA { 0%, 100% { transform: skewY(0); } 30% { transform: skewY(7deg); } 70% { transform: skewY(-5deg); } }
@keyframes flapB { 0%, 100% { transform: skewY(0); } 30% { transform: skewY(11deg); } 70% { transform: skewY(-8deg); } }
@keyframes flapT { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 70% { transform: rotate(5deg); } }
.l-bird { transform-box: view-box; transform-origin: 43% 57%; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.98rem; font-weight: 500; color: var(--on2); transition: color 0.2s; position: relative; padding: 6px 0; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--teal); border-radius: 2px; }
.nav .btn { padding: 9px 20px; font-size: 0.88rem; }
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(238, 242, 248, 0.25); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: var(--on); margin: auto; position: relative; transition: 0.3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: linear-gradient(180deg, var(--d0), var(--d2) 85%); overflow: hidden; display: grid; align-items: center; }
.hero canvas, .cta canvas, .phero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding-top: calc(var(--header) + 2px); padding-bottom: 48px; display: grid; justify-items: center; }
.hero .logo { width: clamp(130px, 12vw, 170px); height: auto; overflow: visible; margin-bottom: 12px; }
.hero h1 { max-width: none; margin-bottom: 14px; line-height: 0.95; }
.hero h1 .nm { display: block; font-size: clamp(3.4rem, 8vw, 7rem); font-weight: 600; letter-spacing: -0.055em; color: var(--on); padding-bottom: 0.06em; }
.hero h1 .nm2 { display: block; margin-top: 0.3em; font-size: clamp(0.78rem, 1.9vw, 1.5rem); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); padding-left: 0.2em; }
.hero .tagline { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 22px 0 26px; font-size: clamp(1.3rem, 2.5vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: var(--on); }
.hero .tagline::before, .hero .tagline::after { content: ""; flex: 0 0 clamp(20px, 6vw, 84px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--teal)); }
.hero .tagline::after { background: linear-gradient(90deg, var(--teal), transparent); }
.hero .headline { font-size: clamp(1.5rem, 2.8vw, 2.5rem); letter-spacing: -0.035em; max-width: 48ch; margin: 0 auto 10px; text-wrap: balance; }
.hero .subhead { font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 500; letter-spacing: -0.015em; color: var(--teal); margin: 0 auto 14px; max-width: 60ch; line-height: 1.3; text-wrap: balance; }
.hero .lede { margin: 0 auto 28px; text-align: center; max-width: 64ch; font-size: clamp(1rem, 1.2vw, 1.08rem); }
.hero-actions { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero .small { margin: 0; }
.scrollcue { position: absolute; z-index: 2; bottom: 22px; left: 50%; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(238, 242, 248, 0.35); border-radius: 12px; }
.scrollcue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--teal); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* logo assembly (only when JS drives the flyer) */
.fly .hero .l-ring path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s 0.15s var(--ease) forwards; }
.fly .hero .l-chart { transform-box: view-box; transform-origin: 62% 90%; transform: scaleY(0); opacity: 0; animation: grow 1.1s 0.65s var(--ease) forwards; }
.fly .hero .sp { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop 0.6s var(--ease) forwards, twinkle 3.4s 2.6s ease-in-out infinite; }
.fly .hero .sp1 { animation-delay: 1.5s, 3s; } .fly .hero .sp2 { animation-delay: 1.65s, 3.5s; } .fly .hero .sp3 { animation-delay: 1.8s, 4s; }
.fly .hero h1, .fly .hero .headline, .fly .hero .subhead, .fly .hero .tagline, .fly .hero .lede, .fly .hero-actions, .fly .hero .small { opacity: 0; transform: translateY(22px); animation: up 1s var(--ease) forwards; }
.fly .hero h1 { animation-delay: 1.1s; } .fly .hero .tagline { animation-delay: 1.3s; } .fly .hero .headline { animation-delay: 1.4s; } .fly .hero .lede { animation-delay: 1.5s; } .fly .hero-actions { animation-delay: 1.6s; } .fly .hero .small { animation-delay: 1.75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleY(1); opacity: 1; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes twinkle { 50% { transform: scale(0.55); opacity: 0.6; } }
@keyframes up { to { opacity: 1; transform: none; } }
.fly .static-bird { display: none; }

/* flying bird */
.flyer { position: fixed; left: 0; top: 0; width: 300px; height: auto; z-index: 55; pointer-events: none; opacity: 0; will-change: transform, opacity; overflow: visible; }
.flyer .fly-bird { transform-box: view-box; transform-origin: 62% 72%; }

/* ---------- statement (word reveal) ---------- */
.statement { height: 140vh; position: relative; background: var(--d2); }
.statement-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.statement p.words { font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1.1; letter-spacing: -0.04em; font-weight: 600; text-align: center; max-width: 18em; margin: 0 auto; color: var(--on); }
.statement .w { opacity: 0.58; transition: opacity 0.25s linear; }
.statement .w.hl { color: var(--teal); }
.statement .sub { margin: 36px auto 0; text-align: center; color: var(--on2); max-width: 40ch; font-size: 1.2rem; opacity: var(--subo, 0); transform: translateY(calc((1 - var(--subo, 0)) * 16px)); }

.services { padding: var(--sec) 0; position: relative; }

/* illustration animation (triggered when the card enters view) */
.ill .box { fill: rgba(238, 242, 248, 0.05); stroke: rgba(169, 199, 238, 0.28); }
.ill .grid line { stroke: rgba(169, 199, 238, 0.14); }
.ill .bar { fill: url(#barG); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 90ms + 200ms); }
.in .ill .bar, .ill.in .bar { transform: scaleY(1); }
.ill .draw { fill: none; stroke: var(--aqua); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) 0.5s; }
.in .ill .draw, .ill.in .draw { stroke-dashoffset: 0; }
.ill .dot { fill: var(--cyan); opacity: 0; transition: opacity 0.4s 1.8s; }
.in .ill .dot, .ill.in .dot { opacity: 1; }
.ill .pulse { fill: none; stroke: var(--cyan); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.in .ill .pulse, .ill.in .pulse { animation: pulse 2.4s 2s ease-out infinite; }
@keyframes pulse { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.2); } }
.ill .cell { fill: rgba(238, 242, 248, 0.16); }
.ill .cell.hi { fill: var(--teal); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.6s var(--ease) 1s; }
.in .ill .cell.hi, .ill.in .cell.hi { transform: scale(1); }
.ill .sheet { fill: rgba(238, 242, 248, 0.07); stroke: rgba(169, 199, 238, 0.3); transition: transform 1s var(--ease) 0.3s; }
.ill .line { stroke: rgba(169, 199, 238, 0.35); stroke-width: 2; stroke-linecap: round; }
.in .ill .sheet.s1, .ill.in .sheet.s1 { transform: translate(-14px, 10px) rotate(-5deg); }
.in .ill .sheet.s3, .ill.in .sheet.s3 { transform: translate(14px, -10px) rotate(5deg); }
.ill .sheet { transform-box: fill-box; transform-origin: center; }
.ill .ring-bg { fill: none; stroke: rgba(238, 242, 248, 0.12); stroke-width: 10; }
.ill .ring-a { fill: none; stroke: var(--teal); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset 1.6s var(--ease) 0.5s; }
.ill .ring-b { fill: none; stroke: var(--green); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 0.2 1; stroke-dashoffset: 0.2; transform: rotate(198deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset 1.2s var(--ease) 1.2s; }
.in .ill .ring-a, .ill.in .ring-a { stroke-dashoffset: 0.2; }
.in .ill .ring-b, .ill.in .ring-b { stroke-dashoffset: 0; }
.ill .shield { fill: rgba(127, 176, 232, 0.1); stroke: var(--aqua); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) 0.3s, fill 0.8s 1.4s; }
.in .ill .shield, .ill.in .shield { stroke-dashoffset: 0; fill: rgba(127, 176, 232, 0.22); }
.ill .area { fill: url(#areaG); opacity: 0; transition: opacity 1s 1.6s; }
.in .ill .area, .ill.in .area { opacity: 1; }

/* ---------- CTA ---------- */
.cta { position: relative; background: linear-gradient(180deg, var(--d1), var(--d0)); overflow: hidden; text-align: center; padding: var(--sec) 0; }
.cta .wrap { position: relative; z-index: 2; display: grid; justify-items: center; }
.cta .logo { width: clamp(150px, 16vw, 210px); height: auto; overflow: visible; margin-bottom: 28px; }
.cta h2 { margin-bottom: 18px; max-width: 16ch; }
.cta .lede { margin: 0 auto 32px; text-align: center; }
.cta .small { margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--d0); padding: 80px 0 34px; color: var(--on2); border-top: 1px solid rgba(42, 62, 95, 0.6); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.site-footer p { font-size: 1.02rem; max-width: 32ch; margin-top: 20px; }
.site-footer h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 1.02rem; }
.site-footer li a { display: inline-block; padding-block: 8px; text-decoration: none; color: var(--on2); transition: color 0.2s; }
.site-footer li a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(42, 62, 95, 0.7); font-size: 0.8rem; color: var(--on3); }

/* ---------- inner pages ---------- */
.phero { position: relative; background: linear-gradient(180deg, var(--d0), var(--d2)); overflow: hidden; padding: calc(var(--header) + 54px) 0 64px; text-align: center; }
.phero .wrap { position: relative; z-index: 2; display: grid; justify-items: center; }
.phero .logo { width: clamp(84px, 8vw, 104px); height: auto; overflow: visible; margin-bottom: 18px; }
.phero h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); max-width: 16ch; margin-bottom: 18px; }
.phero .lede { margin: 0 auto; text-align: center; }
.fly .phero .l-ring path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s 0.1s var(--ease) forwards; }
.fly .phero .l-chart { transform-box: view-box; transform-origin: 62% 90%; transform: scaleY(0); opacity: 0; animation: grow 1s 0.5s var(--ease) forwards; }
.fly .phero .sp { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop 0.6s 1.3s var(--ease) forwards, twinkle 3.4s 2.4s ease-in-out infinite; }
.fly .phero h1, .fly .phero .lede { opacity: 0; transform: translateY(20px); animation: up 0.9s 0.9s var(--ease) forwards; }
.fly .phero .lede { animation-delay: 1.05s; }

.subnav { position: sticky; top: calc(var(--header) + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(246, 244, 239, 0.97); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--lline); }
.subnav .wrap { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--muted); padding: 8px 16px; border-radius: 999px; transition: 0.25s; }
.subnav a:hover { color: var(--head); background: rgba(31, 94, 168, 0.08); }
.subnav a.on { background: var(--teal-deep); color: #fff; }

.svc { padding: calc(var(--sec) * 0.75) 0; border-bottom: 1px solid var(--lline); scroll-margin-top: 120px; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.svc:nth-child(even) .svc-art { order: -1; }
.svc h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 18px; }
.svc .lede { margin-bottom: 30px; }
.get { list-style: none; padding: 0; margin: 0 0 28px; }
.get li { padding: 13px 0 13px 34px; border-top: 1px solid var(--lline); position: relative; color: var(--head); font-weight: 500; }
.get li:last-child { border-bottom: 1px solid var(--lline); }
.get li::before { content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: rgba(31, 94, 168, 0.12); }
.get li::after { content: ""; position: absolute; left: 6px; top: 22px; width: 8px; height: 4px; border-left: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: rotate(-45deg); }
.fact { font-size: 1.04rem; color: var(--muted); padding: 18px 22px; border-radius: 16px; background: var(--l1); border: 1px solid var(--lline); }
.fact b { color: var(--head); }
.svc-art { border-radius: 24px; padding: 40px 36px; background: var(--d3); border: 1px solid var(--dline); aspect-ratio: 1 / 0.92; display: grid; align-items: center; box-shadow: 0 50px 80px -50px rgba(10, 17, 32, 0.7); }
.svc-art .ill { width: 100%; height: auto; overflow: visible; }

.contact { padding: 56px 0 var(--sec); }
.tbc { display: inline-block; padding: 2px 10px; border-radius: 8px; border: 1px dashed currentColor; font-size: 0.88em; font-weight: 500; line-height: 1.5; opacity: 0.8; }
.site-footer .tbc { color: var(--on3); }
.light .tbc { color: #8a5a00; background: #fff7e0; border-color: #e3b341; opacity: 1; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; align-items: start; }
.form { display: grid; gap: 22px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--head); }
.field input, .field textarea { font: inherit; font-size: 1rem; background: var(--l1); color: var(--head); border: 1.5px solid var(--lline); padding: 14px 16px; border-radius: 12px; outline: none; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(31, 94, 168, 0.14); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { font-size: 0.93rem; font-weight: 500; color: var(--head); padding: 9px 16px; border: 1.5px solid var(--lline); background: var(--l1); border-radius: 999px; cursor: pointer; transition: 0.2s; }
.chips label:hover { border-color: var(--teal-deep); }
.chips input:checked + label { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.chips input:focus-visible + label { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.details { margin: 0; border-top: 2px solid var(--teal-deep); }
.details div { padding: 18px 0; border-bottom: 1px solid var(--lline); }
.details dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.details dd { margin: 0; color: var(--head); font-weight: 500; }
.details a { color: var(--teal-deep); text-decoration: none; } .details a:hover { text-decoration: underline; }
.faq-sec { padding: 0 0 var(--sec); }
.faq-sec h2 { margin-bottom: 36px; }
.faq details { border-top: 1px solid var(--lline); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--lline); }
.faq summary { cursor: pointer; font-size: 1.3rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; color: var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.8rem; line-height: 1; color: var(--teal-deep); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- values / about / testimonials / faq (real-content sections) ---------- */
.values { padding: var(--sec) 0; }
.values h2 { max-width: 16ch; margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.4rem); }
.values .lede { max-width: 52ch; margin-bottom: 64px; }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.vgrid > div { border-top: 1px solid var(--lline); padding: 28px 0 40px; }
.vgrid h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--teal-deep); }
.vgrid p { margin: 0; color: var(--muted); max-width: 34ch; }
.light.tint { background: var(--l1); }
.about-home, .faq-home { padding: var(--sec) 0; }
.about-home-grid, .faq-home-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.about-home h2, .faq-home h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.faq-home .lede { margin: 22px 0 32px; }
.big { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25; letter-spacing: -0.03em; font-weight: 500; color: var(--head); margin-bottom: 24px; }
.about-home p:not(.big) { color: var(--muted); max-width: 52ch; }
.about-body { padding-block: var(--sec); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.about-body p:not(.big) { color: var(--muted); max-width: 54ch; }
.testi { background: var(--d1); padding: var(--sec) 0; }
.testi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 48px; }
.tcard { margin: 0; border-radius: 24px; padding: 28px 24px 32px; border: 1px solid var(--dline); background: var(--d3); text-align: center; display: flex; flex-direction: column; align-items: center; }
.tcard .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1.3rem; margin-bottom: 12px; border: 2px solid rgba(255, 255, 255, 0.85); }
.tcard figcaption { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; color: var(--on); }
.tcard .role { color: var(--on2); font-size: 0.85rem; margin: 4px 0 14px; }
.tr-role { color: var(--muted); font-size: 0.9rem; }
.tcard .stars { color: #ffcf2e; letter-spacing: 3px; font-size: 1.05rem; margin: 6px 0 14px; }
.tcard blockquote { margin: 0; color: var(--on2); font-size: 0.97rem; line-height: 1.55; }
.tcard blockquote p { margin: 0 0 0.9em; }
.tcard blockquote.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; overflow: hidden; }
.tcard blockquote.clamp p { margin: 0; }
.tcard blockquote.clamp p + p { display: none; }
.tcard .more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 0.92rem; color: var(--teal); text-decoration: none; }
.tcard .more:hover { text-decoration: underline; }
.testi-grid.full { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.testi-grid.full .tcard { text-align: left; align-items: flex-start; padding: 32px 34px 36px; }
.light-grid { margin-bottom: 0; }
.light-grid .tcard { background: var(--l1); border-color: var(--lline); }
.light-grid .tcard figcaption { color: var(--head); }
.light-grid .tcard blockquote { color: var(--muted); }
.faq-page { padding: var(--sec) 0; }
.faq-page .faq { max-width: 860px; }
.faq-page .lede { max-width: 60ch; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.light :focus-visible, .subnav :focus-visible { outline-color: var(--teal-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; filter: none; }
  .statement .w { opacity: 1; }
  .scrollcue { display: none; }
  .statement { height: auto; padding: 140px 0; } .statement-sticky { position: static; height: auto; }
  .statement .sub { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .vgrid, .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-home-grid, .faq-home-grid, .about-body { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .svc:nth-child(even) .svc-art { order: 0; }
}
@media (max-height: 780px) and (min-width: 761px) {
  .hero-inner { padding-top: calc(var(--header) + 14px); padding-bottom: 56px; }
  .hero .logo { width: 110px; margin-bottom: 4px; }
  .hero h1 .nm { font-size: clamp(3rem, 6.4vw, 5rem); }
  .hero .tagline { margin: 10px 0 12px; }
  .hero .headline { font-size: 1.5rem; margin-bottom: 10px; }
  .hero .lede { margin-bottom: 18px; font-size: 0.98rem; line-height: 1.4; }
  .hero-actions { margin-bottom: 16px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; background: rgba(10, 17, 32, 0.97); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--pad); gap: 22px; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; z-index: -1; }
  .nav.open { opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; color: var(--on); }
  .nav .btn { font-size: 1rem; padding: 13px 26px; margin-top: 10px; }
  .menu-toggle { position: relative; z-index: 2; }
  .brand-text b { font-size: 0.95rem; }
  .values { padding: 90px 0; } .vgrid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 .nm2 { letter-spacing: 0.12em; }
  .form .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .vgrid, .testi-grid, .testi-grid.full { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 80px 0; }
  .svc-art { padding: 26px 22px; }
  .about-home, .faq-home, .faq-page { padding: 80px 0; } .about-body { padding-block: 80px; } .testi { padding: 90px 0; }
}

/* ---------- legal page ---------- */
.legal-page { padding: var(--sec) 0; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; letter-spacing: -0.03em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal h3 { font-size: 1.1rem; letter-spacing: -0.02em; margin: 28px 0 8px; color: var(--head); }
.legal b { color: var(--head); font-weight: 600; }
.legal .kv { margin: 0 0 6px; }
.legal .kv.draft { margin-bottom: 6px; padding: 10px 16px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--teal-deep); }
.legal .draft { padding: 16px 20px; border-radius: 12px; background: #fff7e0; border: 1px solid #e3b341; color: #6b4a00; }
.legal .draft b { color: #6b4a00; }
.consent a { color: var(--teal-deep); }
@media (max-width: 760px) { .legal-page { padding: 60px 0 90px; } }

/* ---------- contact: direct links and social accounts ---------- */
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.contact h2.sub { margin-top: 64px; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ccard { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 16px; background: var(--l1); border: 1px solid var(--lline); text-decoration: none; color: var(--head); transition: border-color 0.3s; }
a.ccard:hover { border-color: var(--teal-deep); }
.ccard.off { opacity: 0.85; }
.ccard .ico { flex: 0 0 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-blue); color: var(--teal-deep); }
.ccard .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ccard .ico svg.solid { fill: currentColor; stroke: none; }
.ccard .t { display: grid; gap: 2px; min-width: 0; }
.ccard b { font-weight: 600; font-size: 1.05rem; }
.ccard small { font-size: 0.97rem; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 1020px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cgrid { grid-template-columns: minmax(0, 1fr); } .contact { padding: 70px 0 90px; } }

.ccard .ico.brand { background: none; border-radius: 0; flex-basis: 52px; }
.ccard .ico.brand svg.brand { width: 52px; height: 52px; fill: none; stroke: none; }
.ccard.off .ico.brand { filter: none; }
@media (max-width: 560px) { .hero .tagline { font-size: 1.15rem; white-space: nowrap; } .hero .tagline::before, .hero .tagline::after { display: none; } }

/* footer tagline */
.foot-tag { position: relative; margin-top: 22px; padding-top: 18px; max-width: 13ch; font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; color: var(--on); }
.foot-tag::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; border-radius: 2px; background: var(--teal); }

/* ---------- service groups ---------- */

/* ---------- contact: consultation banner and card grid ---------- */
.book { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding: 22px 28px; margin-bottom: 36px; border-radius: 16px; background: var(--soft-blue); border: 1px solid #cdd9ea; }
.light .book h2 { color: var(--head); margin: 0 0 4px; font-size: 1.4rem; letter-spacing: -0.03em; }
.book p { margin: 0; color: var(--muted); }
.book-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.light .book .btn.ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal-deep); }
.light .book .btn.ghost:hover { background: var(--teal-deep); color: #fff; box-shadow: none; }
.cgrid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cgrid > .ccard { grid-column: span 4; }
.cgrid > .ccard.s3 { grid-column: span 3; }
.cgrid > .ccard.s6 { grid-column: span 6; }
.cgrid > .ccard.s12 { grid-column: 1 / -1; }
@media (max-width: 1020px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cgrid > .ccard, .cgrid > .ccard.s3, .cgrid > .ccard.s6 { grid-column: auto; } .cgrid > .ccard.s12 { grid-column: 1 / -1; } }
@media (max-width: 760px) { .cgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ccard { padding: 20px; gap: 14px; } .ccard .ico { flex-basis: 44px; height: 44px; } .ccard .ico.brand { flex-basis: 44px; } .ccard .ico.brand svg.brand { width: 44px; height: 44px; } .ccard small { font-size: 0.92rem; } }

/* ---------- services page: group tabs, overview and group bands ---------- */
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; font-size: 0.95rem; font-weight: 600; }
.subnav a em { font-style: normal; font-size: 0.75rem; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(31, 94, 168, 0.12); color: var(--teal-deep); }
.subnav a.on em { background: rgba(10, 17, 32, 0.3); color: #fff; }
.group-head { position: relative; overflow: hidden; padding: 60px 0 52px; background: linear-gradient(180deg, var(--d1), var(--d2)); scroll-margin-top: 130px; }
.group-head .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.group-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 12px; }
.group-head p { margin: 0; color: var(--on2); max-width: 44ch; font-size: 1.1rem; }
.group-head .label { color: var(--teal); }
.group-head .gnum { font-size: clamp(5rem, 14vw, 11rem); font-weight: 600; line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(169, 199, 238, 0.28); user-select: none; }
.svc { scroll-margin-top: 130px; }
@media (max-width: 1020px) { .group-head { padding: 64px 0 56px; } .group-head .gnum { display: none; } }
@media (max-width: 560px) { .subnav .wrap { justify-content: flex-start; } .subnav a { padding: 8px 14px; font-size: 0.88rem; } .hide-sm { display: none; } }

.gchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.gchips a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--on); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(169, 199, 238, 0.35); background: rgba(238, 242, 248, 0.05); transition: background 0.25s, border-color 0.25s, color 0.25s; }
.gchips a:hover { background: var(--teal); border-color: var(--teal); color: #0b1626; }

/* compact page header for pages where the content below is the point (Contact Us) */
.phero.compact { padding: calc(var(--header) + 30px) 0 46px; }
.phero.compact .logo { width: clamp(64px, 6vw, 76px); margin-bottom: 12px; }
.phero.compact h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 10px; }
.phero.compact .lede { font-size: 1.05rem; max-width: 46ch; }
.contact .cgrid { margin-top: 0; }
.contact h2.get { margin: 0 0 20px; font-size: 1.3rem; }
@media (max-width: 760px) { .book { padding: 20px; } }

/* "Book a Consultation" buttons land on the strip and give it a brief highlight */
.book { scroll-margin-top: calc(var(--header) + 28px); }
.book:target { animation: bookPulse 1.8s ease-out 1; }
@keyframes bookPulse { 0% { box-shadow: 0 0 0 0 rgba(31, 94, 168, 0.55); } 60% { box-shadow: 0 0 0 14px rgba(31, 94, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 94, 168, 0); } }

/* ---------- testimonials page: even review rows ---------- */
.trows-sec { padding: 56px 0 var(--sec); }
.tr-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 0 0 28px; margin-bottom: 8px; border-bottom: 2px solid var(--teal-deep); color: var(--muted); }
.tr-summary .stars { color: #f5b301; letter-spacing: 3px; font-size: 1.15rem; }
.tr-summary b { color: var(--head); font-size: 1.1rem; letter-spacing: -0.02em; }
.trow { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px 64px; padding: 44px 0; border-bottom: 1px solid var(--lline); }
.tr-who { display: flex; align-items: center; gap: 16px; align-self: start; }
.tr-who .av { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1.4rem; }
.tr-who h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tr-who .stars { color: #f5b301; letter-spacing: 2px; font-size: 0.95rem; }
.tr-body { position: relative; min-width: 0; }
.tr-q { position: relative; margin: 0; max-width: 74ch; color: var(--text); font-size: 1.06rem; line-height: 1.7; }
.tr-q p { margin: 0 0 1em; }
.tr-q p:last-child { margin-bottom: 0; }
.tr-q::before { content: "\201C"; position: absolute; left: -34px; top: -10px; font-size: 3.6rem; line-height: 1; color: rgba(31, 94, 168, 0.28); font-weight: 600; }
.js .tr-q.clip { max-height: 11.2em; overflow: hidden; }
.js .tr-q.clip::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4.5em; background: linear-gradient(180deg, rgba(246, 244, 239, 0), var(--l0)); pointer-events: none; }
.tr-more { margin-top: 14px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--teal-deep); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tr-more::after { content: "›"; display: inline-block; font-size: 1.3em; line-height: 1; transform: rotate(90deg); transition: transform 0.3s var(--ease); }
.tr-more[aria-expanded="true"]::after { transform: rotate(-90deg); }
.tr-more:hover { text-decoration: underline; }
.tr-more[hidden] { display: none; }
@media (max-width: 860px) { .trow { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 36px 0; } .tr-q::before { position: static; display: block; margin-bottom: -6px; } .trows-sec { padding: 50px 0 90px; } }

/* about: professional experience */
.exp { padding: var(--sec) 0; }
.exp h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 40px; max-width: 18ch; }
.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 56px; }
.exp-grid p { margin: 0; padding-top: 18px; border-top: 2px solid var(--teal-deep); color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 860px) { .exp { padding: 64px 0; } .exp-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer li a.viewall { color: var(--teal); font-weight: 600; }
.site-footer li a.viewall::after { content: " ›"; }
.book-topic { margin: 10px 0 0; color: var(--teal-deep); font-weight: 600; }
@media (max-width: 760px) { .svc { padding: 56px 0; } .group-head { padding: 48px 0 40px; } .values, .about-home, .faq-home { padding: 64px 0; } .cta { padding: 76px 0 72px; } }


/* ---------- home testimonial: one featured quote ---------- */
.testi-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 80px; align-items: start; }
.tf-side p { margin: 18px 0 0; color: var(--on2); font-size: 1.1rem; max-width: 30ch; }
.tf-main { position: relative; margin: 0; padding: 84px 52px 40px; border-radius: 24px; border: 1px solid var(--dline); background: var(--d3); }
.tf-mark { position: absolute; top: 14px; left: 40px; font-size: 7rem; line-height: 1; color: var(--teal); opacity: 0.5; font-weight: 600; }
.tf-pull { margin: 0; position: relative; font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.2; letter-spacing: -0.03em; font-weight: 600; color: var(--on); }
.tf-who { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.tf-who .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1.3rem; border: 2px solid rgba(255, 255, 255, 0.85); flex: 0 0 52px; }
.tf-who b { display: block; color: var(--on); font-size: 1.05rem; }
.tf-who small { color: var(--on2); font-size: 0.92rem; }
.tf-full { margin-top: 32px; border-top: 1px solid var(--dline); padding-top: 18px; }
.tf-full summary { cursor: pointer; font-weight: 600; color: var(--teal); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.tf-full summary::-webkit-details-marker { display: none; }
.tf-full summary::after { content: "›"; font-size: 1.3em; line-height: 1; transform: rotate(90deg); transition: transform 0.3s var(--ease); }
.tf-full[open] summary::after { transform: rotate(-90deg); }
.tf-body { margin-top: 18px; color: var(--on2); font-size: 1.02rem; line-height: 1.7; max-width: 62ch; }
.tf-body p { margin: 0 0 1em; }
.tf-body p:last-child { margin-bottom: 0; }
.testi-feature { row-gap: 24px; }
.tf-side { grid-row: 1 / span 2; }
.tf-sm { padding-top: 72px; }
.tf-quote { margin: 0; position: relative; color: var(--on); font-size: 1.15rem; line-height: 1.6; }
.tf-quote p { margin: 0 0 0.8em; }
.tf-quote p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .testi-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; } .tf-side { grid-row: auto; margin-bottom: 12px; } .tf-main { padding: 76px 26px 30px; } .tf-mark { left: 22px; font-size: 5.5rem; } }

/* ---------- home services: four primary services, the rest as a quiet list (light section breaks the dark run) ---------- */
.svc-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 64px; flex-wrap: wrap; margin-bottom: 44px; }
.svc-head h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 18ch; }
.svc-head p { margin: 0; max-width: 36ch; color: var(--muted); font-size: 1.1rem; }
.scards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.scards li { display: flex; }
.scard { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 26px; background: var(--l1); border: 1px solid var(--lline); border-radius: 24px; text-decoration: none; transition: border-color 0.25s; }
.scard .tag, .also-row .tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); }
.scard h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.8vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; }
.scard p { margin: 0 0 24px; color: var(--muted); font-size: 1rem; }
.scard .go { margin-top: auto; width: 22px; height: 22px; fill: none; stroke: var(--teal-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.scard:hover, .scard:focus-visible { border-color: var(--teal-deep); }
.scard:hover .go { transform: translateX(4px); }
.svc-also { margin-top: 48px; border-top: 1px solid var(--lline); }
.also-row { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--lline); }
.also-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.also-row a { display: inline-block; padding-block: 10px; color: var(--head); font-weight: 500; text-decoration: none; }
.also-row a:hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; }
.svc-also .tlink { margin-top: 22px; }
@media (max-width: 1100px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .scards { grid-template-columns: minmax(0, 1fr); } .also-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ page: grouped, numbered accordion with a topic nav ---------- */
.phero-tag { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--on); }
.fx-layout { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 64px; align-items: start; counter-reset: fq; }
.fx-nav { position: sticky; top: 104px; display: grid; gap: 4px; }
.fx-nav a { display: block; padding: 12px 16px; border-radius: 14px; border-left: 3px solid transparent; color: var(--muted); text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.fx-nav a:hover, .fx-nav a:focus-visible { background: rgba(31, 94, 168, 0.08); border-color: var(--teal-deep); }
.fx-nav b { display: block; font-weight: 600; color: var(--head); line-height: 1.3; }
.fx-nav small { font-size: 0.85rem; }
.fx-group { margin-bottom: 56px; scroll-margin-top: 100px; }
.fx-group:last-child { margin-bottom: 0; }
.fx-head { margin-bottom: 20px; }
.fx-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.fx-head p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }
.fx-group details { counter-increment: fq; border-top: 1px solid var(--lline); }
.fx-group details:last-child { border-bottom: 1px solid var(--lline); }
.fx-group summary { cursor: pointer; display: flex; align-items: baseline; gap: 16px; padding: 20px 0; font-size: 1.15rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; color: var(--head); list-style: none; }
.fx-group summary::-webkit-details-marker { display: none; }
.fx-group summary::before { content: counter(fq, decimal-leading-zero); flex: 0 0 1.9rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0; color: var(--teal-deep); }
.fx-group summary::after { content: "+"; margin-left: auto; padding-left: 12px; font-weight: 300; font-size: 1.8rem; line-height: 1; color: var(--teal-deep); transition: transform 0.3s; }
.fx-group details[open] summary::after { transform: rotate(45deg); }
.fx-group summary:hover { color: var(--teal-deep); }
.fx-a { padding: 0 0 24px 3.4rem; max-width: 66ch; color: var(--muted); }
.fx-a p { margin: 0 0 0.8em; }
.fx-a p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .fx-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fx-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .fx-nav a { border: 1px solid var(--lline); border-radius: 999px; padding: 10px 16px; }
  .fx-nav small { display: none; }
}
@media (max-width: 560px) { .fx-a { padding-left: 0; } .fx-group summary { font-size: 1.05rem; gap: 12px; } }

/* ---------- industries: running board ---------- */
.industries { background: #7fb0e8; padding: 14px 0; overflow: hidden; }
.ind-wrap { display: flex; align-items: center; gap: 28px; }
.ind-label { margin: 0; flex: 0 0 auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #0a1120; }
.ind-run { flex: 1 1 auto; min-width: 0; display: flex; 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); }
.ind-track { flex: 0 0 auto; display: flex; align-items: center; margin: 0; padding: 0; list-style: none; animation: ind-run 70s linear infinite; }
.ind-run:hover .ind-track { animation-play-state: paused; }
.ind-track li { flex: 0 0 auto; white-space: nowrap; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; color: #0a1120; }
.ind-track li::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 24px; border-radius: 50%; background: #0a1120; opacity: 0.55; vertical-align: middle; }
@keyframes ind-run { to { transform: translateX(-100%); } }
@media (max-width: 760px) { .ind-wrap { flex-direction: column; align-items: flex-start; gap: 8px; } .ind-run { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .ind-run { display: block; -webkit-mask-image: none; mask-image: none; }
  .ind-track { animation: none; flex-wrap: wrap; row-gap: 8px; }
  .ind-track + .ind-track { display: none; }
  .ind-track li:last-child::after { display: none; }
}
