:root {
  --forest: #024c1b;
  --forest-deep: #013314;
  --leaf: #1f8a24;
  --lime: #6fb83a;
  --blue: #053388;
  --ink: #14261c;
  --muted: #3c5246;
  --line: #d3e0d4;
  --paper: #f4f7f1;
  --paper-2: #e7efe3;
  --white: #fbfdf8;
  --header: 5.4rem;
  --wrap: 1120px;
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
.ficha h2,
.footer-lema {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(3.1rem, 6.6vw, 5.5rem);
  line-height: 0.96;
}

h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--blue);
}

h2 {
  margin-bottom: 0.75rem;
  color: var(--forest);
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: #cfe6b8;
  color: var(--forest-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--white);
  color: var(--forest);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.8rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #c9d6ff;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 1.25rem;
  background: var(--forest);
  color: #e7f2e6;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.topbar p {
  margin: 0;
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.45rem 1.25rem;
  background: rgba(244, 247, 241, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 76px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--forest);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--forest);
  position: relative;
}

.nav-toggle-bars {
  margin-inline: auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 12px;
  background: var(--forest);
  color: #f3f7f1;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #036326;
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.nav .button {
  padding: 0.7rem 0.95rem;
  color: #f3f7f1;
}

.nav .button:hover,
.nav .button[aria-current="true"] {
  color: #f3f7f1;
}

.button-ghost {
  background: transparent;
  color: var(--forest);
  box-shadow: inset 0 0 0 1.5px rgba(2, 76, 27, 0.45);
}

.button-ghost:hover {
  background: rgba(2, 76, 27, 0.06);
}

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 3.5rem;
  background:
    radial-gradient(880px 460px at 100% -10%, rgba(111, 184, 58, 0.18), transparent 60%),
    radial-gradient(640px 380px at -10% 90%, rgba(5, 51, 136, 0.07), transparent 55%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.rule {
  display: block;
  width: 84px;
  height: 4px;
  margin: 1.2rem 0 1.15rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--forest) 46%, var(--blue));
}

.lede {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  font-size: 1.12rem;
  color: var(--ink);
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  min-width: 0;
}

.hero-meta dt {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.deck {
  display: flex;
  flex-direction: column;
}

.peek {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 22px;
  padding: 0.65rem 1rem 1.15rem;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #e4eedf;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.peek-front {
  margin: -10px 12px 0;
  background: #f7faf5;
}

.ficha {
  position: relative;
  z-index: 1;
  margin-top: -12px;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid rgba(2, 76, 27, 0.1);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(2, 49, 20, 0.1);
}

.ficha-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.ficha-kicker {
  margin-bottom: 0.15rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ficha h2 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1;
}

.pill {
  margin: 0;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 1.15rem 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 0.55rem;
  border-top: 3px solid #d5e0d4;
  color: #6d8174;
  font-size: 0.72rem;
  font-weight: 600;
}

.steps .done {
  border-top-color: var(--leaf);
  color: var(--forest);
}

.steps .now {
  border-top-color: var(--blue);
  color: var(--blue);
}

.ficha-data {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.ficha-data div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.ficha-data dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.ficha-data dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.ficha-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
}

.furrows {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 2.5rem auto 0;
  color: var(--forest);
  opacity: 0.45;
}

.furrows svg {
  display: block;
  width: 100%;
  height: 46px;
}

.furrows path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.furrows path:nth-child(2) {
  opacity: 0.65;
}

.furrows path:nth-child(3) {
  opacity: 0.4;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  scroll-margin-top: 6rem;
}

.section-plain {
  background: var(--white);
}

.section-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-lead p:last-child,
.cycle-intro p:last-child,
.contact-grid > div > p {
  font-size: 1.08rem;
}

.cycle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.cycle-intro {
  position: sticky;
  top: 6.5rem;
}

.cycle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cycle-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.cycle-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.cycle-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--forest);
}

.cycle-list p {
  margin: 0;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
}

.ledger th,
.ledger td {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}

.ledger th {
  width: 34%;
  padding-right: 1.5rem;
  color: var(--forest);
  font-size: 1.05rem;
}

.ledger td {
  color: var(--ink);
}

.statement {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    radial-gradient(700px 280px at 0% 120%, rgba(111, 184, 58, 0.35), transparent 55%),
    var(--blue);
  color: #f4f7f1;
  scroll-margin-top: 6rem;
}

.statement h2,
.statement p {
  color: inherit;
}

.statement h2 {
  max-width: 16ch;
}

.statement p:last-child {
  max-width: 38rem;
  font-size: 1.2rem;
}

.modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
}

.module {
  padding: 1.2rem 0 1.3rem;
  border-top: 1px solid var(--line);
}

.module span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.module p {
  margin: 0;
}

.values {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--forest);
  color: #f3f7f1;
}

.values h2,
.values p {
  color: inherit;
}

.values h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.values p {
  margin: 0;
  color: rgba(243, 247, 241, 0.82);
  font-size: 0.98rem;
}

.values svg {
  width: 32px;
  height: 32px;
  margin-bottom: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 0;
}

.values article {
  padding: 0 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.values article:first-child {
  padding-left: 0;
  border-left: 0;
}

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

.legal {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.75rem;
  padding: 1rem 0 1rem 1rem;
  border-left: 3px solid var(--blue);
}

.legal strong {
  color: var(--forest);
}

.legal span {
  color: var(--muted);
}

.form-card {
  padding: 1.35rem 1.35rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1.5px solid #b7c9b8;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
}

.form-error {
  margin: 0 0 0.8rem;
  color: #8d1d1d;
  font-weight: 600;
}

.form-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}

.form-success p {
  color: var(--ink);
  font-size: 1.15rem;
}

.form-card .button {
  width: 100%;
}

.footer {
  padding: 3rem 0 1.4rem;
  background: var(--forest-deep);
  color: #d7e6d8;
}

.footer p {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  width: 148px;
  height: auto;
  padding: 0.45rem 0.55rem 0.2rem;
  border-radius: 14px;
  background: var(--paper);
}

.footer-lema {
  margin: 0.9rem 0 0;
  color: #f4f7f1;
  font-size: 1.35rem;
  line-height: 1.15;
  max-width: 16rem;
}

.footer-name {
  margin-bottom: 0.35rem;
  color: #f4f7f1;
  font-weight: 600;
}

.footer-nav {
  display: grid;
  gap: 0.4rem;
}

.footer-nav a {
  color: #d7e6d8;
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-base p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .cycle-layout,
  .contact-grid,
  .footer-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .cycle-intro {
    position: static;
  }

  .values article {
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .values article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .modules {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.4rem 1.25rem 1.1rem;
    background: rgba(244, 247, 241, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0;
  }

  .nav .button {
    margin-top: 0.3rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.7rem));
  }

  .topbar {
    flex-direction: column;
    gap: 0.1rem;
  }

  .brand img {
    height: 62px;
  }

  .hero-meta,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger th,
  .ledger td {
    display: block;
    width: auto;
  }

  .ledger th {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .ledger td {
    padding-top: 0;
  }

  .ficha-head,
  .ficha-data div {
    flex-direction: column;
  }

  .ficha-data dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Institutional pages share the existing typography and form components. */
[hidden] { display: none !important; }
.brand { width: 174px; height: 84px; overflow: hidden; flex-shrink: 0; }
.brand img { width: 174px; height: 174px; max-width: none; object-fit: contain; }
.header { padding-inline: max(1.25rem, calc((100% - 1280px) / 2)); }
.nav { gap: 1rem; }
.nav a { font-size: .88rem; }
.institutional-hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 4rem; align-items: center; }
.institutional-hero h1 { font-size: clamp(3rem, 5.8vw, 5rem); line-height: 1.04; }
.institutional-hero .lede { margin-top: 1.5rem; max-width: 35rem; }
.hero-note { border-left: 1px solid var(--line); padding-left: 2.5rem; }
.hero-note > span { font-size: .7rem; letter-spacing: .12em; color: var(--muted); }
.hero-note p { font: 560 2.5rem/1.22 var(--serif); color: var(--forest); margin: 1rem 0; }
.hero-note a { font-size: .9rem; }
.field-banner { display: block; width: 100%; height: auto; margin-top: 2.8rem; border-radius: 4px; }
.hero-caption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; font-size: .8rem; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.principles article { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.principles span { color: var(--leaf); font-size: .85rem; }
.principles h3 { margin-top: 1rem; font-size: 1.5rem; }
.service { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { cursor: pointer; display: flex; align-items: baseline; gap: 1rem; font-size: 1.15rem; font-weight: 500; list-style: none; }
.service summary::-webkit-details-marker { display: none; }
.service summary span { font-size: .8rem; color: var(--leaf); }
.service summary b { margin-left: auto; font-size: 1.4rem; }
.service[open] summary b { transform: rotate(45deg); }
.service p { margin: 1rem 0; }
.service > a { font-size: .9rem; }
.map-layout { display: grid; grid-template-columns: 1.6fr 1fr; border: 1px solid var(--line); }
.map-layout iframe { width: 100%; height: 385px; border: 0; }
.map-aside { padding: 2rem; background: var(--paper-2); }
.map-aside h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.2; }
.map-aside > p:last-child { margin: 1rem 0 0; font-size: .85rem; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.person { border-top: 1px solid var(--line); padding: 1.5rem 0; min-width: 0; }
.initials { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 50%; background: var(--paper-2); color: var(--forest); margin-bottom: 1rem; }
.person a { font-size: .9rem; overflow-wrap: anywhere; }
.technology-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 4rem; }
.statement { background: var(--forest-deep); }
.light-button { color: var(--forest-deep); background: var(--paper); }
.light-button:hover { color: white; }
.app-path { list-style: none; padding: 0; }
.app-path li { padding: 1.7rem 0; border-bottom: 1px solid #ffffff40; font-size: 1.2rem; }
.app-path span { font-size: .8rem; margin-right: 1rem; color: #b6d7b4; }
.editorial-panel { border-left: 2px solid var(--leaf); padding: 1rem 0 1rem 2rem; }
.editorial-panel h3 { font: 560 1.65rem/1.2 var(--serif); margin-bottom: 1rem; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tool-card { padding: 1.8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; min-width: 0; }
.tool-card h3 { margin-bottom: 1.2rem; font-size: 1.4rem; }
.search-row { display: flex; gap: .5rem; margin: .4rem 0 1rem; }
.search-row input { min-width: 0; width: 100%; padding: .75rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.tool-card label { font-size: .85rem; }
.text-button { padding: .2rem 0; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--forest); font: inherit; }
.market-links { margin: 1rem 0; }
.market-links a { display: flex; justify-content: space-between; padding: .7rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.market-links span { font-size: .85rem; }
.forecast { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.forecast article { padding: .8rem .4rem; border-top: 1px solid var(--line); }
.forecast p { margin: .35rem 0; font-size: .85rem; }
#rates-results { white-space: pre-line; }
.footer a { overflow-wrap: anywhere; }
@media (min-width:901px) and (max-width:1150px) { .nav { gap: .6rem; } .nav a { font-size: .76rem; } .brand { width: 130px; } .brand img { width: 140px; height: 140px; } }
@media (max-width:900px) { .institutional-hero, .technology-grid, .map-layout, .tools-grid { grid-template-columns: 1fr; gap: 2rem; } .hero-note { display: none; } .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .nav a { font-size: 1rem; } .map-layout { gap: 0; } }
@media (max-width:600px) { .principles, .team-grid { grid-template-columns: 1fr; gap: .5rem; } .hero-caption { flex-direction: column; gap: .4rem; } .tool-card, .map-aside { padding: 1.2rem; } .search-row { flex-direction: column; } .brand { height: 72px; } .field-banner { margin-top: 2rem; } .editorial-panel { padding-left: 1.2rem; } }
/* Keep the complete supplied wordmark visible, including its subtitle. */
.brand { height: 104px; }
.brand img { width: 140px; height: 140px; }
@media (max-width:600px) { .brand { height: 78px; } .brand img { width: 110px; height: 110px; } }

/* Compact summaries expand together; all quotes wrap without scrolling. */
.market-bar { background: var(--forest-deep); color: #f4f7f1; padding: 14px 1.25rem; }
.market-bar-inner { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 265px minmax(0,1fr); gap: 1.5rem; align-items: start; }
.market-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: #bcd5b9; }
.market-bar summary { cursor: pointer; list-style: none; }
.market-bar summary::-webkit-details-marker { display: none; }
.market-weather summary > strong { display: block; font-size: 1rem; margin: .5rem 0 .15rem; }
#weather-summary { font-size: .8rem; color: #e0eddd; display: block; }
.weather-panel { padding-top: 1rem; }
.weather-panel p, .weather-panel label { color: #e0eddd; font-size: .8rem; }
.weather-panel .search-row { flex-direction: column; }
.weather-panel input { background: #f4f7f1; color: var(--ink); font-size: .9rem; }
.weather-panel .button { background: #cce3b7; color: var(--forest-deep); padding: .6rem; }
.weather-panel .forecast { gap: .3rem; }
.weather-panel .forecast article { padding-inline: 0; }
.weather-panel .forecast p { font-size: .73rem; }
.market-prices { border-left: 1px solid #ffffff30; padding-left: 1.5rem; min-width: 0; }
.market-heading { display: grid; grid-template-columns: 1fr auto; gap: .4rem; align-items: center; }
.market-chevron { font-size: 1rem; line-height: 1; }
.market-prices[open] .market-chevron { transform: rotate(180deg); }
.market-preview { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .35rem 1rem; }
.quote-preview-item { min-width: 0; display: block; }
.quote-preview-item > span { font-size: .65rem; color: #cce3b7; display: block; line-height: 1.3; }
.quote-preview-item > strong { display: block; font-size: .73rem; line-height: 1.4; overflow-wrap: anywhere; }
.quotes-panel { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #ffffff30; }
.market-controls { display: flex; justify-content: flex-end; }
.market-controls button { border: 1px solid #ffffff40; color: #f4f7f1; background: transparent; cursor: pointer; padding: .35rem .6rem; border-radius: 4px; font: inherit; font-size: .75rem; }
.market-controls button:hover { background: #ffffff15; }
.market-controls button:disabled { opacity: .6; cursor: wait; }
.market-bar :focus-visible { outline-color: #cce3b7; }
.market-stream { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; padding: .75rem 0; }
.commodity-quotes { display: contents; }
.market-quote { min-width: 0; overflow-wrap: anywhere; }
.market-quote h3 { color: #cce3b7; font-size: .8rem; margin-bottom: .2rem; }
.market-quote > strong { display: block; font-size: .9rem; line-height: 1.4; }
.market-quote > span, .market-quote > a { display: block; color: #d4e3ce; font-size: .7rem; line-height: 1.4; margin-top: .2rem; }
.market-status { margin: .2rem 0 0; color: #c8dac2; font-size: .7rem; }
.team-illustrations { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.team-illustrations figure { margin: 0; }
.team-illustrations img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; }
.team-illustrations figcaption { font-size: .8rem; color: var(--muted); padding-top: .4rem; }
@media (max-width:900px) { .market-bar-inner { grid-template-columns: 215px minmax(0,1fr); gap: 1rem; } .market-prices { padding-left: 1rem; } .market-preview, .market-stream { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) {
  .market-bar { padding: .7rem 1rem; }
  .market-bar-inner { grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .market-weather summary > strong { margin: .2rem 0; }
  .market-prices { border-left: 0; border-top: 1px solid #ffffff30; padding: .6rem 0 0; }
  .weather-panel { max-width: 420px; }
  .team-illustrations { grid-template-columns: 1fr; }
}

.market-prices[open] .market-preview,
.market-weather[open] #weather-location,
.market-weather[open] #weather-summary { display: none; }
.market-weather summary .market-label > span { display: inline-block; }
.market-weather[open] summary .market-label > span { transform: rotate(180deg); }
