/* Kamalta Enterprises Ltd: brand rules live in CLAUDE.md. Gold is flat and
   stays off small text on white. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-semibold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 800; font-display: swap; src: url("fonts/barlow-extrabold.woff2") format("woff2"); }

:root {
  --navy: #0C2340;
  --navy-2: #133158;
  --gold: #C49A3A;
  --gold-light: #E3C77F;
  --steel: #4F5B66;
  --ink: #1B2733;
  --line: #DCE1E6;
  --tint: #F4F6F8;
  --white: #FFFFFF;
  --radius: 4px;
  --wrap: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 "Barlow", Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; line-height: 1.15; }
p { margin: 0; }

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

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; letter-spacing: .02em; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn .meta { font-size: 12px; letter-spacing: .12em; opacity: .75; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(12,35,64,.06); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.wordmark { display: flex; flex-direction: column; align-items: center; color: var(--navy); line-height: 1; }
.wm-name { font-weight: 800; font-size: 26px; letter-spacing: .08em; text-transform: uppercase; }
.wm-sub { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-weight: 600; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--steel); }
.wm-sub::before, .wm-sub::after { content: ""; width: 14px; height: 1.5px; background: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--steel); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--navy); border-color: var(--gold); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); padding: 88px 0 120px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.descriptor { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.descriptor span { font-size: 9px; vertical-align: 2px; margin: 0 6px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.01em; }
.hero .lead { margin-top: 24px; font-size: 19px; color: rgba(255,255,255,.82); max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.glance { background: var(--white); color: var(--ink); border-radius: var(--radius); border-top: 4px solid var(--gold); padding: 28px 28px 12px; }
.glance h2 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.glance dl { margin: 0; }
.glance dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.glance dt { color: var(--steel); font-weight: 600; font-size: 14px; }
.glance dd { margin: 0; font-size: 15px; line-height: 1.45; }
.glance a { font-weight: 600; text-decoration: none; }
.glance a:hover { text-decoration: underline; }

/* The road from the emblem: a gold carriageway with dashed lane marks. */
.road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  background: var(--gold);
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, var(--white) 0 44px, transparent 44px 80px);
}

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.num { font-weight: 800; color: var(--navy); font-size: 15px; letter-spacing: .14em; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.num::after { content: ""; width: 40px; height: 3px; background: var(--gold); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.intro { margin-top: 16px; font-size: 19px; color: var(--steel); }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 28px; transition: border-color .2s ease, box-shadow .2s ease; }
.service:hover { border-top-color: var(--gold); box-shadow: 0 8px 24px rgba(12,35,64,.08); }
.service h3 { font-size: 22px; margin-bottom: 16px; }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid var(--line); color: var(--steel); font-size: 16px; line-height: 1.45; }
.service li:first-child { border-top: 0; }
.service li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; background: var(--gold); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--gold); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: 32px; color: var(--navy); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--steel); font-size: 16px; }

.standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy); }
.standard { padding: 28px 28px 0 0; }
.standard + .standard { padding-left: 28px; border-left: 1px solid var(--line); }
.standard h3 { font-size: 20px; margin-bottom: 10px; }
.standard p { color: var(--steel); font-size: 16px; }

.callouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.callout { background: var(--navy); color: var(--white); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 32px; font-size: 20px; line-height: 1.5; }
.callout-label { color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.values { margin: 0; border-top: 1px solid var(--line); }
.values div { display: grid; grid-template-columns: 12em 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.values dt { font-weight: 700; color: var(--navy); }
.values dd { margin: 0; color: var(--steel); }

/* Contact */
.contact { background: var(--navy); color: var(--white); padding: 88px 0; border-top: 4px solid var(--gold); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.contact h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 40px); }
.contact-grid > div p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.8); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 11em 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-list li:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.contact-label { color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.contact-list a { color: var(--white); font-size: 21px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-light); }

.site-footer { background: #081A31; color: rgba(255,255,255,.7); padding: 24px 0; font-size: 14px; }
.footer-row { display: flex; align-items: center; gap: 16px; }

/* Tablet */
@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services, .steps { grid-template-columns: 1fr 1fr; }
  .standards { grid-template-columns: 1fr; border-top: 0; }
  .standard, .standard + .standard { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .standard:first-child { border-top: 3px solid var(--navy); }
}

/* Phone */
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 42px; height: 42px; }
  .wm-name { font-size: 22px; }
  .wm-sub { font-size: 8.5px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 12px; margin-right: -12px;
    background: none; border: 0; color: var(--navy); font: 600 15px "Barlow", Arial, sans-serif; cursor: pointer;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: transform .2s ease, background-color .2s ease; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .nav-open .menu-bars { background: transparent; }
  .nav-open .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(12,35,64,.1);
    padding: 8px 16px 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a:not(.btn):hover { border-color: var(--line); }
  .site-nav .btn { margin-top: 16px; justify-content: center; min-height: 48px; }

  .hero { padding: 48px 0 84px; }
  .descriptor { font-size: 12px; letter-spacing: .12em; }
  .descriptor span { margin: 0 3px; }
  .hero .lead { font-size: 17px; }
  .actions .btn { width: 100%; justify-content: center; }
  .glance { padding: 22px 20px 8px; }
  .glance dl div { grid-template-columns: 1fr; gap: 2px; }
  .road { height: 22px; }
  .road::after { height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, var(--white) 0 28px, transparent 28px 52px); }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .intro { font-size: 17px; }
  .services, .steps, .callouts { grid-template-columns: 1fr; gap: 16px; }
  .service, .steps li { padding: 22px 20px; }
  .callout { padding: 24px 20px; font-size: 18px; }
  .values div { grid-template-columns: 1fr; gap: 4px; }
  .contact { padding: 64px 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .contact-list a { font-size: 19px; }
}
