:root {
  --navy: #0A1A33;
  --navy-deep: #061126;
  --navy-band: #0E2242;
  --ink: #F2F4F8;
  --muted: #B9C2D3;
  --silver: #C3CAD6;
  --silver-line: rgba(195, 202, 214, 0.3);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
}

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--silver); }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: inherit; line-height: 1.15; color: var(--ink); }
h2 { font-size: clamp(36px, 4vw, 56px); }
h3 { font-size: 32px; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--silver); color: var(--navy); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.narrow { max-width: 980px; }

.eyebrow { font-family: var(--sans); font-weight: 400; font-size: 12px; line-height: 1.6; letter-spacing: 0.32em; color: var(--silver); text-transform: uppercase; }
.body { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 640px; }
.lede { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.25; }
.rule-label { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: 0.32em; color: var(--silver); }
.rule-label span { display: block; width: 48px; height: 1px; background: var(--silver); }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { color: var(--ink); text-decoration: none; font-size: 13px; letter-spacing: 0.42em; font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; gap: 32px; font-size: 13px; letter-spacing: 0.14em; }
.nav a { color: #D5DAE3; text-decoration: none; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav .nav-contact { color: #fff; border-bottom: 1px solid var(--silver); padding-bottom: 4px; }
.menu-btn { display: none; width: 44px; height: 44px; background: transparent; border: 0; padding: 0; cursor: pointer; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 1px; background: var(--ink); width: 24px; transition: transform .25s, width .25s, opacity .25s; }
.menu-btn span:last-child { width: 16px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { width: 24px; transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--navy-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 120px var(--gutter) 100px;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(6, 17, 38, 0.55); }
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hero-logo { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 6px 30px rgba(0,0,0,0.35)); }
.hero-tagline { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; display: flex; align-items: flex-start; justify-content: center; }
.hero-scroll span { display: block; width: 1px; height: 36px; background: var(--silver); animation: drift 2.4s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }

/* Bands and sections */
.band { background: var(--navy-band); padding: 80px 0; }
.section { padding: 80px 0; }
#capabilities { padding-top: 24px; }
.band .wrap.narrow { display: flex; flex-direction: column; gap: 24px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }

.ico { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--silver); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.acc-head { all: unset; display: flex; align-items: center; gap: 14px; width: 100%; font: inherit; color: inherit; pointer-events: none; }
.acc-sign { display: none; }

.categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1100px) { .categories { grid-template-columns: repeat(4, 1fr); } }
.category {
  position: relative; padding: 30px 28px 32px;
  border: 1px solid rgba(195,202,214,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 70%);
  transition: border-color .3s, transform .3s, background .3s;
}
.category::before { content: ""; position: absolute; top: -1px; left: 28px; width: 36px; height: 1px; background: var(--silver); transition: width .4s ease; }
.category:hover { border-color: rgba(195,202,214,0.45); transform: translateY(-3px); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 70%); }
.category:hover::before { width: calc(100% - 56px); }
.category .acc-head { flex-direction: column; align-items: flex-start; gap: 22px; font-size: 28px; line-height: 1.15; }
.category .ico { width: 34px; height: 34px; }
.category .acc-body p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--muted); }

.capabilities { display: flex; flex-wrap: wrap; gap: 48px; }
.cap-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.cap-intro h2 { font-weight: 300; line-height: 1.1; }
.cap-list { flex: 999 1 560px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.cap-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; padding: 24px 0; border-top: 1px solid var(--silver-line); transition: background .3s; }
.cap-list li:last-child { border-bottom: 1px solid var(--silver-line); }
.cap-list li:hover { background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0)); }
.cap-h { flex: 1 1 260px; font-family: var(--sans); font-size: 19px; font-weight: 400; line-height: 1.4; }
.cap-h .acc-head { align-items: center; }
.cap-list .acc-body { flex: 2 1 280px; }
.cap-desc { font-size: 15px; line-height: 1.7; color: var(--muted); }

@media (max-width: 767px) {
  .categories { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--silver-line); }
  .category { padding: 0; border: 0; border-bottom: 1px solid var(--silver-line); background: none; }
  .category::before { display: none; }
  .category:hover { transform: none; background: none; border-color: var(--silver-line); }
  .category .acc-head { flex-direction: row; align-items: center; gap: 16px; font-size: 24px; padding: 20px 0; }
  .category .ico { width: 26px; height: 26px; }
  .category .acc-body p { margin-top: 0; padding: 0 0 22px 42px; }
  .cap-list li { display: block; padding: 0; }
  .cap-list li:hover { background: none; }
  .cap-h .acc-head { padding: 18px 0; }
  .cap-desc { padding: 0 0 20px 40px; }
  .acc-head { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .acc-head:focus-visible { outline: 1px solid var(--silver); outline-offset: 4px; }
  .acc-sign { display: block; position: relative; width: 14px; height: 14px; margin-left: auto; flex: none; }
  .acc-sign::before, .acc-sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--silver); transition: transform .3s ease; }
  .acc-sign::after { transform: rotate(90deg); }
  .acc.open .acc-sign::after { transform: rotate(0deg); }
  .acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
  .acc-body > * { overflow: hidden; min-height: 0; }
  .acc.open .acc-body { grid-template-rows: 1fr; }
}

.standards { display: flex; flex-wrap: wrap; gap: 24px; }
.standard { flex: 1 1 420px; padding: 32px; border: 1px solid rgba(195,202,214,0.25); display: flex; flex-direction: column; gap: 12px; }
.standard p:last-child { font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Verse */
.verse { padding: 100px var(--gutter) 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.verse-text { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(30px, 4vw, 52px); line-height: 1.2; }
.verse-text strong { font-style: normal; font-weight: 500; font-size: 1.5em; letter-spacing: 0.06em; color: #fff; white-space: nowrap; }
@media (max-width: 767px) { .verse-text { font-size: 26px; } .verse-text strong { font-size: 1.35em; } }

/* Wheel strip: compact add-on */
.wheel { padding: 40px 0 48px; }
.wheel .section-head { margin-bottom: 30px; align-items: center; }
.wheel .section-head > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.wheel h2 { font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.wheel h2 em { font-style: italic; }
.strip-controls { display: flex; gap: 6px; }
.strip-btn { width: 36px; height: 36px; border: 1px solid var(--silver-line); background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.strip-btn:hover { border-color: var(--silver); background: rgba(195,202,214,0.08); }

.strip-outer { position: relative; }
.timeline { position: absolute; left: 0; right: 0; top: -14px; height: 1px; background: var(--silver-line); }
.strip {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 12px;
  scrollbar-width: thin; scrollbar-color: var(--silver-line) transparent;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  cursor: grab;
}
.strip:active { cursor: grabbing; }
.strip::-webkit-scrollbar { height: 4px; }
.strip::-webkit-scrollbar-thumb { background: var(--silver-line); border-radius: 2px; }
.card {
  flex: 0 0 300px; scroll-snap-align: start; position: relative;
  display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 2px;
  padding: 10px; border: 1px solid rgba(195,202,214,0.14); background: rgba(255,255,255,0.02);
}
.card::before { content: ""; position: absolute; top: -18px; left: 10px; width: 1px; height: 8px; background: var(--silver); }
.card img { grid-row: 1 / 4; width: 84px; height: 104px; object-fit: cover; background: var(--navy-deep); }
.card .date { font-family: var(--serif); font-size: 14px; color: var(--silver); }
.card h3 { font-size: 18px; line-height: 1.2; }
.card p { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); align-self: start; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-closing { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 16px; flex-basis: 320px; }
.card-closing h3 { font-size: 17px; line-height: 1.3; }
.card-closing p { display: none; }
.text-link { font-size: 11px; letter-spacing: 0.24em; color: var(--ink); text-decoration: none; margin-top: 4px; }
.strip-end { flex: 0 0 8px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.contact-intro h2 { font-weight: 300; line-height: 1.1; }
.contact-intro .body { font-size: 16px; }
.email { font-size: 16px; }
.form { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.form .row { display: flex; flex-wrap: wrap; gap: 22px; }
.form .row label { flex: 1 1 200px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: 0.18em; color: var(--muted); }
.form input, .form select, .form textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(242,244,248,0.4); border-radius: 0;
  color: var(--ink); font: inherit; font-size: 16px; letter-spacing: 0; padding: 10px 0; outline: none;
}
.form select { background: var(--navy-band); }
.form select option { background: var(--navy-band); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: #fff; }
.honey { position: absolute; left: -9999px; }
.btn { align-self: flex-start; min-height: 48px; padding: 14px 36px; background: var(--silver); color: var(--navy); border: 0; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.24em; cursor: pointer; transition: background .2s; }
.btn:hover { background: #fff; }
.btn[disabled] { opacity: .6; cursor: default; }
.form-note { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* Footer */
.footer { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; color: #9AA6BD; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-scroll span { animation: none; } }

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .site-header { padding: 20px var(--gutter); }
  .menu-btn { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy-deep); border-top: 1px solid var(--silver-line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 18px var(--gutter); border-bottom: 1px solid rgba(195,202,214,0.12); }
  .nav .nav-contact { border-bottom: 1px solid rgba(195,202,214,0.12); padding-bottom: 18px; }
  .hero { padding: 100px var(--gutter) 90px; }
  .hero-content { gap: 28px; }
  .hero-logo { width: min(300px, 80vw); }
  .band, .section { padding: 56px 0; }
  .verse { padding: 72px var(--gutter) 40px; }
  .wheel { padding: 32px 0 40px; }
  h3 { font-size: 28px; }
  .standard { padding: 28px; }
  .card { flex-basis: 250px; grid-template-columns: 64px 1fr; column-gap: 12px; }
  .card img { width: 64px; height: 80px; }
  .card p { -webkit-line-clamp: 3; font-size: 12px; }
  .card-closing { flex-basis: 270px; gap: 4px; padding: 10px 14px; }
  .card-closing h3 { font-size: 15px; }
  .strip-controls { display: none; }
  .strip { padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-inline: var(--gutter); }
}
