/* RigSafe · PinLock — temporary landing styles
   Industrial / film-grip feel · muted neutrals */

:root {
  /* Swapped Oct 8: page uses the old header colour, header uses the old page colour */
  --bg: #121416;
  --header-bg: rgba(60, 60, 59, 0.92);
  --bg-elev: #4e5c66;
  --bg-card: #4e5c66;
  --line: #5f7b91;
  --text: #f4f4f4;
  --muted: #c2ccd3;
  --accent: #82bae6;
  --accent-dim: #398899;
  --warn-bg: #4e5c66;
  --warn-text: #82bae6;
  --warn-border: #5f7b91;
  --buy: #398899;
  --buy-hover: #5f7b91;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f4f4f4;
}

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

/* —— Test banner —— */
.test-banner {
  background: var(--warn-bg);
  color: var(--warn-text);
  border-bottom: 1px solid var(--warn-border);
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}

.test-banner strong {
  letter-spacing: 0.02em;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

/* —— Hero —— */
.hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(196, 163, 90, 0.08), transparent 55%),
    linear-gradient(180deg, #4e5c66 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 220px;
  display: flex;
  align-items: stretch;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.015) 8px,
      rgba(255, 255, 255, 0.015) 16px
    );
}

.hero-panel-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  border-left: 3px solid var(--accent);
}

.panel-label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.panel-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.panel-points li::before {
  content: "▸ ";
  color: var(--accent);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #3c3c3b;
}

.btn-primary:hover {
  background: #4e5c66;
  color: #3c3c3b;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
}

.btn-buy {
  width: 100%;
  background: var(--buy);
  color: #f4f4f4;
  margin-top: 0.5rem;
}

.btn-buy:hover {
  background: var(--buy-hover);
  color: #f4f4f4;
}

.btn-coming-soon {
  width: 100%;
  background: #5a656c;
  color: #c2ccd3;
  margin-top: 0.5rem;
  cursor: default;
  pointer-events: none;
  border-color: #5f7b91;
}

.btn-note {
  font-weight: 500;
  font-size: 0.78rem;
  opacity: 0.85;
}

/* —— Products —— */
.products {
  padding: 3rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.product-media.placeholder {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, #5f7b91 0%, #3c3c3b 100%);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.product-media.placeholder::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed #5f7b91;
  border-radius: 6px;
  pointer-events: none;
}

.ph-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
  z-index: 1;
}

.ph-hint {
  font-size: 0.8rem;
  color: #82bae6;
  z-index: 1;
}

.ph-sku {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  z-index: 1;
}

.product-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.variant {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.amount {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.currency {
  color: var(--muted);
  font-size: 0.85rem;
}

.blurb {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

/* —— Notes —— */
.notes {
  padding: 0 0 3.5rem;
}

.notes-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .notes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.note-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.note-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: #3c3c3b;
  padding: 0.45rem 0 0.55rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
  margin: 0;
}

.footer-notice {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  max-width: 36rem;
}

/* —— Mobile nav —— */
@media (max-width: 520px) {
  .nav {
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 2.25rem;
  }
}

.nav-tagline {
  margin: 0;
  margin-right: auto;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.header-inner { gap: 1.25rem; }
@media (max-width: 720px) {
  .nav-tagline { margin-right: 0; width: 100%; }
  .header-inner { flex-wrap: wrap; }
}

.notify-card { max-width: 40rem; }
.notify-form { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.notify-form input { flex: 1 1 14rem; padding: 0.7rem 0.9rem; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* —— Home compact (Oct 2) —— */
.lede a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.lede a:hover { color: var(--accent); }
.hero { padding: 1.5rem 0 1.25rem; }
.hero h1 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 0.65rem; }
.lede { margin-bottom: 0.9rem; font-size: 0.98rem; }
.hero-grid { align-items: center; }
.hero .notify-card { max-width: none; padding: 0.55rem 0.75rem; }
@media (min-width: 800px) {
  body.home .hero-grid { align-items: stretch; }
  body.home .hero-copy { grid-column: 1; grid-row: 1; }
  body.home .notify-card {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    height: 0;
    min-height: 100%;
    max-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin: 0;
  }
}
.hero .notify-card h2 { margin-bottom: 0.25rem; font-size: 0.9rem; }
.hero .notify-card p { font-size: 0.78rem; line-height: 1.35; }
.hero .notify-form { flex-direction: row; flex-wrap: nowrap; align-items: center; margin-top: 0.5rem; gap: 0.45rem; }
.hero .notify-form input { width: auto; flex: 1 1 auto; padding: 0.45rem 0.65rem; }
.hero .notify-form .btn { width: auto; flex: 0 0 auto; padding: 0.45rem 0.7rem; font-size: 0.8rem; white-space: nowrap; }
.products { padding: 1.1rem 0 1.5rem; }
.products .section-head { margin-bottom: 0.7rem; }
.products .section-head h2 { font-size: 1.15rem; }
.product-grid { gap: 0.75rem; }
.product-card { flex-direction: row; align-items: stretch; }
.product-media.placeholder {
  aspect-ratio: auto;
  width: 7.5rem;
  flex: 0 0 7.5rem;
  border-bottom: 0;
  border-right: 1px solid var(--line);
  padding: 0.4rem;
  gap: 0.15rem;
}
.product-media.placeholder::after { inset: 6px; }
.ph-hint { display: none; }
.ph-label { font-size: 0.62rem; }
.ph-sku { margin-top: 0.15rem; font-size: 0.7rem; }
.product-body { padding: 0.65rem 0.8rem 0.75rem; }
.product-body h3 { font-size: 0.92rem; margin-bottom: 0.25rem; }
.variant { font-size: 0.8rem; }
.price { margin-bottom: 0.3rem; }
.amount { font-size: 1.15rem; }
.blurb { font-size: 0.78rem; margin-bottom: 0.45rem; }
.product-body .btn { padding: 0.4rem 0.7rem; font-size: 0.82rem; margin-top: 0; }
@media (max-width: 640px) {
  .product-card { flex-direction: column; }
  .product-media.placeholder { width: auto; flex-basis: auto; height: 4.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
}

.page { padding: 2rem 0 3rem; }
.page h1 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.line-list { display: grid; gap: 0.75rem; max-width: 28rem; }
.line-card { text-decoration: none; color: inherit; display: block; }
.line-card:hover { border-color: var(--accent); }
.nav a[aria-current="page"] { color: var(--text); }
.page .product-card { flex-direction: column; }

.pin-products .product-card { min-height: 50vh; flex-direction: column; }
.pin-photo { width: 100%; flex: 1 1 auto; min-height: 12rem; object-fit: cover; display: block; background: #4e5c66; }
.pin-products .product-body { flex: 0 0 auto; }

.about-wrap { max-width: 52rem; }
.about-grid { display: grid; gap: 0.75rem; }
@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.banner-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.line-banner { position: relative; display: block; min-height: 70vh; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.line-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-name { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #f4f4f4; text-shadow: 0 1px 8px #3c3c3b; }
.banner-name small { display: block; font-weight: 500; letter-spacing: 0.08em; font-size: 0.72rem; color: #c2ccd3; text-transform: uppercase; }
a.line-banner:hover { border-color: var(--accent); }
@media (max-width: 800px) {
  .banner-row { grid-template-columns: 1fr 1fr; }
  .line-banner { min-height: 46vh; }
}

.home-products { display: flex; align-items: center; gap: 0.75rem; }
.home-products .product-grid { flex: 1 1 auto; width: auto; min-width: 0; }
.all-products { flex: 0 0 5.5rem; width: 5.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; text-align: center; font-weight: 700; letter-spacing: 0.04em; text-transform: lowercase; text-decoration: none; color: var(--accent); line-height: 1.15; }
.all-products-arrow { font-size: 2.6rem; line-height: 0.85; }
.all-products:hover { color: var(--text); }
.line-section { margin-top: 1.75rem; }
.line-section h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.page .product-card { flex-direction: column; }
@media (max-width: 720px) {
  .home-products { flex-direction: column; align-items: stretch; }
  .home-products .product-grid { flex-basis: auto; width: 100%; }
  .all-products { flex: 0 0 auto; width: auto; align-self: center; padding: 0.4rem 0; }
}

.footer-bar { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding-top: 0; font-size: 0.82rem; }
.footer-bar p { margin: 0; }
.footer-bar strong { color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; margin-right: 0.35rem; }

body.home { min-height: 100vh; }
body.home .hero {
  min-height: 32vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border-bottom-color: #3c3c3b;
  background:
    linear-gradient(115deg, rgba(244,244,244,0.16) 0%, rgba(244,244,244,0.02) 28%, transparent 46%),
    linear-gradient(180deg, rgba(130,186,230,0.22) 0%, rgba(60,60,59,0.18) 100%),
    #4e5c66;
}
body.home .hero .eyebrow { color: #f4f4f4; }

body.home .hero .notify-card { border-color: #398899; }
body.home .hero .notify-card .btn-primary { background: #398899; color: #f4f4f4; }
body.home .hero .notify-card .btn-primary:hover { background: #4e5c66; color: #f4f4f4; }
body.home .hero .notify-card {
  background:
    linear-gradient(305deg, rgba(244,244,244,0.14) 0%, rgba(244,244,244,0.03) 32%, transparent 52%),
    linear-gradient(0deg, rgba(130,186,230,0.16) 0%, rgba(60,60,59,0) 70%),
    #3c3c3b;
}
body.home .site-footer { background: #82bae6; border-top-color: #5f7b91; }
body.home .site-footer, body.home .site-footer a, body.home .footer-bar strong { color: #3c3c3b; }
body.home .footer-notice { color: #f4f4f4; }
body.home .products { min-height: 43vh; display: flex; align-items: center; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
body.home .site-footer { min-height: 0; padding: 0.45rem 0 0.55rem; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
body.home .footer-bar { padding-top: 0; }
body.home .footer-notice { margin-top: 0.2rem; }

img, svg { max-width: 100%; }
body { overflow-x: hidden; }
@media (max-width: 1024px) {
  .nav { flex-wrap: wrap; }
  .header-inner { flex-wrap: wrap; }
  .hero .notify-form { flex-wrap: wrap; }
  .home-products { flex-direction: column; align-items: stretch; }
  .home-products .product-grid { width: 100%; flex: 1 1 auto; }
  .all-products { flex: 0 0 auto; width: auto; align-self: center; padding: 0.4rem 0; }
  .banner-row { grid-template-columns: 1fr 1fr; }
  .pin-products .product-card { min-height: 42vh; }
  body.home .hero, body.home .products, body.home .site-footer { min-height: 0; }
  body.home .hero { padding: 1.75rem 0; }
  body.home .products { padding: 1.25rem 0 1.5rem; }
}
@media (max-width: 700px) {
  body.home .products .product-card { flex-direction: row; align-items: stretch; }
  body.home .products .product-photo { width: 6.25rem; flex: 0 0 6.25rem; }
  .nav { width: 100%; justify-content: flex-start; gap: 0.55rem 0.85rem; font-size: 0.85rem; }
  .nav-tagline { width: auto; margin-right: 0; }
  .banner-row { grid-template-columns: 1fr; }
  .line-banner { min-height: 58vh; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .hero h1 { font-size: 1.35rem; }
  .product-grid { grid-template-columns: 1fr; }
  .pin-products .product-card { min-height: 0; }
  .about-grid { grid-template-columns: 1fr; }
}

.contact-grid { display: grid; gap: 1rem; align-items: start; margin-top: 1rem; }
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1.45fr 0.85fr; }
}
.contact-card h2 { margin-bottom: 0.35rem; }
.contact-card label { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.85rem; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.contact-card input, .contact-card textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.contact-card textarea { min-height: 11rem; resize: vertical; }
.contact-card .btn { margin-top: 1rem; }
.page .lede a { color: var(--accent); }

.product-photo { width: 7.5rem; flex: 0 0 7.5rem; object-fit: contain; background: #f4f4f4; display: block; align-self: stretch; }
.pin-photo { background: #f4f4f4; object-fit: contain; }

/* —— Linked product cards + product pages (Oct 5) —— */
.product-card-link { position: relative; transition: border-color 0.15s ease; }
.product-card-link:hover, .product-card-link:focus-within { border-color: var(--accent); }
.product-link { color: inherit; text-decoration: none; }
.product-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card-link:hover .product-link { color: var(--accent); }
.product-photo-link { display: flex; flex: 0 0 auto; align-self: stretch; }
.product-photo-link .product-photo { height: 100%; }
.pin-products .product-photo-link { flex: 1 1 auto; }
.pin-products .product-photo-link .pin-photo { width: 100%; }

.product-detail { max-width: 52rem; }
.page .product-detail { flex-direction: column; }
.product-detail .pin-photo { min-height: 18rem; max-height: 60vh; }
.product-detail .product-body h1 { margin: 0 0 0.4rem; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.25; }
.product-detail .product-body { padding: 1rem 1.15rem 1.15rem; }
.product-detail .blurb { font-size: 0.92rem; flex: 0 0 auto; }
.product-detail .btn { max-width: 20rem; }
@media (min-width: 800px) {
  .page .product-detail { flex-direction: row; }
  .product-detail .pin-photo { width: 50%; flex: 0 0 50%; min-height: 22rem; border-right: 1px solid var(--line); }
}
.suggested { margin-top: 2rem; }
.suggested .section-head { margin-bottom: 0.7rem; }
.suggested .section-head h2 { font-size: 1.15rem; }
.page .suggested .product-card { flex-direction: row; align-items: stretch; }
@media (min-width: 720px) {
  .suggested .product-grid { grid-template-columns: 1fr 1fr; max-width: 52rem; }
}

/* —— Product Lines mega menu (Oct 5) —— */
.header-inner { position: relative; }
.nav { align-items: center; }
.nav-item { position: static; display: inline-flex; align-items: center; gap: 0.1rem; }
.nav-top { color: var(--muted); text-decoration: none; }
.nav-top.is-section, .has-mega.is-open .nav-top { color: var(--text); }
.mega-toggle {
  display: inline-grid; place-items: center;
  width: 1.4rem; height: 1.4rem; padding: 0; margin: 0;
  border: 0; border-radius: 4px; background: transparent;
  color: var(--muted); cursor: pointer;
}
.mega-toggle:hover, .mega-toggle:focus-visible, .has-mega.is-open .mega-toggle { color: var(--accent); }
.mega-toggle:focus-visible { outline: 1px solid var(--accent); outline-offset: 1px; }
.caret {
  width: 0.42rem; height: 0.42rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}
.has-mega.is-open .caret { transform: translateY(1px) rotate(225deg); }

.mega {
  position: absolute; top: 100%; right: 0;
  width: min(38rem, calc(100vw - 2rem));
  padding-top: 0.35rem;
  z-index: 40;
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
  font-size: 0.88rem;
}
.has-mega.is-open .mega,
.nav:not(.js-nav) .has-mega:hover .mega,
.nav:not(.js-nav) .has-mega:focus-within .mega {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
}
.mega-inner {
  position: relative;
  display: grid; grid-template-columns: 14.5rem 1fr; align-content: start;
  min-height: 16.5rem;
  padding: 0.9rem;
  background: #23282d;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mega-inner > * { grid-column: 1; }
.mega-inner::after {
  content: "Hover a product line to see its products";
  position: absolute; top: 0.9rem; bottom: 0.9rem; right: 0.9rem; left: calc(14.5rem + 1.8rem);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); opacity: 0.6; font-size: 0.8rem; letter-spacing: 0.04em;
  border: 1px dashed rgba(95, 123, 145, 0.6); border-radius: 8px;
  pointer-events: none;
}
.mega-label {
  margin: 0 0 0.55rem; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.mega-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.line-widget {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.4rem 0.55rem 0.4rem 0.4rem;
  border: 1px solid transparent; border-radius: 8px;
  color: var(--text); text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.line-widget img {
  width: 2.6rem; height: 3.3rem; flex: 0 0 auto; object-fit: cover; border-radius: 5px;
  border: 1px solid var(--line); background: var(--bg);
}
.widget-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.widget-name { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; }
.widget-sub { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.15rem; }
.widget-arrow { margin-left: auto; color: var(--muted); font-size: 1.1rem; line-height: 1; }
.mega-line.is-active > .line-widget,
.nav:not(.js-nav) .mega-line:hover > .line-widget,
.line-widget:focus-visible {
  background: rgba(130, 186, 230, 0.1); border-color: var(--line); color: var(--text); outline: none;
}
.mega-line.has-products.is-active > .line-widget .widget-arrow { color: var(--accent); }
a.line-widget:hover .widget-name { color: var(--accent); }
.line-widget[aria-current="page"] .widget-name { color: var(--accent); }
.mega-line.is-soon .line-widget { cursor: default; }
.mega-line.is-soon .line-widget img { opacity: 0.75; }

.mega-products {
  display: none;
  position: absolute; z-index: 1;
  top: 0.9rem; bottom: 0.9rem; right: 0.9rem; left: calc(14.5rem + 1.8rem);
  padding: 0 0 0 0.9rem;
  background: #23282d;
  border-left: 1px solid var(--line);
  flex-direction: column;
}
.mega-line.is-active > .mega-products,
.nav:not(.js-nav) .mega-line:hover > .mega-products,
.nav:not(.js-nav) .mega-line:focus-within > .mega-products {
  display: flex; animation: mega-fade 0.16s ease;
}
@keyframes mega-fade { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
.product-widgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.25rem, 1fr)); gap: 0.6rem; }
.product-widget {
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 0.45rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-card); color: var(--text); text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-widget img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block;
  background: #f4f4f4; border-radius: 5px; padding: 0.3rem;
}
.product-widget .widget-name { text-transform: none; letter-spacing: 0; font-size: 0.8rem; line-height: 1.25; }
.product-widget .widget-name small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.product-widget:hover, .product-widget:focus-visible { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); outline: none; }
.product-widget[aria-current="page"] { border-color: var(--accent); }
.mega-empty {
  flex: 1; margin: 0; display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 0.82rem;
  border: 1px dashed rgba(95, 123, 145, 0.6); border-radius: 8px;
}
.mega-more { margin-top: auto; padding-top: 0.6rem; font-size: 0.78rem; color: var(--accent); text-decoration: none; letter-spacing: 0.03em; }
.mega-more:hover { color: var(--text); }
.mega-all { display: block; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid rgba(95, 123, 145, 0.5); }

/* Compact / touch: tap the caret to expand; products listed under each line */
@media (max-width: 720px), (hover: none) {
  .mega-toggle { width: 2rem; height: 2rem; }
  .mega-inner { display: block; min-height: 0; max-height: calc(100vh - 9rem); overflow-y: auto; }
  .mega-inner::after, .widget-arrow { display: none; }
  .mega-lines { gap: 0.7rem; }
  .mega-products,
  .mega-line.is-active > .mega-products {
    display: flex; position: static; animation: none;
    padding: 0.5rem 0 0.2rem 0.6rem; margin-left: 1.5rem; background: transparent;
  }
  .mega-line.is-active > .line-widget { background: transparent; border-color: transparent; }
  .mega-products > .mega-label { display: none; }
  .product-widgets { grid-template-columns: 1fr; gap: 0.4rem; }
  .product-widget { flex-direction: row; align-items: center; padding: 0.35rem; }
  .product-widget img { width: 3rem; flex: 0 0 3rem; aspect-ratio: 1 / 1; padding: 0.15rem; }
  .mega-empty { display: block; text-align: left; border: 0; padding: 0.2rem 0; font-size: 0.78rem; }
  .mega-more { margin-top: 0.4rem; padding-top: 0.2rem; }
}
@media (max-width: 720px) {
  .mega { left: 0; right: 0; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mega, .caret, .product-widget, .mega-products { transition: none !important; animation: none !important; }
}

/* Form automation (forms.js): honeypot + inline status */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0.6rem 0 0; font-size: 0.85rem; line-height: 1.4; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: #f2b8b5; }
.hero .form-status { margin-top: 0.4rem; font-size: 0.78rem; }
.notify-form .btn:disabled, .contact-card .btn:disabled { opacity: 0.65; cursor: progress; }

/* TBA page */
.tba-grid { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 1.25rem; align-items: start; margin-top: 1rem; }
.tba-photo { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 700px) { .tba-grid { grid-template-columns: 1fr; } .tba-photo { max-width: 18rem; } }
/* PinLock drawing banner: show whole drawing on white, darken the bottom so the label stays readable */
.line-banner.is-drawing { background: #fefefe; }
.line-banner.is-drawing img { object-fit: contain; padding: 0.75rem 0.5rem 4.5rem; box-sizing: border-box; }
.line-banner.is-drawing::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: linear-gradient(to bottom, rgba(60,60,59,0), rgba(60,60,59,0.92)); pointer-events: none; }
.line-banner .banner-name { z-index: 1; }
.line-widget img[src="line-pinlock-drawing.jpg"] { background: #fefefe; }
/* PinLock line page: shorter product cards (Oct 8) */
.pin-products .product-card { min-height: 0; }
.pin-products .product-photo-link { flex: 0 0 auto; }
.pin-products .pin-photo { flex: 0 0 auto; height: 11rem; min-height: 0; padding: 0.6rem; box-sizing: border-box; }
.pin-products .pin-photo { background: #fefefe; }

/* Product Lines page: cards 20% shorter than the default .line-banner heights */
.banner-row--short .line-banner { min-height: 56vh; }
@media (max-width: 800px) { .banner-row--short .line-banner { min-height: 36.8vh; } }
@media (max-width: 700px) { .banner-row--short .line-banner { min-height: 46.4vh; } }

/* Product Lines page: "Have an idea?" card */
.idea-card { margin-top: 1.5rem; max-width: 48rem; }
.idea-card textarea { min-height: 8rem; }
.idea-fields { display: grid; gap: 0 1rem; }
@media (min-width: 720px) { .idea-fields { grid-template-columns: 1fr 1fr; } }

/* Product Lines cards: equipment-type pill, top right */
.line-banner .line-chip {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2; pointer-events: none;
  padding: 0.24rem 0.62rem; border-radius: 999px; line-height: 1.2;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #f4f4f4; background: rgba(28, 28, 28, 0.66); border: 1px solid rgba(130, 186, 230, 0.55);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
@media (max-width: 700px) { .line-banner .line-chip { top: 0.6rem; right: 0.6rem; font-size: 0.62rem; } }

/* Mega menu: quiet, non-interactive note under the PinLock product cards */
.mega-note {
  margin: 0.55rem 0 0; padding: 0; text-align: left;
  font-size: 0.74rem; letter-spacing: 0.03em; line-height: 1.35;
  color: var(--muted); cursor: default; user-select: none; -webkit-user-select: none;
}
@media (max-width: 720px), (hover: none) { .mega-note { margin-top: 0.4rem; font-size: 0.72rem; } }

/* Home "Get 10% off" box: darker grey (same as page background / logo tile) */
body.home .hero .notify-card {
  background:
    linear-gradient(305deg, rgba(244,244,244,0.06) 0%, rgba(244,244,244,0.01) 32%, transparent 52%),
    #121416;
  border: 1px solid rgba(57, 136, 153, 0.85);
}
body.home .hero .notify-card .notify-form input { background: #3c3c3b; border-color: var(--line); color: #f4f4f4; }
body.home .hero .notify-card .notify-form input::placeholder { color: #c2ccd3; opacity: 0.8; }

/* Footer: teal matching the Home "Send my 10% code" button, white text and underlined links */
.site-footer, body.home .site-footer { background: #398899; border-top-color: #5f7b91; color: #f4f4f4; }
.site-footer p, .footer-bar strong, body.home .footer-bar strong, .footer-notice, body.home .footer-notice { color: #f4f4f4; }
.site-footer a, body.home .site-footer a { color: #f4f4f4; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover, .site-footer a:focus-visible { color: #ffffff; text-decoration-thickness: 2px; }

/* Footer: keep the four groups on one line on desktop */
@media (min-width: 721px) {
  .site-footer .footer-bar { width: min(100% - 2rem, 1180px); gap: 0.4rem 1rem; justify-content: space-between; }
  .site-footer .footer-bar p { white-space: nowrap; }
  .site-footer .footer-bar strong { letter-spacing: 0.03em; margin-right: 0.3rem; }
}

/* About: Meet the Founder */
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.founder-photo {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  aspect-ratio: 563 / 1000;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  margin: 0 auto;
}
.founder-text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.founder-name { margin: 0 0 1rem; font-weight: 600; color: var(--text); }
.founder-text p:not(.founder-name) { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.founder-text p:last-child { margin-bottom: 0; }
@media (min-width: 720px) {
  .founder-card { grid-template-columns: minmax(0, 18rem) 1fr; gap: 1.75rem; align-items: center; padding: 1.5rem; }
  .founder-photo { max-width: none; margin: 0; }
}

/* About: Why on top, then cards | founder | safety */
.about-columns { display: grid; gap: 1.25rem; }
.note-card .safety-list { margin: 0.75rem 0 0; padding-left: 1.4rem; color: var(--muted); font-size: 0.92rem; }
.note-card .safety-list li { margin: 0 0 0.45rem; padding-left: 0.15rem; line-height: 1.5; }
.note-card .safety-list li:last-child { margin-bottom: 0; }
.note-card .safety-list li::marker { color: var(--accent); font-weight: 700; }
@media (min-width: 1000px) {
  .about-wrap.about-wide { max-width: var(--max); }
}
@media (min-width: 760px) {
  .about-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "cards founder" "safety founder"; grid-template-rows: auto 1fr; align-items: start; }
  .about-columns .about-grid { grid-area: cards; grid-template-columns: 1fr; }
  .about-columns .founder-card { grid-area: founder; display: block; padding: 1.4rem; }
  .about-columns .safety-card { grid-area: safety; }
  .about-columns .founder-card::after { content: ""; display: block; clear: both; }
  .about-columns .founder-photo { float: left; width: 44%; max-width: none; margin: 0.2rem 1.2rem 0.7rem 0; }
}
@media (min-width: 1100px) {
  .about-columns { grid-template-columns: minmax(0, 25fr) minmax(0, 50fr) minmax(0, 25fr); grid-template-areas: "cards founder safety"; grid-template-rows: auto; gap: 1rem; }
  .about-columns .founder-photo { width: 44%; margin-right: 1rem; }
  .about-columns .founder-text p:not(.founder-name) { font-size: 0.92rem; line-height: 1.55; margin-bottom: 0.7rem; }
  .about-columns .founder-text h2 { font-size: 1.2rem; }
}
.about-why { margin: 0 0 1.5rem; }
.about-why h1 { margin: 0 0 0.6rem; }
.about-wrap .about-why .lede { margin: 0; max-width: none; font-size: 1.12rem; line-height: 1.6; color: var(--text); }
.about-tagline { margin: 0.7rem 0 0; color: var(--accent); font-size: 1rem; font-style: italic; font-weight: 500; letter-spacing: 0.01em; }
/* About: outlined info cards (founder card keeps its fill) */
.about-columns .note-card { background: transparent; border: 1.5px solid #398899; }
.about-columns .note-card p, .about-columns .note-card .safety-list { color: #d3dbe0; }

/* About: layout wrapped around the founder photo */
.about-main { overflow-x: hidden; }
.about-layout { display: grid; gap: 1.5rem; }
.about-photo-zone { position: relative; }
.about-photo-frame { position: relative; }
.about-photo { display: block; width: 100%; height: auto; filter: brightness(0.72) saturate(0.95); }
.photo-note h2 { margin: 0 0 0.45rem; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.photo-note p { margin: 0; color: #e3e8eb; font-size: 0.92rem; line-height: 1.55; }
.founder-widget { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.founder-widget-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 40%; }
.founder-widget-body { padding: 1.2rem 1.35rem 1.4rem; }
.founder-widget-body h2 { margin: 0 0 0.3rem; font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; color: #398899; }
.founder-widget-body .founder-name { margin: 0 0 0.85rem; font-weight: 600; color: var(--text); }
.founder-head { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 0.8rem; }
.founder-headshot { flex: none; width: 94px; height: 94px; border-radius: 50%; object-fit: cover; border: 2px solid #398899; }
/* Founder card: compact typography so the whole card fits above the fold on desktop */
.founder-widget .founder-widget-body { padding: var(--fpad, 1.2rem 1.35rem 1.4rem); }
.founder-widget .founder-widget-body > p:not(.founder-name) { font-size: var(--ffs, 0.92rem); line-height: var(--flh, 1.55); margin-bottom: var(--fmb, 0.75rem); }
@media (min-width: 1100px) {
  .founder-widget { --fpad: 0.95rem 1rem 1rem; --ffs: 0.92rem; --flh: 1.55; --fmb: 0.5rem; }
  .founder-widget-body .founder-head h2 { font-size: 1rem; }
  .founder-head .founder-name { font-size: 0.95rem; }
}
.founder-widget-body .founder-head h2 { font-size: 1.08rem; line-height: 1.25; }
.founder-head .founder-name { margin: 0; }
.founder-widget-body p:not(.founder-name) { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.founder-widget-body p:last-child { margin-bottom: 0; }
.about-layout .safety-card { background: transparent; border: 1.5px solid #398899; align-self: start; }
.about-layout .safety-card p, .about-layout .safety-card .safety-list { color: #d3dbe0; }

/* Stacked (below 1100px): photo as a faded banner, notes below it */
@media (max-width: 1099px) {
  .about-photo-zone { margin: 0 -1rem; }
  .about-photo-frame { display: flex; flex-direction: column; gap: 1.1rem; }
  .about-photo { width: 100%; height: 26rem; object-fit: cover; object-position: 66% 28%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 60%, transparent 100%); margin-bottom: -4rem; }
  .photo-note { padding: 0 1rem; position: relative; }
}

/* Desktop: Founder | photo with notes around Matthew | Safety */
@media (min-width: 1100px) {
  .about-layout { grid-template-columns: minmax(0, 28fr) minmax(0, 46fr) minmax(0, 26fr); grid-template-areas: "why why why" "founder photo safety"; grid-template-rows: auto 1fr; align-items: start; gap: 2rem 3rem; }
  .about-main > .page { padding-top: 1.1rem; }
  .about-layout > .about-why { grid-area: why; margin: 0; }
  .founder-widget { grid-area: founder; }
  .about-layout .safety-card { grid-area: safety; }
  .about-photo-zone { grid-area: photo; }
  .about-photo-frame { width: 76%; margin-left: 4%; aspect-ratio: 563 / 1000; }
  .about-photo { position: absolute; inset: 0; width: 100%; height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 86%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 36%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 86%, transparent 100%); mask-composite: intersect; }
  .photo-note { position: absolute; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.7); }
  .photo-note p { font-size: 0.86rem; line-height: 1.5; }
  .photo-note--vision { left: 30%; right: -10%; top: 1%; }
  .photo-note--mission { left: -3%; width: 40%; top: 20%; }
  .photo-note--values { left: 65%; right: -24%; top: 53%; }
  .photo-note--values p { font-size: 0.84rem; }
  .photo-note--values::before { content: ""; position: absolute; z-index: -1; left: -0.3rem; right: -0.6rem; top: -1rem; bottom: -1rem; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 55% 50%, rgba(18,20,22,0.72) 0, rgba(18,20,22,0.5) 55%, rgba(18,20,22,0) 100%); }
}
/* About (1280+): wider container than the site default. Middle column keeps its scale; side cards are 75% of their
   former width (29% of the content after gutters -> 21.75%) and the freed space becomes outer margins, block centered. */
@media (min-width: 1280px) {
  .about-wrap.about-wide { width: min(100% - 5rem, 1640px); max-width: none; }
  .about-layout { --g: clamp(3.5rem, 4.5vw, 5rem); --u: calc(100% - 2 * var(--g));
    grid-template-columns: minmax(0, 1fr) calc(var(--u) * 0.2175) var(--g) calc(var(--u) * 0.42) var(--g) calc(var(--u) * 0.2175) minmax(0, 1fr);
    grid-template-areas: ". why why why why why ." ". founder . photo . safety .";
    column-gap: 0; }
  .about-photo-frame { --fw: min(76%, max(340px, calc((100vh - 480px) * 1.05))); width: var(--fw);
    /* base offset + shift right by 40% of the old Values-to-Safety gap (gap = g + 0.8*zone - 1.04*fw) */
    margin-left: calc((100% - var(--fw)) * 0.2 + var(--g) * 0.4 + 100% * 0.32 - var(--fw) * 0.416); }
  /* Founder card grows toward the middle (left edge fixed) so its gap to Mission equals the new right-side gap.
     In the founder track, 100% = side width; zone = 100% * 0.42 / 0.2175. Extension = 0.8g + 0.04*zone - 0.022*fw. */
  .founder-widget { --zn: calc(100% * 1.931034); --fwf: min(calc(var(--zn) * 0.76), max(340px, calc((100vh - 480px) * 1.05)));
    width: calc(100% + var(--g) * 0.8 + var(--zn) * 0.04 - var(--fwf) * 0.022); position: relative; z-index: 2; }
}

/* About: centered Why We Exist section (all widths; at 1280+ it spans Founder left edge to Safety right edge) */
.about-wrap .about-layout > .about-why { text-align: center; }

/* About: tagline sits at the top of the middle column, just above Vision */
.about-photo-zone .about-tagline { position: relative; z-index: 2; margin: 0; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,0.85); }
@media (min-width: 1100px) {
  .about-photo-frame { margin-top: -5px; }
  .about-photo-zone .about-tagline { padding: 0 2.6rem; }
  .photo-note--vision { top: calc(1% + 22px); }
}
@media (max-width: 1099px) {
  .about-photo-zone { display: flex; flex-direction: column; gap: 1.1rem; }
  .about-photo-zone .about-photo-frame { display: contents; }
  .about-photo-zone .about-photo { order: 0; }
  .about-photo-zone .about-tagline { order: 1; padding: 0 1rem; }
  .about-photo-zone .photo-note { order: 2; }
}

/* About (1280+): photo, Mission and Values move up together as one unit (tagline and Vision stay put).
   Shift = largest that keeps ~12px between the Vision text and the top of his head, capped at 40px.
   fw (photo width) is recomputed from viewport units so the value is safe to inherit. */
@media (min-width: 1280px) {
  .about-layout { --fwv: min(calc(0.3192 * (min(100vw - 5rem, 1640px) - 2 * clamp(3.5rem, 4.5vw, 5rem))), max(340px, calc((100vh - 480px) * 1.05)));
    --ps: clamp(0px, calc(var(--fwv) * 0.3676 - 127px), 40px); }
  .about-photo, .photo-note--mission, .photo-note--values { transform: translateY(calc(-1 * var(--ps, 0px))); }
}

/* About: Why We Exist heading uses the same accent blue as the Vision/Mission/Values headings; tagline is footer teal */
.about-wrap .about-layout > .about-why h1 { color: var(--accent); }
.about-photo-zone .about-tagline { color: #398899; }
