:root {
  --navy: #2c3e50;
  --navy-deep: #233242;
  --ink: #1f2a36;
  --body: #4a5562;
  --muted: #5c6773;
  --paper: #f6f4ef;
  --sand: #ece8df;
  --rule: #cfc8b8;
  --card-rule: #e2ddd2;
  --gold: #c2a460;
  --gold-text: #7a6128;
  --on-navy: #d5d9de;
  --on-navy-muted: #c3cad2;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--gold-text); }
a:hover { color: var(--navy); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

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

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.label {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
  font: inherit; font-size: 16px; text-decoration: none; border-radius: 2px; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 600; border: 0; }
.btn-gold:hover { background: #d4b97a; color: var(--navy); }
.btn-ghost { border: 1px solid #6b7b8c; color: #fff; font-weight: 500; }
.btn-ghost:hover { border-color: var(--gold); color: #fff; }

/* Header + hero */
.site-header { background: var(--navy); color: #e9e6de; }

.nav {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links a { color: var(--on-navy); text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  color: var(--navy); background: var(--gold); padding: 12px 18px; border-radius: 2px; font-weight: 500;
}
.nav-links .nav-cta:hover { background: #d4b97a; color: var(--navy); }

.hero {
  padding-top: 72px; padding-bottom: 112px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
}
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  margin: 0; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; font-weight: 300;
  letter-spacing: -0.02em; color: #fff;
}
.hero-lede { margin: 0; max-width: 620px; font-size: 20px; line-height: 1.6; color: var(--on-navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero-mark { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.hero-mark svg { width: 100%; max-width: 380px; height: auto; display: block; }

/* Products */
.products { padding-top: 112px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.product {
  flex: 1 1 460px; min-width: 0; background: #fff; border: 1px solid var(--card-rule); padding: 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
}
.product-icon {
  width: 112px; height: 112px; flex: 0 0 auto; border-radius: 26px; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.product-icon.intown { background: #e6eef6; }
.product-icon.intown img { height: 80px; width: auto; display: block; }
.product-icon > img.fill { width: 112px; height: 112px; display: block; }
.product-body { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.product h3 { margin: 0; font-size: 28px; font-weight: 500; color: var(--ink); }
.product-desc { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.status {
  margin: 0; padding-top: 6px; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-text);
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block;
}

/* Sand sections */
.band { background: var(--sand); }

.advisory { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 64px; }
.advisory-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.advisory-intro p:last-child { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body); }
.services { flex: 999 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.services li { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid var(--rule); }
.services li:last-child { border-bottom: 1px solid var(--rule); }
.services .num { font-family: var(--mono); font-size: 15px; color: var(--gold-text); min-width: 32px; }
.services h3 { margin: 0 0 6px; font-size: 21px; font-weight: 500; color: var(--ink); }
.services p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }

/* Work */
.work { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.case {
  flex: 1 1 400px; min-width: 0; border-top: 2px solid var(--navy); padding-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.case h3 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 500; color: var(--ink); }
.case > p:not(.label) { margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); }
.case-results { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 8px; }
.case-results p { margin: 0; font-family: var(--mono); font-size: 14px; line-height: 1.5; color: var(--gold-text); }

/* About */
.about { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px; }
.portrait {
  flex: 0 1 300px; min-width: 0; aspect-ratio: 4 / 5; background: var(--navy);
  display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden;
}
.portrait svg { width: 45%; height: auto; opacity: 0.9; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.portrait:has(img) { padding: 0; }
.about-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy > p:not(.eyebrow) { margin: 0; font-size: 18px; line-height: 1.7; color: var(--body); }
.history { display: flex; flex-wrap: wrap; margin-top: 12px; border-top: 1px solid var(--rule); }
.history div { flex: 1 1 160px; min-width: 0; padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.history .co { margin: 0; font-size: 18px; font-weight: 500; color: var(--ink); }
.history .what { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Contact */
.contact-band { background: var(--navy); color: #e9e6de; }
.contact { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 64px; }
.contact-intro { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-intro .eyebrow { color: var(--gold); }
.contact-intro h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.12; font-weight: 300; color: #fff; }
.contact-intro > p:not(.eyebrow) { margin: 0; font-size: 18px; line-height: 1.65; color: var(--on-navy); }
.contact-intro a { font-size: 20px; color: var(--gold); padding-top: 8px; overflow-wrap: anywhere; }
.contact-intro a:hover { color: #fff; }

.contact-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-navy-muted);
}
.field input,
.field textarea {
  font: inherit; font-size: 16px; color: #fff; background: var(--navy-deep);
  border: 1px solid #5e6e80; border-radius: 2px; width: 100%;
}
.field input { height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--gold); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 16px; color: var(--on-navy); min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #a9b3be; }
.footer-inner {
  padding-top: 36px; padding-bottom: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-inner img { height: 22px; width: auto; display: block; }
.footer-inner p { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }

@media (max-width: 640px) {
  .nav-links { gap: 16px 20px; font-size: 13px; }
  .hero { padding-top: 40px; padding-bottom: 72px; gap: 48px; }
  .hero-mark svg { max-width: 220px; }
  .products { padding-top: 72px; padding-bottom: 64px; gap: 40px; }
  .advisory, .work, .about, .contact { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .product { padding: 24px; }
  .portrait { flex-basis: 100%; max-width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
