@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --navy: #071424;
  --navy-raised: #0c1c30;
  --ivory: #f3efe5;
  --gold: #b8914f;
  --gold-light: #d4b571;
  --gold-deep: #785a2d;
  --ink: #111a24;
  --ink-muted: #56616d;
  --text: #e9e5dc;
  --muted: #b9c2cc;
  --line: rgba(212, 181, 113, .24);
  --page-gutter: clamp(24px, 7vw, 110px);
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-logo: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
em, i, blockquote, q { font-family: var(--font-heading); font-style: italic; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
img { display: block; max-width: 100%; }

.site-header {
  min-height: 86px;
  padding: 12px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(7, 20, 36, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 13px; }
.brand { flex: 0 0 auto; }
.brand b, .footer-brand b { font-family: var(--font-logo); font-weight: 600; letter-spacing: .13em; }
.brand b { font-size: 2rem; line-height: 1.05; letter-spacing: .075em; }
.brand small { display: block; color: var(--gold-light); font-size: .75rem; letter-spacing: .09em; line-height: 1.35; margin-top: 3px; }
.mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: var(--ivory) url('assets/kiro-logo.png') center 21% / 330% auto no-repeat;
}
nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.55vw, 24px); font-size: .875rem; letter-spacing: .025em; }
nav a { color: #d5dbe2; transition: color .2s ease, border-color .2s ease; white-space: nowrap; }
nav a:hover { color: var(--gold-light); }
.nav-cta { border: 1px solid var(--gold); padding: 8px 15px; }
.nav-cta:hover { border-color: var(--gold-light); }
.menu { display: none; background: transparent; border: 1px solid var(--gold); color: var(--ivory); padding: 8px 13px; font: inherit; font-size: .875rem; cursor: pointer; }

.hero {
  min-height: max(690px, 100svh);
  position: relative;
  padding: 150px var(--page-gutter) 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,36,.98) 0%, rgba(7,20,36,.94) 58%, rgba(7,20,36,.68)); z-index: -1; }
.hero-glow { position: absolute; width: min(58vw, 760px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; right: -19vw; top: -13vw; box-shadow: 0 0 0 70px rgba(184,145,79,.025), 0 0 0 140px rgba(184,145,79,.018); z-index: -1; pointer-events: none; }
.hero-copy { width: min(100%, 850px); }
.kicker { margin: 0 0 18px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; line-height: 1.4; }
.hero h1, .section h2 { margin: 0; font-family: var(--font-heading); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(3.35rem, 6.5vw, 6.4rem); }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.lead { max-width: 670px; margin: 26px 0 30px; color: #c8d0da; font-size: 1.125rem; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; text-transform: uppercase; letter-spacing: .09em; font-size: .875rem; font-weight: 700; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.button.gold { background: var(--gold); color: #081322; border: 1px solid var(--gold); }
.button.gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button.ghost { border: 1px solid rgba(255,255,255,.42); color: var(--ivory); }
.button.ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.scroll { position: absolute; bottom: 28px; left: var(--page-gutter); color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; }
.scroll span { color: var(--gold-light); margin-left: 10px; }

.section { padding: clamp(82px, 9vw, 136px) var(--page-gutter); }
.section h2 { font-size: clamp(2.5rem, 4.6vw, 4.75rem); }
.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; border-top: 1px solid rgba(255,255,255,.09); }
.intro > p, .section-head > p { max-width: 580px; align-self: end; margin: 0; color: var(--muted); font-size: 1.0625rem; }
.service { display: grid; grid-template-columns: 64px 1.1fr .9fr; gap: 4vw; align-items: start; border-top: 1px solid rgba(255,255,255,.1); }
.number { color: var(--gold-light); font-family: var(--font-heading); font-size: 1.125rem; }
.service-body > p { margin: 0; color: #c0c8d1; font-size: 1.0625rem; }
.service ul { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.service li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-family: var(--font-heading); font-size: 1.125rem; line-height: 1.5; }
.light { background: var(--ivory); color: var(--ink); }
.light .kicker { color: var(--gold-deep); }
.light .service-body > p, .light .section-head > p { color: var(--ink-muted); }
.light .service ul, .light .service li { border-color: rgba(7,20,36,.18); }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.cap-grid { margin-top: 58px; display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 270px); gap: 18px; }
.cap-card { min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--navy-raised); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7,20,36,.18); }
.cap-card.large { grid-row: 1 / 3; }
.cap-card img { flex: 1 1 0; min-height: 0; width: 100%; height: 0; object-fit: cover; object-position: center; background: var(--navy-raised); }
.cap-card div { flex: 0 0 auto; padding: 14px 20px 16px; color: white; background: var(--navy-raised); border-top: 1px solid var(--line); }
.cap-card span { color: var(--gold-light); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; }
.cap-card h3 { margin: 6px 0 0; color: #fff; font-family: var(--font-heading); font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.2; font-weight: 400; }
.image-note { margin: 15px 0 0; color: var(--ink-muted); font-size: .8125rem; }
.steps { list-style: none; margin: 58px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: column; }
.steps li { position: relative; padding: 24px 10px 0 0; }
.steps li:before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.steps b { display: block; color: var(--gold-light); font-size: .75rem; letter-spacing: .12em; }
.steps span { font-family: var(--font-heading); font-size: 1.25rem; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.about-copy > p { color: var(--ink-muted); font-size: 1.0625rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border-top: 1px solid rgba(7,20,36,.18); }
.values span { padding: 14px 0; border-bottom: 1px solid rgba(7,20,36,.18); font-family: var(--font-heading); font-size: 1.0625rem; }
.leadership { grid-column: 1 / -1; margin-top: clamp(18px, 3vw, 42px); }
.leadership > h3 { margin: -6px 0 28px; font-family: var(--font-heading); font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 400; line-height: 1.2; }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leader-card { display: grid; grid-template-columns: minmax(130px, 35%) 1fr; min-width: 0; border: 1px solid rgba(7,20,36,.16); background: rgba(255,255,255,.28); }
.portrait-slot { min-height: 250px; overflow: hidden; background: var(--navy); }
.portrait-slot img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; object-position: center 30%; }
.leader-info { padding: clamp(18px, 2.2vw, 30px); align-self: center; }
.leader-role { margin: 0 0 5px; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; }
.leader-info h4 { margin: 0 0 12px; color: var(--ink); font-family: var(--font-heading); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 400; line-height: 1.2; }
.leader-info > p:last-child { margin: 0; color: var(--ink-muted); font-size: .9375rem; line-height: 1.65; }
.contact { display: grid; grid-template-columns: 1fr .8fr; gap: 9vw; align-items: center; }
.contact > div > p:last-child { max-width: 600px; color: #bdc6d0; }
.contact-form-wrap { min-width: 0; }
.contact-form-wrap form { display: grid; gap: 17px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); background: var(--navy-raised); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form-wrap label { display: grid; gap: 7px; color: var(--ivory); font-size: .9375rem; font-weight: 700; }
.contact-form-wrap label > span { display: inline; color: var(--gold-light); }
.contact-form-wrap label small { display: inline; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.contact-form-wrap input, .contact-form-wrap select, .contact-form-wrap textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.27); border-radius: 0; background: #071424; color: var(--ivory); font: 400 1rem/1.5 var(--font-body); }
.contact-form-wrap textarea { min-height: 140px; resize: vertical; }
.contact-form-wrap input:focus, .contact-form-wrap select:focus, .contact-form-wrap textarea:focus { outline: 2px solid var(--gold-light); outline-offset: 2px; border-color: var(--gold-light); }
.contact-form-wrap select { color-scheme: dark; }
.contact-form-wrap option { background-color: #fffdf8; color: #111a24; }
.form-submit { width: fit-content; min-width: 220px; font-family: var(--font-body); cursor: pointer; }
.form-note { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.form-note a, .contact-details a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.contact-details { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 16px; font-size: .9375rem; }
footer { padding: 42px var(--page-gutter); border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 28px; align-items: center; color: var(--muted); }
.footer-brand .mark { width: 42px; height: 42px; flex-basis: 42px; }
.footer-brand b { font-size: 1.6rem; letter-spacing: .075em; }
.footer-tagline { margin: 0; color: var(--gold-light); letter-spacing: .07em; font-size: .875rem; }
.footer-brands { display: grid; gap: 5px; font-size: .875rem; }
.footer-brands strong { margin-bottom: 3px; color: var(--gold-light); letter-spacing: .13em; font-size: .8125rem; }
.footer-brands a { width: fit-content; color: var(--muted); font-family: var(--font-logo); font-size: 1.08rem; line-height: 1.25; letter-spacing: .01em; transition: color .2s ease; }
.footer-brands a:hover { color: var(--gold-light); }
.footer-legal { display: flex; flex-direction: column; gap: 4px; font-size: .75rem; line-height: 1.5; }

@media (max-width: 1260px) {
  .site-header { min-height: 76px; }
  .brand small { display: none; }
  .menu { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px var(--page-gutter) 22px; background: #071424; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  nav.open { display: flex; }
  nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav .nav-cta { margin-top: 10px; padding: 9px 12px; border: 1px solid var(--gold); text-align: center; }
  .hero { min-height: max(660px, 100svh); padding-top: 130px; }
  .intro, .section-head, .about, .contact { grid-template-columns: 1fr; gap: 28px; }
  .service { grid-template-columns: 46px 1fr; gap: 3vw; }
  .service-body { grid-column: 2; }
  footer { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 900px) {
  .leader-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  :root { --page-gutter: 22px; }
  .site-header { min-height: 72px; gap: 14px; }
  .brand { gap: 10px; }
  .brand b { font-size: 1.2rem; letter-spacing: .075em; }
  .mark { width: 40px; height: 40px; flex-basis: 40px; }
  .hero { min-height: max(620px, 94svh); padding: 118px var(--page-gutter) 86px; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.1rem); }
  .lead { font-size: 1rem; margin: 22px 0 26px; }
  .actions { align-items: stretch; flex-direction: column; max-width: 360px; }
  .button { width: 100%; }
  .scroll { font-size: .6875rem; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section h2 { font-size: clamp(2.3rem, 10vw, 3.35rem); }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .service-body { grid-column: 1; }
  .cap-grid { grid-template-columns: 1fr; grid-template-rows: 330px 240px 240px; gap: 14px; margin-top: 36px; }
  .cap-card.large { grid-row: auto; }
  .steps { grid-template-columns: 1fr; margin-top: 35px; }
  .process .steps { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .process .steps li { min-width: 120px; padding: 13px 8px 13px 0; border-bottom: 1px solid var(--line); display: block; }
  .process .steps li:before { display: block; top: -5px; }
  .values { grid-template-columns: 1fr 1fr; }
  .leader-card { grid-template-columns: 112px 1fr; }
  .portrait-slot, .portrait-slot img { min-height: 220px; }
  .leader-info { padding: 16px; }
  .leader-info > p:last-child { font-size: .875rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 22px; padding-top: 36px; padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
