/* ===== Orvanta — brand stylesheet ===== */
:root {
  --navy:      #1c3d5a;
  --navy-deep: #14304a;
  --blue:      #2f7fc4;
  --steel:     #5a7fa0;

  --text:      #142a3f;
  --muted:     #5a6b7e;

  --bg:        #ffffff;
  --bg-alt:    #f4f7fb;
  --surface:   #ffffff;
  --border:    #e0e8f0;

  --grad:      linear-gradient(120deg, #1c3d5a, #2f7fc4);
  --grad-soft: linear-gradient(120deg, #eef4fb 0%, #f6f9fd 100%);

  --radius:  18px;
  --maxw:    1120px;
  --ease:    cubic-bezier(.22,.61,.36,1);
  --shadow:  0 20px 44px -24px rgba(20,48,74,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

h1, h2, h3, .brand-name {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em; line-height: 1.12; margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(47,127,196,.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(47,127,196,.8); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(20,48,74,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 9px; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--navy); border: 1px solid var(--border); padding: 9px 20px; border-radius: 999px; }
.nav .nav-cta:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero: split ===== */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.hero-glow { position: absolute; z-index: 0; top: -160px; right: -140px; width: 640px; height: 640px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(47,127,196,.16), rgba(47,127,196,0) 64%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero-copy { max-width: 560px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 20px; font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 4.9vw, 3.7rem); font-weight: 700; color: var(--navy); }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); margin: 24px 0 0; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* Hero visual — interlocking rings + chips */
.hero-visual { position: relative; width: 100%; }
.ring-stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; margin-left: auto; }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring { fill: none; stroke-width: 20; stroke-linecap: round; }
.ring-a { stroke: url(#ringGrad); opacity: .95; }
.ring-b { stroke: var(--navy); opacity: .16; }
.js .ring { stroke-dasharray: 640; stroke-dashoffset: 640; animation: ringDraw 1.5s var(--ease) forwards; }
.js .ring-b { animation-delay: .18s; }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .js .ring { animation: none; stroke-dashoffset: 0; } }

.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
  padding: 10px 15px; box-shadow: var(--shadow);
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .9rem; color: var(--navy);
}
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(47,127,196,.16); flex: none; }
.chip-dot-blue { background: var(--navy); box-shadow: 0 0 0 3px rgba(28,61,90,.14); }
.chip-design { top: 8%; left: -4%; }
.chip-data { top: 34%; right: -6%; }
.chip-ux { bottom: 7%; left: 16%; padding: 11px 16px; }
.chip-icon { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; }
.chip-icon svg { width: 18px; height: 18px; }
.chip-stack { display: flex; flex-direction: column; line-height: 1.25; }
.chip-stack strong { font-size: .92rem; color: var(--navy); }
.chip-stack em { font-style: normal; font-size: .74rem; color: var(--steel); font-weight: 500; letter-spacing: .02em; }
.js .chip { opacity: 0; transform: translateY(10px); animation: chipIn .6s var(--ease) forwards; }
.js .chip-design { animation-delay: .9s; }
.js .chip-data { animation-delay: 1.05s; }
.js .chip-ux { animation-delay: 1.2s; }
@keyframes chipIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .chip { animation: none; opacity: 1; transform: none; } }

/* ===== Marquee ===== */
.strip { border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; font-family: "Sora", sans-serif; font-size: 15px; color: var(--navy); font-weight: 500; }
.strip-track .dot { color: var(--blue); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin: 0 0 14px; }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.7vw, 2.7rem); color: var(--navy); }
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ===== Feature list: 2-column, alternating rows ===== */
.feature-list { list-style: none; margin: 0 auto; padding: 0; max-width: 940px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.feature-row { display: flex; align-items: flex-start; gap: 20px; padding: 34px 32px; border-bottom: 1px solid var(--border); }
.feature-row:nth-child(odd) { border-right: 1px solid var(--border); }
.feature-row:nth-child(3), .feature-row:nth-child(4) { border-bottom: 0; }
/* alternating subtle row backgrounds */
.feature-row:nth-child(2), .feature-row:nth-child(3) { background: var(--bg-alt); }
.feature-icon { width: 50px; height: 50px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--blue); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-text h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--navy); }
.feature-text p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ===== Showcase 2x2 ===== */
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.tile { position: relative; overflow: hidden; padding: 42px 38px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.tile:hover { transform: translateY(-5px); border-color: transparent; }
.tile:hover::before { transform: scaleY(1); }
.tile-num { font-family: "Sora", sans-serif; font-size: 1.6rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px var(--blue); display: block; margin-bottom: 16px; }
.tile h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--navy); }
.tile p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ===== Statement ===== */
.statement-section { text-align: center; }
.statement { margin: 0 auto; max-width: 880px; }
.statement blockquote { font-family: "Sora", sans-serif; font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.4rem); line-height: 1.33; letter-spacing: -.02em; color: var(--navy); margin: 6px 0 22px; }
.statement figcaption { font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; color: var(--navy); }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-email { display: inline-block; font-family: "Sora", sans-serif; font-size: 1.2rem; color: var(--blue); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-email:hover { border-bottom-color: var(--blue); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,127,196,.15); }
.contact-form .btn { margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--navy-deep); color: #fff; padding: 0 0 30px; }
.footer-cta { text-align: center; padding: 70px 24px 60px; display: flex; flex-direction: column; align-items: center; gap: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); color: #fff; max-width: 740px; }
.site-footer .brand-name { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding: 44px 0 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-tag { color: rgba(255,255,255,.7); margin: 14px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: 14px; padding-top: 22px; }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding: 132px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 620px; }
  .ring-stage { max-width: 400px; margin: 0 auto; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-row:nth-child(odd) { border-right: 0; }
  .feature-row { border-bottom: 1px solid var(--border); }
  .feature-row:nth-child(4) { border-bottom: 0; }
  .feature-row:nth-child(2) { background: var(--surface); }
  .feature-row:nth-child(3) { background: var(--surface); }
  .feature-row:nth-child(even) { background: var(--bg-alt); }
  .showcase-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 90; box-shadow: 0 12px 30px -18px rgba(20,48,74,.5); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border: 1px solid var(--blue) !important; color: var(--blue) !important; }
  .section { padding: 70px 0; }
}
@media (max-width: 480px) {
  .ring-stage { max-width: 320px; }
  .chip { font-size: .82rem; padding: 8px 12px; }
  .chip-design { left: -2%; }
  .chip-data { right: -2%; }
  .feature-row { padding: 28px 24px; }
  .tile { padding: 34px 28px; }
  .footer-inner { flex-direction: column; }
}
