/* Shanks Tech public site. Palette from the Shanks Tech logo. */
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semi-condensed-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semi-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --mist: #F2F4F6;
  --line: #D8DDE3;
  --ink: #011F43;
  --slate: #44566D;
  --teal: #00748A;
  --teal-logo: #008298;
  --orange: #E85E06;
  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal-logo); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--teal-logo); color: var(--ink); }
@media (max-width: 760px) {
  .nav { display: none; }
  .brand img { height: 32px; }
  .site-header .wrap { height: 64px; }
}

/* Hero */
.hero { padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 8vw, 96px); }
.hero h1 {
  font-style: italic; font-weight: 700; text-transform: none;
  font-size: clamp(3.1rem, 9.5vw, 7.5rem); line-height: 0.95; letter-spacing: -0.015em;
  max-width: 12ch;
}
.hero h1 span { display: block; }
.bolt-rule { display: flex; align-items: center; gap: 0; margin: clamp(22px, 3vw, 34px) 0 clamp(28px, 4vw, 40px); max-width: 640px; height: 14px; }
.bolt-rule i { display: block; height: 5px; }
.bolt-rule .t { flex: 1.25; background: var(--teal-logo); clip-path: polygon(0 40%, 100% 0, 98.5% 100%, 0 70%); }
.bolt-rule svg { flex: none; width: 18px; height: 26px; margin: 0 6px; }
.bolt-rule .o { flex: 1; background: var(--orange); clip-path: polygon(1.5% 0, 100% 35%, 100% 60%, 0 100%); }
.hero .lede { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.5; color: var(--slate); max-width: 40em; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: 15px 22px; border-radius: 4px; text-decoration: none; border: 1.5px solid var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0A3164; border-color: #0A3164; color: #fff; }
.btn-quiet { color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--mist); color: var(--ink); }

/* Who we serve strip */
.serve { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.serve .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 36px; padding-top: 22px; padding-bottom: 22px; }
.serve h2 { font-size: 1.05rem; font-style: italic; color: var(--slate); font-weight: 600; }
.serve ul { display: flex; flex-wrap: wrap; gap: 8px 32px; list-style: none; margin: 0; padding: 0; font-weight: 500; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-style: italic; }
.section-head p { color: var(--slate); margin: 0; max-width: 34em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Services: hairline grid, not cards */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.service { padding: 30px 40px 34px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(even) { padding: 30px 0 34px 40px; border-left: 1px solid var(--line); }
.service h3 { font-size: 1.6rem; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.service h3 svg { width: 26px; height: 26px; flex: none; color: var(--teal-logo); }
.service p { color: var(--slate); margin: 0; max-width: 32em; }
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 26px 0 28px; border-left: 0; }
}
.platforms { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; color: var(--slate); }
.platforms strong { color: var(--ink); font-weight: 600; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }

/* Louisiana */
.local-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.local-grid h3 { font-size: 1.45rem; margin-bottom: 12px; padding-top: 18px; border-top: 3px solid var(--teal-logo); }
.local-grid div:nth-child(2) h3 { border-top-color: var(--ink); }
.local-grid div:nth-child(3) h3 { border-top-color: var(--orange); }
.local-grid p { color: var(--slate); margin: 0; }
@media (max-width: 860px) { .local-grid { grid-template-columns: 1fr; gap: 32px; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: start; }
.thesis { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; margin: 0 0 28px; color: var(--ink); }
.about-body p { color: var(--slate); max-width: 36em; }
.lineage { border-left: 2px solid var(--line); padding-left: 28px; }
.lineage h3 { font-size: 1.15rem; font-style: italic; color: var(--slate); font-weight: 600; margin-bottom: 14px; }
.lineage ul { list-style: none; margin: 0; padding: 0; }
.lineage li { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.25; }
.lineage .arrow { margin-top: 18px; color: var(--slate); }
.lineage .arrow strong { color: var(--ink); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .lineage { border-left: 0; padding-left: 0; border-top: 2px solid var(--line); padding-top: 24px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px 72px; }
.contact h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-style: italic; margin-bottom: 18px; }
.contact .intro { color: var(--slate); max-width: 30em; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 18px 28px; align-content: start; }
.contact dt { font-weight: 600; color: var(--slate); font-size: 0.95rem; padding-top: 3px; }
.contact dd { margin: 0; }
.contact dd a { font-weight: 600; font-size: 1.15rem; }
.contact address { font-style: normal; }
sup a { text-decoration: none; font-weight: 600; padding: 0 2px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact dl { grid-template-columns: 1fr; gap: 4px; } .contact dd { margin-bottom: 14px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 0.95rem; color: var(--slate); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: flex-start; margin-bottom: 28px; }
.foot-top img { height: 34px; width: auto; }
.foot-top p { margin: 10px 0 0; font-family: var(--display); font-style: italic; font-weight: 600; color: var(--ink); font-size: 1.15rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; }
.foot-links a { color: var(--ink); }
.footnotes { border-top: 1px solid var(--line); padding-top: 20px; font-size: 0.88rem; line-height: 1.55; }
.footnotes p { margin: 0 0 8px; max-width: 80ch; }

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-style: italic; margin-bottom: 8px; }
.legal .updated { color: var(--slate); margin-bottom: 36px; }
.legal h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #23344D; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: 6px; }
.legal table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 0.97rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; background: var(--mist); }
.table-scroll { overflow-x: auto; }

/* 404 */
.lost { padding: clamp(48px, 8vw, 96px) 0; }
.lost .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; }
.lost h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-style: italic; margin-bottom: 16px; }
.lost p { color: var(--slate); }
@media (max-width: 700px) { .lost .wrap { grid-template-columns: 1fr; } .lost img { max-width: 200px; } }

/* Cookie notice */
.cookie-note {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 560px; margin-left: auto;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--teal-logo);
  border-radius: 6px; box-shadow: 0 10px 30px rgba(1,31,67,0.14);
  padding: 18px 20px; font-size: 0.95rem; line-height: 1.5;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; flex: 1 1 280px; color: var(--slate); }
.cookie-note button { font: 600 0.95rem/1 var(--body); background: var(--ink); color: #fff; border: 0; border-radius: 4px; padding: 12px 18px; cursor: pointer; }
.cookie-note button:hover { background: #0A3164; }

@media print { .site-header, .cookie-note { display: none; } body { font-size: 11pt; } }
