@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
/* GenCo Alliance — local draft site
   Type: IBM Plex Sans (body), Barlow / Barlow Condensed (display)
   Palette: navy, charcoal, warm paper, amber accent
*/

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1a28;
  --navy-deep: #07121c;
  --navy-mid: #122536;
  --navy-soft: #1b3348;
  --ink: #15202a;
  --text: #1a242c;
  --text-secondary: #4a5660;
  --muted: #5e6973;
  --muted-on-dark: #9aa5b0;
  --paper: #f4f1ec;
  --paper-2: #ebe7e0;
  --cream: #fbf9f6;
  --white: #ffffff;
  --line: #d8d2c8;
  --line-dark: #2a3e50;
  --amber: #d4a017;
  --amber-deep: #b8860b;
  --amber-soft: #e8c56b;
  --header-h: 72px;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --shadow: 0 1px 2px rgba(11, 26, 40, 0.06), 0 12px 32px rgba(11, 26, 40, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Barlow", "Helvetica Neue", sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--amber);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 18, 28, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

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

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
  min-width: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  color: var(--paper);
  flex: 0 0 auto;
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-family: "Barlow", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-on-dark);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--amber);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 18, 28, 0.15) 0%, rgba(7, 18, 28, 0.35) 100%),
    linear-gradient(90deg, rgba(212, 160, 23, 0.05) 0%, transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 39px,
      rgba(30, 58, 82, 0.45) 39px,
      rgba(30, 58, 82, 0.45) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 39px,
      rgba(30, 58, 82, 0.45) 39px,
      rgba(30, 58, 82, 0.45) 40px
    );
  z-index: -2;
  pointer-events: none;
}

.hero-inner {
  width: min(1200px, 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.85rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.15rem;
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.15rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.005em;
  max-width: 11ch;
  margin: 0 0 1.15rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: #c5d0d8;
  max-width: 36em;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: #4a6578;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--amber);
  color: var(--white);
}

.hero-art {
  position: relative;
}

.hero-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.hero-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0 28%, transparent 28%);
}

/* ---------- Shared section chrome ---------- */

.section {
  padding: clamp(4rem, 8vw, 6.25rem) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 0.85rem;
}

.section-label::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--amber);
}

.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  max-width: 18ch;
  margin-bottom: 0.7em;
}

.section-intro {
  max-width: 40em;
  color: var(--text-secondary);
  font-size: 1.08rem;
  margin-bottom: 2.5rem;
}

/* ---------- Services ---------- */

.services {
  background: var(--paper);
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.35rem;
  padding: 1.65rem 0.15rem;
  border-bottom: 1px solid var(--line);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service h3 {
  font-family: "Barlow", "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0.15rem 0 0.4rem;
}

.service p {
  color: var(--text-secondary);
  max-width: 46em;
}

@media (min-width: 800px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    border-top: 0;
  }

  .service {
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  /* last odd item keeps left alignment */
  .service:last-child:nth-child(odd) {
    grid-column: 1;
  }
}

/* ---------- Background / Why Tim ---------- */

.background {
  background: var(--navy-deep);
  color: #d5dde4;
}

.background .section-label {
  color: var(--amber);
}

.background h2 {
  color: var(--white);
  max-width: 22ch;
}

.background-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.background-copy p {
  margin-bottom: 1.15em;
  font-size: 1.08rem;
}

.facts {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0;
  padding: 0.25rem 0 0;
}

.facts div {
  border-left: 3px solid var(--amber);
  padding: 0.15rem 0 0.15rem 1.15rem;
}

.facts dt {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 0.25rem;
}

.facts dd {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 0.98rem;
}

/* ---------- Nuclear / critical power ---------- */

.experience {
  background: var(--cream);
}

.experience-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.experience-visual {
  background: var(--navy);
  position: relative;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.experience-visual svg {
  width: min(100%, 340px);
  height: auto;
  color: #c9d5df;
}

.experience-copy {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.experience-copy h2 {
  max-width: 16ch;
}

.experience-copy .pull {
  font-size: 1.15rem;
  color: var(--text);
  border-left: 3px solid var(--amber);
  padding-left: 1.15rem;
  margin: 0 0 1.25rem;
}

/* ---------- Who I work with ---------- */

.audience {
  background: var(--paper);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  padding: 1.6rem 1.45rem 1.7rem;
}

.card h3 {
  font-family: "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--navy);
  color: #d5dde4;
}

.contact .section-label {
  color: var(--amber);
}

.contact h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.contact .section-intro {
  color: #c5d0d8;
  margin-bottom: 1.75rem;
}

.contact-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-methods li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-dark);
}

.contact-methods .label {
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact-methods a {
  color: var(--white);
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  word-break: break-word;
}

.contact-methods a:hover {
  color: var(--amber-soft);
}

.contact-note {
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0 1.6rem;
  font-size: 0.88rem;
}

.footer-inner {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.site-footer strong {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.98rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner,
  .background-grid,
  .experience-panel,
  .contact-grid,
  .audience-cards {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-art {
    order: -1;
    max-width: 560px;
  }

  .experience-visual {
    min-height: 200px;
  }

  .background-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: auto;
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 0 0.75rem;
    gap: 0.7rem;
  }

  .nav {
    justify-content: flex-start;
    gap: 0.15rem 1rem;
    width: 100%;
  }

  .nav {
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .nav a {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .facts dt {
    font-size: 1.45rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

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

@media (max-width: 480px) {
  .logo-text { font-size: 1.25rem; }
  .logo-mark { width: 34px; height: 34px; }
}
