:root {
  --ink: #0b254e;
  --muted: #415f84;
  --blue: #075bb9;
  --deep: #0b285b;
  --paper: #fff;
  --line: #dce5f2;
  --sky: #f3f8ff;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 system-ui, sans-serif; }
img { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: #103d88; }
a:focus-visible, button:focus-visible { outline: 3px solid #209be5; outline-offset: 4px; }
[hidden] { display: none !important; }
h1,h2,h3 { margin: 0 0 .55em; font-weight: 760; line-height: 1.12; letter-spacing: -.042em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.05rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
p { color: var(--muted); margin: 0 0 1rem; }
.container { width: min(1200px, 100%); padding-inline: clamp(20px, 4vw, 42px); }
.container::before, .container::after { display: none; }
.skip { position: absolute; top: 10px; left: 10px; transform: translateY(-160%); z-index: 10; background: white; padding: 8px; }
.skip:focus { transform: none; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 99px; }
.brand { display: inline-flex; background: white; border-radius: 7px; }
.brand img { width: 132px; height: auto; display: block; }
.site-header nav { display: flex; gap: clamp(13px, 3vw, 32px); }
.site-header nav a { color: var(--ink); font-weight: 650; padding-block: 8px; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--blue); border-color: var(--blue); text-decoration: none; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 11px 17px; min-height: 45px; border: 1px solid transparent; border-radius: 8px; font-weight: 690; text-decoration: none; text-align: center; cursor: pointer; }
.button:hover { text-decoration: none; }
.primary { background: var(--blue); color: white; }
.primary:hover { color: white; background: #104a9f; }
.outline { color: var(--blue); border-color: #a8c3ee; background: transparent; }
.outline:hover { background: #eaf3ff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.flax-hero { background: radial-gradient(ellipse at 78% 44%, #1466ae 0%, #103a75 34%, #0a2350 66%, #081c43 100%); padding-top: 52px; color: white; overflow: hidden; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(25px, 6vw, 75px); align-items: center; }
.hero-slide :is(h1, h2) { max-width: 13ch; font-size: clamp(40px, 5.5vw, 75px); line-height: 1.03; overflow-wrap: anywhere; }
.kicker { color: #aaddff; font-size: .8rem; letter-spacing: .13em; font-weight: 780; text-transform: uppercase; }
.hero-intro, .page-intro p, .closing p { color: #e2eeff; font-size: 1.1rem; max-width: 52ch; }
.flax-hero .actions, .split .button { margin-top: .75rem; }
.flax-hero .primary, .closing .primary { background: #a5dcff; color: #102a52; }
.flax-hero .primary:hover, .closing .primary:hover { background: #d1edff; }
.flax-hero .outline { color: white; border-color: #a5c9ef; }
.flax-hero .outline:hover { color: var(--ink); }

.cloud-edge { height: 65px; margin-top: 33px; background: radial-gradient(ellipse at 50% 120%, white 65%, transparent 66%) 0 0 / 140px 100% repeat-x, linear-gradient(transparent 76%, #fff 76%); }
.block { padding-block: clamp(55px, 8vw, 100px); }
.soft { background: var(--sky); }
.section-heading { margin-bottom: 30px; }
.section-heading p { max-width: 62ch; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.flax-card { min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 10px 28px #142e5110; padding: clamp(19px, 3vw, 27px); overflow-wrap: anywhere; }
.content-grid > .flax-card:not(.project-card) { display: flex; align-items: flex-start; flex-direction: column; }
.content-grid > .flax-card > img { margin-bottom: 15px; filter: brightness(0) saturate(100%) invert(26%) sepia(78%) saturate(2345%) hue-rotate(192deg) brightness(90%) contrast(98%); }
.service-price { margin-top: auto; color: var(--ink); font-weight: 680; }
.center { text-align: center; margin-top: 27px; }
.workstation { display: block; width: 100%; height: auto; border-radius: 15px; box-shadow: 0 15px 34px #10285322; }
.project-card { padding: 0; overflow: hidden; }
.project-card > div { padding: 20px; }
.project-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: var(--sky); }
.project-card small { color: var(--blue); font-weight: 700; }
.project-card h3 { margin-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { background: var(--sky); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 6px 13px; }
.filters [aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: white; }
.page-intro, .closing { color: white; padding-block: 64px; background: linear-gradient(110deg,#0b285b,#075bb9); }
.page-intro h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.closing .split { grid-template-columns: 2fr auto; }
.closing p, .page-intro p { margin-bottom: 0; }
footer { background: #0a2451; color: #f3f7ff; padding: 37px 0 17px; }
footer a, footer a:hover { color: #d0e7ff; }
footer p { color: #cedbef; margin-top: 9px; }
.footer-row, .footer-bottom { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }
.footer-row nav { display: grid; gap: 5px; }
.footer-bottom { border-top: 1px solid #42506a; margin-top: 22px; padding-top: 15px; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(22px, 5vw, 60px); }
.prose { max-width: 810px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.25em; }
dialog { width: min(640px, calc(100% - 26px)); border: 1px solid var(--line); border-radius: 17px; padding: clamp(16px, 4vw, 29px); color: var(--ink); max-height: calc(100% - 24px); overflow: auto; }
dialog::backdrop { background: #09142dae; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.dialog-head button { flex-shrink: 0; background: var(--sky); border: 1px solid var(--line); border-radius: 8px; width: 38px; height: 38px; font-size: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.enquiry-form label { display: block; font-size: 16px; font-weight: 650; margin-bottom: 13px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; margin-top: 3px; border: 1px solid #a9bad2; border-radius: 7px; padding: 9px; min-height: 42px; background: white; font-size: 16px; }
.enquiry-form small, .fineprint { font-size: 14px; color: var(--muted); font-weight: 450; }
.fineprint { margin: 8px 0 0; }
.notice { border-radius: 8px; padding: 10px; }
.success { background: #e8f5ff; color: #124989; }
.error { background: #edf5ff; color: #102f63; }
@media (max-width: 820px) {
  .header-cta { display: none; }
  .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 610px) {
  .header-row { flex-wrap: wrap; gap: 6px; min-height: 78px; padding-bottom: 8px; }
  .brand img { width: 106px; }
  .menu-toggle.is-ready { display: block; margin-left: auto; background: var(--sky); border: 1px solid var(--line); border-radius: 7px; padding: 6px 12px; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 0 13px; }
  .menu-toggle.is-ready + nav:not(.is-open) { display: none; }
  .split, .content-grid, .closing .split, .fields { grid-template-columns: 1fr; }
  .flax-hero { padding-top: 50px; }
  .cloud-edge { height: 38px; margin-top: 10px; }
}

.hero-layout { min-height: clamp(370px, 40vw, 495px); }
.hero-slides { min-width: 0; }
.hero-slide .kicker { font-size: 12px; }
.hero-slide .hero-intro { font-size: clamp(16px, 1.4vw, 19px); }
.hero-slide { animation: hero-enter .44s ease-out both; }
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-artwork { display: grid; place-items: center; min-width: 0; }
.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; width: min(100%, 440px); aspect-ratio: 1; }
.art-orbit {
  position: absolute;
  z-index: -1;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid #a9d9ff47;
  box-shadow: 0 0 0 25px #abd8ff0d, 0 0 0 48px #abd8ff08;
}
.hero-globe {
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url('media/globe-rotation.webp') 0 0 / 2500% 100% no-repeat;
  filter: drop-shadow(0 14px 22px #061c4e91);
  animation: globe-rotate 4.8s steps(24, end) both;
}
.rocket {
  display: block;
  width: 86%;
  height: auto;
  filter: grayscale(1) sepia(.36) saturate(2) hue-rotate(169deg) drop-shadow(0 20px 30px #06184176);
  animation: rocket-lift 3.5s ease-in-out both;
}
.hero-browser, .hero-phone {
  display: grid;
  position: absolute;
  background: #f4faff;
  border: 2px solid #b9eaff;
  box-shadow: 0 18px 35px #061c4e91;
}
.hero-browser {
  width: 75%;
  top: 22%;
  left: 8%;
  aspect-ratio: 1.45;
  border-radius: 12px;
  padding: 8% 5% 5%;
  grid-template-rows: auto 1fr auto auto;
  gap: 8%;
  animation: browser-lift 1.3s ease-out both;
}
.browser-toolbar { display: flex; gap: 5px; }
.browser-toolbar i { width: 7px; aspect-ratio: 1; background: #3893d2; border-radius: 50%; }
.browser-hero { background: linear-gradient(125deg, #0a4e9d, #51c4f7); border-radius: 6px; }
.browser-lines { background: #8bbde7; border-radius: 6px; width: 64%; height: 5px; }
.browser-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.browser-cards i { background: #d4ebff; border-radius: 4px; aspect-ratio: 2.7; }
.hero-phone {
  width: 26%;
  right: 7%;
  bottom: 16%;
  aspect-ratio: .59;
  border-radius: 15px;
  padding: 9% 4% 5%;
  grid-template-rows: 1fr auto auto;
  gap: 10%;
  animation: browser-lift 1.3s .18s ease-out both;
}
.hero-phone span { background: #8bbde7; height: 5px; border-radius: 6px; }
.hero-phone span:first-child { background: linear-gradient(150deg, #0a4e9d, #59c9fa); height: auto; }
@keyframes globe-rotate { to { background-position: 100% 0; } }
@keyframes rocket-lift {
  0% { opacity: .35; transform: translateY(28px) rotate(-6deg); }
  62% { opacity: 1; transform: translateY(-15px) rotate(2deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes browser-lift {
  from { opacity: 0; transform: translateY(25px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-controls, .hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-controls { margin-top: 8px; flex-wrap: wrap; }
.hero-controls button { color: #edf7ff; cursor: pointer; }
.hero-icon {
  border: 1px solid #b9d5f070;
  background: #102f5dcc;
  border-radius: 8px;
  min-height: 44px;
}
.hero-icon { width: 44px; font-size: 19px; }
.hero-controls button:hover { background-color: #285184; }
.hero-dots { gap: 0; }
.hero-dots button { display: grid; place-items: center; min-width: 30px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; }
.hero-dots button::before { content: ""; width: 8px; height: 8px; border: 1px solid #d4ebff; border-radius: 20px; }
.hero-dots button[aria-current]::before { width: 17px; background: #b6e4ff; }

.section-heading > h2, .faq-layout h2, .project-deliverables h2 { font-size: clamp(28px, 3.3vw, 43px); }
.about-home { grid-template-columns: 1fr 1fr; }
.project-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: phase; }
.project-process li { counter-increment: phase; padding: 18px 0 0; border-top: 2px solid #a7ccfa; }
.project-process li::before {
  content: counter(phase, decimal-leading-zero);
  display: block;
  color: var(--blue);
  font-size: .94rem;
  font-weight: 750;
  margin-bottom: 12px;
}
.project-process p, .industry-card p { margin-bottom: 0; }
.project-deliverables { background: #eaf3ff; }
.deliverables-layout { grid-template-columns: .85fr 1.15fr; }
.deliverables-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliverables-list div { padding: 16px; border: 1px solid #d2e3f9; border-radius: 10px; background: #fff; }
.deliverables-list dt { color: var(--ink); margin-bottom: 5px; font-weight: 730; }
.deliverables-list dd { color: var(--muted); margin: 0; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 6vw, 85px); align-items: start; }
.home-faq details { border-bottom: 1px solid var(--line); padding-block: 12px; }
.home-faq details:first-child { border-top: 1px solid var(--line); }
.home-faq summary { min-height: 32px; cursor: pointer; color: var(--ink); font-weight: 700; }
.home-faq summary::marker { color: var(--blue); }
.home-faq summary:focus-visible { outline: 3px solid #209be5; outline-offset: 4px; }
.home-faq details p { margin: 7px 0 5px; }
@media (min-width: 1050px) {
  .home-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .project-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliverables-layout, .faq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 610px) {
  .hero-layout { min-height: 0; row-gap: 18px; }
  .hero-slides { min-height: 285px; }
  .hero-art { width: min(75%, 278px); }
  .hero-controls { justify-content: center; margin-top: 15px; }
  .about-home { grid-template-columns: 1fr; }
}
@media (max-width: 379px) {
  .deliverables-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-globe, .rocket, .hero-browser, .hero-phone { animation: none; }
}
