/* El Sea LLC — "Drawing Set" design
   Drafting paper, blueprint sheets, redline markup. */
:root {
  --paper: #f4f2ec;
  --paper-2: #ebe7dc;
  --ink: #0c1f3a;
  --ink-soft: #3d4c63;
  --muted: #6a7486;
  --blueprint: #0d2a52;
  --blueprint-deep: #081d3b;
  --cyan: #9cc3ff;
  --orange: #f26b21;
  --orange-dark: #cf5512;
  --rule: #0c1f3a;
  --hair: rgba(12, 31, 58, .16);
  --max: 1280px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --paper-grid:
    linear-gradient(rgba(12, 31, 58, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 31, 58, .06) 1px, transparent 1px);
  --bp-grid:
    linear-gradient(rgba(156, 195, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 195, 255, .09) 1px, transparent 1px),
    linear-gradient(rgba(156, 195, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 195, 255, .05) 1px, transparent 1px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
::selection { background: var(--orange); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: 1.3rem; line-height: 1.1; font-variation-settings: "wdth" 100; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; border-bottom: 1px solid var(--rule); }
.section--mist, .section--sand { background: var(--paper-2); }
.section--navy, .bp {
  background-color: var(--blueprint);
  background-image: var(--bp-grid);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  color: #c8d9f2;
  border-bottom-color: var(--blueprint-deep);
}
.section--navy h1, .section--navy h2, .section--navy h3, .bp h1, .bp h2, .bp h3 { color: #fff; }
.section--navy a, .bp a { color: #fff; }

/* Annotation label */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: "◆"; font-size: .6rem; }
.bp .eyebrow, .section--navy .eyebrow { color: var(--orange); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 44rem; }
.bp .lead, .section--navy .lead { color: #c8d9f2; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: 3rem; max-width: 60rem; }
.mono { font-family: var(--mono); }

/* Buttons: square, stamped */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1rem 1.4rem;
  font-family: var(--mono); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  background: var(--orange); color: #fff;
  border: 1.5px solid var(--orange);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
}
.btn::after { content: "→"; font-family: var(--sans); }
.btn:hover { color: #fff; background: var(--orange-dark); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--outline, .btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--outline:hover, .btn--ghost:hover { background: var(--ink); color: var(--paper); transform: none; box-shadow: none; }
.bp .btn, .section--navy .btn { box-shadow: 4px 4px 0 var(--cyan); }
.bp .btn--outline, .bp .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); box-shadow: none; }
.bp .btn--outline:hover { background: #fff; color: var(--blueprint); }
.text-link { font-family: var(--mono); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; }
.text-link::after { content: " →"; }

/* ---------- Header: drawing title strip ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1.5px solid var(--rule); }
.header-inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; padding-right: 1.25rem; border-right: 1px solid var(--hair); }
.brand img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.brand-text { font-family: var(--display); font-variation-settings: "wdth" 115; font-size: 1.15rem; color: var(--ink); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: .01em; }
.brand-text small { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; color: var(--orange-dark); font-weight: 500; margin-top: .35rem; }

.nav-toggle { display: none; background: none; border: 0; border-left: 1px solid var(--hair); padding: 0 1rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
.site-nav { display: flex; }
.site-nav ul { list-style: none; display: flex; align-items: stretch; margin: 0; padding: 0; }
.site-nav li { display: flex; }
.site-nav a {
  display: flex; align-items: center; padding: 0 .95rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  border-left: 1px solid var(--hair);
  position: relative;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: 18px; height: 2px; background: var(--orange); }
.site-nav li:last-child a { background: var(--ink); color: var(--paper); padding: 0 1.4rem; }
.site-nav li:last-child a:hover, .site-nav li:last-child a[aria-current="page"] { background: var(--orange); color: #fff; }
.site-nav li:last-child a[aria-current="page"]::after { display: none; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1.5px solid var(--rule); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav li { display: block; }
  .site-nav a { padding: 1.1rem 1.25rem; border-left: 0; border-top: 1px solid var(--hair); font-size: .85rem; }
  .site-nav a[aria-current="page"]::after { left: 0; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 0; overflow: hidden; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); padding-bottom: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(156,195,255,.3); }
.hero h1 { font-size: clamp(3rem, 10.5vw, 9.5rem); line-height: .86; letter-spacing: -.02em; margin: 0; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.redline { position: relative; display: inline-block; color: var(--orange); }
.redline svg { position: absolute; left: -6%; top: -12%; width: 112%; height: 124%; overflow: visible; pointer-events: none; }
.redline svg path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.6s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 900px) { .hero-body { grid-template-columns: 1fr; } }
.hero-body .lead { color: #dce8fa; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.drawing { border: 1px solid rgba(156,195,255,.45); border-bottom: 0; background: rgba(8,29,59,.35); }
.drawing svg { width: 100%; height: auto; display: block; }
.drawing-cap { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); padding: .6rem .9rem; border-top: 1px solid rgba(156,195,255,.45); }

/* Marquee */
.marquee { background: var(--orange); color: var(--ink); border-bottom: 1.5px solid var(--rule); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-variation-settings: "wdth" 120; font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem); padding: .95rem 0; }
.marquee span::after { content: "✕"; font-family: var(--mono); font-size: .9em; margin: 0 1.6rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .redline svg path { animation: none; stroke-dashoffset: 0; } }

/* Sheet index (services table) */
.sheet-index { border-top: 1.5px solid var(--rule); }
.sheet-row {
  display: grid; grid-template-columns: 7rem 1fr 1.3fr 2rem; gap: 1.5rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit; transition: background .2s, padding .2s;
}
.sheet-row:hover { background: var(--paper-2); padding-left: 1rem; padding-right: 1rem; color: inherit; }
.sheet-no { font-family: var(--mono); font-size: .8rem; color: var(--orange-dark); letter-spacing: .06em; }
.sheet-row h3 { font-size: clamp(1.3rem, 2.4vw, 2rem); margin: 0; }
.sheet-row p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.sheet-row .arrow { font-size: 1.5rem; color: var(--orange); text-align: right; }
@media (max-width: 760px) { .sheet-row { grid-template-columns: 1fr; gap: .4rem; } .sheet-row .arrow { display: none; } }

/* General notes (credentials) */
.notes { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; } }
.notes ol { list-style: none; counter-reset: note; margin: 0; padding: 0; }
.notes li { counter-increment: note; display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-top: 1px solid var(--hair); font-size: 1.05rem; }
.notes li:last-child { border-bottom: 1px solid var(--hair); }
.notes li::before { content: counter(note) "."; font-family: var(--mono); color: var(--orange-dark); font-weight: 600; }
.notes li strong { font-family: var(--display); font-variation-settings: "wdth" 110; text-transform: uppercase; font-weight: 800; letter-spacing: .01em; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(156,195,255,.35); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-step { padding: 2rem 1.5rem 0 0; border-right: 1px solid rgba(156,195,255,.2); counter-increment: step; }
.process-step:last-child { border-right: 0; }
.process { counter-reset: step; }
.process-step::before { content: "0" counter(step); display: block; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(4rem, 8vw, 7rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--cyan); margin-bottom: 1.5rem; }
.process-step h3 { color: var(--orange) !important; font-size: 1.5rem; }
.process-step p { font-size: .98rem; margin: 0 0 2rem; }

/* Chips → spec tags */
.chips { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.chips li { padding: .9rem 1.1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; flex: 1 1 auto; }
.chips li:hover { background: var(--ink); color: var(--paper); }

/* Founder */
.founder { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(260px, 420px) 1fr; align-items: start; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } }
.founder figure { margin: 0; border: 1.5px solid var(--rule); background: var(--paper); padding: .6rem; position: relative; }
.founder figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.founder figure:hover img { filter: none; }
.founder figcaption { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .6rem; color: var(--ink-soft); }
.founder blockquote { margin: 0 0 2rem; font-family: var(--display); font-variation-settings: "wdth" 108; text-transform: uppercase; font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: .95; color: var(--ink); }
.founder blockquote em { font-style: normal; color: var(--orange); }
.founder-meta { list-style: none; padding: 0; margin: 1.5rem 0 2rem; font-family: var(--mono); font-size: .85rem; }
.founder-meta li { padding: .7rem 0; border-top: 1px solid var(--hair); }
.founder-meta li:last-child { border-bottom: 1px solid var(--hair); }

/* Big CTA */
.big-cta { text-align: left; }
.big-cta a.huge {
  display: block; text-decoration: none; color: #fff;
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.2rem, 13vw, 12rem); line-height: .85; letter-spacing: -.02em;
  margin: 1rem 0 2rem;
}
.big-cta a.huge span { color: var(--orange); transition: margin .3s; display: inline-block; }
.big-cta a.huge:hover span { margin-left: .15em; }
.big-cta .mail { font-family: var(--mono); font-size: clamp(1rem, 2vw, 1.4rem); }

/* Hiring: RFI stamp */
.hiring { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; border: 1.5px dashed var(--orange); padding: 1.75rem 2rem; background: var(--paper); position: relative; }
.hiring p { margin: 0; color: var(--ink-soft); font-family: var(--mono); font-size: .85rem; }
.hiring strong { display: block; font-family: var(--display); font-variation-settings: "wdth" 110; text-transform: uppercase; font-weight: 800; color: var(--ink); font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1; margin-bottom: .5rem; }
.tag { display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--orange); padding: .3rem .6rem; margin-bottom: .9rem; transform: rotate(-2deg); }

/* ---------- Interior page header ---------- */
.page-hero {
  background-color: var(--blueprint);
  background-image: var(--bp-grid);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  color: #c8d9f2;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1.5px solid var(--rule);
}
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: .88; margin-bottom: .3em; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 42rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(156,195,255,.3); }

/* ---------- Cards → drawing panels ---------- */
.grid { display: grid; gap: 0; border-top: 1.5px solid var(--rule); border-left: 1.5px solid var(--rule); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--paper); border-right: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; }
.section--mist .card { background: var(--paper); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid var(--ink); color: var(--ink); margin-bottom: 1.5rem; }
.card .icon svg { width: 24px; height: 24px; }
.card--accent::before { content: ""; position: absolute; top: -1.5px; left: -1.5px; width: 40%; height: 4px; background: var(--orange); }
.card ul.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; font-family: var(--mono); font-size: .82rem; }
.card ul.ticks li { padding: .5rem 0; border-top: 1px dashed var(--hair); }
.card ul.ticks li::before { content: "+ "; color: var(--orange-dark); }

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.split img { border: 1.5px solid var(--rule); padding: .6rem; background: var(--paper); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: grayscale(.3); }

/* CTA band (interior pages) */
.cta-band {
  background-color: var(--blueprint); background-image: var(--bp-grid); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  color: #c8d9f2; border: 1.5px solid var(--rule);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band h2 { margin: 0 0 .3em; color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn { box-shadow: 4px 4px 0 var(--cyan); }

/* Services lists */
.service-list { list-style: none; padding: 0; margin: 1.25rem 0 0; font-family: var(--mono); font-size: .88rem; }
.service-list li { padding: .65rem 0; border-top: 1px dashed var(--hair); display: grid; grid-template-columns: 2.5rem 1fr; }
.service-list { counter-reset: svc; }
.service-list li::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); color: var(--orange-dark); }

/* Team */
/* Each card draws its own full border; negative margins collapse shared edges,
   so empty grid cells (e.g. a centred last row) don't show stray lines. */
.team-grid { display: grid; gap: 0; grid-template-columns: 1fr; padding: 1.5px 0 0 1.5px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  /* Last row of two: sit them under columns 2–3 */
  .team-grid .member:nth-child(4n + 1):nth-last-child(2) { grid-column: 2; }
}
.member { background: var(--paper); border: 1.5px solid var(--rule); margin: -1.5px 0 0 -1.5px; display: flex; flex-direction: column; }
.member img, .member .avatar { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-bottom: 1.5px solid var(--rule); filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.member:hover img { filter: none; }
.member .avatar { display: grid; place-items: center; background: var(--paper-2); font-family: var(--display); font-weight: 900; font-size: 4rem; filter: none; }
.member-body { padding: 1.5rem; }
.member-body h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.member-role { color: var(--orange-dark); font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.member-body p { font-size: .97rem; color: var(--ink-soft); }

/* Careers */
.job { background: var(--paper); border: 1.5px solid var(--rule); }
.job-header { padding: 2rem; background: var(--paper-2); border-bottom: 1.5px solid var(--rule); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.job-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.job-meta li { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; border: 1px solid var(--ink); padding: .3rem .65rem; }
.job-body { padding: 2rem; }
.job-body h3 { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.job-body ul { padding-left: 1.2rem; margin: 0; }
.job-body li { margin-bottom: .55rem; }
.job-body li::marker { color: var(--orange); content: "— "; }
details.req { border-top: 1px solid var(--rule); }
details.req:last-of-type { border-bottom: 1px solid var(--rule); }
details.req summary { cursor: pointer; list-style: none; padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-variation-settings: "wdth" 108; text-transform: uppercase; font-size: 1.15rem; color: var(--ink); font-weight: 800; }
details.req summary::-webkit-details-marker { display: none; }
details.req summary::after { content: "+"; font-family: var(--mono); font-size: 1.6rem; color: var(--orange); transition: transform .2s; }
details.req[open] summary::after { transform: rotate(45deg); }
details.req ul { padding-bottom: 1.25rem; }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: start; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.contact-item:last-child { border-bottom: 1px solid var(--rule); }
.contact-item svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: .2rem; }
.contact-item strong { display: block; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
form.card { border: 1.5px solid var(--rule); }
form .field { margin-bottom: 1.25rem; }
form label { display: block; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; color: var(--ink); }
form input, form textarea { width: 100%; font: inherit; padding: .85rem 0; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); }
form input:focus, form textarea:focus { outline: none; border-bottom-color: var(--orange); background: rgba(242,107,33,.05); }
form textarea { min-height: 140px; resize: vertical; }
.form-note { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-top: 1rem; }

.embed-frame { width: 100%; min-height: 850px; border: 1.5px solid var(--rule); background: #fff; }

.quote { border-left: 4px solid var(--orange); padding: .5rem 0 .5rem 1.25rem; margin: 2.5rem 0 0; font-family: var(--display); font-variation-settings: "wdth" 110; text-transform: uppercase; font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.quote cite { display: block; font-family: var(--mono); font-style: normal; font-weight: 400; font-size: .8rem; letter-spacing: .04em; color: var(--muted); margin-top: .4rem; }

/* ---------- Footer: title block ---------- */
.site-footer { background: var(--blueprint-deep); color: #a9bedc; font-size: .92rem; }
.footer-big { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(156,195,255,.5); font-size: clamp(2rem, 7.9vw, 9rem); line-height: .8; letter-spacing: -.02em; padding: 3rem 0 1.5rem; white-space: nowrap; overflow: hidden; }
.title-block { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; border: 1px solid rgba(156,195,255,.4); margin-bottom: 2.5rem; }
@media (max-width: 860px) { .title-block { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .title-block { grid-template-columns: 1fr; } }
.tb-cell { padding: 1.1rem 1.25rem; border-right: 1px solid rgba(156,195,255,.4); border-bottom: 1px solid rgba(156,195,255,.4); }
.tb-label { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); opacity: .8; margin-bottom: .5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .3rem; }
.footer-brand { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 800; text-transform: uppercase; color: #fff; font-size: 1.25rem; margin-bottom: .4rem; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(156,195,255,.4); }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 2rem; color: #7f96b8; }

/* ---------- Acronym dictionary ---------- */
.dict-search { border: 1.5px solid var(--rule); background: var(--paper); padding: 1.25rem 1.5rem 1rem; }
.dict-search label { display: block; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.dict-search input { width: 100%; border: 0; background: transparent; font-family: var(--display); font-variation-settings: "wdth" 110; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--ink); padding: .2rem 0; outline: none; }
.dict-search input::placeholder { color: rgba(12,31,58,.25); }
.dict-search:focus-within { border-color: var(--orange); box-shadow: 4px 4px 0 var(--orange); }
.dict-letters { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; background: var(--paper); border: 1.5px solid var(--rule); border-top: 0; }
.dict-letters a, .dict-letters span { flex: 1 0 auto; min-width: 2.1rem; text-align: center; padding: .55rem .2rem; font-family: var(--mono); font-size: .8rem; font-weight: 600; text-decoration: none; border-right: 1px solid var(--hair); }
.dict-letters a:hover { background: var(--ink); color: var(--paper); }
.dict-letters span { color: rgba(12,31,58,.2); }
.dict-count { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dark); margin: 2rem 0 .5rem; }
.dict-group { scroll-margin-top: 130px; }
.dict-letter { font-size: clamp(3rem, 7vw, 5rem); font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin: 2.5rem 0 .5rem; }
.dict dl { margin: 0; border-top: 1.5px solid var(--rule); }
.dict-row { display: grid; grid-template-columns: minmax(7rem, 13rem) 1fr; gap: .25rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--hair); }
.dict-row:hover { background: var(--paper-2); }
.dict-row dt { font-family: var(--display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.dict-row dd { margin: 0; color: var(--ink-soft); }
.dict-cat { display: inline-block; margin-left: .75rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hair); padding: .1rem .45rem; vertical-align: middle; }
.dict mark { background: rgba(242,107,33,.22); color: inherit; padding: 0 .05em; }
.dict-empty { font-family: var(--mono); font-size: .9rem; padding: 2rem; border: 1.5px dashed var(--orange); text-align: center; }
@media (max-width: 600px) { .dict-row { grid-template-columns: 1fr; } .dict-cat { display: table; margin: .4rem 0 0; } .dict-letters { position: static; } }

/* Team cards link to LinkedIn (photo + bio) */
.member-link, .member-link * { text-decoration: none; }
.member-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.member-link:hover, .member-link:focus-visible { color: inherit; }
.member-link:hover h3, .member-link:focus-visible h3 { color: var(--orange-dark); }
.member-link:hover img, .member-link:focus-visible img { filter: none; }
.member-link:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
