/* System font stack avoids blocking external font requests and improves first paint. */

:root {
  color-scheme: dark;
  --bg: #050608;
  --surface: #0c0e12;
  --surface-2: #111419;
  --text: #f8f8f8;
  --muted: #a5adb8;
  --line: #292d34;
  --accent: #2563eb;
  --accent-hover: #60a5fa;
  --shadow: 0 24px 80px rgba(0,0,0,.25);
  --header-bg: rgba(5,6,8,.78);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #efefec;
  --text: #101114;
  --muted: #555b65;
  --line: #dedfdf;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --shadow: 0 24px 80px rgba(0,0,0,.08);
  --header-bg: rgba(247,247,245,.86);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, Arial, sans-serif; line-height: 1.65;
  transition: background .25s ease, color .25s ease;
}
body, button, input, textarea, select { font-family: Inter, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
::selection { background: var(--accent); color: white; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 1000; background: var(--text); color: var(--bg); padding: 10px 14px; }
.skip-link:focus { left: 10px; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--header-bg);
  backdrop-filter: blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--text); }
.brand-mark { width: 34px; height: 38px; object-fit: contain; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-wordmark strong { font: 700 15px Manrope, sans-serif; letter-spacing: .17em; }
.brand-wordmark span { font-size: 9px; letter-spacing: .34em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: 13px; color: var(--muted); }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-button, .menu-button {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  border-radius: 999px; width: 42px; height: 42px; display: inline-grid; place-items: center;
}
.theme-button:hover, .menu-button:hover { border-color: var(--accent); }
.menu-button { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 12px 19px;
  color: var(--text); background: transparent; font-size: 13px; font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); color: var(--text); border-color: var(--accent); }
.button-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.button-primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.button-blue { background: var(--accent); color: #fff; border-color: var(--accent); }
.button-blue:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 700; color: var(--muted); }
.accent-line { display: block; width: 48px; height: 2px; background: var(--accent); margin: 22px 0; }
h1,h2,h3,h4 { font-family: Manrope, Inter, sans-serif; line-height: 1.08; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(42px, 6.2vw, 82px); font-weight: 600; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 600; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 18px; color: var(--muted); }
.section { padding: 105px 0; }
.section-tight { padding: 68px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head p { max-width: 490px; margin: 14px 0 0; }
.hero {
  position: relative; min-height: min(800px, calc(100svh - 82px)); display: flex; align-items: center;
  overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 72% 48%, #34373d 0%, #17191d 35%, #070809 76%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3,4,5,.98) 0%, rgba(3,4,5,.82) 43%, rgba(3,4,5,.2) 100%),
              linear-gradient(0deg, rgba(3,4,5,.48), transparent 45%);
}
.hero-content { width: min(750px, 70%); padding: 100px 0 120px; }
.hero h1 { max-width: 820px; margin: 20px 0; }
.hero h1 span { color: #fff; }
.hero-copy { font-size: clamp(16px, 1.5vw, 19px); max-width: 540px; line-height: 1.75; color: #c0c4cb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 56px; color: #9ca3af; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero-meta span::before { content: "—"; margin-right: 9px; color: var(--accent); }
.hero .eyebrow { color: #b9c0cb; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.service-card { padding: 28px; min-height: 265px; display: flex; flex-direction: column; align-items: flex-start; }
.service-number { color: var(--accent-hover); font-size: 11px; letter-spacing: .16em; margin-bottom: 32px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 14px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; margin-top: auto; padding-top: 14px; color: var(--text); }
.card-link span { color: var(--accent-hover); transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }
.work-card { overflow: hidden; }
.work-image { aspect-ratio: 1.45 / 1; background: var(--surface-2); overflow: hidden; position: relative; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-image img { transform: scale(1.035); }
.image-placeholder { display: grid; place-items: center; height: 100%; min-height: 230px; background: radial-gradient(circle at 65% 30%, #343942, #111318 60%, #07080a); color: #d6d8dc; font: 500 12px Manrope,sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.work-info { padding: 22px 22px 24px; }
.work-info h3 { margin-bottom: 7px; }
.work-info p { font-size: 13px; margin: 0; }
.pill { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: 10px; color: var(--muted); letter-spacing: .05em; margin-bottom: 12px; }
.about-band { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.about-visual { min-height: 360px; background: radial-gradient(ellipse at 70% 35%, #41444a 0%, #24262b 42%, #101114 100%); }
.about-copy { padding: clamp(28px,5vw,64px); align-self: center; }
.about-copy h2 { margin: 14px 0 22px; }
.principle { padding: 22px 0; border-top: 1px solid var(--line); }
.principle strong { display: block; margin-bottom: 5px; font-family: Manrope,sans-serif; }
.principle p { margin: 0; font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); }
.step { padding: 25px 22px 0 0; }
.step-num { color: var(--accent-hover); font-size: 11px; letter-spacing: .15em; margin-bottom: 20px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 13px; }
.cta-panel { border: 1px solid var(--line); border-radius: 20px; padding: clamp(32px,6vw,76px); text-align: center; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 13%, var(--surface)), var(--surface) 65%); }
.cta-panel h2 { max-width: 760px; margin: 16px auto; }
.cta-panel p { max-width: 570px; margin: 0 auto 24px; }
.page-hero { padding: 100px 0 65px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 38%); }
.page-hero h1 { max-width: 850px; margin: 18px 0; }
.page-hero p { max-width: 620px; font-size: 17px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin: 42px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { line-height: 1.85; }
.prose ul { color: var(--muted); padding-left: 22px; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.form-card { padding: clamp(22px,4vw,38px); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--text); padding: 12px 13px; outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.form-note { font-size: 11px; margin-top: 13px; }
.notice { border: 1px solid var(--line); background: var(--surface); padding: 16px; border-radius: 10px; font-size: 13px; color: var(--muted); }
.blog-card .work-image { aspect-ratio: 1.7 / 1; }
.blog-card .work-info { padding: 20px; }
.footer { border-top: 1px solid var(--line); padding: 58px 0 22px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand p { max-width: 290px; margin-top: 20px; font-size: 13px; }
.footer-title { color: var(--text); text-transform: uppercase; font-size: 10px; letter-spacing: .18em; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.cookie-banner { position: fixed; z-index: 300; left: 20px; right: 20px; bottom: 20px; max-width: 760px; margin-left: auto; padding: 22px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; display: none; }
.cookie-banner.show { display: block; }
.cookie-banner h3 { font-size: 18px; margin-bottom: 7px; }
.cookie-banner p { font-size: 12px; margin-bottom: 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .button { padding: 9px 13px; font-size: 11px; }
.cookie-settings { position: fixed; z-index: 301; inset: 0; background: rgba(0,0,0,.65); display: none; place-items: center; padding: 20px; }
.cookie-settings.show { display: grid; }
.cookie-modal { width: min(520px,100%); padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cookie-modal h2 { font-size: 25px; margin-bottom: 10px; }
.cookie-option { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-option p { font-size: 12px; margin: 4px 0 0; }
.cookie-option input { accent-color: var(--accent); width: 18px; height: 18px; }
.error-page { text-align: center; padding: 130px 0; }
.error-page h1 { font-size: clamp(76px,15vw,160px); }
.error-page p { margin: 22px auto 28px; max-width: 480px; }
.mobile-menu { display: none; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }
@media (max-width: 900px) {
  .nav-links { gap: 14px; }
  .nav-quote { display: none; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-layout { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { width: min(720px, 85%); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 34px, 1160px); }
  .nav { min-height: 70px; }
  .brand-mark { width: 29px; height: 32px; }
  .brand-wordmark strong { font-size: 12px; }
  .brand-wordmark span { font-size: 8px; }
  .nav-links { display: none; }
  .menu-button { display: inline-grid; }
  .nav-actions .button { display: none; }
  .mobile-menu { display: none; padding: 0 0 18px; }
  .mobile-menu.open { display: grid; gap: 0; }
  .mobile-menu a { padding: 12px 2px; border-top: 1px solid var(--line); color: var(--muted); }
  .hero { min-height: 760px; min-height: min(820px, calc(100svh - 70px)); background-position: 63% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,4,5,.96), rgba(3,4,5,.72) 68%, rgba(3,4,5,.36)), linear-gradient(0deg, rgba(3,4,5,.5), transparent 50%); }
  .hero-content { width: 100%; padding: 76px 0 100px; }
  .hero h1 { font-size: clamp(42px,12vw,62px); }
  .hero-copy { font-size: 15px; }
  .hero-meta { flex-wrap: wrap; margin-top: 42px; gap: 12px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head .button { margin-top: 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .about-band { grid-template-columns: 1fr; }
  .about-visual { min-height: 250px; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 25px; }
  .step { padding-right: 10px; }
  .page-hero { padding: 72px 0 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 17px; }
  .cookie-actions .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* --- Areton motion and interaction polish --- */
:root { --glow: rgba(37,99,235,.42); }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  transition: color .25s ease, text-shadow .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  box-shadow: 0 0 10px var(--glow), 0 0 20px rgba(37,99,235,.2);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), opacity .22s ease;
}
.nav-links a.active, .nav-links a:hover, .nav-links a:focus-visible {
  color: #60a5fa;
  text-shadow: 0 0 14px rgba(37,99,235,.38);
}
.nav-links a.active::after, .nav-links a:hover::after, .nav-links a:focus-visible::after {
  transform: scaleX(1); opacity: 1;
}
.mobile-menu a.active { color: #60a5fa; border-left: 2px solid var(--accent); padding-left: 12px; text-shadow: 0 0 12px rgba(37,99,235,.32); }
.mobile-menu a { transition: color .22s ease, padding-left .22s ease, border-color .22s ease; }

/* Smooth entrance states are enabled by JS only after it loads, so content remains visible without JS. */
.js-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js-motion [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js-motion [data-reveal="left"] { transform: translateX(-24px); }
.js-motion [data-reveal="left"].is-visible { transform: translateX(0); }
.js-motion [data-reveal="right"] { transform: translateX(24px); }
.js-motion [data-reveal="right"].is-visible { transform: translateX(0); }
.js-motion [data-reveal="scale"] { transform: translateY(14px) scale(.975); }
.js-motion [data-reveal="scale"].is-visible { transform: translateY(0) scale(1); }
.hero .eyebrow { animation: aretonFadeUp .7s .08s both; }
.hero h1 { animation: aretonFadeUp .85s .16s both; }
.hero-copy { animation: aretonFadeUp .85s .28s both; }
.hero-actions { animation: aretonFadeUp .85s .4s both; }
.hero-meta { animation: aretonFadeUp .85s .52s both; }
@keyframes aretonFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.card, .about-band, .cta-panel { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease; }
.service-card:hover, .work-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 58%, var(--line)); box-shadow: 0 18px 50px rgba(0,0,0,.18), 0 0 24px rgba(37,99,235,.07); }
.about-band:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.button { position: relative; overflow: hidden; }
.button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.15) 48%, transparent 72%); transform: translateX(-120%); transition: transform .65s ease; pointer-events: none; }
.button:hover::after { transform: translateX(120%); }
.brand-mark { transition: color .3s ease, filter .3s ease, transform .3s ease; }
.brand:hover .brand-mark { color: #60a5fa !important; filter: drop-shadow(0 0 9px rgba(37,99,235,.55)); transform: translateY(-1px); }
.accent-line { position: relative; overflow: hidden; }
.accent-line::after { content: ""; position: absolute; inset: 0; background: #93c5fd; transform: translateX(-100%); animation: accentSweep 1.2s .5s ease-out forwards; }
@keyframes accentSweep { to { transform: translateX(0); } }
.footer-grid > :not(:first-child) { border-left: 1px solid var(--line); padding-left: 28px; }
.footer-links a, .footer-legal a { transition: color .22s ease, transform .22s ease; }
.footer-links a:hover, .footer-legal a:hover { color: #60a5fa; transform: translateX(2px); }
.footer-legal { align-items: center; gap: 0; }
.footer-legal a { padding: 0 12px; }
.footer-legal a + a { border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  .footer-grid > :not(:first-child) { padding-left: 20px; }
}
@media (max-width: 680px) {
  .footer-grid > :not(:first-child) { padding-left: 0; border-left: 0; }
  .footer-legal { gap: 8px 0; }
  .footer-legal a { padding: 0 9px; }
  .footer-legal a:first-child { padding-left: 0; }
  .js-motion [data-reveal], .js-motion [data-reveal="left"], .js-motion [data-reveal="right"], .js-motion [data-reveal="scale"] { transform: translateY(14px); }
  .js-motion [data-reveal].is-visible { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal], .hero .eyebrow, .hero h1, .hero-copy, .hero-actions, .hero-meta { opacity: 1 !important; transform: none !important; animation: none !important; }
  .accent-line::after { animation: none !important; }
}


/* Areton Systems brand assets: one logo visible at a time, matched to page theme. */
.brand-logo { display:block; width: clamp(82px, 8vw, 112px); height:auto; max-height:34px; object-fit:contain; }
.footer-logo { display:block; width:96px; max-width:100%; height:auto; object-fit:contain; }
.theme-logo-dark { display:none !important; }
html[data-theme="dark"] .theme-logo-light { display:none !important; }
html[data-theme="dark"] .theme-logo-dark { display:block !important; }
@media (max-width: 640px) {
  .brand-logo { width: 82px; max-height:28px; }
  .footer-logo { width:82px; }
}


/* Areton signature system: restrained atmosphere, Greek-inspired boot sequence, and useful interactions. */
html { scroll-behavior:smooth; }
body { overflow-x:hidden; }
.ambient-orb { position:fixed; z-index:-1; width:34rem; height:34rem; border-radius:50%; filter:blur(90px); opacity:.09; pointer-events:none; background:radial-gradient(circle, #5688ff 0%, rgba(86,136,255,0) 68%); animation:orb-drift 22s ease-in-out infinite alternate; }
.ambient-orb-one { top:12vh; right:-18rem; } .ambient-orb-two { bottom:-20rem; left:-18rem; animation-delay:-9s; opacity:.06; }
@keyframes orb-drift { from { transform:translate3d(0,-2rem,0) scale(.92); } to { transform:translate3d(-3rem,3rem,0) scale(1.08); } }
.boot-screen { position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; background:var(--bg); color:var(--text); transition:opacity .65s ease, visibility .65s ease; }
.boot-screen.is-done { opacity:0; visibility:hidden; pointer-events:none; } .boot-emblem { font-family:Georgia,serif; font-size:clamp(52px,10vw,92px); line-height:1; font-weight:400; text-shadow:0 0 36px rgba(100,145,255,.2); animation:emblem-breathe 1.6s ease-in-out infinite alternate; }
.boot-rule { width:120px; height:1px; background:linear-gradient(90deg,transparent,var(--accent),transparent); transform-origin:center; animation:boot-rule 1.25s ease-in-out infinite alternate; } .boot-screen p { font-size:9px; letter-spacing:.25em; color:var(--muted); } .boot-screen p span { color:var(--accent); }
@keyframes emblem-breathe { to { transform:translateY(-3px); filter:brightness(1.35); } } @keyframes boot-rule { to { transform:scaleX(.55); opacity:.5; } }
.cursor-aura { position:fixed; z-index:9998; width:26px; height:26px; border:1px solid rgba(105,150,255,.45); border-radius:50%; pointer-events:none; transform:translate(-50%,-50%); opacity:0; transition:width .22s ease,height .22s ease,opacity .2s ease,background .2s ease; } .cursor-aura.is-active { opacity:1; } .cursor-aura.is-hover { width:42px; height:42px; background:rgba(105,150,255,.06); }
.page-hero { padding:90px 0 52px; } .page-hero h1 { max-width:850px; margin:14px 0 20px; font-size:clamp(42px,7vw,76px); letter-spacing:-.055em; line-height:1.04; } .page-hero h1 span { color:var(--muted); } .page-hero .hero-copy { max-width:680px; }
.architecture-grid { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:center; gap:14px; } .architecture-node { min-height:132px; display:flex; flex-direction:column; justify-content:center; gap:9px; padding:20px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(145deg,var(--panel),transparent); transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease; } .architecture-node:hover { transform:translateY(-5px); border-color:var(--accent); box-shadow:0 14px 36px rgba(60,100,190,.1); } .architecture-node span { color:var(--accent); font-size:10px; letter-spacing:.15em; } .architecture-node strong { font-size:16px; } .architecture-node small,.architecture-note { color:var(--muted); font-size:12px; } .architecture-connector { color:var(--accent); opacity:.7; } .architecture-note { margin-top:18px; }
.estimator-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); gap:42px; align-items:start; } .estimator-card { padding:clamp(22px,4vw,40px); } .estimator-card h2,.estimator-aside h2 { margin:12px 0; font-size:clamp(28px,4vw,42px); letter-spacing:-.04em; } .estimator-card > p,.estimator-aside p { color:var(--muted); } .estimator-card label { display:block; margin:22px 0 8px; font-size:13px; color:var(--text); } .estimator-card select { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:8px; color:var(--text); background:var(--panel); } .range-row { display:flex; align-items:center; gap:18px; } .range-row input { flex:1; accent-color:var(--accent); } .range-row output { min-width:60px; color:var(--muted); font-size:13px; } .estimate-result { display:flex; flex-direction:column; gap:9px; padding:24px 0; margin-top:24px; border-top:1px solid var(--line); } .estimate-result span,.estimate-result small,.fine-print { color:var(--muted); font-size:12px; } .estimate-result strong { font-size:clamp(30px,5vw,42px); letter-spacing:-.04em; } .estimator-card .button { margin-top:4px; } .fine-print { line-height:1.7; margin-top:18px; } .estimator-aside { padding-top:18px; }
/* Motion is progressively enabled and fully reduced for visitors who request less motion. */
@media (pointer:fine) and (hover:hover) { body { cursor:none; } a,button,select,input,label { cursor:pointer; } input,textarea { cursor:text; } }
@media (max-width:900px) { .architecture-grid { grid-template-columns:1fr 1fr; } .architecture-connector { display:none; } .estimator-layout { grid-template-columns:1fr; gap:26px; } }
@media (max-width:640px) { .page-hero { padding:62px 0 30px; } .architecture-grid { grid-template-columns:1fr 1fr; gap:10px; } .architecture-node { min-height:112px; padding:14px; } .cursor-aura { display:none; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .ambient-orb,.boot-emblem,.boot-rule { animation:none!important; } .boot-screen,.cursor-aura,* { transition-duration:.01ms!important; animation-duration:.01ms!important; } }

/* Fix native select dropdown readability across browser/OS themes. */
:root { color-scheme: light dark; }
html[data-theme="dark"] select, html[data-theme="dark"] option { background-color:#111419; color:#f8f8f8; }
html[data-theme="light"] select, html[data-theme="light"] option { background-color:#ffffff; color:#101114; }
.estimator-card select { color:var(--text); background-color:var(--surface); appearance:auto; }
.estimator-card select option { color:var(--text); background-color:var(--surface); }
/* Boot screen uses the approved footer wordmark, not a placeholder Greek character or stray slogan. */
.boot-logo { display:block; width:min(180px, 42vw); max-height:64px; object-fit:contain; }
.boot-screen p { margin:0; font-size:9px; letter-spacing:.2em; text-align:center; }
html[data-theme="light"] .boot-screen .theme-logo-dark { display:none !important; }
html[data-theme="light"] .boot-screen .theme-logo-light { display:block !important; }
html[data-theme="dark"] .boot-screen .theme-logo-light { display:none !important; }
html[data-theme="dark"] .boot-screen .theme-logo-dark { display:block !important; }
.price-plan-grid { align-items:stretch; }
.price-plan { padding:clamp(22px,3vw,32px); display:flex; flex-direction:column; align-items:flex-start; }
.price-plan h3 { margin-top:12px; }
.plan-price { font-family:Manrope,Inter,sans-serif; font-size:clamp(32px,4vw,42px); font-weight:700; letter-spacing:-.05em; margin:18px 0 8px; color:var(--text); }
.plan-price small { font:500 12px Inter,sans-serif; letter-spacing:0; color:var(--muted); }
.price-plan ul { list-style:none; padding:0; margin:12px 0 24px; width:100%; }
.price-plan li { padding:9px 0 9px 24px; position:relative; border-bottom:1px solid var(--line); font-size:13px; color:var(--muted); }
.price-plan li::before { content:'✓'; position:absolute; left:0; color:var(--accent-hover); }
.price-plan .button { margin-top:auto; }
.price-plan-featured { border-color:var(--accent); box-shadow:0 18px 50px rgba(37,99,235,.12); }

/* Areton classical geometry layer: restrained Greek meander lines, never competing with content. */
body::before { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.13; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%238d9bb0' stroke-width='.7'%3E%3Cpath d='M0 30H30V0 M0 42H42V0 M220 190H190V220 M220 178H178V220 M30 0V30H60V0H90V30H120V0H150V30H180V0H220 M0 90H30V60H60V90H90V60H120V90H150V60H180V90H220 M0 150H30V120H60V150H90V120H120V150H150V120H180V150H220 M0 210H30V180H60V210H90V180H120V210H150V180H180V210H220'/%3E%3Ccircle cx='110' cy='110' r='34'/%3E%3Ccircle cx='110' cy='110' r='44' stroke-dasharray='2 7'/%3E%3Cpath d='M110 52V168M52 110H168M69 69L151 151M151 69L69 151'/%3E%3C/g%3E%3C/svg%3E"); background-size:220px 220px; animation: greekGeometryDrift 72s linear infinite; }
body::after { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.08; background:radial-gradient(ellipse at 15% 20%,var(--accent),transparent 32%),radial-gradient(ellipse at 85% 75%,#b8a27a,transparent 35%); mix-blend-mode:screen; }
.site-header, main, .footer, .cookie-banner, .cookie-settings, .boot-screen { position:relative; z-index:1; }
@keyframes greekGeometryDrift { from { background-position:0 0; transform:translate3d(0,0,0) rotate(0deg); } to { background-position:440px 220px; transform:translate3d(0,0,0) rotate(1deg); } }
:root[data-theme="light"] body::before { opacity:.075; filter:contrast(.8); }
:root[data-theme="light"] body::after { opacity:.035; mix-blend-mode:multiply; }
.hero { background-position:center right; }
.hero::after { content:""; position:absolute; inset:0; z-index:-1; opacity:.3; background:linear-gradient(115deg,transparent 35%,rgba(170,184,205,.10) 50%,transparent 64%); background-size:220% 100%; animation: marbleSweep 16s ease-in-out infinite; }
@keyframes marbleSweep { 0%,100%{background-position:120% 0} 50%{background-position:-20% 0} }
.image-placeholder { min-height:100%; display:grid; place-items:center; padding:20px; color:rgba(255,255,255,.85); text-transform:uppercase; letter-spacing:.14em; font-size:11px; text-align:center; background:linear-gradient(135deg,#41444a 0%,#292c32 48%,#111216 100%); }
.work-card:nth-child(2) .image-placeholder,.lab-card:nth-child(2) .lab-art { background-position: right center; }
.lab-art { min-height:205px; display:flex; align-items:end; padding:22px; background:linear-gradient(135deg,#45484e 0%,#292c32 48%,#141519 100%); border-bottom:1px solid var(--line); }
.lab-art span { font-size:10px; text-transform:uppercase; letter-spacing:.18em; color:#fff; }
.lab-card .work-info { padding:24px; }
.lab-demo { border:1px solid var(--line); background:var(--surface); border-radius:16px; padding:22px; margin-top:18px; }
.lab-demo label { display:block; font-size:12px; color:var(--muted); margin-bottom:7px; }
.lab-demo input,.lab-demo select,.lab-demo textarea { width:100%; border:1px solid var(--line); border-radius:9px; background:var(--bg); color:var(--text); padding:10px 12px; margin-bottom:12px; }
.lab-output { border-left:2px solid var(--accent); padding:12px 14px; background:var(--surface-2); color:var(--text); font-size:13px; }
.geometry-divider { height:24px; margin:10px 0 34px; opacity:.6; background:repeating-linear-gradient(90deg,transparent 0 10px,var(--line) 10px 11px,transparent 11px 20px); clip-path:polygon(0 0,100% 0,100% 25%,95% 25%,95% 75%,90% 75%,90% 25%,85% 25%,85% 75%,80% 75%,80% 25%,75% 25%,75% 75%,70% 75%,70% 25%,65% 25%,65% 75%,60% 75%,60% 25%,55% 25%,55% 75%,50% 75%,50% 25%,45% 25%,45% 75%,40% 75%,40% 25%,35% 25%,35% 75%,30% 75%,30% 25%,25% 25%,25% 75%,20% 75%,20% 25%,15% 25%,15% 75%,10% 75%,10% 25%,5% 25%,5% 75%,0 75%); }
@media (prefers-reduced-motion: reduce) { body::before,.hero::after { animation:none!important; } }

/* Areton Systems full-site polish: navigation, search, status, editorial layouts, and moving line geometry. */
:root { --accent:#2563eb; --accent-hover:#60a5fa; }
:root[data-theme="light"] { --accent:#1d4ed8; --accent-hover:#1e40af; }
body::before { display:none !important; background:none !important; animation:none !important; }
.geometry-canvas { position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; opacity:.56; }
.site-header, main, .footer, .cookie-banner, .cookie-settings, .boot-screen, .site-search { position:relative; z-index:1; }
.site-header { z-index:100; }
.nav { gap:18px; }
.nav-links { gap:clamp(10px,1.5vw,22px); color:var(--muted); }
.nav-links a, .nav-drop-trigger { position:relative; display:inline-flex; align-items:center; gap:5px; padding:11px 0; color:var(--muted); font-size:12px; white-space:nowrap; transition:color .2s ease; }
.nav-links a::after, .nav-drop-trigger::after { content:""; position:absolute; left:0; right:0; bottom:3px; height:2px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; box-shadow:0 0 12px color-mix(in srgb,var(--accent) 50%,transparent); }
.nav-links a:hover, .nav-links a.active, .nav-drop-trigger:hover, .nav-dropdown.is-active > .nav-drop-trigger { color:var(--accent-hover); }
.nav-links a:hover::after, .nav-links a.active::after, .nav-drop-trigger:hover::after, .nav-dropdown.is-active > .nav-drop-trigger::after { transform:scaleX(1); }
.nav-dropdown { position:relative; }
.nav-drop-trigger { border:0; background:transparent; cursor:pointer; font-family:inherit; }
.nav-drop-panel { position:absolute; top:calc(100% + 8px); left:-18px; min-width:220px; padding:9px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:var(--shadow); display:grid; gap:2px; opacity:0; visibility:hidden; transform:translateY(7px); transition:opacity .18s ease,transform .18s ease,visibility .18s; }
.nav-dropdown:hover .nav-drop-panel,.nav-dropdown:focus-within .nav-drop-panel,.nav-dropdown.is-open .nav-drop-panel { opacity:1; visibility:visible; transform:translateY(0); }
.nav-drop-panel a { padding:10px 12px; border-radius:8px; white-space:normal; color:var(--text); }
.nav-drop-panel a::after { display:none; }
.nav-drop-panel a:hover,.nav-drop-panel a.active { background:var(--surface-2); color:var(--accent-hover); }
.nav-actions { gap:8px; }
.search-open { display:inline-flex; align-items:center; gap:7px; border:1px solid var(--line); border-radius:999px; padding:9px 11px; color:var(--muted); background:var(--surface); font-size:12px; }
.search-open:hover { border-color:var(--accent); color:var(--accent-hover); }
.search-open:first-letter { font-size:18px; }
.nav-quote { padding:10px 13px; white-space:nowrap; }
.mobile-menu { max-height:min(75vh,700px); overflow-y:auto; }
.mobile-menu a.active { color:var(--accent-hover); border-left:2px solid var(--accent); padding-left:12px; background:color-mix(in srgb,var(--accent) 8%,transparent); }
.site-search { width:min(620px,calc(100% - 28px)); max-height:min(78vh,720px); border:1px solid var(--line); border-radius:18px; padding:20px; background:var(--surface); color:var(--text); box-shadow:0 30px 100px rgba(0,0,0,.35); }
.site-search::backdrop { background:rgba(3,5,9,.65); backdrop-filter:blur(5px); }
.search-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:16px; }
.search-head label { font-weight:700; font-size:16px; }
.icon-button { border:1px solid var(--line); border-radius:50%; width:36px; height:36px; background:var(--surface-2); color:var(--text); font-size:20px; }
.site-search input { width:100%; border:1px solid var(--line); border-radius:10px; padding:14px; background:var(--bg); color:var(--text); outline-offset:3px; }
.search-hint { color:var(--muted); font-size:11px; margin:9px 0 12px; }
.search-results { display:grid; gap:5px; max-height:42vh; overflow:auto; }
.search-result { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:12px 13px; border:1px solid transparent; border-radius:10px; }
.search-result:hover,.search-result:focus-visible { border-color:var(--line); background:var(--surface-2); color:var(--accent-hover); }
.search-result small { display:block; color:var(--muted); font-size:11px; }
.search-empty { color:var(--muted); padding:16px 8px; font-size:13px; }
.footer-status { display:flex; align-items:center; gap:9px; border-top:1px solid var(--line); padding-top:17px; margin-top:18px; color:var(--muted); font-size:11px; }
.footer-status a { margin-left:auto; color:var(--text); }
.status-dot { display:inline-block; width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#8b95a5; box-shadow:0 0 0 3px color-mix(in srgb,#8b95a5 14%,transparent); }
.status-dot.ok { background:#22a06b; box-shadow:0 0 0 3px rgba(34,160,107,.14); }
.status-dot.bad { background:#dc4545; box-shadow:0 0 0 3px rgba(220,69,69,.14); }
.page-hero { position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; width:300px; height:300px; right:-80px; top:0; border:1px solid color-mix(in srgb,var(--accent) 25%,transparent); border-radius:50%; pointer-events:none; opacity:.5; box-shadow:0 0 0 28px color-mix(in srgb,var(--accent) 4%,transparent),0 0 0 58px color-mix(in srgb,var(--accent) 3%,transparent); }
.split-feature { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,5vw,64px); align-items:center; margin:20px 0 48px; }
.split-feature h2 { font-size:clamp(28px,4vw,42px); line-height:1.15; letter-spacing:-.04em; }
.split-feature p { color:var(--muted); }
.feature-image { min-height:330px; border:1px solid var(--line); border-radius:18px; background-size:cover; background-position:center; box-shadow:var(--shadow); }
.image-marble { background-image:linear-gradient(135deg,#3b3e44 0%,#202227 48%,#111216 100%); }
.image-coast { background-image:linear-gradient(135deg,#45484e 0%,#272a30 48%,#121317 100%); }
.check-list { padding-left:0; list-style:none; }
.check-list li { padding:9px 0 9px 25px; border-bottom:1px solid var(--line); position:relative; font-size:13px; }
.check-list li::before { content:'✓'; position:absolute; left:0; color:var(--accent-hover); }
.workflow-strip { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:center; gap:12px; margin-bottom:38px; }
.workflow-step { border:1px solid var(--line); border-radius:13px; padding:20px 16px; background:var(--surface); display:grid; gap:7px; }
.workflow-step span { color:var(--accent-hover); font-size:10px; letter-spacing:.16em; }
.workflow-step small { color:var(--muted); font-size:11px; }
.workflow-arrow { color:var(--accent-hover); }
.journal-meta { color:var(--accent-hover); font-size:10px; letter-spacing:.12em; margin-bottom:12px; }
.status-summary { padding:clamp(22px,4vw,40px); margin-bottom:20px; }
.status-big { display:flex; align-items:center; gap:12px; font-size:clamp(22px,4vw,34px); }
.status-big .status-dot { width:12px; height:12px; flex-basis:12px; }
.status-summary p { color:var(--muted); }
.status-list { border:1px solid var(--line); border-radius:14px; overflow:hidden; margin-bottom:22px; }
.status-row { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:15px 18px; border-bottom:1px solid var(--line); }
.status-row:last-child { border-bottom:0; }
.status-row .pill { flex-shrink:0; }
.case-hero-image { min-height:360px; border-radius:18px; margin-bottom:32px; background:linear-gradient(135deg,#45484e 0%,#272a30 48%,#121317 100%); border:1px solid var(--line); }
.nav-links a:focus-visible,.nav-drop-trigger:focus-visible,.search-open:focus-visible,.button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
@media (max-width:1120px) { .nav-links { gap:10px; } .nav-quote { display:none; } .nav { gap:12px; } }
@media (max-width:900px) { .nav-links { display:none; } .menu-button { display:inline-grid; } .search-open span { display:none; } .search-open { width:42px; height:42px; justify-content:center; padding:0; } .nav-quote { display:none; } .split-feature { grid-template-columns:1fr; } .feature-image { min-height:260px; } .workflow-strip { grid-template-columns:1fr 1fr; } .workflow-arrow { display:none; } }
@media (max-width:640px) { .footer-status { flex-wrap:wrap; } .footer-status a { margin-left:0; width:100%; } .status-row { align-items:flex-start; flex-direction:column; gap:8px; } .site-search { padding:15px; } .page-hero::after { width:190px; height:190px; right:-120px; } .workflow-strip { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { .geometry-canvas { display:none; } .nav-links a::after,.nav-drop-panel { transition:none; } }
.gallery-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:14px; }
.gallery-tile { min-width:0; position:relative; margin:0; overflow:hidden; min-height:250px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.gallery-tile-large { min-height:350px; }
.gallery-tile img { width:100%; height:100%; min-height:inherit; position:absolute; inset:0; object-fit:cover; transition:transform .7s cubic-bezier(.2,.65,.2,1); }
.gallery-tile:hover img { transform:scale(1.045); }
.gallery-tile::after { content:""; position:absolute; inset:35% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.75)); pointer-events:none; }
.gallery-tile figcaption { position:absolute; z-index:1; left:17px; bottom:16px; color:#fff; font-size:10px; letter-spacing:.16em; text-transform:uppercase; }
@media (max-width:700px) { .gallery-grid { grid-template-columns:1fr 1fr; } .gallery-tile-large { grid-column:1/-1; min-height:270px; } .gallery-tile { min-height:190px; } }


/* Performance and layout stabilization pass */
html { scroll-behavior:auto; }
body { min-width:320px; }
/* Avoid costly always-on blur/glow layers; retain the architectural linework. */
.ambient-orb { display:none !important; animation:none !important; filter:none !important; }
.site-header { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
.cursor-aura { display:none !important; }
@media (pointer:fine) and (hover:hover) { body { cursor:auto !important; } }
.geometry-canvas { opacity:.28; contain:strict; }
.hero, .about-visual, .feature-image, .case-hero-image { background-color:var(--surface-2); }
img { height:auto; }
.container, main, section, article, aside, .card, .service-card, .work-card, .work-info,
.about-band, .about-copy, .form-layout, .form-card, .prose, .section-head, .page-hero,
.estimator-layout, .estimator-card, .estimator-aside, .split-feature, .workflow-step,
.architecture-node, .cta-panel, .footer-grid > *, .search-result > * { min-width:0; }
h1, h2, h3, h4, p, li, label, small, strong, span, a, button, output {
  overflow-wrap:anywhere; word-break:normal;
}
button, .button, .pill, .eyebrow { max-width:100%; }
.button { white-space:normal; text-align:center; line-height:1.4; }
.grid, .grid-2, .grid-3, .steps, .form-grid, .footer-grid, .gallery-grid,
.architecture-grid, .workflow-strip, .estimator-layout { min-width:0; }
.grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.service-card { height:100%; min-width:0; }
.work-info h3, .service-card h3 { overflow-wrap:break-word; }
.nav { min-width:0; }
.nav-links { min-width:0; }
.nav-actions { flex-shrink:0; }
.nav-drop-panel { max-width:min(290px, calc(100vw - 28px)); }
.search-result { min-width:0; }
.search-result > span:first-child { min-width:0; overflow-wrap:anywhere; }
.search-result small { overflow-wrap:anywhere; }
.status-row > * { min-width:0; overflow-wrap:anywhere; }
@media (max-width: 980px) {
  .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .architecture-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workflow-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .form-layout { gap:28px; }
}
@media (max-width: 680px) {
  .container { width:min(100% - 32px, 1160px); }
  .section { padding:64px 0; }
  .section-tight { padding:44px 0; }
  .section-head { align-items:flex-start; flex-direction:column; gap:12px; }
  .hero { min-height:auto; background-position:62% center; }
  .hero-content { width:100%; padding:78px 0 76px; }
  .hero h1 { font-size:clamp(38px,11vw,58px); line-height:1.04; overflow-wrap:normal; }
  .hero-meta { flex-wrap:wrap; gap:10px 16px; margin-top:32px; }
  .grid-2, .grid-3, .steps, .form-grid, .footer-grid, .gallery-grid,
  .architecture-grid, .workflow-strip, .estimator-layout { grid-template-columns:minmax(0,1fr); }
  .gallery-tile-large { grid-column:auto; }
  .service-card { min-height:0; padding:23px; }
  .service-number { margin-bottom:20px; }
  .about-band { grid-template-columns:minmax(0,1fr); }
  .about-visual { min-height:240px; }
  .about-copy { padding:25px; }
  .page-hero { padding:58px 0 34px; }
  .page-hero h1 { font-size:clamp(36px,10vw,58px); line-height:1.06; }
  .page-hero p, .hero-copy { font-size:16px; }
  .form-layout { grid-template-columns:minmax(0,1fr); }
  .footer-grid > * { padding-left:0 !important; border-left:0 !important; }
  .footer-grid { gap:24px; }
  .architecture-node { min-height:0; }
  .status-row { align-items:flex-start; }
  .estimate-result strong { font-size:clamp(26px,8vw,38px); }
  .nav { min-height:68px; }
  .nav-actions { gap:6px; }
  .site-search { width:calc(100% - 20px); max-height:85vh; padding:14px; }
}
@media (max-width: 380px) {
  .container { width:calc(100% - 24px); }
  .brand { gap:7px; }
  .brand-wordmark strong { font-size:12px; letter-spacing:.12em; }
  .brand-wordmark span { font-size:8px; letter-spacing:.2em; }
  .theme-button, .menu-button, .search-open { width:38px; height:38px; }
  .hero-actions .button { width:100%; }
}
@media (prefers-reduced-motion: reduce) {
  .geometry-canvas { display:none !important; }
  .card, .about-band, .cta-panel, .button, .work-image img { transition:none !important; }
}

/* Final refinement: lighter navigation, clearer type wrapping, and consistent component sizing. */
.nav-drop-trigger { gap:9px; padding:12px 0; font-weight:500; letter-spacing:.005em; }
.nav-chevron { display:inline-block; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .18s ease, color .18s ease; opacity:.78; flex:0 0 auto; }
.nav-dropdown:hover .nav-chevron,.nav-dropdown:focus-within .nav-chevron,.nav-dropdown.is-open .nav-chevron { transform:translateY(2px) rotate(225deg); color:var(--accent-hover); }
.nav-drop-panel { top:calc(100% + 3px); padding:8px; gap:3px; border-radius:12px; box-shadow:0 16px 44px rgba(0,0,0,.18); }
.nav-drop-panel::before { content:""; position:absolute; height:10px; left:0; right:0; top:-8px; }
.nav-drop-panel a { display:block; line-height:1.4; padding:11px 12px; font-size:12px; }
.nav-links a.active, .nav-links a:hover, .nav-drop-trigger:hover, .nav-dropdown.is-active > .nav-drop-trigger { color:var(--accent-hover); }
.nav-links a.active::after, .nav-dropdown.is-active > .nav-drop-trigger::after { transform:scaleX(1); }
/* Keep content from forcing cards and grid columns wider than their containers. */
main, section, article, aside, .container, .card, .grid, .grid > *, .footer-grid > *, .hero-content, .page-hero .container, .section-head > * { min-width:0; }
.grid, .grid-2, .grid-3, .steps, .form-grid, .footer-grid, .gallery-grid, .form-layout { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
h1,h2,h3,h4 { overflow-wrap:break-word; text-wrap:pretty; }
p, li, .card-link, .button, .nav-drop-panel a, .footer-links a { overflow-wrap:anywhere; }
.card, .service-card, .work-card, .cta-panel, .about-band, .notice, .form-layout, .prose { min-width:0; }
.card, .service-card, .work-card { overflow-wrap:anywhere; }
.button { max-width:100%; white-space:normal; text-align:center; line-height:1.35; }
img { height:auto; }
/* No expensive whole-page transitions or blur effects. */
body { transition:none; }
.site-header { backdrop-filter:none!important; -webkit-backdrop-filter:none!important; }
.hero::after { animation:none!important; }
.geometry-canvas { opacity:.18; }
.js-motion [data-reveal] { transition:opacity .28s ease,transform .28s ease; }
@media (max-width:1120px) and (min-width:901px) {
  .nav { gap:12px; }
  .nav-links { gap:clamp(8px,1vw,13px); }
  .nav-links a,.nav-drop-trigger { font-size:11px; }
  .nav-actions { gap:5px; }
  .nav-quote { padding:9px 10px; font-size:11px; }
}
@media (max-width:900px) {
  .nav-drop-panel { display:none; }
  .nav-chevron { width:6px; height:6px; }
  .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .grid,.grid-2,.grid-3,.steps,.form-grid,.footer-grid,.gallery-grid,.architecture-grid,.workflow-strip,.estimator-layout,.form-layout { grid-template-columns:minmax(0,1fr)!important; }
  .section-head { min-width:0; }
  .section-head h2,.page-hero h1 { max-width:100%; }
  .hero-content { max-width:100%; }
  .button,.hero-actions .button { min-height:44px; }
  .mobile-menu a { overflow-wrap:anywhere; }
  .nav-chevron { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .geometry-canvas { display:none!important; }
  .js-motion [data-reveal] { opacity:1!important; transform:none!important; transition:none!important; }
}


/* Targeted heading and layout correction for section eyebrow labels. */
.eyebrow {
  display: block;
  max-width: 100%;
  font-size: clamp(9px, .72vw, 10px);
  line-height: 1.6;
  letter-spacing: clamp(.10em, .17vw, .19em);
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}
.section-head { align-items: flex-start; }
.section-head > div { flex: 1 1 auto; min-width: 0; }
.section-head h2 { max-width: 18ch; line-height: 1.12; letter-spacing: -.035em; }
.section-head > a.button { flex: 0 0 auto; align-self: flex-end; }
.section-head p { flex: 0 1 490px; }
@media (max-width: 680px) {
  .eyebrow { font-size: 9px; letter-spacing: .12em; line-height: 1.55; }
  .section-head { gap: 14px; }
  .section-head h2 { max-width: 100%; font-size: clamp(27px, 7.5vw, 36px); letter-spacing: -.03em; }
  .section-head > a.button { align-self: flex-start; }
}


/* Areton refinement pass: mobile navigation drawer */
@media (max-width:680px) {
  .site-header { position:sticky; top:0; }
  .mobile-menu { display:flex; flex-direction:column; position:fixed; z-index:1200; top:70px; right:0; bottom:0; width:min(86vw,380px); max-height:calc(100dvh - 70px); overflow-y:auto; overscroll-behavior:contain; padding:14px 22px 28px; background:var(--surface); border-left:1px solid var(--line); box-shadow:-24px 18px 55px rgba(0,0,0,.28); transform:translateX(105%); visibility:hidden; transition:transform .22s ease,visibility .22s ease; gap:0; }
  .mobile-menu.open { display:flex; transform:translateX(0); visibility:visible; }
  .mobile-menu a { flex:0 0 auto; padding:15px 4px; border-top:1px solid var(--line); color:var(--text); font-size:14px; }
  .mobile-menu a:hover,.mobile-menu a[aria-current="page"] { color:var(--accent-hover); }
  .mobile-menu a.button { margin-top:14px; justify-content:center; border:1px solid var(--line); padding:13px 16px; }
  body.menu-open { overflow:hidden; }
  .nav-actions { gap:8px; }
  .search-open { width:40px; height:40px; display:grid; place-items:center; padding:0; border-radius:50%; }
  .search-open span { display:none; }
  .site-search { margin:auto; padding:18px; border-radius:16px; max-height:84dvh; }
  .search-results { max-height:52dvh; }
}
@media (prefers-reduced-motion:reduce) { .mobile-menu { transition:none!important; } }
/* Give standards cards more consistent rhythm and room for longer headings. */
.card .service-number { display:block; margin-bottom:18px; }
.card h3 { line-height:1.25; text-wrap:balance; }
.card p { line-height:1.7; }
.lab-card { overflow:hidden; }
.lab-art { min-height:150px; }
.lab-card .work-info { padding:22px; }
.site-search { z-index:1400; }

.lab-preview-placeholder { min-height:320px; height:100%; max-height:480px; border:1px solid var(--line); border-radius:16px; background:radial-gradient(ellipse at 70% 20%,#484b51 0%,#292c31 44%,#111216 100%); }\n@media(max-width:680px){.lab-preview-placeholder{min-height:200px;}}\n
/* Fix flush text in the three engineering-principle cards shown on the homepage. */
.section .grid.grid-3 > article.card:not(.lab-card):not(.service-card):not(.work-card) { padding:26px; }
.gallery-placeholder { width:100%; height:100%; min-height:220px; background:linear-gradient(135deg,#45484e 0%,#292c32 48%,#121317 100%); }
.gallery-tile-large .gallery-placeholder { min-height:460px; }
@media(max-width:680px){.gallery-tile-large .gallery-placeholder{min-height:240px;}}

.work-placeholder { width:100%; height:100%; min-height:220px; background:linear-gradient(135deg,#45484e 0%,#292c32 48%,#121317 100%); }

/* Revision: resilient card sizing and tool layouts */
.grid, .grid-2, .grid-3, .estimator-layout, .section-head, .footer-grid { min-width:0; }
.grid > *, .estimator-layout > *, .section-head > * { min-width:0; }
.grid-2, .grid-3, .lab-tool-grid { align-items:stretch; }
.card, .lab-card, .price-plan { height:100%; min-width:0; overflow-wrap:anywhere; }
.lab-card { display:flex; flex-direction:column; }
.lab-card .work-info { display:flex; flex-direction:column; flex:1; align-items:flex-start; }
.lab-card .work-info p { flex:1; }
.lab-art { min-width:0; overflow:hidden; }
.lab-art span, .eyebrow, .pill, .step-num { overflow-wrap:anywhere; word-break:normal; }
.lab-demo, .lab-output, .tool-result, .estimator-aside { min-width:0; overflow-wrap:anywhere; }
.lab-demo input:not([type=checkbox]):not([type=color]):not([type=range]), .lab-demo select, .lab-demo textarea, .estimator-card input, .estimator-card select { width:100%; max-width:100%; min-width:0; }
.lab-demo textarea { resize:vertical; }
.tool-panel { display:grid; gap:22px; }
.tool-controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.tool-controls label { margin:0; }
.tool-controls input[type=color] { width:56px; height:42px; padding:3px; }
.tool-status { color:var(--muted); font-size:13px; margin:8px 0 0; overflow-wrap:anywhere; }
.palette-swatches { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.palette-swatches > div { min-width:0; }
.palette-swatches span { display:block; height:80px; border:1px solid var(--line); border-radius:12px; margin-bottom:8px; }
.palette-swatches small,.palette-swatches code { display:block; overflow-wrap:anywhere; }
.palette-swatches code { color:var(--muted); font-size:11px; }
.tool-result { padding:18px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.tool-result h3 { font-size:clamp(24px,4vw,36px); margin:6px 0; }
.table-scroll { max-width:100%; overflow-x:auto; }
.tool-table { border-collapse:collapse; width:100%; font-size:13px; }
.tool-table th,.tool-table td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); white-space:nowrap; }
.estimator-options { border:1px solid var(--line); border-radius:12px; padding:14px; margin:16px 0; min-width:0; }
.estimator-options legend { padding:0 6px; color:var(--muted); }
.estimator-options label { display:flex; align-items:flex-start; gap:9px; margin:10px 0; font-weight:400; }
.estimator-options input { width:auto; margin-top:6px; flex:0 0 auto; }
.estimate-range { font-size:clamp(28px,4vw,42px); font-weight:750; letter-spacing:-.04em; overflow-wrap:anywhere; }
.motion-stage { min-height:250px; display:grid; place-items:center; border:1px solid var(--line); border-radius:16px; background:radial-gradient(circle at center, color-mix(in srgb,var(--accent) calc(var(--glow-opacity, .35)*100%),transparent) 0%, transparent 65%),var(--surface); overflow:hidden; }
.motion-orbit { width:150px; height:150px; border:1px solid var(--accent); border-radius:50%; display:grid; place-items:center; box-shadow:0 0 50px color-mix(in srgb,var(--accent) calc(var(--glow-opacity,.35)*100%),transparent); animation:areton-orbit var(--motion-duration,7s) linear infinite; }
.motion-orbit span { font-size:12px; letter-spacing:.2em; font-weight:700; }
.motion-paused .motion-orbit { animation-play-state:paused; }
@keyframes areton-orbit { from { transform:rotate(0deg) scale(.94); } 50% { transform:rotate(180deg) scale(1.04); } to { transform:rotate(360deg) scale(.94); } }
.success-text { color:#16a34a; }.error-text { color:#ef4444; }
.prose h2 { margin-top:32px; }.prose p,.prose li { overflow-wrap:anywhere; }
@media (max-width:760px) { .container { width:min(100% - 32px,1160px); } .grid-2,.grid-3,.estimator-layout { grid-template-columns:minmax(0,1fr)!important; } .section-head { grid-template-columns:minmax(0,1fr)!important; gap:12px; } .palette-swatches { grid-template-columns:repeat(2,minmax(0,1fr)); } .palette-swatches span { height:58px; } .lab-demo { padding:18px; } .tool-controls { align-items:flex-start; } .estimate-range { font-size:clamp(25px,8vw,38px); } }
@media (prefers-reduced-motion:reduce) { .motion-orbit { animation:none!important; } }


/* === Areton corrective layout pass (authoritative overrides) === */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
main, section, article, .container, .grid, .grid-2, .grid-3, .section-head,
.service-card, .work-card, .price-plan, .card, .form-layout, .estimator-layout { min-width: 0; }
/* Cards use consistent interior spacing and never let child content escape. */
.grid, .grid-2, .grid-3 { align-items: stretch; gap: clamp(16px, 2vw, 24px); }
.grid > *, .grid-2 > *, .grid-3 > *, .service-card, .work-card, .price-plan,
.card:not(.button), .lab-card { min-width: 0; max-width: 100%; }
.grid-2 > *, .grid-3 > *, .service-card, .work-card, .price-plan { height: 100%; }
.service-card, .work-card, .price-plan, .grid-3 > article.card { padding: clamp(20px, 2vw, 28px); }
.eyebrow, .service-number, .step-num, .pill { display: block; max-width: 100%; line-height: 1.6; letter-spacing: .12em; white-space: normal; overflow-wrap: break-word; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(20px, 4vw, 56px); }
.section-head > div, .section-head > p { min-width: 0; }
.section-head h2 { max-width: 16ch; margin-inline: 0; overflow-wrap: break-word; }
.section-head p { max-width: 48ch; }
/* Four footer groups in one horizontal row on desktop. */
.footer-grid { display: grid !important; grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr)) !important; align-items: start; gap: clamp(22px, 3vw, 44px) !important; }
.footer-grid > * { min-width: 0; grid-column: auto !important; padding-left: 0 !important; border-left: 0 !important; }
.footer-brand p { max-width: 28ch; }
.footer-links { align-items: flex-start; }
.footer-links a, .footer-links button { max-width: 100%; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 20px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0; min-width: 0; }
.footer-legal a { line-height: 1.8; }
@media (max-width: 900px) {
  .container { width: min(100% - 36px, 1160px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px !important; }
  .footer-bottom { align-items: flex-start; flex-direction: column !important; }
  .footer-legal { justify-content: flex-start; }
  .section-head { flex-direction: column; gap: 14px; }
  .section-head h2 { max-width: 100%; }
  .section-head > a.button { align-self: flex-start; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .grid, .grid-2, .grid-3, .steps, .form-grid, .architecture-grid, .workflow-strip,
  .estimator-layout, .form-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 26px !important; }
  .footer-bottom { gap: 14px; }
  .footer-legal { justify-content: flex-start; gap: 4px 0; }
  .footer-legal a { padding: 0 9px; }
  .footer-legal a:first-child { padding-left: 0; }
  .section { padding-block: 52px; }
  .section-head h2, .page-hero h1 { max-width: 100%; overflow-wrap: break-word; }
  .eyebrow { font-size: 9px; letter-spacing: .1em; }
}


/* === Final hard layout correction: equal cards, clean footer, no separators === */
*, *::before, *::after { box-sizing: border-box !important; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)) !important; margin-left: auto !important; margin-right: auto !important; }
/* Keep every grid track shrinkable and every card inside its own track. */
.grid, .grid-2, .grid-3, .steps, .gallery-grid, .architecture-grid, .workflow-strip,
.form-grid, .estimator-layout, .footer-grid { width: 100%; min-width: 0; }
.grid-2, .grid-3 { display: grid !important; align-items: stretch !important; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid > *, .grid-2 > *, .grid-3 > *, .steps > *, .gallery-grid > *, .architecture-grid > *,
.workflow-strip > *, .service-card, .work-card, .price-plan, .card, .form-card,
.estimator-card, .estimator-aside, .workflow-step, .architecture-node, .split-feature,
.cta-panel, .lab-card { min-width: 0 !important; max-width: 100% !important; }
.grid-2 > *, .grid-3 > *, .service-card, .work-card, .price-plan, .workflow-step,
.architecture-node { height: 100%; }
.service-card, .work-card, .price-plan, .workflow-step, .architecture-node,
.grid-3 > .card, .grid-3 > article.card { padding: clamp(20px, 2.2vw, 30px) !important; overflow-wrap: anywhere; }
.card h2, .card h3, .card h4, .service-card h2, .service-card h3, .work-card h2,
.work-card h3, .price-plan h2, .price-plan h3, .workflow-step h3,
.architecture-node h3 { max-width: 100%; overflow-wrap: anywhere; }
.card p, .service-card p, .work-card p, .price-plan p, .workflow-step p,
.architecture-node p { max-width: 100%; overflow-wrap: anywhere; }
.eyebrow, .service-number, .step-num, .pill { max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; line-height: 1.55; }
/* Footer is a single clean horizontal row on desktop. Remove all vertical rules. */
.footer-grid { display: flex !important; flex-flow: row nowrap !important; align-items: flex-start !important; gap: clamp(22px, 3vw, 44px) !important; padding-bottom: 42px !important; }
.footer-grid > * { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-left: 0 !important; }
.footer-grid > .footer-brand { flex: 1.35 1 0 !important; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.footer-links a, .footer-links button { max-width: 100%; overflow-wrap: anywhere; }
.footer-bottom { display: flex !important; flex-flow: row wrap !important; align-items: center !important; justify-content: space-between !important; gap: 14px 24px !important; }
.footer-legal { display: flex !important; flex-flow: row wrap !important; justify-content: flex-end; gap: 8px 18px !important; min-width: 0; }
.footer-legal a, .footer-legal a + a { padding: 0 !important; border: 0 !important; border-left: 0 !important; }
@media (max-width: 760px) {
  .container { width: calc(100% - 32px) !important; }
  .grid-2, .grid-3, .grid, .steps, .gallery-grid, .architecture-grid, .workflow-strip,
  .form-grid, .estimator-layout, .form-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 20px !important; }
  .footer-grid > * { width: auto !important; padding: 0 !important; border: 0 !important; }
  .footer-grid > .footer-brand { grid-column: 1 / -1 !important; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; }
  .footer-legal { justify-content: flex-start; }
}
@media (max-width: 440px) {
  .container { width: calc(100% - 28px) !important; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-grid > .footer-brand { grid-column: auto !important; }
  .footer-legal { gap: 8px 14px !important; }
}

/* === Definitive layout pass: correctly sized cards + separated horizontal footer === */
*, *::before, *::after { box-sizing: border-box !important; }
.container { width: min(1160px, calc(100% - 64px)) !important; margin-inline: auto !important; }

/* Cards: consistent inner spacing, equal-height rows, no content touching borders. */
.grid, .grid-2, .grid-3 { width: 100% !important; min-width: 0 !important; align-items: stretch !important; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid > .card, .grid-2 > .card, .grid-3 > .card,
.grid > article, .grid-2 > article, .grid-3 > article,
.grid-2 > .service-card, .grid-3 > .service-card,
.grid-2 > .journal-card, .grid-3 > .journal-card {
  width: 100% !important; min-width: 0 !important; max-width: 100% !important;
  min-height: 0 !important; height: 100% !important; margin: 0 !important;
  padding: clamp(22px, 2.2vw, 30px) !important;
  display: flex; flex-direction: column; align-items: flex-start;
  overflow-wrap: anywhere; word-break: normal;
}
.grid > .card h2, .grid > .card h3, .grid > .card h4,
.grid-2 > .card h2, .grid-2 > .card h3, .grid-2 > .card h4,
.grid-3 > .card h2, .grid-3 > .card h3, .grid-3 > .card h4,
.grid > article p, .grid-2 > article p, .grid-3 > article p {
  width: 100%; max-width: 100%; min-width: 0; overflow-wrap: anywhere;
}
.grid > .card .service-number, .grid-2 > .card .service-number, .grid-3 > .card .service-number,
.grid > article .journal-meta, .grid-2 > article .journal-meta, .grid-3 > article .journal-meta {
  display: block; width: 100%; max-width: 100%; white-space: normal !important; overflow-wrap: anywhere;
}

/* Footer: four equal, horizontal columns on desktop, with vertical separator rules. */
.footer > .container { width: min(1304px, calc(100% - 64px)) !important; }
.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important; gap: 0 !important; width: 100% !important;
  padding-bottom: 40px !important;
}
.footer-grid > * {
  display: flex !important; flex-direction: column !important; align-items: flex-start !important;
  width: auto !important; min-width: 0 !important; max-width: none !important;
  margin: 0 !important; padding: 0 26px !important;
  border: 0 !important; border-left: 1px solid var(--line) !important;
}
.footer-grid > .footer-brand { padding-left: 0 !important; border-left: 0 !important; }
.footer-grid > *:last-child { padding-right: 0 !important; }
.footer-grid .footer-title, .footer-grid .footer-links { width: 100%; min-width: 0; }
.footer-grid .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-grid .footer-links a, .footer-grid .footer-links button { max-width: 100%; overflow-wrap: anywhere; }
.footer-bottom { display: flex !important; flex-flow: row nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 20px !important; }
.footer-legal { display: flex !important; flex-flow: row wrap !important; align-items: center !important; justify-content: flex-end !important; gap: 0 !important; min-width: 0; }
.footer-legal a, .footer-legal a + a { display: inline-block; padding: 0 12px !important; border: 0 !important; border-left: 1px solid var(--line) !important; white-space: normal; }
.footer-legal a:first-child { border-left: 0 !important; }

@media (max-width: 900px) {
  .container, .footer > .container { width: calc(100% - 40px) !important; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 30px !important; }
  .footer-grid > * { padding: 0 20px !important; }
  .footer-grid > .footer-brand, .footer-grid > :nth-child(3) { padding-left: 0 !important; border-left: 0 !important; }
  .footer-bottom { flex-wrap: wrap !important; }
  .footer-legal { justify-content: flex-start !important; }
}
@media (max-width: 560px) {
  .container, .footer > .container { width: calc(100% - 32px) !important; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr) !important; }
  .grid > .card, .grid-2 > .card, .grid-3 > .card,
  .grid > article, .grid-2 > article, .grid-3 > article { padding: 22px !important; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) !important; row-gap: 22px !important; }
  .footer-grid > *, .footer-grid > .footer-brand, .footer-grid > :nth-child(3) {
    padding: 0 !important; border-left: 0 !important;
  }
  .footer-grid > * + * { padding-top: 20px !important; border-top: 1px solid var(--line) !important; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; }
  .footer-legal { justify-content: flex-start !important; }
  .footer-legal a { padding: 0 9px !important; }
}


/* Navigation refinement: quieter, grouped, and more balanced. */
.site-header { border-bottom:1px solid var(--line); }
.site-header .nav { min-height:76px; gap:clamp(18px,2.2vw,34px); }
.site-header .brand-logo { width:116px; max-height:42px; object-fit:contain; }
.site-header .nav-links { flex:1; justify-content:center; gap:clamp(20px,2.8vw,40px); }
.site-header .nav-links a, .site-header .nav-drop-trigger { font-size:13px; letter-spacing:.01em; }
.site-header .nav-actions { gap:10px; }
.site-header .search-open, .site-header .theme-button { width:36px; height:36px; padding:0; justify-content:center; border-radius:50%; }
.site-header .search-open { font-size:18px; }
.site-header .nav-staff-login { color:var(--text); font-size:12px; font-weight:600; white-space:nowrap; padding:10px 14px; border:1px solid var(--line); border-radius:999px; transition:border-color .2s,color .2s; }
.site-header .nav-staff-login:hover { color:var(--accent-hover); border-color:var(--accent); }
.site-header .nav-quote { padding:11px 16px; font-size:12px; white-space:nowrap; }
.site-header .nav-drop-panel { min-width:238px; padding:10px; top:calc(100% + 13px); }
.site-header .nav-drop-panel a { padding:11px 12px; font-size:12px; }
.mobile-menu-group { display:grid; gap:0; padding:10px 0 12px; border-top:1px solid var(--line); }
.mobile-menu-group > span { color:var(--accent-hover); font-size:10px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; padding:5px 2px 7px; }
.mobile-menu-group a { border-top:0 !important; padding:9px 2px !important; }
.mobile-menu-actions { display:flex; flex-wrap:wrap; gap:10px; padding-top:14px; border-top:1px solid var(--line); }
.mobile-menu-actions .button { display:inline-flex !important; }
@media (max-width:1100px) {
 .site-header .nav { gap:16px; }
 .site-header .nav-links { gap:18px; }
 .site-header .nav-actions { gap:7px; }
 .site-header .nav-quote { padding:10px 12px; }
}
@media (max-width:900px) {
 .site-header .nav-links { display:none; }
 .site-header .nav-actions .nav-staff-login, .site-header .nav-actions .nav-quote { display:none; }
 .site-header .nav-actions .menu-button { display:inline-grid; }
 .site-header .nav-actions { margin-left:auto; }
 .site-header .brand-logo { width:108px; }
}
@media (max-width:680px) {
 .site-header .nav { min-height:68px; }
 .site-header .nav-actions { gap:7px; }
 .site-header .search-open, .site-header .theme-button, .site-header .menu-button { width:36px; height:36px; }
 .mobile-menu-actions .button { flex:1; }
}
