/* TCOS Advisors — rebuilt Sep 29, 2026. No JavaScript; one self-hosted display font. */

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

:root {
  --ink: #16191c;
  --text: #3c4247;
  --muted: #646b72;
  --blue: #00537e;
  --blue-deep: #003a59;
  --gold: #e7b732;
  --paper: #ffffff;
  --mist: #f3f5f7;
  --line: #dfe4e8;
  --night: #0b0b0b;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

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

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--gold); color: var(--night);
  font-weight: 600; text-decoration: none; border-radius: 0 0 6px 6px;
}
.skip:focus { top: 0; }

/* Header */
.site-header { background: linear-gradient(#1e1e1e, #040404); color: #fff; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px;
  flex-wrap: wrap; padding-block: 18px;
}
.brand img { width: auto; height: 60px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.nav a, .footer-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav a:hover, .footer-nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(300px, 46vh, 460px); color: #fff; background: var(--night); }
.hero--home { min-height: clamp(420px, 70vh, 680px); align-items: center; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(4, 8, 12, 0.82) 0%, rgba(4, 8, 12, 0.6) 55%, rgba(4, 8, 12, 0.35) 100%);
}
.hero-content { padding-block: clamp(40px, 8vw, 88px); }
.eyebrow {
  margin: 0 0 12px; color: var(--gold);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero h1 { color: #fff; font-size: clamp(3rem, 8vw, 5.75rem); max-width: 14ch; }
.hero .lede { margin: 16px 0 0; max-width: 40ch; font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); color: rgba(255, 255, 255, 0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #f2c94e; color: var(--night); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-line { border-color: var(--blue); color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--mist { background: var(--mist); }
.section-title { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--blue); }
.section-title::before, .rule::before {
  content: ""; display: block; width: 56px; height: 4px; margin-bottom: 18px; background: var(--gold);
}
.intro { max-width: 68ch; }
.intro .section-title { margin-bottom: 20px; }
.intro p { font-size: 1.125rem; }

/* Tagline band */
.band { background: var(--blue); color: #fff; }
.band .wrap { padding-block: 26px; text-align: center; }
.band p { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.125rem); letter-spacing: 0.06em; }

/* Alternating feature rows */
.features { display: grid; gap: clamp(56px, 8vw, 96px); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(0, 30, 50, 0.45); }
.feature h2 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); color: var(--blue); margin-bottom: 18px; }
.feature h2::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 16px; background: var(--gold); }

/* About */
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile-photo { position: relative; }
.profile-photo img { width: 100%; border-radius: var(--radius); }
.profile-photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 3px solid var(--gold); border-radius: var(--radius);
}
.profile-card { position: sticky; top: 24px; isolation: isolate; }
.profile-name { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--blue); }
.profile-role { margin: 6px 0 24px; color: var(--muted); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.875rem; }
.checklist { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; background: var(--gold); }
.checklist strong { color: var(--ink); }

/* Services */
.service { display: grid; gap: 28px; }
.service + .service { margin-top: clamp(64px, 9vw, 112px); }
.service-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.service-art { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); background: #95c2b2; overflow: hidden; }
.service-art img { width: 100%; height: 100%; object-fit: cover; }
.service-art--small img { width: auto; height: auto; max-width: 92%; object-fit: contain; }
.service-head h2 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); color: var(--blue); margin-bottom: 14px; }
.service-head h2::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 16px; background: var(--gold); }
.service-head p { margin: 0; font-size: 1.125rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card { padding: 26px 24px 24px; background: var(--mist); border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); }
.card h3 { font-size: 1.75rem; color: var(--ink); margin-bottom: 10px; }
.card p { margin: 0; font-size: 1rem; }

/* Call to action */
.cta { background: var(--blue); color: rgba(255, 255, 255, 0.92); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(48px, 7vw, 80px); }
.cta h2 { color: #fff; font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 10px; }
.cta p { margin: 0; max-width: 60ch; font-size: 1.125rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-card { background: var(--night); color: rgba(255, 255, 255, 0.88); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); border-top: 5px solid var(--gold); }
.contact-card h2 { color: #fff; font-size: 2.25rem; margin-bottom: 18px; }
.contact-card address { font-style: normal; margin-bottom: 22px; }
.contact-card a { color: var(--gold); }
.contact-card a:hover { color: #f2c94e; }
.contact-card .btn-gold, .contact-card .btn-gold:hover { color: var(--night); }
.contact-card .btn-ghost { color: #fff; }
.contact-card .btn-ghost:hover { color: var(--gold); }
.contact-card .label { display: block; color: #fff; font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 404 */
.notfound { text-align: center; }
.notfound h1 { font-size: clamp(3rem, 9vw, 6rem); color: var(--blue); }
.notfound p { max-width: 46ch; margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto auto; gap: 24px 48px; align-items: start; padding-block: 48px 36px; }
.footer-logo { width: auto; height: 54px; }
.site-footer address { font-style: normal; }
.site-footer a { color: rgba(255, 255, 255, 0.86); }
.site-footer a:hover { color: var(--gold); }
.footer-nav { display: grid; gap: 2px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 18px 26px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }
.footer-base p { margin: 0; }

/* Small screens */
@media (max-width: 860px) {
  .feature, .profile, .service-head, .contact-grid, .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature-media, .service-art { max-width: 460px; }
  .profile-photo { max-width: 320px; }
  .profile-card { position: static; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header-inner { justify-content: center; padding-block: 16px 12px; }
  .brand img { height: 52px; }
  .nav { justify-content: center; gap: 2px 20px; }
  .nav a { font-size: 0.75rem; letter-spacing: 0.14em; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .site-header, .hero-img, .hero::after, .cta, .skip { display: none; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero h1, .hero .lede { color: var(--ink); }
}
