:root {
  color-scheme: light;
  --bg: #eef1f2;
  --surface: #f8f8f6;
  --surface-strong: #dbe1e5;
  --surface-contrast: #1b242d;
  --surface-contrast-soft: #24313d;
  --ink: #17212b;
  --muted: #5c6771;
  --line: rgba(23, 33, 43, 0.14);
  --line-inverse: rgba(255, 255, 255, 0.12);
  --accent: #60788f;
  --accent-strong: #334b61;
  --accent-soft: #c9d4dd;
  --accent-earth: #8d7851;
  --accent-earth-soft: #d9ceb5;
  --accent-eco: #5f7267;
  --brand-gold: #c4a15a;
  --brand-gold-muted: #a98d55;
  --shadow: 0 8px 20px rgba(19, 28, 38, 0.045);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 2rem));
  --shell-narrow: min(760px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.narrow {
  width: var(--shell-narrow);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(237, 244, 239, 0.76);
  font-weight: 700;
  letter-spacing: 0.035em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(238, 241, 242, 0.94);
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--brand-gold);
  background: transparent;
  border-radius: 0;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: currentColor;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 76svh;
  display: flex;
  align-items: end;
  overflow: clip;
  background: var(--surface-contrast);
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98) brightness(0.86);
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(27, 36, 45, 0.08) 0%, rgba(27, 36, 45, 0.24) 45%, rgba(17, 24, 31, 0.68) 100%),
    linear-gradient(90deg, rgba(17, 24, 31, 0.64) 0%, rgba(17, 24, 31, 0.28) 55%, rgba(17, 24, 31, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  padding: 6.2rem 0 3rem;
  color: #edf4ef;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 2.5rem;
  align-items: end;
}

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

.hero h1,
.section h2,
.cta-inner h2,
.inquiry-summary h2 {
  margin: 0;
  line-height: 1.08;
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 14ch;
}

.section h2,
.cta-inner h2,
.inquiry-summary h2 {
  font-size: clamp(1.9rem, 3vw, 3.3rem);
  max-width: 18ch;
}

.hero-body,
.section-body,
.cta-inner p,
.feature-card p,
.service-card p,
.principle-row p,
.timeline-item p,
.tool-card p,
.dashboard-note,
.inquiry-summary p,
.site-footer p {
  font-size: 1.05rem;
  color: inherit;
}

.hero-body {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: rgba(237, 244, 239, 0.86);
}

.hero-note {
  margin: 0.85rem 0 0;
  color: rgba(237, 244, 239, 0.7);
  font-size: 0.92rem;
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: none;
}

.button-primary {
  background: #eef2f5;
  color: var(--accent-strong);
}

.button-secondary {
  background: transparent;
  color: #edf4ef;
  border-color: rgba(237, 244, 239, 0.28);
}

.section .button-primary,
.cta-section .button-primary,
.inquiry-form .button-primary {
  background: var(--accent-strong);
  color: #edf4ef;
}

.section .button-secondary {
  color: var(--accent-strong);
  border-color: rgba(41, 69, 59, 0.18);
}

.section-contrast .button-primary {
  background: #edf4ef;
  color: var(--accent-strong);
}

.section-contrast .button-secondary {
  color: #edf4ef;
  border-color: rgba(237, 244, 239, 0.28);
}

.hero-metrics {
  display: grid;
  gap: 0.75rem;
}

.metric-tile {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line-inverse);
  background: rgba(237, 244, 239, 0.06);
  border-radius: var(--radius);
}

.metric-tile strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.metric-tile span {
  color: rgba(237, 244, 239, 0.76);
  font-size: 0.94rem;
}

.section {
  padding: 5.5rem 0;
}

.section-light {
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(23, 33, 43, 0.05);
}

.section-intro {
  padding: 4.85rem 0;
}

.section-intro .narrow {
  width: min(840px, calc(100vw - 2rem));
}

.section-compact-note {
  padding: 2.7rem 0;
  box-shadow: none;
}

.section-compact-note .narrow {
  max-width: 820px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fcfcfa;
  padding: 1.35rem 1.45rem;
}

.section-compact-note h2 {
  margin: 0 0 0.55rem;
  max-width: 100%;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

.section-compact-note .section-body {
  margin: 0;
  max-width: 68ch;
  font-size: 0.98rem;
}

.section-attached {
  padding-top: 1.85rem;
  box-shadow: none;
}

.section-overview {
  padding: 4.35rem 0 4.65rem;
}

.section-overview h2 {
  font-size: clamp(1.65rem, 2.25vw, 2.55rem);
  line-height: 1.14;
  max-width: 22ch;
}

.section-overview .context-image-frame img {
  max-height: 360px;
}

.featured-service-section {
  background: var(--surface);
  border-top: 1px solid rgba(23, 33, 43, 0.08);
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(27, 36, 45, 0.98) 0%, rgba(24, 33, 41, 0.98) 100%);
  color: #edf4ef;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-body {
  max-width: 60ch;
  color: var(--muted);
}

.feature-grid,
.service-grid,
.pricing-grid,
.tool-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

.image-text-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.image-text-layout.image-left {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.image-text-copy .section-body {
  max-width: 62ch;
}

.image-text-copy .section-body + .section-body {
  margin-top: 0.85rem;
}

.image-text-list {
  max-width: 56ch;
}

.context-image-frame {
  border: 1px solid var(--line);
  background: #f6f7f5;
  border-radius: var(--radius);
  overflow: hidden;
}

.context-image-frame.frame-earth {
  border-color: rgba(141, 120, 81, 0.22);
  background: #faf8f3;
}

.context-image-frame img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.98) brightness(0.98);
}

.context-image-caption {
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.featured-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 2.25rem;
  align-items: start;
}

.featured-service-copy {
  max-width: 560px;
}

.featured-service-copy .section-body {
  max-width: 60ch;
}

.featured-service-points {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.featured-service-point {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.featured-service-point h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.featured-service-point p {
  margin: 0;
  color: var(--muted);
}

.featured-service-proof .brief-sheet {
  box-shadow: 0 10px 22px rgba(18, 28, 39, 0.055);
}

.featured-service-proof {
  font-size: 0.94rem;
}

.featured-service-proof .brief-sheet-head {
  padding: 0.95rem 1.05rem;
}

.featured-service-proof .brief-sheet-body {
  padding: 0.35rem 1.05rem 1rem;
}

.featured-service-proof .brief-sheet-section {
  padding: 0.78rem 0;
}

.featured-service-proof .brief-sheet-grid {
  gap: 0.65rem;
}

.featured-service-proof .brief-note {
  padding: 0.78rem;
}

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

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

.service-grid-body {
  max-width: 78ch;
  margin: 0 0 1.65rem;
}

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

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

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

.grid-balanced .feature-grid,
.grid-balanced .service-grid,
.grid-balanced .tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
}

.pricing-balanced .pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
}

.feature-card,
.service-card,
.pricing-card,
.tool-card,
.timeline-item,
.metric-tile,
.inquiry-summary,
.inquiry-form,
.dashboard-panel {
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.pricing-card,
.tool-card,
.timeline-item,
.inquiry-summary,
.inquiry-form {
  background: #fcfcfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.feature-card,
.service-card,
.pricing-card,
.tool-card,
.timeline-item {
  box-shadow: none;
}

.feature-card h3,
.service-card h3,
.pricing-card h3,
.tool-card h3,
.timeline-item h3,
.principle-row h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.feature-card p,
.service-card p,
.pricing-card p,
.tool-card p,
.timeline-item p,
.principle-row p {
  margin: 0;
  color: var(--muted);
}

.pricing-price {
  margin-top: 1.1rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.pricing-turnaround {
  margin-top: 0.2rem;
  color: var(--accent-strong);
  font-size: 0.94rem;
  font-weight: 600;
}

.pricing-card > p:not(.pricing-price):not(.pricing-turnaround):not(.pricing-note) {
  margin-top: 1rem;
}

.pricing-note,
.section-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-note {
  margin-top: 0.85rem;
}

.section-note {
  max-width: 70ch;
  margin: 1rem 0 0;
}

.inline-list,
.bullet-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.inline-list li + li,
.bullet-list li + li {
  margin-top: 0.45rem;
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-row {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item {
  min-height: 100%;
}

.timeline-step {
  display: inline-block;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.brief-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.08fr);
  gap: 2rem;
  align-items: start;
}

.brief-preview-disclaimer {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.brief-sheet {
  border: 1px solid rgba(23, 33, 43, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: clip;
  box-shadow: 0 14px 26px rgba(18, 28, 39, 0.06);
}

.brief-sheet-head {
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid rgba(23, 33, 43, 0.14);
  background: rgba(23, 33, 43, 0.03);
}

.brief-sheet-head h3 {
  margin: 0;
  font-size: 1.18rem;
}

.brief-sheet-body {
  padding: 0.45rem 1.2rem 1.15rem;
}

.brief-sheet-section {
  padding: 0.95rem 0;
}

.brief-sheet-section + .brief-sheet-section {
  border-top: 1px solid rgba(23, 33, 43, 0.12);
}

.brief-sheet-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.brief-sheet-text,
.brief-recommendation {
  margin: 0;
}

.brief-list {
  margin: 0;
  padding-left: 1.1rem;
}

.brief-list li + li {
  margin-top: 0.45rem;
}

.brief-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.brief-note {
  padding: 0.95rem;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 6px;
  background: rgba(23, 33, 43, 0.018);
}

.brief-note p:last-child {
  margin: 0;
}

.brief-recommendation {
  font-weight: 600;
  color: var(--ink);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 2rem;
  align-items: start;
}

.dashboard-copy .section-body,
.dashboard-copy .bullet-list,
.dashboard-copy .definition-list {
  color: rgba(237, 244, 239, 0.82);
}

.dashboard-frame {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: clip;
  background: rgba(248, 250, 252, 0.05);
  box-shadow: 0 12px 24px rgba(12, 18, 26, 0.16);
}

.dashboard-map {
  position: relative;
  aspect-ratio: 1.55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #eceff1;
}

.dashboard-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
  filter: none;
}

.dashboard-annotation {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  background: rgba(15, 24, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  max-width: min(240px, calc(100% - 2rem));
}

.annotation-primary {
  left: 1rem;
  bottom: 1rem;
}

.annotation-secondary {
  top: 1rem;
  right: 1rem;
}

.dashboard-annotation span,
.dashboard-annotation strong,
.dashboard-stats small,
.dashboard-stats strong,
.dashboard-note,
.definition-list dt,
.definition-list dd {
  color: #edf4ef;
}

.dashboard-annotation span,
.dashboard-stats small,
.definition-list dt {
  opacity: 0.72;
  font-size: 0.82rem;
}

.dashboard-panel {
  padding: 1rem 1.05rem 1.05rem;
  background: rgba(248, 250, 252, 0.07);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: none;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.panel-label {
  margin: 0 0 1rem;
  color: rgba(237, 244, 239, 0.74);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.dashboard-stats {
  margin-bottom: 1rem;
}

.dashboard-stats div {
  padding: 0.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-stats strong {
  display: block;
  margin-top: 0.25rem;
}

.dashboard-note {
  margin: 0.95rem 0 0;
  color: rgba(237, 244, 239, 0.72);
}

.dashboard-secondary-proof {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.05);
  overflow: clip;
  box-shadow: 0 14px 24px rgba(12, 18, 26, 0.16);
}

.dashboard-secondary-copy {
  padding: 1rem 1rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-secondary-copy h3 {
  margin: 0;
  color: #edf4ef;
  font-size: 1.02rem;
}

.dashboard-secondary-copy p {
  margin: 0.55rem 0 0;
  color: rgba(237, 244, 239, 0.74);
}

.dashboard-secondary-frame {
  background: #eceff1;
}

.dashboard-secondary-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.definition-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
}

.definition-list div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-inverse);
}

.definition-list dt {
  margin-bottom: 0.2rem;
}

.definition-list dd {
  margin: 0;
  font-size: 1rem;
}

.cta-section {
  background: var(--accent-soft);
}

body[data-page="river-intelligence"] {
  --surface-contrast: #182532;
  --surface-contrast-soft: #223445;
  --accent: #64809a;
  --accent-strong: #35516a;
  --accent-soft: #c8d7e3;
}

body[data-page="home"] .hero-metrics .metric-tile:nth-child(2),
body[data-page="services"] .hero-metrics .metric-tile:nth-child(2),
body[data-page="river-intelligence"] .hero-metrics .metric-tile:nth-child(2) {
  border-color: rgba(100, 128, 154, 0.3);
  background: rgba(100, 128, 154, 0.08);
}

body[data-page="home"] .hero-metrics .metric-tile:nth-child(3),
body[data-page="home"] .service-grid > .service-card:only-child {
  border-color: rgba(141, 120, 81, 0.22);
}

body[data-page="home"] .hero-metrics .metric-tile:nth-child(3) {
  background: rgba(141, 120, 81, 0.08);
}

body[data-page="home"] .service-grid > .service-card:only-child {
  background: #fbfaf6;
}

body[data-page="home"] .service-grid > .service-card:only-child h3,
body[data-page="home"] .service-grid > .service-card:only-child .inline-list {
  color: var(--accent-earth);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.cta-inner p {
  max-width: 58ch;
  color: var(--accent-strong);
  margin-top: 1rem;
}

.cta-inner .cta-note {
  margin-top: 0.85rem;
  color: rgba(23, 33, 43, 0.68);
  font-size: 0.92rem;
}

.field-notes-masthead {
  position: relative;
  overflow: hidden;
  background: #e8eef0;
  border-bottom: 1px solid var(--line);
}

.field-notes-masthead-bg,
.field-notes-masthead::before {
  position: absolute;
  inset: 0;
}

.field-notes-masthead-bg {
  background-image: var(--field-notes-bg);
  background-size: cover;
  background-position: var(--field-notes-bg-position, center);
  opacity: 0.94;
}

.field-notes-masthead::before {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(241, 244, 244, 0.88) 0%, rgba(239, 243, 243, 0.74) 48%, rgba(235, 241, 241, 0.44) 100%),
    linear-gradient(180deg, rgba(247, 248, 246, 0.08) 0%, rgba(213, 225, 225, 0.1) 100%);
}

.field-notes-masthead-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100vw - 2rem));
  padding: 4.6rem 0 4.15rem;
}

.field-notes-masthead h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.85rem);
  line-height: 1.08;
  max-width: 15ch;
}

.field-notes-masthead p:not(.eyebrow) {
  max-width: 58ch;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.field-notes-section {
  padding-top: 2.7rem;
}

.field-notes-shell,
.field-note-shell {
  width: min(920px, calc(100vw - 2rem));
}

.field-notes-intro {
  max-width: 760px;
}

.field-notes-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  max-width: 14ch;
}

.field-note-dek {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 66ch;
}

.field-notes-intro p:not(.eyebrow) {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 66ch;
}

.field-notes-empty {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.field-notes-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.field-note-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.field-note-meta {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  color: var(--muted);
  font-size: 0.88rem;
}

.field-note-meta span {
  color: var(--accent-strong);
  font-weight: 700;
}

.field-note-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.field-note-row p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 68ch;
}

.text-link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.field-note-masthead {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.field-note-masthead-bg,
.field-note-masthead::before {
  position: absolute;
  inset: 0;
}

.field-note-masthead-bg {
  background-image: var(--field-note-bg);
  background-size: cover;
  background-position: var(--field-note-bg-position, center);
  opacity: 0.92;
}

.field-note-masthead::before {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 248, 246, 0.96) 0%, rgba(248, 248, 246, 0.9) 52%, rgba(248, 248, 246, 0.72) 100%),
    linear-gradient(180deg, rgba(247, 248, 246, 0.08) 0%, rgba(213, 225, 225, 0.1) 100%);
}

.field-note-masthead-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3.25rem;
  max-width: 880px;
}

.field-note-masthead h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.08;
}

.field-note-dek {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.field-note-meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.field-note-body {
  max-width: 72ch;
  margin-top: 0;
}

.field-note-body-section + .field-note-body-section {
  margin-top: 2rem;
}

.field-note-body h2,
.field-note-related h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.18;
}

.field-note-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.field-note-back {
  margin-top: 2.25rem;
}

.field-note-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.field-note-related a {
  display: block;
  margin-top: 0.65rem;
  color: var(--accent-strong);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 1.2rem;
  align-items: start;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-group label {
  color: var(--muted);
  font-size: 0.92rem;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 0.95rem;
  background: #fff;
  color: var(--ink);
}

.field-group select {
  min-height: 3rem;
}

.field-group textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.45rem;
}

.form-status[data-state="success"] {
  color: #2f6b53;
}

.form-status[data-state="error"],
.form-status[data-state="unconfigured"] {
  color: #7a4b2b;
}

.form-status[data-state="sending"] {
  color: var(--muted);
}

.inquiry-summary {
  background: var(--surface-contrast);
  color: #edf4ef;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 6.25rem;
}

.inquiry-summary p:not(.eyebrow) {
  color: rgba(237, 244, 239, 0.8);
}

.site-footer {
  padding: 3rem 0 2.25rem;
  border-top: 1px solid var(--line);
  background: #eef1f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.5fr) minmax(180px, 0.5fr);
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  max-width: 560px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--brand-gold);
  flex: 0 0 auto;
}

.footer-brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-brand-title {
  font-weight: 700;
  color: var(--ink);
}

.footer-note {
  max-width: 56ch;
  color: var(--muted);
  margin: 0;
}

.footer-column h3 {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.footer-bottom-center {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-bottom-right {
  text-align: right;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-content,
  .image-text-layout,
  .featured-service-layout,
  .brief-preview-layout,
  .dashboard-layout,
  .cta-inner,
  .inquiry-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .footer-bottom-center,
  .footer-bottom-right {
    text-align: left;
  }

  .feature-grid,
  .service-grid,
  .pricing-grid,
  .tool-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    padding-top: 6.25rem;
  }

  .context-image-frame img {
    max-height: 360px;
  }

  .section-attached {
    padding-top: 1.9rem;
  }

  .hero h1,
  .section h2,
  .cta-inner h2,
  .inquiry-summary h2,
  .field-notes-masthead h1,
  .field-notes-intro h1,
  .field-note-masthead h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    padding: 1rem;
    background: rgba(251, 251, 249, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

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

  .hero-content {
    gap: 1.2rem;
    padding-bottom: 2.75rem;
  }

  .feature-grid,
  .service-grid,
  .pricing-grid,
  .tool-grid,
  .timeline-grid,
  .brief-sheet-grid,
  .field-row,
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .section-intro {
    padding: 4.2rem 0;
  }

  .field-note-masthead-inner {
    padding: 3.25rem 0 2.75rem;
  }

  .section-attached {
    padding-top: 1.55rem;
  }

  .section-overview {
    padding: 3.75rem 0 4rem;
  }

  .grid-balanced .feature-grid,
  .grid-balanced .service-grid,
  .grid-balanced .tool-grid,
  .pricing-balanced .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .context-image-frame img {
    max-height: 300px;
  }

  .principle-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .field-note-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .brand-copy span {
    display: none;
  }
}
