/* Fluidics GT LLC — built from the company profile brochure:
   warm white paper, sand panels, brochure copper #C46E31, Quicksand, thin copper line art. */

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/quicksand-latin.woff2) format('woff2');
}

:root {
  --paper: #FCFBF8;
  --sand: #F4F0EA;
  --sand-2: #ECE4D9;
  --beige: #E9DCCB;
  --beige-2: #DFCBB2;
  --copper: #C46E31;
  --copper-text: #A35821;   /* copper that passes contrast on light grounds */
  --copper-soft: #E6C4A6;   /* brochure line art */
  --ink: #26211D;
  --muted: #6B625A;
  --line: #E6DED3;
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: page-in .5s var(--ease) both;
}
body.leaving { opacity: 0; transition: opacity .22s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); letter-spacing: -.005em; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--copper); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Brochure-style title: copper, bold, tracked capitals */
.title-caps { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.copper { color: var(--copper-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: .85em 1.6em; border-radius: 999px;
  background: var(--copper); color: #fff; border: 1.5px solid var(--copper);
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { background: var(--copper-text); border-color: var(--copper-text); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(196, 110, 49, .7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--beige-2); }
.btn-ghost:hover { background: #fff; color: var(--copper-text); border-color: var(--copper); box-shadow: none; }
.link { font-weight: 700; color: var(--copper-text); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.link:hover { background-size: 100% 1.5px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 46px; height: auto; flex: none; overflow: visible; }
.logo-mark .m1 { fill: var(--copper); opacity: .55; }
.logo-mark .m2 { fill: var(--copper); }
.logo-mark .m3 { fill: var(--copper); opacity: .8; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-weight: 700; font-size: 1.45rem; letter-spacing: .12em; color: var(--copper); }
.logo-text small { margin-top: 5px; font-weight: 700; font-size: .56rem; letter-spacing: .25em; color: var(--copper-text); }

/* monogram pieces assemble once on load */
.assemble .m1, .assemble .m2, .assemble .m3 { transform-box: fill-box; animation: piece .9s var(--ease) backwards; }
/* header logo: pieces shift apart slightly on hover */
.logo .logo-mark path { transform-box: fill-box; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .logo-mark .m1 { transform: translate(-6%, -6%); }
.logo:hover .logo-mark .m3 { transform: translate(5%, -9%); }
.logo:hover .logo-mark .m2 { transform: translateY(5%); }
.assemble .m1 { --from: translate(-30%, -10%); animation-delay: .1s; }
.assemble .m2 { --from: translate(-15%, 20%); animation-delay: .22s; }
.assemble .m3 { --from: translate(0, -40%); animation-delay: .34s; }
@keyframes piece { from { transform: var(--from); opacity: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 251, 248, .88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -24px rgba(38, 33, 29, .4); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 82px; }
.header-inner .logo { margin-right: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--copper-text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--copper); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--beige-2); background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"]::after { left: auto; right: 6px; top: 50%; bottom: auto; margin-top: -2.5px; }
  .nav .nav-quote { margin-top: 16px; border: 0; }
}
@media (min-width: 961px) { .nav .nav-quote { display: none; } }

/* ---------- Line art (brochure polygons) ---------- */
.lineart { position: absolute; pointer-events: none; }
.lineart path { fill: none; stroke: var(--copper-soft); stroke-width: 1.4; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; }
.draw path:nth-child(2) { animation-delay: .2s; }
.draw path:nth-child(3) { animation-delay: .4s; }
.draw path:nth-child(4) { animation-delay: .6s; }
.draw path:nth-child(5) { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Home hero (echoes the brochure cover) ---------- */
.hero { position: relative; overflow: hidden; background: var(--sand); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: min(760px, calc(100svh - 82px)); padding-top: 64px; padding-bottom: 64px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--copper-text); font-size: .95rem; margin-bottom: 22px; }
.hero-tag::before { content: ""; width: 28px; height: 1.5px; background: var(--copper); }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); }
.hero h1 span { display: block; }
@media (min-width: 1100px) { .hero h1 span { white-space: nowrap; } }
.hero .lead { margin-top: 24px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art { position: relative; justify-self: end; width: min(560px, 100%); }
.hero-art .monogram { width: 100%; height: auto; overflow: visible; }
.monogram .m1 { fill: var(--beige); }
.monogram .m2 { fill: var(--beige-2); }
.monogram .m3 { fill: #EFE3D3; }
.hero .lineart { inset: -10% -20% -10% 35%; width: 85%; height: 120%; }

/* load choreography: copy rises after the monogram assembles */
.rise { animation: rise .9s var(--ease) both; }
.rise-1 { animation-delay: .35s; } .rise-2 { animation-delay: .5s; } .rise-3 { animation-delay: .65s; } .rise-4 { animation-delay: .8s; } .rise-5 { animation-delay: 1.1s; }
/* start at 1% rather than 0 so browsers count the hero text as painted (LCP); looks identical */
@keyframes rise { from { opacity: .01; transform: translateY(22px); } }

.hero-art .monogram.assemble .m1, .hero-art .monogram.assemble .m2, .hero-art .monogram.assemble .m3 { animation-duration: 1.3s; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .hero-art { justify-self: center; width: min(360px, 80%); order: -1; }
  .hero .lineart { inset: -10% -30% 40% 10%; width: 120%; height: 70%; }
}

/* industries ribbon under the hero */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.ribbon ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; font-weight: 700; color: var(--muted); }
.ribbon li { display: flex; align-items: center; gap: 12px; }
.ribbon li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid var(--copper); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--sand); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero .lead { margin-top: 22px; }
.page-hero .lineart { right: -6%; top: -30%; width: 58%; height: 160%; }
.page-hero .ghost-mark { position: absolute; right: 4%; bottom: -28%; width: min(360px, 40vw); opacity: .55; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--copper-text); }
@media (max-width: 760px) { .page-hero .ghost-mark { display: none; } .page-hero .lineart { width: 100%; right: -40%; opacity: .7; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section.alt { background: var(--sand); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { justify-self: end; }
.section-head.single { grid-template-columns: 1fr; }
.section-head.single .lead { justify-self: start; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { justify-self: start; } }

/* split text block */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .prose p + p { margin-top: 18px; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -34px rgba(38, 33, 29, .45); border-color: var(--copper-soft); }
.card .icon { width: 56px; height: 56px; margin-bottom: 8px; fill: none; stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .92rem; color: var(--copper-text); }
@media (max-width: 1060px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Highlights (non-sequential points) ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.points li { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.points li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.points li:not(:nth-child(3n+1)) { padding-left: 28px; }
.points h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.points h3::before { content: ""; flex: none; width: 9px; height: 9px; transform: rotate(45deg); background: var(--copper); }
.points p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
  .points { grid-template-columns: 1fr 1fr; }
  .points li { padding: 26px 22px 28px 0 !important; border-right: 0 !important; }
  .points li:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .points li:nth-child(even) { padding-left: 22px !important; }
}
@media (max-width: 560px) {
  .points { grid-template-columns: 1fr; }
  .points li { border-right: 0 !important; padding-left: 0 !important; }
}

.points.two { grid-template-columns: 1fr 1fr; }
.points.two li { padding: 30px 32px 34px 0 !important; border-right: 0 !important; }
.points.two li:nth-child(odd) { border-right: 1px solid var(--line) !important; }
.points.two li:nth-child(even) { padding-left: 32px !important; }
@media (max-width: 560px) {
  .points.two { grid-template-columns: 1fr; }
  .points.two li { border-right: 0 !important; padding-left: 0 !important; }
}

/* ---------- Logo walls ---------- */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-tile { flex: 0 1 calc((100% - 4 * 14px) / 5); min-width: 150px; display: grid; place-items: center; height: 118px; padding: 22px 26px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.logo-tile:hover { border-color: var(--copper-soft); transform: translateY(-3px); box-shadow: 0 18px 36px -28px rgba(38, 33, 29, .45); }
.logo-tile img { max-height: 62px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-wall.clients .logo-tile { height: 140px; }
.logo-wall.clients .logo-tile img { max-height: 74px; }

/* continuous logo strip */
.strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; gap: 64px; width: max-content; align-items: center; animation: strip 50s linear infinite; padding: 8px 0; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: 44px; width: auto; max-width: none; opacity: .9; transition: opacity .3s; }
.strip img:hover { opacity: 1; }
@keyframes strip { to { transform: translateX(-50%); } }

/* ---------- Product families (products page) ---------- */
.family { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: 28px 48px; padding: 44px 0; border-top: 1px solid var(--line); }
.family:last-child { border-bottom: 1px solid var(--line); }
.family-head .icon { width: 64px; height: 64px; fill: none; stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.family-head p { margin-top: 12px; color: var(--muted); }
.family ul.items { display: grid; gap: 10px; align-content: start; padding-top: 6px; }
.family ul.items li { position: relative; padding-left: 26px; font-weight: 600; }
.family ul.items li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1.5px; background: var(--copper); }
.makes { align-content: start; }
.makes h3 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.makes .mk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.makes .mk span { display: grid; place-items: center; height: 74px; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.makes .mk img { max-height: 40px; max-width: 100%; width: auto; height: auto; }
@media (max-width: 1000px) { .family { grid-template-columns: 1fr 1fr; } .family-head { grid-column: 1 / -1; } }
@media (max-width: 600px) { .family { grid-template-columns: 1fr; } }

/* industries tiles */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industries li { position: relative; padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.industries li::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border: 1.5px solid var(--copper-soft); transform: rotate(32deg); transition: transform .6s var(--ease); }
.industries li:hover::after { transform: rotate(78deg) scale(1.15); }
.industries h3 { font-size: 1.3rem; }
.industries p { margin-top: 6px; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .industries { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv article { position: relative; padding: clamp(30px, 4vw, 52px); border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.mv article.dark { background: var(--copper); border-color: var(--copper); color: #fff; }
.mv article.dark h3, .mv article.dark .title-caps { color: #fff; }
.mv .title-caps { font-size: 1rem; }
.mv p { margin-top: 18px; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.4; font-weight: 600; }
.mv .lineart { right: -60px; bottom: -60px; width: 240px; height: 240px; opacity: .5; }
.mv article.dark .lineart path { stroke: rgba(255, 255, 255, .45); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.values li { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.values li:hover { border-color: var(--copper-soft); transform: translateY(-4px); }
.values h3 { font-size: 1.15rem; color: var(--copper-text); }
.values p { margin-top: 10px; color: var(--muted); font-size: .96rem; }
.values li.wide { grid-column: span 2; background: var(--sand-2); border-color: var(--sand-2); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .values li.wide { grid-column: auto; } }

/* lifecycle: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--copper-soft) 0 8px, transparent 8px 14px); }
.steps li { position: relative; counter-increment: s; }
.steps li::before { content: "0" counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--copper); color: var(--copper-text); font-weight: 700; font-size: .9rem; margin-bottom: 18px; position: relative; }
.section.alt .steps li::before { background: var(--sand); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--copper-soft) 0 8px, transparent 8px 14px); }
  .steps li { padding-left: 70px; }
  .steps li::before { position: absolute; left: 0; top: -6px; margin: 0; }
}

/* ---------- Presence ---------- */
.presence { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.presence-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.presence-list li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.presence-list li.hq { background: var(--copper); border-color: var(--copper); color: #fff; }
.gcc-art { width: 100%; height: auto; }
.gcc-art .land { fill: var(--sand-2); stroke: var(--beige-2); stroke-width: 1; }
.gcc-art .pin { fill: var(--copper); }
.gcc-art .pulse { fill: none; stroke: var(--copper); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.gcc-art .pulse.d2 { animation-delay: 1.3s; }
.gcc-art text { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 13px; fill: var(--ink); }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@media (max-width: 860px) { .presence { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.office .city { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; color: var(--ink); line-height: 1; }
.office h3 { margin-top: 18px; font-size: 1.05rem; color: var(--copper-text); }
.office address { margin-top: 10px; color: var(--muted); }
.office .meta { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.office .link { display: inline-block; margin-top: 18px; }
.office .lineart { right: -50px; top: -50px; width: 200px; height: 200px; opacity: .6; }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-direct { display: grid; gap: 16px; margin-top: 30px; }
.contact-direct a { display: flex; flex-direction: column; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
.contact-direct a:hover { border-color: var(--copper); }
.contact-direct small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact-direct b { font-size: 1.15rem; color: var(--copper-text); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.wide, .form .actions, .form-error { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); background: #fff; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field textarea { resize: vertical; min-height: 130px; }
.form .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form .actions small { color: var(--muted); }
.form-error { color: #B3261E; font-weight: 700; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--copper); color: #fff; border-radius: 24px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .88); max-width: 50ch; }
.cta-band .btn { background: #fff; color: var(--copper-text); border-color: #fff; }
.cta-band .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .lineart { right: -40px; top: -60px; width: 380px; height: 300px; }
.cta-band .lineart path { stroke: rgba(255, 255, 255, .3); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 36px; }
.footer-grid h2 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 16px; }
.footer-grid p, .footer-grid address { color: var(--muted); }
.footer-about p { margin-top: 18px; max-width: 34ch; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; color: var(--muted); font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: var(--copper-text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Opening: logo assembles centre-screen, then flies to the header ---------- */
html.intro { overflow: hidden; }
html.intro body::after { content: ""; position: fixed; inset: 0; z-index: 200; background: var(--sand); }
html.intro .site-header .logo { visibility: hidden; }
html.intro-fly body::after { opacity: 0; transition: opacity .7s ease .1s; }
/* hold the page's own entrance until the logo starts flying */
html.intro:not(.intro-fly) .rise,
html.intro:not(.intro-fly) .assemble path,
html.intro:not(.intro-fly) .draw path,
html.intro:not(.intro-fly) .hero h1 span { animation-play-state: paused; }

#fx-intro { position: fixed; inset: 0; z-index: 201; pointer-events: none; }
#fx-intro::before { content: ""; position: absolute; inset: 0; background: var(--sand); transition: opacity .6s ease .15s; }
#fx-intro .fx-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; transition: opacity .5s; }
html.intro #fx-intro .fx-lines path { animation: draw 2.6s var(--ease) both; animation-play-state: running; }
#fx-intro .fx-lines path:nth-child(2) { animation-delay: .25s; }
#fx-intro .fx-lines path:nth-child(3) { animation-delay: .5s; }
#fx-intro .fx-lines path:nth-child(4) { animation-delay: .75s; }
#fx-intro .fx-lines path:nth-child(5) { animation-delay: 1s; }
#fx-intro.fly::before, #fx-intro.fly .fx-lines { opacity: 0; }
.fx-intro-logo { position: fixed; margin: 0; white-space: nowrap; width: max-content; transform-origin: 0 0; transform: translate(var(--fx), var(--fy)) scale(var(--fs)); visibility: hidden; }
#fx-intro.play .fx-intro-logo { visibility: visible; }
#fx-intro.fly .fx-intro-logo { transform: none; transition: transform .85s cubic-bezier(.75, 0, .2, 1); }
#fx-intro .logo-mark path { transform-box: fill-box; }
#fx-intro.play .logo-mark .m2 { transform-origin: 50% 100%; animation: fxRise .6s cubic-bezier(.2, .8, .2, 1) .1s both; }
#fx-intro.play .logo-mark .m1 { transform-origin: 100% 100%; animation: fxSweep .75s cubic-bezier(.3, 1.4, .5, 1) .4s both; }
#fx-intro.play .logo-mark .m3 { animation: fxDrop .6s cubic-bezier(.3, 1.5, .5, 1) .72s both; }
@keyframes fxRise { from { transform: scaleY(0); } }
@keyframes fxSweep { from { opacity: 0; transform: rotate(-75deg); } }
@keyframes fxDrop { from { opacity: 0; transform: translateY(-170%); } }
#fx-intro .logo-text i { font-style: normal; display: inline-block; white-space: pre; }
#fx-intro.play .logo-text b i { animation: fxType .42s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(1s + var(--n) * .06s); }
#fx-intro.play .logo-text small i { animation: fxSlide .3s ease both; animation-delay: calc(1.5s + var(--n) * .025s); }
@keyframes fxType { from { opacity: 0; transform: translateY(45%); } }
@keyframes fxSlide { from { opacity: 0; transform: translateX(-40%); } }
.fx-intro-tag { position: absolute; left: 0; right: 0; margin: 0; text-align: center; font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); color: var(--ink); }
#fx-intro.play .fx-intro-tag { animation: fxTag .6s var(--ease) 2s both; }
#fx-intro.fly .fx-intro-tag { visibility: hidden; }
@keyframes fxTag { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Ongoing motion ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* hero: headline lines rise in turn, art floats and follows the pointer */
.hero h1 span { animation: rise .9s var(--ease) both; }
.hero h1 span:nth-child(1) { animation-delay: .4s; }
.hero h1 span:nth-child(2) { animation-delay: .55s; }
.hero h1 span:nth-child(3) { animation-delay: .7s; }
.hero-art { transform: translate(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -14px)); transition: transform .6s var(--ease); }
.hero-art .monogram { animation: float 7s ease-in-out infinite; }
.hero .lineart { transform: translate(calc(var(--mx, 0) * 26px), calc(var(--my, 0) * 20px)); transition: transform .8s var(--ease); }
.lineart.drift path, .hero .lineart path, .page-hero .lineart path { transform-box: view-box; transform-origin: center; }
.hero .lineart path:nth-child(odd), .page-hero .lineart path:nth-child(odd) { animation: draw 2.4s var(--ease) forwards, sway 16s ease-in-out 2.4s infinite alternate; }
.hero .lineart path:nth-child(even), .page-hero .lineart path:nth-child(even) { animation: draw 2.4s var(--ease) forwards, sway-b 20s ease-in-out 2.4s infinite alternate; }
@keyframes sway { to { transform: rotate(3deg) translate(-10px, 6px); } }
@keyframes sway-b { to { transform: rotate(-2.5deg) translate(12px, -8px); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.page-hero .ghost-mark { animation: float 8s ease-in-out infinite; }

/* industries ticker */
.ribbon.strip { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ribbon .strip-track { gap: 56px; padding: 22px 0; animation-duration: 36s; font-weight: 700; color: var(--muted); }
.ribbon .strip-track span { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.ribbon .strip-track span::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid var(--copper); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 0 8px 22px; border-left: 2px solid var(--copper-soft); }
.stat b { display: block; font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); line-height: 1; color: var(--copper); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* headings get a copper rule that draws in */
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; border-radius: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s; }
.section-head.in h2::after { transform: none; }
html:not(.js) .section-head h2::after { transform: none; }

/* product icons redraw on hover */
.card .icon *, .family-head .icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.card:hover .icon *, .family:hover .family-head .icon * { animation: redraw 1s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 1; } }
.card .icon { transition: transform .5s var(--ease); }
.card:hover .icon { transform: translateY(-4px) rotate(-6deg); }

/* lifecycle dashes flow along the line */
.steps::before { animation: dashflow 1.4s linear infinite; }
@keyframes dashflow { to { background-position: 14px 0; } }
@media (max-width: 960px) { .steps::before { animation-name: dashflow-v; } }
@keyframes dashflow-v { to { background-position: 0 14px; } }

/* CTA band art turns slowly */
.cta-band .lineart, .office .lineart, .mv .lineart { animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

/* primary buttons: a light sheen passes over now and then */
.btn:not(.btn-ghost) { position: relative; overflow: hidden; isolation: isolate; }
.btn:not(.btn-ghost)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 5s ease-in-out 3s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* client logos breathe gently in turn */
.logo-wall.clients .logo-tile img { animation: breathe 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * .4s); }
@keyframes breathe { 50% { transform: scale(1.05); } }

/* ---------- Scroll reveal (very light) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Reduced motion (html.rm): keep soft fades, drop movement and loops ---------- */
@keyframes fadein { from { opacity: .01; } }
.rm .strip-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 20px; }
.rm .hero-art .monogram, .rm .page-hero .ghost-mark, .rm .cta-band .lineart, .rm .office .lineart, .rm .mv .lineart,
.rm .btn::after, .rm .logo-wall.clients .logo-tile img, .rm .steps::before { animation: none; }
.rm .lineart path { stroke-dashoffset: 0; animation: fadein 1.4s ease both !important; }
.rm .rise, .rm .hero h1 span, .rm .assemble path { animation-name: fadein; }
.rm .hero-art, .rm .hero .lineart { transform: none; }
.rm [data-reveal] { transform: none; }
.rm .card:hover .icon, .rm .card:hover, .rm .logo-tile:hover, .rm .values li:hover { transform: none; }
.rm .logo:hover .logo-mark path { transform: none; }
/* intro: pieces and letters fade in place, then the whole cover fades away */
.rm #fx-intro.play .logo-mark path, .rm #fx-intro.play .logo-text i { animation-name: fadein !important; }
.rm #fx-intro.play .fx-intro-tag { animation-name: fadein; }
.rm #fx-intro.fly .fx-intro-logo { transform: translate(var(--fx), var(--fy)) scale(var(--fs)); opacity: 0; transition: opacity .6s ease; }

/* ---------- Layout polish ---------- */
/* client wall: 6 + 5 on desktop instead of 5 + 5 + 1 */
.logo-tile, .logo-wall.clients .logo-tile { flex-basis: calc((100% - 5 * 14px) / 6); min-width: 140px; }
@media (max-width: 1000px) { .logo-tile, .logo-wall.clients .logo-tile { flex-basis: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 640px) {
  .logo-wall { gap: 10px; }
  .logo-tile, .logo-wall.clients .logo-tile { flex-basis: calc((100% - 2 * 10px) / 3); min-width: 0; height: 88px; padding: 12px; }
  .logo-tile img, .logo-wall.clients .logo-tile img { max-height: 44px; }
  /* brand strip: smaller logos so several show at once on a phone */
  .strip img { height: 30px; }
  .strip-track { gap: 40px; }
}
/* phone hero: smaller monogram, and keep the line art away from the headline */
@media (max-width: 900px) {
  .hero-art { width: min(240px, 62%); }
  .hero .lineart { opacity: .55; height: 45%; }
}
/* CTA band line art sits behind the copy, quieter on narrow screens */
@media (max-width: 760px) { .cta-band .lineart { opacity: .5; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
