/*
Theme Name: Blue Current
Theme URI: https://bluecurrentllc.com
Author: Blue Current LLC
Description: Marine contracting theme for Blue Current LLC. Design system derived from the company logo: chrome-beveled display type, brushed-steel name plate, deep-water navy field, cyan rim-light and trident detailing. Built for commercial diving, underwater bridge inspection and marine construction firms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluecurrent
Tags: business, custom-logo, custom-menu, one-column, two-columns, editor-style, full-width-template
*/

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Sampled directly from the logo (k-means, alpha > 200) */
  --abyss:        #020306;   /* 26.3% — outer shadow / deepest black-navy   */
  --hull:         #061224;   /* page ground                                 */
  --deep:         #081831;   /* 11.4% — deep water                          */
  --steel-navy:   #0E2748;   /* raised panel                                */
  --slate:        #1E395C;   /*  7.6% — helmet shadow                       */
  --blue-700:     #094FA7;   /*  6.8% — deep brand blue                     */
  --blue-500:     #0A84E4;   /*  8.0% — primary brand blue                  */
  --cyan:         #27D0F9;   /*  6.4% — trident glow / water highlight      */
  --chrome-100:   #F2F7FA;
  --chrome-300:   #DFE9EB;   /*  7.9% — polished chrome highlight           */
  --chrome-500:   #A4ABB6;   /* 12.1% — brushed steel body                  */
  --chrome-700:   #667992;   /* 11.6% — steel shadow / muted text           */
  --brass:        #E8BD4E;   /*  2.1% — helmet hardware, brass fittings      */

  --ink:          var(--chrome-100);
  --ink-muted:    #9FB3C8;
  --rule:         rgba(164, 171, 182, .18);

  /* Type */
  --font-display: "Anton", "Arial Black", "Haettenschweiler", Impact, sans-serif;
  --font-plate:   "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --sect: clamp(4rem, 9vw, 7.5rem);
  --r: 4px;

  /* Signature surfaces */
  --chrome-bevel: linear-gradient(180deg,
      #FFFFFF 0%, var(--chrome-300) 18%, var(--chrome-500) 46%,
      #7C8899 54%, var(--chrome-300) 78%, #FFFFFF 100%);
  --plate: linear-gradient(180deg, #C9D4DE 0%, #8B98A8 42%, #6B7A8C 58%, #B7C4D0 100%);
  --glow-cyan: 0 0 0 1px rgba(39,208,249,.5), 0 0 28px rgba(39,208,249,.28);
}

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--hull);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--cyan); color: var(--abyss); font-weight: 700;
  padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* ---------- 3. LOGO-DERIVED TYPE TREATMENTS ------------------------------ */

/* Beveled chrome wordmark — mirrors the "BLUE" lettering */
.chrome {
  background: var(--chrome-bevel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(2,3,6,.6)) drop-shadow(0 0 18px rgba(39,208,249,.20));
}

/* Brush-script blue — mirrors the "CURRENT" lettering */
.current {
  background: linear-gradient(180deg, #7FE4FF 0%, var(--cyan) 38%, var(--blue-500) 74%, var(--blue-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(2,3,6,.55)) drop-shadow(0 0 22px rgba(39,208,249,.35));
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .01em;
}

/* Wide-tracked plate lettering — mirrors "MARINE CONTRACTING" */
.eyebrow {
  font-family: var(--font-plate);
  font-weight: 600;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .34em;
  color: var(--cyan);
  margin: 0 0 1rem;
  display: block;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: .005em;
}
.section-head p { color: var(--ink-muted); margin-top: 1.1rem; font-size: 1.075rem; }

/* Trident divider — the mark at the foot of the logo badge */
.trident { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- 4. HEADER ---------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(2,3,6,.96), rgba(6,18,36,.90));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(39,208,249,.16), 0 12px 34px rgba(0,0,0,.5);
}
.masthead .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .7rem 0; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .85rem; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type .n1 {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: 1.28rem; letter-spacing: .02em;
}
.brand-type .n2 {
  font-family: var(--font-plate); font-weight: 600; text-transform: uppercase;
  font-size: .625rem; letter-spacing: .3em; color: var(--chrome-500); margin-top: .32rem;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--font-plate); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .13em; color: var(--chrome-300);
  padding: .35rem 0; border-bottom: 2px solid transparent; transition: .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cyan); border-bottom-color: var(--cyan); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: var(--r); color: var(--chrome-300); padding: .5rem .6rem; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- 5. BUTTONS --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-plate); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .16em;
  padding: .95rem 1.9rem; border-radius: var(--r); border: 1px solid transparent;
  transition: .22s ease; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  color: #fff; border-color: rgba(39,208,249,.55);
  box-shadow: 0 6px 22px rgba(10,132,228,.35), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { box-shadow: var(--glow-cyan), 0 8px 26px rgba(10,132,228,.45); transform: translateY(-1px); }
.btn-steel {
  background: linear-gradient(180deg, rgba(164,171,182,.16), rgba(102,121,146,.10));
  color: var(--chrome-100); border-color: var(--rule);
}
.btn-steel:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- 6. HERO ------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4.5rem, 11vw, 9rem) 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("assets/images/photo1.jpg") center 28% / cover no-repeat;
  transform: scale(1.06);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(39,208,249,.14), transparent 62%),
    linear-gradient(100deg, rgba(2,3,6,.92) 0%, rgba(6,18,36,.78) 42%, rgba(8,24,49,.48) 100%),
    linear-gradient(to top, var(--hull) 1%, transparent 40%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hero h1 {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(2.6rem, 7.2vw, 5.2rem); letter-spacing: .005em; margin-bottom: 1.4rem;
}
.hero h1 .l2 { display: block; }
.hero-lede { font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: #C7D7E6; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* Logo held in a steel ring with cyan rim-light — echoes the badge */
.hero-emblem { display: flex; justify-content: center; }
.emblem-ring {
  position: relative; width: min(420px, 78vw); aspect-ratio: 1;
  display: grid; place-items: center;
}
.emblem-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(39,208,249,.22), transparent 66%);
  filter: blur(6px);
}
.emblem-ring img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.65)) drop-shadow(0 0 26px rgba(39,208,249,.22));
  animation: swell 7s ease-in-out infinite;
}
@keyframes swell { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 7. CAPABILITY PLATE ------------------------------------------ */
/* Direct reproduction of the silver name plate + service strip in the logo */
.plate {
  background: var(--plate);
  border-block: 1px solid rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.45);
  position: relative; z-index: 2;
}
.plate ul {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .5rem 0; padding: .95rem 0;
}
.plate li {
  font-family: var(--font-plate); font-weight: 700; font-size: clamp(.68rem, 1.35vw, .86rem);
  text-transform: uppercase; letter-spacing: .2em; color: #0B1A2E;
  padding: 0 clamp(.7rem, 2vw, 1.6rem); display: flex; align-items: center;
}
.plate li + li { border-left: 2px solid var(--blue-700); }

/* ---------- 8. SECTIONS -------------------------------------------------- */
section { padding: var(--sect) 0; }
.band-deep { background: linear-gradient(180deg, var(--hull), var(--deep)); }
.band-abyss { background: var(--abyss); }
.band-rule { border-top: 1px solid var(--rule); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); }
.stat { background: var(--deep); padding: 2rem 1.5rem; text-align: center; }
.stat b {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1;
}
.stat span {
  font-family: var(--font-plate); font-weight: 600; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--chrome-500);
  display: block; margin-top: .7rem;
}

/* Service cards — steel plate with cyan rim on hover */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.75rem; }
.card {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: linear-gradient(160deg, var(--steel-navy), var(--deep) 62%, var(--abyss));
  border: 1px solid var(--rule);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(39,208,249,.5); box-shadow: 0 22px 48px rgba(0,0,0,.6); }
.card:hover::before { opacity: 1; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--abyss); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  font-family: var(--font-plate); font-weight: 700; font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .85rem;
}
.card p { color: var(--ink-muted); font-size: .96rem; margin-bottom: 1.1rem; }
.card ul { margin-top: auto; }
.card li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .9rem; color: var(--chrome-300); padding: .3rem 0;
}
.card li .trident { color: var(--cyan); margin-top: .28rem; font-size: .85rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); }
.split-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(2,3,6,.55));
  pointer-events: none;
}
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.9rem); margin-bottom: 1.2rem;
}
.split p { color: var(--ink-muted); }
.checklist li {
  display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--rule);
  color: var(--chrome-300); font-size: .98rem;
}
.checklist li .trident { color: var(--cyan); margin-top: .3rem; }

/* Leadership */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.person {
  background: linear-gradient(160deg, var(--steel-navy), var(--abyss));
  border: 1px solid var(--rule); border-radius: var(--r); padding: 1.9rem;
}
.person .role {
  font-family: var(--font-plate); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .24em; color: var(--cyan); margin-bottom: .7rem;
}
.person h3 { font-size: 1.3rem; font-family: var(--font-plate); font-weight: 700; letter-spacing: .04em; }
.person p { color: var(--ink-muted); font-size: .93rem; margin: .8rem 0 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--rule); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.4rem .9rem .7rem;
  background: linear-gradient(to top, rgba(2,3,6,.92), transparent);
  font-family: var(--font-plate); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--chrome-300);
}

/* Coverage */
.coverage { display: flex; flex-wrap: wrap; gap: .75rem; }
.coverage li {
  font-family: var(--font-plate); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .16em;
  border: 1px solid var(--rule); border-radius: var(--r);
  padding: .6rem 1.1rem; color: var(--chrome-300);
  background: rgba(14,39,72,.5);
}

/* CTA strip */
.cta-strip {
  background:
    linear-gradient(100deg, rgba(2,3,6,.96) 0%, rgba(6,18,36,.93) 40%, rgba(9,79,167,.88) 100%),
    url("assets/images/photo13.jpg") center 45% / cover no-repeat;
  text-align: center;
  border-block: 1px solid var(--rule);
}
.cta-strip h2 {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin-bottom: 1rem;
}
.cta-strip p { color: #CBDCEA; max-width: 58ch; margin-inline: auto; }

/* ---------- 9. CONTACT PAGE ---------------------------------------------- */
.contact-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.contact-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("assets/images/contact.jpg") 50% 18% / cover no-repeat;
  filter: blur(14px) saturate(.7); transform: scale(1.12);
}
.contact-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 520px at 78% 34%, rgba(39,208,249,.16), transparent 60%),
    linear-gradient(96deg, rgba(2,3,6,.95) 0%, rgba(6,18,36,.88) 55%, rgba(8,24,49,.82) 100%);
}
.contact-hero .hero-split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.contact-hero h1 {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 1.1rem;
}
.contact-hero p { max-width: 46ch; color: #C7D7E6; font-size: 1.1rem; }

/* Framed diver portrait — steel plate frame with cyan rim-light */
.portrait {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid rgba(164,171,182,.35);
  box-shadow: 0 26px 60px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.06);
}
.portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(190deg, transparent 45%, rgba(2,3,6,.72) 100%);
}
.portrait::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 46px rgba(39,208,249,.20), inset 0 0 0 1px rgba(39,208,249,.28);
}
.portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 12%; }
.portrait figcaption {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.4rem 1.1rem;
  font-family: var(--font-plate); font-weight: 600; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--chrome-300);
}
.portrait figcaption b { display: block; color: var(--cyan); letter-spacing: .3em; margin-bottom: .3rem; font-size: .68rem; }

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

.contact-card {
  background: linear-gradient(160deg, var(--steel-navy), var(--abyss));
  border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(1.75rem, 3.5vw, 2.5rem);
}
.contact-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.05rem 0; border-bottom: 1px solid var(--rule);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  width: 42px; height: 42px; flex: none; border-radius: var(--r);
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(39,208,249,.16), rgba(9,79,167,.12));
  border: 1px solid rgba(39,208,249,.32); color: var(--cyan);
}
.contact-list .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list dt {
  font-family: var(--font-plate); font-weight: 600; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .24em; color: var(--chrome-500); margin-bottom: .25rem;
}
.contact-list dd { margin: 0; font-size: 1.03rem; color: var(--chrome-100); }
.contact-list a:hover { color: var(--cyan); }

form .field { margin-bottom: 1.15rem; }
form label {
  display: block; font-family: var(--font-plate); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--chrome-500); margin-bottom: .5rem;
}
form input, form select, form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--chrome-100);
  background: rgba(2,3,6,.6); border: 1px solid var(--rule); border-radius: var(--r);
  padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(39,208,249,.16);
}
form textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--chrome-700); margin-top: 1rem; }

.placeholder {
  display: inline-block; font-family: var(--font-plate); font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em; color: var(--brass);
  border: 1px dashed rgba(232,189,78,.55); border-radius: 3px;
  padding: .1rem .4rem; margin-left: .45rem; vertical-align: middle;
}

/* ---------- 10. FOOTER --------------------------------------------------- */
.site-foot { background: var(--abyss); border-top: 2px solid var(--blue-700); padding: var(--sect) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.foot-grid h4 {
  font-family: var(--font-plate); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .24em; color: var(--chrome-100); margin-bottom: 1.2rem;
}
.foot-grid li { padding: .35rem 0; color: var(--chrome-700); font-size: .93rem; }
.foot-grid a:hover { color: var(--cyan); }
.foot-brand img { width: 120px; margin-bottom: 1.2rem; }
.foot-brand p { color: var(--chrome-700); font-size: .92rem; max-width: 34ch; }
.foot-bottom {
  border-top: 1px solid var(--rule); padding-top: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: #4E6379; font-size: .82rem;
}
.foot-bottom .tag {
  font-family: var(--font-plate); font-weight: 700; text-transform: uppercase;
  letter-spacing: .28em; color: var(--blue-500);
}

/* ---------- 11. RESPONSIVE ----------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-emblem { order: -1; }
  .emblem-ring { width: min(300px, 62vw); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .contact-hero .hero-split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .portrait { max-width: 420px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .plate li { padding: .25rem .8rem; }
  .plate li + li { border-left: 0; }
  .gallery { grid-template-columns: 1fr; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: rgba(2,3,6,.98);
    border-bottom: 1px solid var(--rule); max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { padding: 1rem var(--gut); border-bottom: 1px solid var(--rule); }
  .nav-toggle { display: inline-flex; }
  .masthead .bar { position: relative; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .emblem-ring img { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 12. WORDPRESS CORE ------------------------------------------- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: static !important; width: auto; height: auto; margin: 0; clip: auto;
  background: var(--cyan); color: var(--abyss); padding: .75rem 1.25rem; font-weight: 700;
}
.alignleft { float: left; margin: .4rem 1.6rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.6rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { width: min(100% - (var(--gut) * 2), 1400px); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption.wp-element-caption {
  font-size: .85rem; color: var(--chrome-700); padding-top: .5rem;
}
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* Admin bar offset for the sticky masthead */
body.admin-bar .masthead { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .masthead { top: 46px; } }

/* Generic page / post content */
.page-body { padding: var(--sect) 0; background: linear-gradient(180deg, var(--hull), var(--deep)); }
.entry { max-width: 76ch; }
.entry h1 {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.5rem;
}
.entry h2 { font-family: var(--font-plate); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.entry h3 { font-family: var(--font-plate); font-weight: 700; font-size: 1.3rem; margin: 2rem 0 .8rem; }
.entry p, .entry li { color: var(--ink-muted); }
.entry a:not(.btn) { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.entry a.btn { text-decoration: none; }
.entry .btn-primary { color: #fff; }
.entry ul, .entry ol { list-style: revert; padding-left: 1.4rem; margin-bottom: 1.2rem; }
.entry blockquote {
  border-left: 3px solid var(--cyan); padding-left: 1.4rem; margin: 2rem 0; color: var(--chrome-300);
}
.entry img { border-radius: var(--r); }
.entry table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry th, .entry td { border: 1px solid var(--rule); padding: .7rem 1rem; text-align: left; }

/* Form feedback notices */
.notice-ok, .notice-err {
  border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1.5rem;
  font-size: .95rem; border: 1px solid;
}
.notice-ok { border-color: rgba(39,208,249,.5); background: rgba(39,208,249,.10); color: var(--chrome-100); }
.notice-err { border-color: rgba(232,189,78,.5); background: rgba(232,189,78,.10); color: var(--chrome-100); }
.hp-field { position: absolute; left: -9999px; }
