:root {
  color-scheme: light;
  --deep-navy: #0D2A44;
  --sage-green: #5F9078;
  --soft-mint: #9DC9B2;
  --pale-mist: #E9F2EE;
  --warm-white: #FAFAF8;
  --mist-gray: #E7EBEE;
  --ink-gray: #4B5563;
  --leaf-accent: #7DBA6E;
  --sun-warm: #F2CF5B;
  --ink: #243042;
  --muted: var(--ink-gray);
  --line: #D4DFDA;
  --page: var(--warm-white);
  --accent: var(--sage-green);
  --accent-deep: var(--deep-navy);
  --accent-soft: rgba(157, 201, 178, 0.34);
  --grid: rgba(13, 42, 68, 0.08);
  --shadow: 0 24px 62px rgba(13, 42, 68, 0.14);
  --soft-shadow: 0 14px 34px rgba(13, 42, 68, 0.1);
  --lift-shadow: 0 28px 70px rgba(13, 42, 68, 0.18);
  --card-radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(0deg, var(--grid) 1px, transparent 1px),
    radial-gradient(circle at 90% 9%, rgba(157, 201, 178, 0.36), transparent 32%),
    radial-gradient(circle at 12% 2%, rgba(13, 42, 68, 0.08), transparent 28%),
    var(--page);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(250, 250, 248, 0.62), rgba(250, 250, 248, 0.94)),
    radial-gradient(circle at 10% 80%, rgba(95, 144, 120, 0.16), transparent 32%);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--deep-navy);
  font-size: clamp(3rem, 8vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1080px, calc(100% - 40px));
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 18px auto 0;
  padding: 10px;
  background: rgba(250, 250, 248, 0.9);
  border: 1px solid rgba(95, 144, 120, 0.28);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.brand-lockup {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--deep-navy);
  font-weight: 850;
  text-decoration: none;
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(13, 42, 68, 0.12);
}

.brand-lockup span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-nav a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--deep-navy);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(233, 242, 238, 0.66);
  border: 1px solid rgba(95, 144, 120, 0.2);
  border-radius: 999px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.button-link {
  color: var(--warm-white);
  background: var(--deep-navy);
  border-color: var(--deep-navy);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(13, 42, 68, 0.18);
}

.button-link-secondary {
  color: var(--deep-navy);
  background: rgba(157, 201, 178, 0.34);
  border-color: rgba(95, 144, 120, 0.26);
}

.button-link:focus-visible,
.site-nav a:focus-visible,
.brand-lockup:focus-visible,
.email-link:focus-visible,
.tank-icon-link:focus-visible,
.tank-social-links a:focus-visible,
.tank-backdrop-link:focus-visible {
  outline: 3px solid var(--leaf-accent);
  outline-offset: 4px;
}

.page-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 34px;
}

.hero,
.subpage-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(13, 42, 68, 0.1);
}

.hero {
  min-height: 44vh;
  display: grid;
  align-items: center;
  padding: 30px 0 26px;
  margin-top: -6px;
  background:
    radial-gradient(circle at 78% 10%, rgba(242, 207, 91, 0.26), transparent 25%),
    linear-gradient(180deg, rgba(13, 42, 68, 0.08), transparent 52%),
    linear-gradient(135deg, rgba(95, 144, 120, 0.24), transparent 40%);
}

.hero::after {
  position: absolute;
  right: max(18px, calc((100vw - 1080px) / 2));
  bottom: -56px;
  width: min(52vw, 540px);
  height: 180px;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background: url("/assets/brand/bomford-wave-clean.png") center / cover no-repeat;
  border-radius: 999px 999px 24px 24px;
  transform: rotate(-1deg);
  animation: wave-drift 20s ease-in-out infinite alternate;
}

.hero-ribbon {
  position: absolute;
  inset: 4px 0 auto 0;
  height: min(30vw, 270px);
  pointer-events: none;
  opacity: 0.38;
  background: url("/assets/brand/bomford-wave-clean.png") center / cover no-repeat;
  animation: wave-drift 22s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  width: fit-content;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 6px 16px 6px 6px;
  margin-bottom: 18px;
  background: rgba(250, 250, 248, 0.86);
  border: 1px solid rgba(95, 144, 120, 0.24);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
}

.hero-kicker img {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(13, 42, 68, 0.14);
}

.eyebrow,
.section-kicker,
.project-label {
  margin: 0 0 10px;
  color: var(--sage-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker .eyebrow {
  margin: 0;
  font-size: 0.82rem;
}

.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.16rem, 3vw, 1.55rem);
}

.lede-secondary {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.studio-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(250, 250, 248, 0.94), rgba(233, 242, 238, 0.92)),
    linear-gradient(90deg, rgba(13, 42, 68, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(13, 42, 68, 0.08) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  border: 1px solid rgba(95, 144, 120, 0.36);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.studio-panel::after {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 46px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background:
    radial-gradient(circle at 50% 16%, var(--leaf-accent) 0 12%, transparent 13%),
    radial-gradient(circle at 34% 48%, var(--sage-green) 0 18%, transparent 19%),
    radial-gradient(circle at 66% 48%, var(--soft-mint) 0 18%, transparent 19%);
  animation: leaf-pulse 7s ease-in-out infinite;
}

.studio-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 144, 120, 0.36);
  box-shadow: var(--lift-shadow);
}

.brand-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  object-position: center;
  padding: 8px;
  background: rgba(250, 250, 248, 0.9);
  border: 1px solid rgba(95, 144, 120, 0.22);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.panel-line {
  width: 108px;
  height: 4px;
  margin: 2px 0 0;
  background: linear-gradient(90deg, var(--deep-navy), var(--sage-green), var(--leaf-accent));
  background-size: 180% 100%;
  border-radius: 99px;
  animation: line-shift 12s ease-in-out infinite alternate;
}

.panel-metrics {
  display: grid;
}

.panel-metric {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(13, 42, 68, 0.1);
}

.panel-metric span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--deep-navy);
  font-size: 0.78rem;
  font-weight: 850;
  background: rgba(157, 201, 178, 0.34);
  border: 1px solid rgba(95, 144, 120, 0.26);
  border-radius: 50%;
}

.panel-metric strong {
  font-size: 0.94rem;
}

.section {
  padding: 28px 0 0;
}

.feature-section,
.content-card,
.status-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(250, 250, 248, 0.94), rgba(233, 242, 238, 0.86)),
    linear-gradient(90deg, rgba(13, 42, 68, 0.06) 1px, transparent 1px);
  background-size: auto, 30px 30px;
  border: 1px solid rgba(95, 144, 120, 0.24);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 30px;
  margin-top: 28px;
}

.about-build-section::after,
.directions-card::after,
.contact-list-card::after {
  position: absolute;
  right: -42px;
  bottom: -62px;
  width: 230px;
  aspect-ratio: 1.35 / 1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background: url("/assets/brand/bomford-wave-clean.png") center / cover no-repeat;
  border-radius: 999px 999px 28px 28px;
}

.about-build-section {
  margin-top: 8px;
}

.build-system-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: rgba(250, 250, 248, 0.72);
  border: 1px solid rgba(95, 144, 120, 0.18);
  border-radius: 18px;
}

.build-system-card p,
.section p,
.content-card p {
  color: var(--muted);
  font-size: 1.03rem;
}

.build-system-card p {
  margin-bottom: 0;
}

.build-icons-strip {
  display: block;
  width: 100%;
  max-height: 78px;
  object-fit: cover;
  object-position: center;
  padding: 4px;
  background: var(--warm-white);
  border: 1px solid rgba(95, 144, 120, 0.16);
  border-radius: 16px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.build-system-card:hover .build-icons-strip {
  transform: translateX(4px);
  box-shadow: inset 0 0 0 1px rgba(95, 144, 120, 0.12);
}

.build-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.build-points span,
.project-note {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--deep-navy);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(157, 201, 178, 0.34);
  border: 1px solid rgba(95, 144, 120, 0.22);
  border-radius: 999px;
}

.projects-section > h2 {
  margin-bottom: 18px;
}

.home-hero + .page-shell {
  position: relative;
  margin-top: -8px;
}

.projects-section {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(250, 250, 248, 0.72), rgba(233, 242, 238, 0.58)),
    linear-gradient(90deg, rgba(13, 42, 68, 0.045) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  border: 1px solid rgba(95, 144, 120, 0.18);
  border-radius: var(--card-radius);
  box-shadow: 0 16px 38px rgba(13, 42, 68, 0.08);
}

.home-hero + .page-shell .projects-section {
  padding-top: 24px;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, 0.78fr);
  gap: 20px;
  align-items: stretch;
}

.project-card {
  position: relative;
  display: grid;
  min-height: 248px;
  align-content: space-between;
  gap: 28px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(250, 250, 248, 0.96), rgba(233, 242, 238, 0.92)),
    linear-gradient(135deg, rgba(95, 144, 120, 0.12), transparent 42%);
  border: 1px solid rgba(95, 144, 120, 0.32);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.project-card:hover,
.content-card:hover,
.status-section:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 144, 120, 0.42);
  box-shadow: var(--lift-shadow);
}

.project-card-muted {
  overflow: hidden;
}

.project-card-muted::after {
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 180px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background: url("/assets/brand/bomford-wave-clean.png") center / cover no-repeat;
  border-radius: 50%;
}

.project-card p {
  margin-bottom: 0;
}

.tank-feature-card {
  grid-column: auto;
  min-height: 298px;
  padding: 0;
  overflow: hidden;
  background: var(--deep-navy);
  border-color: rgba(95, 144, 120, 0.32);
  border-radius: var(--card-radius);
}

.tank-feature-card:hover {
  transform: translateY(-3px);
}

.tank-backdrop-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.tank-backdrop-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 420ms ease;
}

.tank-feature-card:hover .tank-backdrop-link img {
  transform: scale(1.035);
}

.tank-feature-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 42, 68, 0.92), rgba(13, 42, 68, 0.7) 52%, rgba(13, 42, 68, 0.34)),
    linear-gradient(0deg, rgba(13, 42, 68, 0.58), transparent 62%);
}

.tank-card-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  min-height: 298px;
  padding: 24px;
}

.tank-icon-link {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tank-icon-link:hover,
.tank-icon-link:focus-visible {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
}

.tank-icon-link img {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

.tank-card-copy {
  max-width: 500px;
  padding: 20px;
  color: var(--warm-white);
  background: rgba(13, 42, 68, 0.6);
  border: 1px solid rgba(212, 223, 218, 0.28);
  border-radius: 18px;
  backdrop-filter: blur(2px);
}

.tank-card-copy .project-label {
  color: #69e6ff;
}

.tank-card-copy h3,
.tank-card-copy p {
  color: var(--warm-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.tank-card-copy h3 {
  font-size: clamp(1.85rem, 3.9vw, 3rem);
}

.tank-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.tank-social-links a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: rgba(250, 250, 248, 0.12);
  border: 1px solid rgba(250, 250, 248, 0.24);
  border-radius: 14px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.tank-social-links a:hover {
  transform: translateY(-2px);
  background: rgba(250, 250, 248, 0.2);
}

.tank-social-links img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: none;
  padding: 32px;
  margin-top: 30px;
}

.status-section::before {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(48%, 420px);
  height: 100%;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background: url("/assets/brand/bomford-wave-clean.png") right bottom / cover no-repeat;
}

.status-section > p {
  padding-right: clamp(96px, 15vw, 168px);
}

.bryn-helper {
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: clamp(96px, 13vw, 152px);
  height: auto;
  padding: 6px;
  pointer-events: none;
  background: rgba(250, 250, 248, 0.84);
  border: 1px solid rgba(95, 144, 120, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(13, 42, 68, 0.1);
  animation: bryn-float 8s ease-in-out infinite;
}

.page-main {
  padding-top: 18px;
}

.subpage-hero {
  width: min(1080px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 28px;
  align-items: center;
  margin: 16px auto 0;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(250, 250, 248, 0.96), rgba(233, 242, 238, 0.9)),
    linear-gradient(90deg, rgba(13, 42, 68, 0.06) 1px, transparent 1px);
  background-size: auto, 30px 30px;
  border: 1px solid rgba(95, 144, 120, 0.24);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
}

.subpage-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.9rem);
}

.subpage-hero img {
  justify-self: end;
  max-height: 230px;
  object-fit: contain;
  border-radius: 18px;
}

.contact-hero img {
  padding: 8px;
  background: rgba(250, 250, 248, 0.76);
  border: 1px solid rgba(95, 144, 120, 0.18);
  box-shadow: var(--soft-shadow);
  animation: bryn-float 8s ease-in-out infinite;
}

.subpage-shell {
  display: grid;
  gap: 18px;
  padding-top: 26px;
}

.content-card {
  padding: 30px;
}

.two-column-card,
.values-card,
.directions-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.value-grid,
.direction-list,
.contact-list {
  display: grid;
  gap: 14px;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-grid p,
.direction-list article,
.contact-list article {
  margin: 0;
  padding: 18px;
  background: rgba(250, 250, 248, 0.72);
  border: 1px solid rgba(95, 144, 120, 0.18);
  border-radius: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.direction-list article:hover,
.contact-list article:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 144, 120, 0.34);
  box-shadow: 0 14px 30px rgba(13, 42, 68, 0.1);
}

.direction-list h3,
.contact-list h3 {
  margin-bottom: 8px;
}

.soft-note {
  margin: 8px 0 0;
}

.contact-shell {
  max-width: 900px;
}

.contact-list-card {
  display: grid;
  gap: 18px;
  min-height: 0;
  padding-bottom: 34px;
}

.contact-list-card::before {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 74px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background:
    radial-gradient(circle at 52% 18%, var(--sun-warm) 0 9%, transparent 10%),
    radial-gradient(circle at 32% 52%, var(--sage-green) 0 17%, transparent 18%),
    radial-gradient(circle at 66% 58%, var(--soft-mint) 0 20%, transparent 21%);
  animation: leaf-pulse 8s ease-in-out infinite;
}

.contact-list-heading h2 {
  margin-bottom: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: 18px;
  align-items: center;
}

.contact-row h3,
.contact-row p {
  margin-bottom: 0;
}

.email-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 38px;
  min-width: min(100%, 292px);
  max-width: 100%;
  padding: 0 14px;
  justify-content: center;
  overflow-wrap: anywhere;
  color: var(--deep-navy);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(157, 201, 178, 0.34);
  border: 1px solid rgba(95, 144, 120, 0.22);
  border-radius: 999px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(157, 201, 178, 0.54);
  border-color: rgba(95, 144, 120, 0.42);
  box-shadow: 0 12px 26px rgba(13, 42, 68, 0.12);
}

.contact-note {
  margin: 0;
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.98rem;
  background:
    linear-gradient(90deg, rgba(233, 242, 238, 0.78), rgba(250, 250, 248, 0.78)),
    linear-gradient(90deg, rgba(95, 144, 120, 0.16), transparent);
  border: 1px solid rgba(95, 144, 120, 0.22);
  border-radius: 16px;
}

footer {
  width: min(1080px, calc(100% - 40px));
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  opacity: 0.78;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .hero-inner,
  .feature-section,
  .project-grid,
  .status-section,
  .subpage-hero,
  .two-column-card,
  .values-card,
  .directions-card,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 24px;
  }

  .hero-inner {
    gap: 26px;
  }

  .brand-banner {
    aspect-ratio: 2.6 / 1;
  }

  .subpage-hero img {
    justify-self: start;
    max-height: 180px;
  }

  .tank-card-content {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 374px;
    padding: 24px;
  }

  .tank-icon-link,
  .tank-icon-link img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .tank-feature-card::after {
    background:
      linear-gradient(180deg, rgba(13, 42, 68, 0.86), rgba(13, 42, 68, 0.62)),
      linear-gradient(0deg, rgba(13, 42, 68, 0.5), transparent 42%);
  }

  .tank-card-copy {
    padding: 18px;
  }

  .status-section > p {
    padding-right: 0;
  }

  .bryn-helper {
    position: static;
    justify-self: end;
    width: 112px;
    margin-top: -14px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .page-shell,
  .hero-inner,
  .subpage-hero,
  footer {
    width: min(100% - 32px, 1080px);
  }

  .site-header {
    display: grid;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .brand-lockup span {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 3.4rem);
  }

  .feature-section,
  .project-card,
  .status-section,
  .content-card,
  .subpage-hero {
    padding: 20px;
  }

  .build-system-card {
    padding: 16px;
  }

  .build-points span,
  .project-note {
    width: fit-content;
  }

  .tank-card-content {
    min-height: 392px;
    padding: 20px;
  }

  .tank-social-links a {
    width: 44px;
    height: 44px;
  }

  .email-link {
    justify-self: stretch;
    justify-content: center;
    min-height: 36px;
    padding: 0 10px;
    font-size: clamp(0.72rem, 3.4vw, 0.95rem);
    font-weight: 800;
    text-align: center;
  }
}

@keyframes wave-drift {
  from {
    transform: translate3d(-10px, 0, 0) rotate(-1deg);
  }

  to {
    transform: translate3d(10px, 5px, 0) rotate(1deg);
  }
}

@keyframes bryn-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes line-shift {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes leaf-pulse {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(1);
  }

  50% {
    opacity: 0.36;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body {
    background: var(--warm-white);
  }

  body::before,
  body::after,
  .hero-ribbon {
    display: none;
  }

  .site-header {
    position: static;
    box-shadow: none;
  }

  .hero,
  .subpage-hero,
  .section,
  .project-card,
  .status-section,
  .content-card {
    break-inside: avoid;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
  }

  .tank-feature-card {
    min-height: 260px;
  }
}
