/*
Theme Name: Decima
Theme URI: https://decimatechnologies.lk/
Author: Decima Technologies
Description: A bespoke, motion-led corporate theme for Decima Technologies.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: decima
*/

:root {
  --ink: #0a0a0c;
  --muted: #64646b;
  --paper: #f5f5f7;
  --white: #fff;
  --line: rgba(10, 10, 12, .1);
  --red: #df1f36;
  --red-dark: #aa1024;
  --blue: var(--red);
  --violet: #ff596a;
  --cyan: #6f111d;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(12, 18, 31, .1);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; margin: 12px; padding: 12px 16px;
  z-index: 9999; background: #fff; border-radius: 10px;
}

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255,255,255,.72); border-bottom: 1px solid rgba(10,10,12,.06);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.admin-bar .site-header { top: 32px; }
.nav-shell {
  width: min(calc(100% - 40px), var(--max)); height: 72px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.brand-logo { width: 166px; height: auto; }
.site-footer .brand-logo { width: 190px; padding: 8px 10px; border-radius: 8px; background: #fff; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: #37373c; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }
.nav-cta { padding: 10px 17px; color: #fff !important; background: var(--ink); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--ink); transition: .25s ease; }

main { overflow: hidden; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.display {
  max-width: 980px; margin: 0; font-size: clamp(58px, 9vw, 126px); line-height: .92;
  letter-spacing: -.065em; font-weight: 760;
}
.gradient-text {
  color: transparent; background: linear-gradient(100deg, #111 0%, #444 42%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.lead { max-width: 720px; color: var(--muted); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -.028em; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 34px rgba(223,31,54,.24); }
.button-secondary { background: #fff; border-color: var(--line); }

.hero { position: relative; min-height: 100svh; padding: 170px 0 110px; display: grid; align-items: center; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; top: -210px; right: -240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(223,31,54,.18), rgba(20,20,22,.05) 46%, transparent 70%);
  filter: blur(5px); pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; }
.hero .lead { margin: 36px 0 0; }
.hero-orbit {
  position: absolute; right: 7vw; bottom: 9vh; width: clamp(150px, 18vw, 260px); aspect-ratio: 1;
  border: 1px solid rgba(223,31,54,.2); border-radius: 50%; animation: float 7s ease-in-out infinite;
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.hero-orbit::before { inset: 17%; border: 1px solid rgba(20,20,22,.18); }
.hero-orbit::after { width: 22%; aspect-ratio: 1; top: 5%; left: 15%; background: linear-gradient(145deg,#151515,var(--red)); box-shadow: 0 16px 40px rgba(223,31,54,.25); }

.section { padding: 120px 0; }
.section-soft { background: var(--paper); }
.section-dark { color: #fff; background: #08080b; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; margin-bottom: 62px; align-items: end; }
.section-title { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.055em; }
.section-intro { max-width: 600px; margin: 0 0 4px auto; color: var(--muted); font-size: 20px; line-height: 1.55; }
.section-dark .section-intro { color: #a7a7b0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 390px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(10,10,12,.06); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.75,.25,1), box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 34px 80px rgba(12,18,31,.15); }
.card-index { color: #98989f; font-size: 13px; font-weight: 700; }
.card-icon { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(145deg, rgba(223,31,54,.13), rgba(20,20,22,.08)); position: relative; }
.card-icon::after { content: ""; position: absolute; inset: 17px; border: 2px solid var(--blue); border-radius: 50%; }
.service-card h3 { margin: 0 0 14px; font-size: 29px; letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.statement { max-width: 1080px; font-size: clamp(46px, 7vw, 96px); line-height: 1.02; letter-spacing: -.06em; font-weight: 720; }
.statement span { color: #696972; }
.venture {
  display: grid; grid-template-columns: 1.2fr .8fr; min-height: 520px; overflow: hidden;
  border-radius: 36px; background: linear-gradient(145deg, #09090b, #241014); box-shadow: 0 36px 100px rgba(0,0,0,.28);
}
.venture-copy { padding: clamp(38px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.venture h3 { margin: 0; font-size: clamp(45px, 7vw, 86px); letter-spacing: -.06em; }
.venture p { max-width: 580px; color: #b4bdce; font-size: 20px; line-height: 1.55; }
.venture-art { position: relative; min-height: 340px; background: radial-gradient(circle at 50% 50%, rgba(223,31,54,.42), transparent 62%); }
.venture-art::before, .venture-art::after { content: ""; position: absolute; border-radius: 30%; transform: rotate(28deg); }
.venture-art::before { inset: 16% 25%; border: 1px solid rgba(255,255,255,.35); animation: spin 20s linear infinite; }
.venture-art::after { inset: 29% 36%; background: linear-gradient(145deg,#121214,var(--red)); box-shadow: 0 20px 60px rgba(223,31,54,.35); animation: float 6s ease-in-out infinite; }

.cta-panel {
  padding: clamp(44px, 8vw, 92px); text-align: center; border-radius: 36px;
  background: linear-gradient(135deg, #f7f7f8, #fff1f3 58%, #f1f1f3);
}
.cta-panel h2 { max-width: 850px; margin: 0 auto 24px; font-size: clamp(42px, 7vw, 82px); line-height: 1; letter-spacing: -.06em; }
.cta-panel p { max-width: 620px; margin: auto; color: var(--muted); font-size: 19px; line-height: 1.6; }

.contact-hero { padding: 170px 0 70px; background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-copy h1 { margin: 0 0 28px; font-size: clamp(54px, 8vw, 102px); line-height: .95; letter-spacing: -.06em; }
.contact-copy p { color: var(--muted); font-size: 20px; line-height: 1.6; }
.contact-meta { margin-top: 45px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-meta small { display: block; color: #8a8a91; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .1em; }
.contact-form { padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border: 1px solid #d9d9df; border-radius: 14px; background: #fbfbfc;
  outline: none; transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(223,31,54,.1); }
.field textarea { min-height: 160px; resize: vertical; }
.form-message { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: #eaf7ef; color: #176638; }
.form-message.error { color: #922; background: #fff0f0; }

.site-footer { padding: 72px 0 28px; background: #08080b; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 48px; padding-bottom: 60px; }
.footer-brand p { max-width: 430px; color: #9a9aa4; line-height: 1.65; }
.footer-col h3 { margin: 0 0 18px; color: #8a8a94; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-col a { display: block; width: fit-content; margin: 11px 0; color: #d7d7dc; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #787881; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes spin { to { transform: rotate(388deg); } }

@media (max-width: 820px) {
  .admin-bar .site-header { top: 46px; }
  .nav-shell { height: 64px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .brand-logo { width: 148px; }
  .site-nav {
    position: fixed; inset: 0; padding: 110px 28px 40px; display: flex; flex-direction: column; align-items: flex-start;
    background: rgba(255,255,255,.97); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.75,.25,1);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { font-size: 30px; letter-spacing: -.04em; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding-top: 130px; }
  .hero-orbit { opacity: .45; right: -40px; }
  .section { padding: 86px 0; }
  .section-head, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-intro { margin-left: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .venture { grid-template-columns: 1fr; }
  .venture-art { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .shell, .nav-shell { width: min(calc(100% - 28px), var(--max)); }
  .display { font-size: clamp(50px, 17vw, 76px); }
  .lead { font-size: 19px; }
  .section-head { margin-bottom: 40px; }
  .field-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
/*
Theme Name: Decima
Theme URI: https://decimatechnologies.lk/
Author: Decima Technologies
Description: A bespoke, motion-led corporate theme for Decima Technologies.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: decima
*/

:root {
  --ink: #0a0a0c;
  --muted: #64646b;
  --paper: #f5f5f7;
  --white: #fff;
  --line: rgba(10, 10, 12, .1);
  --red: #df1f36;
  --red-dark: #aa1024;
  --blue: var(--red);
  --violet: #ff596a;
  --cyan: #6f111d;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(12, 18, 31, .1);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; margin: 12px; padding: 12px 16px;
  z-index: 9999; background: #fff; border-radius: 10px;
}

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255,255,255,.72); border-bottom: 1px solid rgba(10,10,12,.06);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.nav-shell {
  width: min(calc(100% - 40px), var(--max)); height: 72px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.brand-logo { width: 166px; height: auto; }
.site-footer .brand-logo { width: 190px; padding: 8px 10px; border-radius: 8px; background: #fff; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: #37373c; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }
.nav-cta { padding: 10px 17px; color: #fff !important; background: var(--ink); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--ink); transition: .25s ease; }

main { overflow: hidden; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.display {
  max-width: 980px; margin: 0; font-size: clamp(58px, 9vw, 126px); line-height: .92;
  letter-spacing: -.065em; font-weight: 760;
}
.gradient-text {
  color: transparent; background: linear-gradient(100deg, #111 0%, #444 42%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.lead { max-width: 720px; color: var(--muted); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -.028em; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 34px rgba(223,31,54,.24); }
.button-secondary { background: #fff; border-color: var(--line); }

.hero { position: relative; min-height: 100svh; padding: 170px 0 110px; display: grid; align-items: center; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; top: -210px; right: -240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(223,31,54,.18), rgba(20,20,22,.05) 46%, transparent 70%);
  filter: blur(5px); pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; }
.hero .lead { margin: 36px 0 0; }
.hero-orbit {
  position: absolute; right: 7vw; bottom: 9vh; width: clamp(150px, 18vw, 260px); aspect-ratio: 1;
  border: 1px solid rgba(223,31,54,.2); border-radius: 50%; animation: float 7s ease-in-out infinite;
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.hero-orbit::before { inset: 17%; border: 1px solid rgba(20,20,22,.18); }
.hero-orbit::after { width: 22%; aspect-ratio: 1; top: 5%; left: 15%; background: linear-gradient(145deg,#151515,var(--red)); box-shadow: 0 16px 40px rgba(223,31,54,.25); }

.section { padding: 120px 0; }
.section-soft { background: var(--paper); }
.section-dark { color: #fff; background: #08080b; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; margin-bottom: 62px; align-items: end; }
.section-title { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.055em; }
.section-intro { max-width: 600px; margin: 0 0 4px auto; color: var(--muted); font-size: 20px; line-height: 1.55; }
.section-dark .section-intro { color: #a7a7b0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 390px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(10,10,12,.06); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.75,.25,1), box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 34px 80px rgba(12,18,31,.15); }
.card-index { color: #98989f; font-size: 13px; font-weight: 700; }
.card-icon { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(145deg, rgba(223,31,54,.13), rgba(20,20,22,.08)); position: relative; }
.card-icon::after { content: ""; position: absolute; inset: 17px; border: 2px solid var(--blue); border-radius: 50%; }
.service-card h3 { margin: 0 0 14px; font-size: 29px; letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.statement { max-width: 1080px; font-size: clamp(46px, 7vw, 96px); line-height: 1.02; letter-spacing: -.06em; font-weight: 720; }
.statement span { color: #696972; }
.venture {
  display: grid; grid-template-columns: 1.2fr .8fr; min-height: 520px; overflow: hidden;
  border-radius: 36px; background: linear-gradient(145deg, #09090b, #241014); box-shadow: 0 36px 100px rgba(0,0,0,.28);
}
.venture-copy { padding: clamp(38px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.venture h3 { margin: 0; font-size: clamp(45px, 7vw, 86px); letter-spacing: -.06em; }
.venture p { max-width: 580px; color: #b4bdce; font-size: 20px; line-height: 1.55; }
.venture-art { position: relative; min-height: 340px; background: radial-gradient(circle at 50% 50%, rgba(223,31,54,.42), transparent 62%); }
.venture-art::before, .venture-art::after { content: ""; position: absolute; border-radius: 30%; transform: rotate(28deg); }
.venture-art::before { inset: 16% 25%; border: 1px solid rgba(255,255,255,.35); animation: spin 20s linear infinite; }
.venture-art::after { inset: 29% 36%; background: linear-gradient(145deg,#121214,var(--red)); box-shadow: 0 20px 60px rgba(223,31,54,.35); animation: float 6s ease-in-out infinite; }

.cta-panel {
  padding: clamp(44px, 8vw, 92px); text-align: center; border-radius: 36px;
  background: linear-gradient(135deg, #f7f7f8, #fff1f3 58%, #f1f1f3);
}
.cta-panel h2 { max-width: 850px; margin: 0 auto 24px; font-size: clamp(42px, 7vw, 82px); line-height: 1; letter-spacing: -.06em; }
.cta-panel p { max-width: 620px; margin: auto; color: var(--muted); font-size: 19px; line-height: 1.6; }

.contact-hero { padding: 170px 0 70px; background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-copy h1 { margin: 0 0 28px; font-size: clamp(54px, 8vw, 102px); line-height: .95; letter-spacing: -.06em; }
.contact-copy p { color: var(--muted); font-size: 20px; line-height: 1.6; }
.contact-meta { margin-top: 45px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-meta small { display: block; color: #8a8a91; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .1em; }
.contact-form { padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border: 1px solid #d9d9df; border-radius: 14px; background: #fbfbfc;
  outline: none; transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(223,31,54,.1); }
.field textarea { min-height: 160px; resize: vertical; }
.form-message { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: #eaf7ef; color: #176638; }
.form-message.error { color: #922; background: #fff0f0; }

.site-footer { padding: 72px 0 28px; background: #08080b; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 48px; padding-bottom: 60px; }
.footer-brand p { max-width: 430px; color: #9a9aa4; line-height: 1.65; }
.footer-col h3 { margin: 0 0 18px; color: #8a8a94; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-col a { display: block; width: fit-content; margin: 11px 0; color: #d7d7dc; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #787881; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes spin { to { transform: rotate(388deg); } }

@media (max-width: 820px) {
  .nav-shell { height: 64px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; padding: 110px 28px 40px; display: flex; flex-direction: column; align-items: flex-start;
    background: rgba(255,255,255,.97); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.75,.25,1);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { font-size: 30px; letter-spacing: -.04em; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding-top: 130px; }
  .hero-orbit { opacity: .45; right: -40px; }
  .section { padding: 86px 0; }
  .section-head, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-intro { margin-left: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .venture { grid-template-columns: 1fr; }
  .venture-art { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .shell, .nav-shell { width: min(calc(100% - 28px), var(--max)); }
  .display { font-size: clamp(50px, 17vw, 76px); }
  .lead { font-size: 19px; }
  .section-head { margin-bottom: 40px; }
  .field-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
