@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* Layout: navy print band (header + hero) over warm paper, editorial 12-column grid with
   a narrow label column, navy band again for contact and footer.  */
:root {
  --deep: #0f2240;     /* bands */
  --navy: #13294b;     /* headings, ink */
  --blue: #2f6ea6;     /* second riso plate, accents */
  --sky: #c9dbee;      /* light text on navy */
  --paper: #f5f3ed;
  --sky-grad: linear-gradient(165deg, #ccdceb 0%, #a9c0dd 30%, #6f92c5 68%, #3464ad 100%);  /* from the original site */
  --paper-2: #ebe8df;  /* cards */
  --line: #d6d1c4;
  --text: #1e2533;
  --muted: #5d6676;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.125rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--paper); color: var(--navy); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 {
  font: 400 clamp(2.9rem, 6.4vw, 4.9rem)/0.92 var(--display);
  color: var(--navy); letter-spacing: .005em;
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.45; color: var(--navy); max-width: 46ch; letter-spacing: -.005em; }

/* Small label with a blue dot, like a print registration mark */
.eyebrow {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font: 500 .9375rem/1.4 var(--body); letter-spacing: .02em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 1rem/1 var(--body);
  padding: 13px 20px; border: 0; border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn-blue { background: var(--navy); color: #fff; }
.btn-blue:hover { background: var(--blue); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; padding: 16px 26px; font-size: 1.0625rem; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Top band: header + hero. Navy ends partway down the photo so it straddles onto paper. */
.top {
  --cut: clamp(90px, 16vw, 230px);
  background: var(--sky-grad) top / 100% calc(100% - var(--cut)) no-repeat, var(--paper);
  color: var(--navy);
}
.site-header { border-bottom: 1px solid rgba(19, 41, 75, .14); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--navy); color: var(--paper);
  font: 400 1.55rem/1 var(--display); letter-spacing: .02em; padding-top: 2px;
  box-shadow: 3px 3px 0 #fff;
}
.brand-text { font: 600 .875rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.brand:hover { color: var(--blue); }
.nav ul { display: flex; gap: clamp(18px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--navy); text-decoration: none; font-size: 1.0625rem; }
.nav a:hover { text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 22px; }
.header-email { color: var(--navy); font-size: .9375rem; text-decoration: none; }
.header-email:hover { text-decoration: underline; }

.hero { padding-top: clamp(32px, 5vw, 64px); }
.hero .wrap { container-type: inline-size; }
.hero-title {
  font: 400 clamp(3rem, 10.6cqi, 8.4rem)/.86 var(--display);
  color: var(--navy); letter-spacing: .004em;
  margin-left: -.03em;
}
/* The name leads; "Executive Advisory" sits under it as a descriptor, not part of the name */
.hero-descriptor { display: block; font-size: .56em; color: var(--blue); margin-top: .12em; }
.hero-meta {
  display: grid; gap: 18px 40px; align-items: start;
  margin: clamp(18px, 2.4vw, 28px) 0 clamp(32px, 4vw, 52px);
}
.tagline { font: 400 clamp(1.75rem, 3.2vw, 2.6rem)/1 var(--display); color: var(--navy); letter-spacing: .01em; margin: 0; max-width: 20ch; }
.hero-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; font-size: 1.0625rem; }
.hero-list a { color: var(--navy); text-decoration: none; display: flex; gap: 10px; align-items: baseline; }
.hero-list a::before { content: "↘"; color: var(--navy); font-size: .8em; }
.hero-list a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .hero-meta { grid-template-columns: 5fr 7fr; }
  .hero-list { padding-top: .35em; }
}
.hero-image { position: relative; isolation: isolate; }
.hero-image::after { /* offset navy keyline, matches the portrait */
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translate(clamp(8px, 1.2vw, 14px), clamp(8px, 1.2vw, 14px));
  border: 1.5px solid var(--navy); pointer-events: none;
}
.hero-image img { width: 100%; aspect-ratio: 1024 / 533; object-fit: cover; border: 1.5px solid var(--navy); }


/* Sections */
.section { padding: clamp(52px, 7vw, 88px) 0 0; }
.ruled .wrap { border-top: 1px solid var(--line); padding-top: clamp(44px, 6vw, 72px); }
.ruled { padding-top: clamp(52px, 7vw, 88px); }
.grid { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .grid > .eyebrow { grid-column: 1 / 4; padding-top: .9rem; align-self: start; }
  .grid > .col-main { grid-column: 4 / 13; }
}

/* Service cards */
.cards {
  list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0;
  display: grid; gap: 12px;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  background: var(--paper-2);
  padding: 24px 24px 28px;
  display: flex; flex-direction: column;
  scroll-margin-top: 24px;
}
.card .icon { width: 56px; height: 56px; flex: none; }
.icon path, .icon circle:not(.plate) { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .plate { fill: var(--blue); opacity: .55; stroke: none; }
.icon .dash { stroke-dasharray: 3 3.5; }
.card h3 { font: 400 2.1rem/1 var(--display); color: var(--navy); letter-spacing: .01em; margin: 32px 0 14px; min-height: 2em; display: flex; align-items: flex-end; }
.card p { font-size: 1.0625rem; line-height: 1.6; margin: 0; color: var(--text); }
.card:target { outline: 2px solid var(--blue); outline-offset: 0; }

/* About */
.about-split { display: grid; gap: 40px; margin-top: clamp(32px, 4.5vw, 52px); }
@media (min-width: 900px) {
  .about-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .portrait { grid-column: 1 / 6; position: sticky; top: 40px; }
  .about-text { grid-column: 7 / 13; }
}
.about-text p { max-width: 62ch; }
.about-text p:last-child { margin-bottom: 0; }

.portrait { max-width: 420px; }
.portrait-frame { position: relative; isolation: isolate; margin-right: clamp(8px, 1.2vw, 14px); }
.portrait-frame::after { /* offset navy keyline, matches the hero */
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translate(clamp(8px, 1.2vw, 14px), clamp(8px, 1.2vw, 14px));
  border: 1.5px solid var(--navy); pointer-events: none;
}
.portrait img { display: block; width: 100%; height: auto; }
.portrait figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  margin-top: 30px; padding-top: 12px; border-top: 1px solid var(--navy);
  font-size: .9375rem; color: var(--muted);
}
.portrait figcaption span { color: var(--navy); font-weight: 600; }

/* At a glance table */
.glance-wrap { margin-top: clamp(40px, 5.5vw, 64px); }
.glance { margin: 0; border-top: 1px solid var(--navy); }
.glance div {
  display: grid; gap: 4px 24px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .glance div { grid-template-columns: minmax(140px, 1fr) 3fr; } }
.glance dt { font-size: .9375rem; color: var(--muted); padding-top: .15em; }
.glance dd { margin: 0; color: var(--navy); font-weight: 500; font-size: 1.1875rem; }

/* Contact: gradient panel (from the original site), then the form below on paper */
.contact-panel {
  background: var(--sky-grad);
  text-align: center;
  padding: clamp(36px, 5.5vw, 64px) clamp(20px, 5vw, 56px);
  display: flex; flex-direction: column; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  border: 1px solid var(--navy); border-radius: 999px; padding: 5px 14px;
  font: 500 .875rem/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
  background: rgba(255, 255, 255, .3);
}
.pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.contact h2 { color: var(--navy); font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin: 18px auto 22px; max-width: 18em; }
.email {
  display: inline-flex; gap: 10px; color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px;
  overflow-wrap: anywhere;
}
.email span { display: inline-block; text-decoration: none; }
.email:hover { color: var(--navy); }
.form-row { margin-top: clamp(40px, 5.5vw, 64px); }
.contact { padding-bottom: clamp(56px, 7.5vw, 96px); }
.contact-form { max-width: 760px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--blue); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 110, 166, .22); }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .9375rem; margin: 6px 0 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form-status { margin: 0; font-size: 1rem; }
.form-status.ok { color: #1f6b3a; font-weight: 500; }
.form-status.err { color: #b3261e; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer {
  background: var(--deep);
  color: var(--sky);
  padding: 28px 0 0; overflow: hidden;
  border-top: 1px solid rgba(201, 219, 238, .14);
}
.site-footer .wrap { container-type: inline-size; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .9375rem; }
.site-footer ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-meta { margin: 0; }
.footer-meta a { color: var(--sky); }
.footer-word {
  font: 400 18.8cqi/.8 var(--display); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 219, 238, .35);
  margin: clamp(32px, 5vw, 56px) 0 0; transform: translateY(14%);
  user-select: none;
}

/* Narrow screens */
@media (max-width: 899px) {
  .nav, .header-email { display: none; }
  .hero-title { font-size: clamp(3.4rem, 17cqi, 6rem); }
}
@media (max-width: 480px) {
  /* "Executive Advisory" is longer than the old "Consulting": keep the logo to two lines and the button on one */
  .brand-text { font-size: .75rem; letter-spacing: .04em; white-space: nowrap; }
  .header-inner { gap: 12px; }
  .header-cta .btn { white-space: nowrap; padding-inline: 14px; }
  .hero-list { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 20px; min-height: 0; }
}

/* Thanks and 404 pages */
.simple-page { min-height: 70vh; padding-bottom: 80px; }
.simple-page h1 { font: 400 clamp(3rem, 8vw, 5rem)/.95 var(--display); color: var(--navy); margin-bottom: 20px; }
.simple-page .lead { max-width: 52ch; margin-bottom: 32px; }

@media (max-width: 600px) {
  .hero-image img { aspect-ratio: 4 / 3; object-position: 72% 50%; }
}
