/* Birdy Exports: modern theme (pattern-room navy, thread red) */
:root {
  --night: #0a1426;
  --navy: #0f1f3d;
  --navy-2: #172c52;
  --blue: #3f6fd8;
  --tint: #f2ede3;
  --gold: #a8884f;
  --gold-lt: #dcc190;
  --red: #e23a46;
  --red-dark: #c42b37;
  --ink: #101b30;
  --muted: #56657f;
  --line: #e7e0d3;
  --bg: #faf8f4;
  --white: #fff;
  --card: #fff;
  --deep: #0f1f3d;
  --hdr: rgba(250,248,244,.84);
  --alt1: #f5f1e9;
  --alt2: #efe9de;
  --head2: #2d56b3;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --shadow: 0 1px 2px rgba(40,32,16,.05), 0 14px 34px -16px rgba(40,32,16,.18);
  --shadow-up: 0 2px 4px rgba(40,32,16,.05), 0 28px 48px -20px rgba(40,32,16,.3);
  --display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans-d: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: 104px 0; }
section.alt { background: linear-gradient(180deg, var(--alt1), var(--alt2)); }
.section-title { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 18px; max-width: 20ch; letter-spacing: -.03em; }
.lead { color: var(--muted); max-width: 62ch; font-size: 1.13rem; }
.stripe { height: 12px; background: repeating-linear-gradient(90deg, var(--navy) 0 14px, #fff 14px 28px); opacity: .9; }

/* header */
header.site { position: sticky; top: 0; z-index: 50; background: var(--hdr); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid rgba(16,27,48,.08); }
header.site .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.035em; color: var(--navy); display: flex; align-items: center; gap: 10px; flex: none; }
.logo i { width: 15px; height: 15px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--navy); display: inline-block; }
nav.main { display: flex; gap: 2px; align-items: center; margin-left: auto; }
nav.main a { font-weight: 600; font-size: .94rem; color: var(--muted); padding: 8px 13px; border-radius: 999px; transition: background .2s, color .2s; }
nav.main a:hover { background: var(--tint); color: var(--navy); }
nav.main a.active { background: var(--deep); color: #fff; }
.nav-contact { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.search-btn { display: inline-flex; align-items: center; gap: 9px; font: 600 .9rem var(--body); color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s, color .2s; }
.search-btn:hover { border-color: var(--blue); color: var(--navy); box-shadow: 0 0 0 4px rgba(63,111,216,.12); }
.search-btn kbd { font: 600 .75rem var(--body); background: var(--tint); color: var(--navy); border-radius: 6px; padding: 1px 7px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 .98rem var(--body); padding: 14px 28px; border-radius: 999px; border: 1.5px solid var(--red); background: var(--red); color: #fff; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; box-shadow: 0 10px 24px -10px rgba(226,58,70,.7); }
.btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(226,58,70,.75); }
.btn.sm { padding: 9px 18px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--navy); border-color: rgba(15,31,61,.28); box-shadow: none; }
.btn.ghost:hover { background: var(--card); border-color: var(--navy); box-shadow: var(--shadow); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 84px 0 130px; border-radius: 0 0 var(--r-lg) var(--r-lg); background:
  radial-gradient(900px 520px at 88% 0%, rgba(63,111,216,.5), transparent 62%),
  radial-gradient(760px 460px at 0% 100%, rgba(226,58,70,.3), transparent 60%), var(--night); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 85%); mask-image: linear-gradient(180deg, #000 10%, transparent 85%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: .98; letter-spacing: -.04em; margin-bottom: 24px; }
.hero .sub { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: #cdd9f3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 26px; }
.hero .sub::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(226,58,70,.28); }
.hero .desc { color: #c3d0ec; max-width: 48ch; font-size: 1.15rem; margin-bottom: 34px; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }
.piece { width: 100%; max-width: 460px; justify-self: center; overflow: visible; padding: 26px; border-radius: 34px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); animation: float 7s ease-in-out infinite; }
.piece .outline { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s ease-out .3s forwards; }
.piece .stitch { fill: none; stroke: #ff7a85; stroke-width: 2.2; stroke-dasharray: 7 6; opacity: 0; animation: fadein .8s ease-out 2.6s forwards; }
.piece .grain, .piece .tick { stroke: #aebfe0; stroke-width: 1.6; fill: none; }
.piece text { font-family: var(--display); font-size: 13px; fill: #cfdaf0; }
.piece .photo { opacity: 0; animation: fadein 1.2s ease-out 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes float { 50% { translate: 0 -10px; } }

/* inner page hero */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 84px 0 78px; border-radius: 0 0 var(--r-lg) var(--r-lg); background:
  radial-gradient(700px 360px at 92% 0%, rgba(63,111,216,.5), transparent 62%),
  radial-gradient(560px 320px at 0% 110%, rgba(226,58,70,.26), transparent 60%), var(--night); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.2rem); letter-spacing: -.04em; }
.page-hero p { color: #c3d0ec; max-width: 60ch; margin-top: 16px; font-size: 1.15rem; }

/* key numbers */
.hero + section[data-type="stats"] { padding: 0; margin-top: -62px; position: relative; z-index: 3; }
section[data-type="stats"] { padding: 64px 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-up); border: 1px solid var(--line); padding: 14px 6px; }
.stat { padding: 24px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 4.2vw, 3.5rem); letter-spacing: -.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--muted); margin-top: 10px; font-size: .96rem; line-height: 1.4; }

/* spec table */
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.spec caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.1rem; background: var(--deep); color: #fff; padding: 16px 24px; border-radius: var(--r) var(--r) 0 0; caption-side: top; }
.spec th, .spec td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 700; color: var(--blue); width: 34%; font-size: .95rem; }
.spec td { color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 44px; }
.cards.n1 { grid-template-columns: minmax(0, 560px); }
.cards.n3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); }
.card .pic { overflow: hidden; height: 250px; background: linear-gradient(135deg, #e9e2d4, #f3eee4); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover img { transform: scale(1.06); }
.card .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.6rem; }
.card p { color: var(--muted); flex: 1; }
a.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--red); }
a.more::after { content: ""; width: 8px; height: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
a.more:hover::after { transform: translateX(5px) rotate(45deg); }

/* ruled list */
.facts { list-style: none; margin-top: 34px; }
.fact { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 22px; border-bottom: 1px solid var(--line); border-radius: var(--r-sm); transition: background .25s, transform .25s var(--ease); }
.fact:first-child { border-top: 1px solid var(--line); }
.fact:hover { background: var(--card); transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.fact h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; max-width: 60ch; }
.fact a { font-weight: 700; color: var(--red); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.fact a::after { content: ""; width: 8px; height: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); }

/* vision / quote */
.vision { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.vision blockquote { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.22; font-weight: 600; color: var(--navy); letter-spacing: -.025em; margin: 0; padding-left: 26px; border-left: 4px solid var(--red); }
.vision img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-up); }

/* text + image */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-grid.rev > :first-child { order: 2; }
.about-grid.noimg { grid-template-columns: 1fr; }
.about-grid img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-up); }
.lead p + p { margin-top: 14px; }

/* feature grid */
.tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.tech div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.tech div:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.tech div b { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; color: var(--navy); margin-bottom: 6px; }
.tech div span { color: var(--muted); font-size: 1rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 32px; counter-increment: s; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 14px; }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* panels */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; box-shadow: var(--shadow); }
.panel h3 { font-size: 1.45rem; margin-bottom: 12px; }
.panel p { color: var(--muted); }
.list-plain { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.list-plain li { padding-left: 30px; position: relative; }
.list-plain li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%; background: var(--tint) radial-gradient(circle, var(--red) 0 3.5px, transparent 4px); }

/* certification tags */
.certs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.certs span { font-weight: 700; color: var(--navy); background: var(--card); padding: 12px 22px; border-radius: 999px; border: 1.5px dashed #9db4e0; box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s; }
.certs span:hover { transform: translateY(-3px); border-color: var(--blue); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: linear-gradient(135deg, #e9e2d4, #f3eee4); cursor: zoom-in; transition: transform .5s var(--ease), box-shadow .3s; }
.gallery img:hover { transform: scale(1.025); box-shadow: var(--shadow-up); position: relative; z-index: 2; }
.gallery img:nth-child(5n+1) { grid-row: span 2; }
.gallery img:nth-child(7n+3) { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; background: rgba(8,14,28,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 120; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: var(--r); box-shadow: 0 30px 80px rgba(0,0,0,.6); }

/* call to action */
section[data-type="cta"] { padding: 40px 0 110px; }
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; border-radius: var(--r-lg); padding: 60px 56px; color: #fff; background:
  radial-gradient(520px 300px at 100% 0%, rgba(63,111,216,.55), transparent 65%),
  radial-gradient(420px 260px at 0% 100%, rgba(226,58,70,.4), transparent 65%), var(--night); box-shadow: var(--shadow-up); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.03em; max-width: 20ch; }
.cta p { color: #c3d0ec; margin-top: 12px; max-width: 52ch; }
.cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }

/* contact + map */
#contact { position: relative; background: radial-gradient(800px 420px at 95% 0%, rgba(63,111,216,.4), transparent 60%), var(--night); color: #fff; padding: 100px 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
#contact .section-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info address { font-style: normal; color: #c3d0ec; margin: 10px 0 10px; line-height: 1.75; }
.contact-info address b { color: #fff; }
.contact-info a.mail { color: #ff9aa3; font-weight: 700; }
.map-frame { margin-top: 30px; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.map-frame iframe { width: 100%; height: 330px; border: 0; display: block; }
.map-frame .bar { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; font-weight: 600; font-size: .94rem; background: var(--card); color: var(--navy); }
.map-frame .bar a { color: var(--red); font-weight: 700; }
.map-frame .bar a:hover { text-decoration: underline; text-underline-offset: 4px; }
form.enq { display: grid; gap: 18px; background: var(--card); color: var(--ink); padding: 38px; border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
form.enq h3 { font-size: 1.7rem; }
form.enq label { font-weight: 600; font-size: .92rem; color: var(--navy); display: grid; gap: 7px; }
form.enq input, form.enq textarea { font: 1rem var(--body); padding: 13px 16px; border: 1.5px solid #d5def0; border-radius: var(--r-sm); background: var(--bg); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
form.enq input:focus, form.enq textarea:focus { outline: none; border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 4px rgba(63,111,216,.16); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { display: none; font-weight: 600; padding: 13px 16px; border-radius: var(--r-sm); }
.form-msg.ok { display: block; background: #e0f5e8; color: #17582f; }
.form-msg.err { display: block; background: #fde6e8; color: #8e1f2b; }

/* footer */
footer.site { background: #070f1d; color: #aebcd9; padding: 0 0 26px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 60px; }
footer.site h4 { color: #fff; margin-bottom: 14px; font-size: 1.1rem; }
footer.site li { list-style: none; margin: 8px 0; }
footer.site a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
footer.site .copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; font-size: .92rem; }

.editbar { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-weight: 700; font-size: .95rem; background: var(--deep); color: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: 0 16px 34px -10px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2); }
.editbar:hover { background: var(--red); }

/* scroll reveal (classes are added by JS, so content is never hidden without it) */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* search panel */
.sx { position: fixed; inset: 0; z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 11vh 16px 16px; background: rgba(8,14,28,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.sx.open { display: flex; opacity: 1; }
.sx-panel { width: 100%; max-width: 720px; max-height: 78vh; display: flex; flex-direction: column; background: var(--card); border-radius: 26px; box-shadow: 0 50px 100px -20px rgba(0,0,0,.6); overflow: hidden; animation: sxin .28s var(--ease); }
@keyframes sxin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.sx-bar { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.sx-bar input { flex: 1; border: 0; outline: 0; font: 500 1.2rem var(--body); color: var(--ink); background: transparent; min-width: 0; }
.sx-bar button { border: 0; background: var(--tint); color: var(--navy); font: 700 .8rem var(--body); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.sx-body { overflow: auto; padding: 8px 12px 14px; }
.sx-label { font-weight: 700; font-size: .78rem; color: var(--muted); letter-spacing: .02em; padding: 12px 12px 6px; }
.sx-res { display: block; padding: 12px 14px; border-radius: 14px; transition: background .15s; }
.sx-res:hover, .sx-res:focus-visible, .sx-res.on { background: var(--tint); outline: none; }
.sx-res b { display: block; color: var(--navy); font-family: var(--display); font-size: 1.05rem; letter-spacing: -.01em; }
.sx-res small { display: block; color: var(--blue); font-weight: 600; font-size: .8rem; margin-bottom: 2px; }
.sx-res p { color: var(--muted); font-size: .94rem; line-height: 1.5; margin-top: 3px; }
.sx-res mark { background: #ffe9a8; color: inherit; border-radius: 3px; padding: 0 2px; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 12px 10px; }
.sx-chips a, .sx-chips button { font: 600 .9rem var(--body); color: var(--navy); background: var(--tint); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.sx-chips a:hover, .sx-chips button:hover { background: var(--deep); color: #fff; }
.sx-ask { margin: 8px 6px 4px; display: flex; align-items: center; gap: 12px; width: calc(100% - 12px); text-align: left; font: 600 1rem var(--body); color: var(--navy); background: linear-gradient(120deg, #eef3ff, #fff2f3); border: 1.5px solid #cfdcf6; border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.sx-ask:hover { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(63,111,216,.12); }
.sx-ask .ai { font: 800 .72rem var(--body); letter-spacing: .04em; color: #fff; background: linear-gradient(120deg, var(--blue), var(--red)); border-radius: 8px; padding: 4px 8px; flex: none; }
.sx-ans { margin: 8px 6px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, var(--blue), var(--red)) border-box; border: 1.5px solid transparent; }
.sx-ans .ai { font: 800 .72rem var(--body); letter-spacing: .04em; color: #fff; background: linear-gradient(120deg, var(--blue), var(--red)); border-radius: 8px; padding: 4px 8px; }
.sx-ans p { margin-top: 10px; white-space: pre-wrap; color: var(--ink); }
.sx-ans .src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sx-ans .src a { font: 600 .85rem var(--body); color: var(--blue); background: var(--tint); border-radius: 999px; padding: 5px 12px; }
.sx-note { color: var(--muted); font-size: .85rem; padding: 6px 14px 2px; }
.sx-empty { color: var(--muted); padding: 24px 14px; text-align: center; }
.sx-dots { display: inline-flex; gap: 5px; vertical-align: middle; }
.sx-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: dot 1s infinite ease-in-out; }
.sx-dots i:nth-child(2) { animation-delay: .15s; } .sx-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.1); } }

@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero { padding: 56px 0 110px; }
  .hero .wrap, .intro-grid, .cards, .vision, .about-grid, .two-col, .contact-grid, footer.site .cols { grid-template-columns: 1fr; gap: 36px; }
  .cards.n3 { grid-template-columns: 1fr; }
  .about-grid.rev > :first-child { order: 0; }
  .piece { max-width: 340px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery img:nth-child(7n+3) { grid-column: auto; }
  .burger { display: block; }
  .hdr-cta, .search-btn span, .search-btn kbd { display: none; }
  .search-btn { padding: 10px; width: 44px; height: 44px; justify-content: center; }
  header.site .wrap { gap: 12px; }
  .hdr-actions { margin-left: auto; }
  nav.main { display: none; position: absolute; top: 72px; left: 12px; right: 12px; background: var(--card); flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-up); margin: 0; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 16px; font-size: 1rem; }
  .nav-contact { display: block; }
  .stat + .stat { border-left: 0; }
  .stat { padding: 18px 20px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta { padding: 42px 28px; }
  .vision img { height: 320px; }
  #contact { padding: 72px 0; }
  form.enq { padding: 26px; }
  .spec th { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .piece { animation: none; }
  .piece .outline { animation: none; stroke-dashoffset: 0; }
  .piece .stitch, .piece .photo { animation: none; opacity: 1; }
  .rv { opacity: 1; transform: none; transition: none; }
  .sx-panel { animation: none; }
}

/* ===== v3: advanced layer ===== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 90; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--red)); pointer-events: none; }

/* eyebrow labels and gradient accent in headings */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.alt .eyebrow { color: #2f58b8; }
.section-title { background: linear-gradient(100deg, var(--navy) 55%, var(--head2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
#contact .section-title { background: none; -webkit-text-fill-color: #fff; }
.cta h2 { -webkit-text-fill-color: #fff; }

/* animated aurora in hero */
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -140px; top: -220px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63,111,216,.0), rgba(63,111,216,.38), rgba(226,58,70,.28), rgba(63,111,216,.0)); filter: blur(70px); animation: spin 26s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { -webkit-text-fill-color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips li { font-weight: 600; font-size: .86rem; color: #dbe5fa; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chips li::before { content: "✓"; color: #ff8a94; margin-right: 8px; font-weight: 800; }

/* scrolling strip */
section[data-type="marquee"] { padding: 54px 0 12px; }
.mq-cap { text-align: center; font: 700 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-set { list-style: none; display: flex; flex: none; }
.mq-set li { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -.02em; color: var(--navy); opacity: .5; padding: 0 34px; white-space: nowrap; display: flex; align-items: center; gap: 68px; transition: opacity .25s; }
.mq-set li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.mq-set li:hover { opacity: 1; }
@keyframes mq { to { transform: translateX(-50%); } }

/* FAQ */
.faq { margin-top: 38px; display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: #b9c9ee; box-shadow: var(--shadow-up); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.015em; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--blue); font-size: 1.4rem; font-weight: 600; line-height: 1; transition: transform .3s var(--ease), background .25s, color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq .ans { padding: 0 26px 24px; color: var(--muted); max-width: 70ch; }
.faq .ans p + p { margin-top: 10px; }

/* bento facts grid */
.tech { grid-template-columns: repeat(6, 1fr); }
.tech div { grid-column: span 2; }
.tech div:nth-child(1) { grid-column: span 3; background: linear-gradient(150deg, var(--deep), #1c3a74); border-color: transparent; }
.tech div:nth-child(1) b { color: #fff; font-size: 1.8rem; } .tech div:nth-child(1) span { color: #c3d0ec; }
.tech div:nth-child(2) { grid-column: span 3; }
.tech div:nth-child(2) b { font-size: 1.6rem; }

/* spotlight on cards (cursor position set by JS) */
.card, .tech div, .panel, .step { position: relative; }
.card::after, .tech div::after, .panel::after, .step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(63,111,216,.13), transparent 60%); }
.card:hover::after, .tech div:hover::after, .panel:hover::after, .step:hover::after { opacity: 1; }
.step { transition: transform .3s var(--ease), box-shadow .3s; } .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }

@media (max-width: 960px) {
  .tech { grid-template-columns: 1fr 1fr; } .tech div, .tech div:nth-child(1), .tech div:nth-child(2) { grid-column: span 1; }
  .mq-set li { padding: 0 22px; gap: 44px; }
}
@media (max-width: 600px) { .tech { grid-template-columns: 1fr; } .faq summary { font-size: 1.05rem; padding: 18px 18px; } .faq .ans { padding: 0 18px 20px; } }
@media (prefers-reduced-motion: reduce) { .mq-track, .hero::after { animation: none; } .mq { overflow-x: auto; } }

/* ===== v4: extraordinary layer ===== */

/* dark theme */
:root[data-theme="dark"] { color-scheme: dark; --navy: #e9efff; --ink: #e3eafb; --muted: #a2b3d4; --line: #223557; --bg: #091221; --tint: #172846; --card: #0f1d36; --hdr: rgba(9,18,33,.82); --alt1: #0c1a30; --alt2: #0a1527; --head2: #8fb0ff;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -14px rgba(0,0,0,.6); --shadow-up: 0 2px 4px rgba(0,0,0,.4), 0 26px 46px -18px rgba(0,0,0,.75); }
:root[data-theme="dark"] nav.main a.active { background: var(--blue); }
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .page-hero { box-shadow: 0 1px 0 rgba(255,255,255,.06); }
:root[data-theme="dark"] .eyebrow, :root[data-theme="dark"] .alt .eyebrow { color: #8fb0ff; }
:root[data-theme="dark"] .spec th { color: #8fb0ff; }
:root[data-theme="dark"] .btn.ghost { border-color: rgba(255,255,255,.3); }
:root[data-theme="dark"] .card .pic, :root[data-theme="dark"] .gallery img { background: linear-gradient(135deg, #14264a, #0d1c38); }
:root[data-theme="dark"] .certs span { border-color: #35538f; }
:root[data-theme="dark"] form.enq input, :root[data-theme="dark"] form.enq textarea { background: #0a1527; color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .logo i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #e9efff; }
:root[data-theme="dark"] .stripe { opacity: .35; }
:root[data-theme="dark"] .sx-res mark, :root[data-theme="dark"] mark { background: rgba(255,200,60,.35); color: #fff; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; transition: color .2s, border-color .2s, transform .3s var(--ease); }
.theme-btn:hover { color: var(--navy); border-color: var(--blue); transform: rotate(18deg); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; } :root[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* hero: living thread field, word-by-word headline, tilt */
.threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%); }
.hero::before { opacity: .55; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .w > span { display: inline-block; transform: translateY(112%); animation: rise .95s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
.piece { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; will-change: transform; }
.btn { transition: transform .2s var(--ease), box-shadow .2s, background .2s, translate .25s var(--ease); }

/* scroll story */
section[data-type="journey"] { padding-bottom: 60px; }
.journey { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; margin-top: 44px; align-items: start; }
.j-stick { position: sticky; top: 100px; }
.j-card { border-radius: var(--r-lg); padding: 28px 28px 22px; color: #fff; background: radial-gradient(420px 260px at 100% 0%, rgba(63,111,216,.45), transparent 65%), radial-gradient(360px 240px at 0% 100%, rgba(226,58,70,.28), transparent 65%), #0a1426; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-up); }
.j-svg { width: 100%; height: auto; max-height: calc(100vh - 290px); display: block; margin: 0 auto; overflow: visible; }
.j-svg text { font-family: var(--display); font-size: 14px; fill: #cfdaf0; }
.j-svg g, .j-svg use { transition: opacity .7s var(--ease), transform .8s var(--ease); transform-box: fill-box; transform-origin: center; }
.j-svg .show1, .j-svg .show2, .j-svg .show3, .j-svg .show4 { opacity: 0; }
.j-svg.ge1 .show1, .j-svg.ge2 .show2, .j-svg.ge3 .show3, .j-svg.ge4 .show4 { opacity: 1; }
.j-svg.ge1 .hide1 { opacity: 0; transform: translateY(-14px) scale(.96); }
.j-svg.ge4 .hide4 { opacity: 0; transform: translateY(10px) scale(.9); }
.j-svg .j-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease-out; }
.j-svg.ge1 .j-line { stroke-dashoffset: 0; }
.j-count { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; font-family: var(--display); }
.j-count b { font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.j-count span { color: #9fb3df; font-weight: 600; }
.j-dots { display: flex; gap: 6px; margin-top: 12px; }
.j-dots i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.16); transition: background .4s; }
.j-dots i.on { background: linear-gradient(90deg, var(--blue), var(--red)); }
.j-list { display: grid; }
.j-step { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 38px; border-left: 2px dashed var(--line); opacity: .32; transition: opacity .45s, border-color .45s, transform .45s var(--ease); transform: translateX(-8px); }
.j-step.on { opacity: 1; border-left-color: var(--red); transform: none; }
.j-num { font-family: var(--display); font-weight: 800; font-size: 4.2rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.6px var(--red); margin-bottom: 16px; }
.j-step h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 12px; max-width: 18ch; }
.j-step p { color: var(--muted); font-size: 1.12rem; max-width: 46ch; }
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 0; }
  .j-stick { top: 72px; z-index: 6; padding: 10px 0 14px; background: var(--bg); }
  section.alt .j-stick { background: var(--alt1); }
  .j-card { padding: 14px 18px 12px; }
  .j-svg { max-height: 30vh; }
  .j-count b { font-size: 1.7rem; } .j-count { margin-top: 4px; } .j-dots { margin-top: 8px; }
  .j-step { min-height: 46vh; padding-left: 22px; } .j-num { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w > span { transform: none; animation: none; } .piece { transition: none; } .j-svg g, .j-svg use, .j-step { transition: none; }
}

/* ===== v5: everything editable ===== */
/* section options */
section.sp-s { padding-top: 52px; padding-bottom: 52px; } section.sp-l { padding-top: 150px; padding-bottom: 150px; }
section.w-narrow > .wrap { max-width: 860px; } section.w-wide > .wrap { max-width: 1400px; }
section.ta-center > .wrap > .eyebrow { display: flex; justify-content: center; }
section.ta-center .section-title, section.ta-center > .wrap > .lead, section.ta-center > .wrap > .lead p { text-align: center; margin-left: auto; margin-right: auto; }
section.ta-center .lead { margin-left: auto; margin-right: auto; }
section.bg-dark { background: radial-gradient(900px 420px at 90% 0%, rgba(63,111,216,.35), transparent 60%), var(--night); color: #dbe5fa; }
section.bg-brand { background: linear-gradient(135deg, var(--blue), #2a4ea6 70%, var(--deep)); color: #eef3ff; }
section.bg-photo { background: linear-gradient(rgba(8,16,34,.72), rgba(8,16,34,.72)), var(--bgimg) center / cover no-repeat; color: #eef3ff; }
.bg-dark .section-title, .bg-brand .section-title, .bg-photo .section-title { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-brand h2, .bg-brand h3, .bg-photo h2, .bg-photo h3 { color: #fff; }
.bg-dark .lead, .bg-brand .lead, .bg-photo .lead, .bg-dark .step p, .bg-dark .j-step p { color: inherit; opacity: .9; }
.bg-dark .eyebrow, .bg-brand .eyebrow, .bg-photo .eyebrow { color: #ffb3ba; }
.bg-dark .fact, .bg-brand .fact, .bg-photo .fact { border-color: rgba(255,255,255,.22); } .bg-dark .fact h3, .bg-brand .fact h3, .bg-photo .fact h3 { color: #fff; }
.bg-dark .fact:hover, .bg-brand .fact:hover, .bg-photo .fact:hover { background: rgba(255,255,255,.08); }
.bg-dark .mq-set li, .bg-brand .mq-set li, .bg-photo .mq-set li { color: #fff; } .bg-dark .mq-cap, .bg-brand .mq-cap, .bg-photo .mq-cap { color: #c9d6f2; }
.bg-dark .j-step h3, .bg-dark .j-step p { color: #fff; } .bg-dark .j-step { border-left-color: rgba(255,255,255,.2); }
.bg-dark .btn.ghost, .bg-brand .btn.ghost, .bg-photo .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); } .bg-dark .btn.ghost:hover, .bg-brand .btn.ghost:hover, .bg-photo .btn.ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; box-shadow: none; }
.bg-dark .rt a, .bg-brand .rt a, .bg-photo .rt a, .bg-dark .lead a, .bg-brand .lead a, .bg-photo .lead a { color: #fff; }
.bg-dark .about-grid .lead, .bg-brand .about-grid .lead, .bg-photo .about-grid .lead { color: inherit; }
.bg-dark .vision blockquote, .bg-brand .vision blockquote, .bg-photo .vision blockquote { color: #fff; }
.bg-dark .logos img, .bg-brand .logos img, .bg-photo .logos img { filter: brightness(0) invert(1); opacity: .8; }

/* rich text */
.rt, .lead ul, .lead ol { margin: 12px 0 12px 1.2em; } .rt li { margin: 5px 0; } ul.rt { list-style: disc; } ol.rt { list-style: decimal; }
.rt-h { font-size: 1.35rem; margin: 18px 0 6px; } .rt-q { border-left: 3px solid var(--red); padding: 2px 0 2px 16px; margin: 14px 0; font-style: italic; }
main a:not(.btn):not(.more):not(.pic-link):not(.card) { text-underline-offset: 3px; }
.lead a, .rt a, .ans a, .about a, .colx a, .card .body a:not(.more) { color: var(--blue); text-decoration: underline; }
.card .body p + p, .step p + p, .panel p + p { margin-top: 8px; }

/* images with options */
figure.fig { margin: 0; } figure.fig figcaption, .video figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.pic-link { display: block; } img.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-grid.is-s { grid-template-columns: 1.5fr .6fr; } .about-grid.is-l { grid-template-columns: .85fr 1.15fr; }
.about-grid.rev.is-s { grid-template-columns: .6fr 1.5fr; } .about-grid.rev.is-l { grid-template-columns: 1.15fr .85fr; }
.cards.n4 { grid-template-columns: repeat(4, 1fr); } .cards.n2 { grid-template-columns: repeat(2, 1fr); }
.gallery.uniform { grid-auto-rows: auto; }
.gallery.uniform img:nth-child(5n+1), .gallery.uniform img:nth-child(7n+3) { grid-row: auto; grid-column: auto; }
.gallery.uniform.c2 { grid-template-columns: repeat(2, 1fr); } .gallery.uniform.c3 { grid-template-columns: repeat(3, 1fr); } .gallery.uniform.c5 { grid-template-columns: repeat(5, 1fr); }
.gallery.uniform img { height: auto; aspect-ratio: 4 / 3; } .gallery.uniform figure img { height: auto; }
.gallery.uniform figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.gallery.nolb img { cursor: default; }

/* banner */
section.banner { position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; padding: 0; min-height: 440px; background: var(--night); }
section.banner.h-short { min-height: 300px; } section.banner.h-tall { min-height: 620px; }
section.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,26,.82), rgba(6,12,26,.35)); pointer-events: none; }
section.banner.ov-light::after { background: linear-gradient(90deg, rgba(6,12,26,.5), rgba(6,12,26,.08)); } section.banner.ov-strong::after { background: rgba(6,12,26,.82); }
section.banner .wrap { position: relative; z-index: 2; width: 100%; padding-top: 70px; padding-bottom: 70px; }
.banner-copy { max-width: 640px; } .banner h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.035em; margin-bottom: 16px; }
.banner .eyebrow { color: #ffb3ba; } .banner-copy p { font-size: 1.15rem; color: #e1e9fb; } .banner .actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.banner .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); } .banner .btn.ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; box-shadow: none; }
section.banner.ta-center .banner-copy { margin: 0 auto; text-align: center; } section.banner.ta-center .actions { justify-content: center; } section.banner.ta-center .eyebrow { justify-content: center; }
section.banner.ta-center::after { background: rgba(6,12,26,.6); }

/* video */
.video { margin: 36px 0 0; } .vframe { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-up); background: #000; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* people */
.people { display: grid; gap: 34px 28px; margin-top: 44px; grid-template-columns: repeat(4, 1fr); } .people.n2 { grid-template-columns: repeat(2, 1fr); } .people.n3 { grid-template-columns: repeat(3, 1fr); }
.person img { width: 100%; object-fit: cover; box-shadow: var(--shadow); } .person .noph { aspect-ratio: 1; border-radius: var(--r); display: grid; place-items: center; font: 800 3.4rem var(--display); color: #fff; background: linear-gradient(135deg, var(--blue), var(--deep)); }
.person h3 { font-size: 1.3rem; margin: 16px 0 2px; } .person .role { color: var(--red); font-weight: 700; font-size: .9rem; letter-spacing: .02em; } .person .about { margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* logos */
.logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 54px; margin-top: 36px; }
.logos img { height: 54px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.logos li:hover img, .logos.colour img { filter: none; opacity: 1; } .logos li:hover img { transform: scale(1.06); } .logos.colour img { opacity: 1; }
:root[data-theme="dark"] .logos:not(.colour) img { filter: grayscale(1) brightness(1.7); }

/* text columns */
.colx { display: grid; gap: 36px; margin-top: 40px; grid-template-columns: repeat(3, 1fr); } .colx.n2 { grid-template-columns: repeat(2, 1fr); } .colx.n4 { grid-template-columns: repeat(4, 1fr); }
.colx img { width: 100%; border-radius: var(--r); margin-bottom: 18px; aspect-ratio: 4 / 3; object-fit: cover; } .colx h3 { font-size: 1.3rem; margin-bottom: 8px; } .colx p, .colx li { color: var(--muted); }

/* downloads */
.dl { list-style: none; display: grid; gap: 14px; margin-top: 36px; max-width: 860px; }
.dl li { display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow); }
.dl-ico { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--red); font: 800 .8rem var(--body); letter-spacing: .05em; }
.dl li > div { flex: 1; min-width: 0; } .dl b { display: block; font-family: var(--display); font-size: 1.12rem; color: var(--navy); } .dl li span:not(.dl-ico) { color: var(--muted); font-size: .94rem; }

/* announcement bar, logo, social */
.announce { background: linear-gradient(90deg, var(--deep), var(--blue)); color: #fff; text-align: center; font-weight: 600; font-size: .92rem; padding: 9px 20px; } .announce a { color: #fff; } .announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.logo-img { height: 40px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; } .social a { font-weight: 600; font-size: .9rem; color: #c3d0ec; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); transition: background .2s, color .2s; } .social a:hover { background: #fff; color: var(--deep); text-decoration: none; }
.fnote { margin-top: 22px; color: #9fb0d2; font-size: .9rem; } .contact-info a.mail.tel { display: block; margin-top: 6px; }

@media (max-width: 960px) {
  .cards.n4, .people, .colx, .colx.n4 { grid-template-columns: 1fr 1fr; } .gallery.uniform.c3, .gallery.uniform.c5 { grid-template-columns: repeat(2, 1fr); }
  .about-grid.is-s, .about-grid.is-l, .about-grid.rev.is-s, .about-grid.rev.is-l { grid-template-columns: 1fr; }
  section.sp-l { padding-top: 96px; padding-bottom: 96px; } section.banner { min-height: 380px; } section.banner.h-tall { min-height: 480px; }
  .dl li { flex-wrap: wrap; } .logo-img { height: 34px; }
}
@media (max-width: 600px) { .cards.n4, .people, .people.n2, .people.n3, .colx, .colx.n2, .colx.n4 { grid-template-columns: 1fr; } }

/* ===== v6: classic and animated ===== */
:root[data-theme="dark"] { --gold: #dcc190; --tint: #1a2745; --line: #25365a; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* serif headlines, quieter weights */
h1, h2, h3, h4, .stat b, .faq summary, .dl b, .tech div b, .fact h3, .j-num, .j-count b, .mq-set li, .vision blockquote, .spec caption, .person h3 { font-weight: 500; }
h1, h2, h3 { letter-spacing: -.018em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero h1 em, .page-hero h1 em, .bg-dark h2 em, .bg-photo h2 em, .banner h2 em, .cta h2 em { color: var(--gold-lt); }
.logo { font-family: var(--sans-d); font-weight: 800; letter-spacing: -.02em; }
.section-title { background: none; -webkit-text-fill-color: currentColor; color: var(--navy); font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; }
.hero h1 { font-weight: 500; letter-spacing: -.025em; font-size: clamp(2.9rem, 6.2vw, 5.2rem); line-height: 1.03; }
.hero .sub { letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; color: var(--gold-lt); background: transparent; border-color: rgba(220,193,144,.4); }
.hero .sub::before { background: var(--gold-lt); box-shadow: 0 0 0 4px rgba(220,193,144,.22); }
.chips li::before { color: var(--gold-lt); }
.mq-set li { font-style: italic; font-weight: 400; opacity: .55; } .mq-set li::after { background: var(--gold); }
.stat b, .j-count b, .stat b[data-count] { font-weight: 400; letter-spacing: -.02em; }
.card h3, .step h3, .panel h3, .colx h3 { font-weight: 500; font-size: 1.45rem; }
.j-num { font-weight: 400; -webkit-text-stroke: 1.3px var(--gold); }
.step::before { color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.faq summary::after { color: var(--gold); } .faq details[open] summary::after { background: var(--gold); color: #fff; }

/* gold hairlines and eyebrows */
.eyebrow { color: var(--gold); letter-spacing: .2em; font-size: .72rem; font-weight: 600; }
.eyebrow::before { width: 38px; height: 1px; background: var(--gold); transform-origin: left; transition: transform 1s .25s var(--ease); }
.eyebrow.rv:not(.in)::before { transform: scaleX(0); }
:root[data-theme="dark"] .eyebrow, :root[data-theme="dark"] .alt .eyebrow, .bg-dark .eyebrow, .bg-brand .eyebrow, .bg-photo .eyebrow, .banner .eyebrow { color: var(--gold-lt); }
.alt .eyebrow { color: var(--gold); }
header.site { border-bottom: 1px solid var(--line); }
.stats, .card, .tech div, .panel, .step, .faq details, .dl li, .spec { border-color: var(--line); }
.spec th { color: var(--gold); letter-spacing: .02em; }
.stat + .stat { border-left-color: var(--line); }

/* navigation: slim underline that draws in */
nav.main a, nav.main a:hover, nav.main a.active, :root[data-theme="dark"] nav.main a.active { background: none; border-radius: 0; box-shadow: none; }
nav.main a { position: relative; padding: 8px 3px; margin: 0 11px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
nav.main a::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
nav.main a:hover, nav.main a.active { color: var(--navy); } nav.main a:hover::after, nav.main a.active::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 960px) { nav.main a { margin: 0; padding: 14px 4px; } nav.main a::after { bottom: 8px; } }

/* buttons: a soft sheen sweeps across on hover */
.btn { position: relative; overflow: hidden; letter-spacing: .02em; }
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .8s var(--ease); pointer-events: none; }
.btn:hover::before { left: 140%; }

/* headline words rise from a mask; images unveil */
.wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .14em 0; margin-bottom: -.14em; }
.wsplit .w > span { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.wsplit.in .w > span { transform: none; }
.hero h1 .w { padding: 0 .05em .14em 0; margin-bottom: -.14em; }
.iw { clip-path: inset(0 0 100% 0); transform: scale(1.14); }
.iw.in { clip-path: inset(0 0 0 0); transform: none; transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease); }
.rv { transform: translateY(40px); }
img.banner-bg { will-change: transform; transform: scale(1.12); }
.hero .wrap { will-change: transform, opacity; }

/* a slow scroll cue in the hero */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 38px; margin-left: -11px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px; z-index: 3; pointer-events: none; transition: opacity .4s; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-lt); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } .iw, .iw.in, .wsplit .w > span { transform: none; clip-path: none; transition: none; } }
h1 em, h2 em, h3 em { -webkit-text-fill-color: currentColor; }

/* ===== v7: photos, richer sections, wow ===== */
/* opening curtain (shown once per visit; CSS removes it by itself) */
.intro { position: fixed; inset: 0; z-index: 400; background: var(--night); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; pointer-events: none; animation: intro-out .55s ease 1.05s forwards; }
.intro span { font: 400 clamp(1.6rem, 4vw, 2.6rem) var(--display); color: #fff; letter-spacing: .04em; opacity: 0; animation: intro-in .8s var(--ease) .15s forwards; }
.intro i { display: block; height: 1px; width: 0; background: repeating-linear-gradient(90deg, var(--gold-lt) 0 8px, transparent 8px 14px); animation: intro-line 1s var(--ease) .25s forwards; }
html.no-intro .intro { display: none; }
@keyframes intro-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-line { to { width: min(240px, 50vw); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* hero photo or video */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg, .hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { animation: kb 30s ease-in-out infinite alternate; }
.hero-vid { opacity: 0; transition: opacity 1.2s; } .hero-vid.on { opacity: 1; }
@keyframes kb { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.2) translate(-2%, -1.5%); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,14,30,.86), rgba(7,14,30,.5) 60%, rgba(7,14,30,.35)); }
.hero-media.dk-light::after { background: linear-gradient(90deg, rgba(7,14,30,.62), rgba(7,14,30,.2)); } .hero-media.dk-strong::after { background: rgba(7,14,30,.9); }
.hero.has-media .wrap { position: relative; z-index: 2; } .hero.has-media .threads { opacity: .5; z-index: 1; }

/* testimonials */
.tslider { margin-top: 40px; }
.t-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; outline-offset: 6px; }
.t-track::-webkit-scrollbar { display: none; }
.t-item { flex: 0 0 min(660px, 88%); scroll-snap-align: center; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 52px 46px 34px; box-shadow: var(--shadow); position: relative; }
.t-item::before { content: "\201C"; position: absolute; top: 14px; left: 30px; font: 400 6rem/1 var(--display); color: var(--gold); opacity: .5; }
.t-item blockquote { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: var(--navy); margin: 0 0 26px; } .t-item blockquote p + p { margin-top: 10px; }
.t-item figcaption { display: flex; align-items: center; gap: 16px; } .t-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.t-item figcaption b { display: block; color: var(--navy); } .t-item figcaption span { color: var(--muted); font-size: .92rem; }
.t-ctl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 8px; }
.t-ctl > button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--navy); cursor: pointer; font-size: 1.1rem; transition: background .25s, color .25s, border-color .25s; }
.t-ctl > button:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.t-dots { display: flex; gap: 8px; align-items: center; } .t-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: var(--line); cursor: pointer; transition: width .35s var(--ease), background .3s; } .t-dots button.on { width: 28px; background: var(--gold); }

/* product showcase */
.sc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 6px; }
.sc-filters button { font: 600 .88rem var(--body); letter-spacing: .02em; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.sc-filters button:hover { border-color: var(--gold); color: var(--navy); } .sc-filters button.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.sc-grid { display: grid; gap: 26px; margin-top: 26px; grid-template-columns: repeat(3, 1fr); } .sc-grid.n2 { grid-template-columns: repeat(2, 1fr); } .sc-grid.n4 { grid-template-columns: repeat(4, 1fr); }
.sc-item { cursor: pointer; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, opacity .3s; outline-offset: 4px; }
.sc-item:hover { box-shadow: var(--shadow-up); } .sc-item.fade { opacity: 0; transform: scale(.95); }
.sc-pic { overflow: hidden; } .sc-pic img { width: 100%; display: block; object-fit: cover; transition: transform .9s var(--ease); } .sc-item:hover .sc-pic img { transform: scale(1.07); }
.sc-pic .noph { aspect-ratio: 4 / 3; display: grid; place-items: center; font: 400 3.4rem var(--display); color: #fff; background: linear-gradient(135deg, var(--blue), var(--deep)); }
.sc-cap { padding: 16px 20px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .sc-cap b { font: 500 1.2rem var(--display); color: var(--navy); } .sc-cap span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.scm { position: fixed; inset: 0; z-index: 250; background: rgba(6,12,26,.84); display: grid; place-items: center; padding: 22px; opacity: 0; transition: opacity .3s; } .scm.open { opacity: 1; }
.scm-panel { width: min(980px, 100%); max-height: 92vh; overflow: auto; background: var(--card); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.25fr 1fr; position: relative; transform: translateY(18px) scale(.98); transition: transform .45s var(--ease); } .scm.open .scm-panel { transform: none; }
.scm-panel img { width: 100%; height: 100%; max-height: 92vh; object-fit: cover; display: block; } .scm-body { padding: 44px 36px; align-self: center; } .scm-body h3 { font-size: 2rem; margin-bottom: 6px; } .scm-body .cat { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; font-weight: 600; margin-bottom: 16px; display: block; } .scm-body p { color: var(--muted); }
.scm-x { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(10,20,38,.75); color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 2; }

/* timeline */
.tl { list-style: none; position: relative; margin: 54px auto 0; max-width: 940px; }
.tl::before, .tl::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 30px; width: 1px; background: var(--line); }
.tl::after { bottom: auto; width: 2px; margin-left: -.5px; height: calc((100% - 36px) * var(--p, 0)); background: linear-gradient(var(--gold), var(--red)); }
.tl li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 54px; }
.tl li::before { content: ""; position: absolute; left: 50%; top: 14px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); z-index: 2; }
.tl-when { font: 400 2.4rem/1 var(--display); color: var(--gold); text-align: right; padding-top: 6px; }
.tl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; box-shadow: var(--shadow); } .tl-card h3 { font-size: 1.35rem; margin-bottom: 6px; } .tl-card p { color: var(--muted); }
.tl li:nth-child(even) .tl-when { order: 2; text-align: left; } .tl li:nth-child(even) .tl-card { order: 1; }

/* map */
.mapbox { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-up); } .mapbox iframe { display: block; width: 100%; height: 100%; border: 0; }
.mapbox.h-medium { height: 440px; } .mapbox.h-tall { height: 640px; } .mapbox.h-short { height: 300px; }
.map-links { margin-top: 14px; } .map-links a { font-weight: 700; color: var(--red); }

/* depth: cards tilt toward the pointer; a gold ring follows it */
.cards, .people, .tech, .sc-grid, .colx { perspective: 1100px; }
.card, .person, .tech > div, .sc-item { transition: rotate .25s ease-out, transform .3s var(--ease), box-shadow .3s; }
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--gold-lt); border-radius: 50%; pointer-events: none; z-index: 500; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; mix-blend-mode: normal; }
.cursor.on { opacity: .85; } .cursor.big { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(220,193,144,.14); }

@media (max-width: 960px) {
  .sc-grid, .sc-grid.n4 { grid-template-columns: 1fr 1fr; } .scm-panel { grid-template-columns: 1fr; } .scm-panel img { max-height: 46vh; } .scm-body { padding: 26px 24px 30px; }
  .tl::before, .tl::after { left: 14px; } .tl li { grid-template-columns: 1fr; gap: 10px; padding-left: 44px; } .tl li::before { left: 14px; }
  .tl-when, .tl li:nth-child(even) .tl-when { order: 0; text-align: left; font-size: 1.9rem; } .tl li:nth-child(even) .tl-card { order: 0; }
  .mapbox.h-medium { height: 340px; } .mapbox.h-tall { height: 460px; }
}
@media (max-width: 600px) { .sc-grid, .sc-grid.n2, .sc-grid.n4 { grid-template-columns: 1fr; } .t-item { padding: 46px 26px 28px; } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } .intro { display: none; } .card, .person, .tech > div, .sc-item { transition: none; } }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
