/* Avinoth Industries LLC - navy, ivory and the gold of the logo */
:root {
  --navy-900: #0d1220; --navy-800: #141b2d; --navy-700: #1d2740; --navy-600: #2a3656;
  --ivory: #faf6ee; --paper: #ffffff; --ink: #1f2433; --muted: #5d6475; --muted-light: #aab2c5;
  --gold-1: #f3d58a; --gold-2: #c9973a; --gold-3: #8a6220;
  --line: #e9e1cf; --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; font-weight: 700; }
.gold-text { background: linear-gradient(100deg, var(--gold-1), var(--gold-2) 55%, var(--gold-1)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--navy-900); background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); box-shadow: 0 8px 24px rgba(201, 151, 58, .35); }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(201, 151, 58, .5); }
.btn-outline { color: #fff; border: 1.5px solid rgba(243, 213, 138, .6); }
.btn-outline:hover { background: rgba(243, 213, 138, .1); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(13, 18, 32, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav-brand img { width: 170px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a:not(.btn) { color: #e7e9f0; text-decoration: none; font-weight: 500; font-size: .95rem; }
nav a:not(.btn):hover { color: var(--gold-1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-1); margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; color: #fff;
  background: radial-gradient(900px 600px at 80% 30%, rgba(201, 151, 58, .18), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-700)); }
.hero-art { position: absolute; right: -160px; top: 50%; transform: translateY(-50%); width: min(820px, 90vw); opacity: .9; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-52%) rotate(4deg); } }
.hero-inner { position: relative; padding: 140px 0 100px; max-width: 760px; margin-left: max(20px, calc((100% - 1160px) / 2)); }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--gold-2); margin: 0 0 18px; }
.eyebrow { color: var(--gold-1); }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.015em; margin-bottom: 24px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9cfdc; max-width: 600px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #b9c0d0; font-size: .95rem; }
.hero-points li::before { content: "◆"; color: var(--gold-2); margin-right: 8px; font-size: .7rem; vertical-align: 2px; }

/* sections */
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { color: var(--navy-800); }
.note { color: var(--muted); font-style: italic; margin: 14px 0 0; }
.section-navy { background: linear-gradient(170deg, var(--navy-800), var(--navy-700)); color: #e7e9f0; }
.section-navy .section-head h2 { color: #fff; }
.section-ivory { background: var(--ivory); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.problem { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .2s, box-shadow .2s; }
.problem:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 27, 45, .08); }
.problem .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold-2); display: block; line-height: 1; margin-bottom: 14px; }
.problem h3 { color: var(--navy-800); margin-bottom: 10px; }
.problem p { color: var(--muted); margin: 0; }

.service { padding: 34px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(243, 213, 138, .18); transition: border-color .2s, transform .2s, background .2s; }
.service:hover { border-color: rgba(243, 213, 138, .55); transform: translateY(-4px); background: rgba(255, 255, 255, .06); }
.service .icon { width: 46px; height: 46px; color: var(--gold-1); margin-bottom: 18px; }
.service h3 { color: #fff; margin-bottom: 10px; font-size: 1.2rem; }
.service p { color: var(--muted-light); margin: 0 0 14px; }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { color: #d6dae4; padding: 7px 0 7px 22px; position: relative; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .95rem; }
.service li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-2); transform: rotate(45deg); }

.example { padding: 32px; border-radius: var(--radius); background: var(--ivory); border-left: 4px solid var(--gold-2); }
.example .tag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--gold-3); background: rgba(201, 151, 58, .14); }
.example h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.example p { color: var(--muted); margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, var(--gold-2), rgba(201, 151, 58, .2)); }
.timeline li { position: relative; }
.timeline .dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy-900); background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); box-shadow: 0 0 0 8px var(--ivory); margin-bottom: 20px; }
.timeline h3 { color: var(--navy-800); margin-bottom: 8px; }
.timeline p { color: var(--muted); margin: 0; }

.principles { padding: 80px 0; }
.principles h3 { color: var(--gold-1); font-family: var(--serif); font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.principles p { color: var(--muted-light); margin: 0; }

details { border-bottom: 1px solid var(--line); padding: 6px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.08rem; color: var(--navy-800); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--gold-2); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

.contact { background: radial-gradient(700px 400px at 50% 0%, rgba(201, 151, 58, .22), transparent 70%), linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #e7e9f0; text-align: center; }
.contact-inner { max-width: 760px; }
.contact-logo { width: 260px; margin: 0 auto 30px; }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact p { color: #c3c9d6; font-size: 1.12rem; margin: 0 0 34px; }

.footer { background: var(--navy-900); padding: 30px 0; border-top: 1px solid rgba(243, 213, 138, .15); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer img { width: 150px; }
.footer p { margin: 0; color: #8a93a8; font-size: .9rem; }

/* reveal on scroll (only when JavaScript runs) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .grid-3, .grid-4, .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .hero-art { opacity: .35; right: -260px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; background: rgba(13, 18, 32, .97); }
  nav.open { display: flex; }
  .nav { background: rgba(13, 18, 32, .92); }
  .grid-3, .grid-4, .timeline { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero-inner { padding: 120px 0 80px; }
}
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } * { scroll-behavior: auto; } }
