:root {
  color-scheme: light;
  --orange: #f29a2e;
  --amber: #f4d95d;
  --lime: #dbe86e;
  --harbour: #5ea8a4;
  --green: #6e8d56;
  --ink: #10100f;
  --charcoal: #1b1b1a;
  --muted: #65635c;
  --paper: #fbf8ef;
  --white: #ffffff;
  --line: rgba(16, 16, 15, 0.13);
  --shadow: 0 24px 80px rgba(16, 16, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

body::selection {
  color: var(--ink);
  background: var(--amber);
}

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

a {
  color: inherit;
}

button,
textarea {
  font: inherit;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8a5008;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.button.compact {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.chooser-page {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(244, 217, 93, 0.58), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(94, 168, 164, 0.2), transparent 24%),
    linear-gradient(145deg, #fff8dc, #fff, #f2f6e4);
}

.chooser {
  width: min(1120px, 100%);
  display: grid;
  gap: 18px;
}

.chooser-hero,
.concept-grid article {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.chooser-hero {
  min-height: 54vh;
  display: grid;
  align-content: end;
  padding: clamp(28px, 6vw, 72px);
  overflow: hidden;
  position: relative;
}

.chooser-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: min(460px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--orange), var(--amber), var(--lime), var(--orange));
  opacity: 0.78;
}

.chooser-hero > * {
  position: relative;
  z-index: 1;
}

.chooser h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.chooser p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.58;
}

.chooser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.concept-grid article {
  padding: 24px;
}

.concept-grid span,
.service-rail span {
  color: var(--orange);
  font-weight: 950;
}

.concept-grid h2,
.service-rail h3,
.feature-panel h3,
.mobile-card h2 {
  margin: 8px 0;
}

.concept-grid p,
.feature-panel p,
.service-rail p,
.ai-lab p,
.mobile-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.desktop-concept {
  background:
    linear-gradient(180deg, rgba(242, 154, 46, 0.2), transparent 28%),
    linear-gradient(140deg, #fff8da 0%, #fffdf7 45%, #eef4e2 100%);
  overflow-x: hidden;
}

#harbour-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(16, 16, 15, 0.08);
  background: rgba(251, 248, 239, 0.78);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 158px;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-header nav a {
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--charcoal);
  font-weight: 850;
  text-decoration: none;
}

.site-header nav a:hover {
  background: rgba(242, 154, 46, 0.18);
}

.desktop-concept main {
  position: relative;
  z-index: 1;
}

.hero-shell {
  width: min(1500px, calc(100% - 48px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: clamp(24px, 5vw, 84px);
  align-items: center;
  padding: 42px 0;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.8rem, 7.25vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  animation: hero-enter 900ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: #38352e;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.portrait-stage {
  position: relative;
  min-height: min(720px, 78vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: clip;
}

.parallax-stage {
  transform-style: preserve-3d;
}

.sun-disc {
  position: absolute;
  inset: 7% 2% auto auto;
  width: min(610px, 47vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.9), transparent 18%),
    conic-gradient(from 210deg, #f18424, #f4d95d, #dbe86e, #78b572, #f18424);
  box-shadow: 0 34px 120px rgba(242, 154, 46, 0.34);
  z-index: -1;
  animation: slow-spin 24s linear infinite;
}

.portrait {
  width: min(500px, 70%);
  align-self: end;
  justify-self: center;
  margin-left: clamp(70px, 7vw, 150px);
  filter: drop-shadow(0 30px 34px rgba(16, 16, 15, 0.2));
  transform: translate3d(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -10px), 0);
  transition: transform 180ms ease-out;
}

.glass-card {
  position: absolute;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.status-card {
  top: 10%;
  left: 2%;
  transform: translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 12px), 0);
}

.ticker-band {
  display: flex;
  gap: 14px;
  width: min(1500px, calc(100% - 48px));
  margin: -18px auto 82px;
  overflow: auto;
  padding: 12px 0;
}

.ticker-band span {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 900;
  animation: float-chip 4s ease-in-out infinite;
}

.ticker-band span:nth-child(2n) {
  animation-delay: 700ms;
}

.ticker-band span:nth-child(3n) {
  animation-delay: 1400ms;
}

.workbench,
.service-section,
.ai-lab {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 92px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 20px;
}

.section-heading h2,
.ai-lab h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.8rem);
  line-height: 0.94;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-panel {
  min-height: 290px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 50px rgba(16, 16, 15, 0.08);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.feature-panel:hover {
  border-color: rgba(242, 154, 46, 0.5);
  box-shadow: 0 26px 72px rgba(16, 16, 15, 0.14);
  transform: translateY(-6px);
}

.feature-panel.wide {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 594px;
  background:
    linear-gradient(140deg, rgba(242, 154, 46, 0.2), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.74);
}

.panel-kicker {
  color: #9a5b0d;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.feature-panel h3 {
  font-size: clamp(1.45rem, 2vw, 2.6rem);
  line-height: 1;
}

.brief-visual {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 260px;
  border-bottom: 2px solid rgba(16, 16, 15, 0.16);
}

.brief-visual span {
  height: var(--h);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--amber), var(--harbour));
  animation: rise 900ms ease both;
  transform-origin: bottom;
}

.image-panel {
  padding: 0;
  background: #f4d95d;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-rail article {
  min-height: 230px;
  border-top: 3px solid var(--ink);
  padding: 20px 0 0;
  position: relative;
}

.service-rail article::after {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--harbour));
  transition: width 500ms ease;
}

.service-rail article.in-view::after {
  width: 100%;
}

.service-rail h3 {
  font-size: clamp(1.5rem, 2.6vw, 3.1rem);
  line-height: 0.98;
}

.ai-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.85fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  border-radius: 34px;
  padding: clamp(26px, 5vw, 62px);
  background:
    linear-gradient(135deg, rgba(16, 16, 15, 0.92), rgba(40, 38, 30, 0.86)),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.ai-lab .eyebrow,
.ai-lab p {
  color: rgba(255, 255, 255, 0.72);
}

.ai-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.ai-card label,
.ask-card label {
  font-weight: 950;
}

.ai-card textarea,
.ask-card textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(16, 16, 15, 0.16);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.ai-response {
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.ai-response p {
  margin-top: 6px;
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 24px;
  color: var(--muted);
}

.signal-wall {
  width: min(1320px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -36px auto 92px;
}

.signal-wall article {
  min-height: 170px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(150deg, rgba(255,255,255,0.86), rgba(244,217,93,0.22));
  box-shadow: 0 18px 52px rgba(16,16,15,0.08);
}

.signal-wall strong {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.9;
}

.signal-wall span {
  color: var(--muted);
  font-weight: 850;
}

.site-footer strong {
  color: var(--ink);
}

.admin-footlink {
  color: rgba(16, 16, 15, 0.38);
  font-size: 0.82rem;
  text-decoration: none;
}

.admin-footlink:hover {
  color: var(--ink);
}

.survey-section {
  width: min(1320px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 0.68fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 3vw, 46px);
  align-items: start;
  margin: -36px auto 92px;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(circle at 20% 0%, rgba(244, 217, 93, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 222, 0.9));
  box-shadow: var(--shadow);
}

.survey-section h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.45rem, 3.25vw, 3.85rem);
  line-height: 1;
  overflow-wrap: normal;
}

.survey-section p {
  color: var(--muted);
  line-height: 1.55;
}

.survey-card,
.survey-results,
.survey-teaser {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(18px, 2vw, 26px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 58px rgba(16, 16, 15, 0.08);
}

.survey-card {
  display: grid;
  gap: 16px;
}

.survey-card fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.survey-choice-list {
  display: grid;
  gap: 10px;
}

.survey-card legend,
.survey-card label > span,
.mobile-survey-card label {
  font-weight: 900;
}

.survey-card label,
.mobile-survey-card label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--charcoal);
}

.survey-card fieldset > label,
.survey-choice-list label {
  align-items: center;
  border: 1px solid rgba(16, 16, 15, 0.1);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.survey-card fieldset > label:hover,
.survey-choice-list label:hover {
  transform: translateX(4px);
  border-color: rgba(242, 154, 46, 0.45);
  background: rgba(255, 248, 219, 0.76);
}

.survey-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 0;
  accent-color: var(--orange);
}

.survey-card label:has(input[type="radio"]:checked) {
  border-color: rgba(242, 154, 46, 0.72);
  background: linear-gradient(90deg, rgba(244, 217, 93, 0.38), rgba(118, 174, 164, 0.16));
}

.survey-card label:has(textarea) {
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) 1fr;
  align-items: start;
  gap: 14px;
}

.survey-card textarea,
.mobile-survey-card textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.survey-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.92rem;
}

.survey-results {
  display: grid;
  gap: 12px;
}

.survey-results[hidden],
.survey-teaser[hidden] {
  display: none;
}

.survey-teaser {
  min-height: 100%;
  display: grid;
  align-content: space-between;
  gap: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 10%, rgba(244, 217, 93, 0.5), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 222, 0.9));
}

.survey-teaser strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  line-height: 1;
}

.survey-teaser p {
  margin: 0;
  color: var(--muted);
}

.pulse-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  min-height: 150px;
  gap: 12px;
  padding-top: 18px;
}

.pulse-bars i {
  display: block;
  height: var(--h);
  min-height: 42px;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, var(--orange), var(--amber) 54%, var(--harbour));
  animation: pulseBar 3.8s ease-in-out infinite;
  animation-delay: calc(var(--h) * -0.025s);
}

@keyframes pulseBar {
  0%, 100% {
    transform: scaleY(0.9);
    opacity: 0.76;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.survey-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.survey-total strong {
  font-size: 2.4rem;
  line-height: 1;
}

.survey-total span,
.survey-result-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.survey-result-row {
  display: grid;
  gap: 7px;
}

.survey-result-row i {
  display: block;
  width: var(--w);
  min-width: 0;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--harbour));
}

.mobile-survey-card form {
  display: grid;
  gap: 12px;
}

.admin-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(244, 217, 93, 0.56), transparent 32%),
    var(--paper);
}

.admin-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.9;
}

.admin-login-card,
.admin-panel,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 46px rgba(16, 16, 15, 0.08);
}

.admin-login-card,
.admin-inline-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.admin-login-card label,
.admin-inline-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.admin-login-card input,
.admin-inline-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  font: inherit;
}

.admin-message,
.admin-error {
  border-radius: 16px;
  padding: 12px 14px;
  background: #e7f4de;
  color: #33521d;
}

.admin-error {
  background: #f7e2dc;
  color: #743422;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-card strong {
  display: block;
  font-size: 2.2rem;
}

.admin-card span {
  color: var(--muted);
  font-weight: 800;
}

.admin-panel {
  margin: 18px 0;
}

.admin-panel h2 {
  margin: 0 0 14px;
}

.admin-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.admin-panel-heading h2,
.admin-panel-heading p {
  margin: 0;
}

.admin-panel-heading p,
.admin-empty {
  color: var(--muted);
  line-height: 1.5;
}

.admin-chart-panel {
  display: grid;
  gap: 18px;
}

.admin-chart-panel p {
  margin: 0;
  color: var(--muted);
}

.admin-chart-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.admin-donut {
  display: grid;
  width: 220px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 48%, transparent 49%),
    conic-gradient(var(--chart));
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 46px rgba(16, 16, 15, 0.12);
}

.admin-donut strong,
.admin-donut span {
  grid-area: 1 / 1;
}

.admin-donut strong {
  margin-top: -18px;
  font-size: 3rem;
  line-height: 1;
}

.admin-donut span {
  margin-top: 44px;
  color: var(--muted);
  font-weight: 900;
}

.admin-bars {
  display: grid;
  gap: 12px;
}

.admin-bars article {
  display: grid;
  gap: 8px;
}

.admin-bars article div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.admin-bars span {
  color: var(--muted);
  white-space: nowrap;
}

.admin-bars i {
  display: block;
  width: var(--w);
  min-width: 0;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--harbour));
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(16, 16, 15, 0.1);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: rgba(242, 154, 46, 0.2);
}

.contact-inbox {
  display: grid;
  gap: 14px;
}

.contact-message-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(16, 16, 15, 0.1);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.contact-message-card p {
  margin: 0;
  color: var(--charcoal);
  line-height: 1.5;
}

.contact-message-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.contact-message-head strong {
  display: block;
  font-size: 1.2rem;
}

.contact-message-head span,
.contact-meta dt {
  color: var(--muted);
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink) !important;
  background: rgba(244, 217, 93, 0.5);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

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

.contact-meta dt {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-meta dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.admin-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.admin-status-form label,
.admin-survey-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.admin-status-form select,
.admin-survey-form input,
.admin-survey-form textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.admin-survey-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-survey-form textarea {
  resize: vertical;
}

.content-page {
  min-height: 100vh;
}

.content-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 82px) 0 92px;
}

.content-hero,
.content-panel,
.content-grid article,
.guide-list article {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 58px rgba(16, 16, 15, 0.08);
}

.content-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  padding: clamp(28px, 6vw, 72px);
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 217, 93, 0.62), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 221, 0.82));
}

.content-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 8.4rem);
  line-height: 0.9;
}

.content-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.58;
}

.compact-content-hero {
  container-type: inline-size;
  gap: 10px;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 46px);
}

.compact-content-hero h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.15rem, 6.1cqi, 5.8rem);
  line-height: 1;
}

.split-hero {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  align-items: end;
  overflow: hidden;
}

.split-hero img {
  max-height: 420px;
  justify-self: center;
  filter: drop-shadow(0 24px 28px rgba(16, 16, 15, 0.15));
}

.content-grid {
  display: grid;
  gap: 16px;
}

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

.content-grid article,
.guide-list article,
.content-panel {
  padding: 24px;
}

.content-grid h2,
.guide-list h2,
.content-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
  line-height: 1;
}

.content-grid p,
.content-panel p,
.guide-list p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.58;
}

.content-grid ul,
.boundary-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.48;
}

.article-feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 18px 0;
}

.article-feature article,
.article-date-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 58px rgba(16, 16, 15, 0.08);
}

.article-feature article {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
}

.article-feature h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.article-standfirst {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.article-date-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 280px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(244, 217, 93, 0.72), transparent 42%),
    linear-gradient(145deg, rgba(242, 154, 46, 0.22), rgba(255, 255, 255, 0.86));
}

.article-date-card span,
.article-date-card em {
  color: #8a5008;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-date-card strong {
  font-size: clamp(4.4rem, 10vw, 8rem);
  line-height: 0.85;
}

.article-date-card em {
  font-style: normal;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-note {
  max-width: 780px;
  margin: 0;
  color: rgba(16, 16, 15, 0.62);
  font-weight: 800;
  line-height: 1.45;
}

.advert-feature .article-date-card {
  background:
    radial-gradient(circle at 50% 12%, rgba(120, 181, 199, 0.48), transparent 42%),
    linear-gradient(145deg, rgba(244, 217, 93, 0.28), rgba(255, 255, 255, 0.9));
}

.advert-preview-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 30px;
  margin: 18px 0 24px;
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 217, 93, 0.46), transparent 32%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 58px rgba(16, 16, 15, 0.08);
}

.advert-preview-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
}

.advert-preview-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.advert-preview-link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 15, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 64px rgba(16, 16, 15, 0.14);
}

.advert-preview-link img {
  display: block;
  width: 100%;
  height: auto;
}

.wide-content {
  grid-column: 1 / -1;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.intro-section,
.focus-section,
.approach-section,
.resident-guide,
.boundaries-section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 92px;
}

.intro-section,
.approach-section,
.boundaries-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  border-radius: 34px;
  padding: clamp(26px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 58px rgba(16, 16, 15, 0.08);
}

.intro-section h2,
.approach-section h2,
.boundaries-section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.intro-copy {
  display: grid;
  gap: 14px;
}

.intro-copy p,
.approach-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.site-note {
  border-left: 4px solid var(--orange);
  padding-left: 14px;
}

.focus-grid,
.guide-grid,
.boundary-grid {
  display: grid;
  gap: 16px;
}

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

.focus-card,
.guide-grid article,
.process-list article,
.boundary-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 42px rgba(16, 16, 15, 0.07);
}

.focus-card span {
  color: #9a5b0d;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.focus-card h3,
.guide-grid h3,
.process-list h3,
.boundary-grid h3 {
  margin: 8px 0;
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  line-height: 1;
}

.focus-card p,
.guide-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 14px;
}

.process-list strong {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
}

.resident-guide .section-heading {
  margin-bottom: 16px;
}

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

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

.content-survey {
  width: 100%;
  margin: 18px 0;
}

.contact-placeholder {
  background:
    linear-gradient(135deg, rgba(242, 154, 46, 0.16), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
}

.contact-form-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 217, 93, 0.5), transparent 36%),
    rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 900;
}

.contact-form label span em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 500;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
}

.wide-field {
  grid-column: 1 / -1;
}

.consent-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
  line-height: 1.45;
}

.consent-row input {
  width: auto;
  margin-top: 4px;
}

.terms-row {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.terms-row input[type="checkbox"] {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  margin-top: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.terms-row span {
  padding-top: 2px;
}

.terms-row strong {
  color: var(--ink);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-response.success {
  background:
    radial-gradient(circle at 18% 0%, rgba(110, 141, 86, 0.34), transparent 34%),
    rgba(255, 255, 255, 0.86);
}

.contact-response.error {
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 154, 46, 0.34), transparent 34%),
    rgba(255, 255, 255, 0.86);
}

.mobile-concept {
  background:
    radial-gradient(circle at 22% 0%, rgba(244, 217, 93, 0.78), transparent 36%),
    linear-gradient(180deg, #f29a2e 0%, #fff7dc 38%, #fbf8ef 100%);
}

.phone-shell {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 14px 14px 90px;
}

.mobile-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  margin: 0 -14px;
  padding: 10px 14px;
  background: rgba(242, 154, 46, 0.82);
  backdrop-filter: blur(18px);
}

.mobile-top img {
  width: 122px;
}

.desktop-link {
  border: 1px solid rgba(16, 16, 15, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.mobile-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: end;
  margin: 8px 0 14px;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.6)),
    linear-gradient(135deg, var(--orange), var(--amber) 60%, var(--lime));
  box-shadow: var(--shadow);
}

.mobile-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 250px;
  margin: 0;
  font-size: 3.12rem;
  line-height: 0.9;
}

.mobile-hero img {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 178px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.quick-actions a,
.quick-actions button {
  min-height: 86px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(16, 16, 15, 0.08);
  font-weight: 950;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.quick-actions a:active,
.quick-actions button:active {
  transform: scale(0.98);
  background: var(--amber);
}

.mobile-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  margin: 14px 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(16, 16, 15, 0.08);
}

.priority-card h2,
.timeline-card h2 {
  font-size: 2rem;
  line-height: 1;
}

.issue-stack {
  display: grid;
  gap: 10px;
}

.issue-stack article {
  display: grid;
  gap: 4px;
  border-radius: 22px;
  padding: 16px;
  color: var(--white);
  background: var(--ink);
  transition: transform 240ms ease;
}

.issue-stack article.in-view {
  transform: translateX(0);
}

.issue-stack article:nth-child(2) {
  background: #845015;
}

.issue-stack article:nth-child(3) {
  background: #486642;
}

.issue-stack span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}

.timeline span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(242, 154, 46, 0.18);
}

@keyframes rise {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-spin {
  to {
    rotate: 360deg;
  }
}

@keyframes float-chip {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 760ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 760ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .concept-grid,
  .article-feature,
  .advert-preview-panel,
  .hero-shell,
  .section-heading,
  .ai-lab,
  .survey-section,
  .intro-section,
  .approach-section,
  .boundaries-section,
  .service-rail,
  .focus-grid,
  .guide-grid,
  .boundary-grid,
  .content-grid.two,
  .guide-list,
  .split-hero,
  .work-grid {
    grid-template-columns: 1fr;
  }

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

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

  .admin-chart-layout {
    grid-template-columns: 1fr;
  }

  .admin-panel-heading,
  .contact-message-head {
    display: grid;
  }

  .contact-meta,
  .admin-survey-form {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .portrait-stage {
    min-height: 520px;
  }

  .feature-panel.wide {
    grid-column: auto;
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .desktop-concept .hero-copy h1 {
    font-size: 4rem;
  }

  .hero-shell,
  .workbench,
  .service-section,
  .ai-lab,
  .survey-section,
  .intro-section,
  .focus-section,
  .approach-section,
  .resident-guide,
  .boundaries-section,
  .ticker-band,
  .signal-wall {
    width: min(100% - 28px, 460px);
  }

  .content-shell {
    width: min(100% - 28px, 460px);
  }

  .content-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .signal-wall {
    grid-template-columns: 1fr;
  }

  .portrait {
    width: 76%;
  }

  .glass-card {
    position: relative;
    inset: auto;
    margin-top: 10px;
  }

  .portrait-stage {
    min-height: auto;
  }
}

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

  .brief-visual span {
    animation: none;
  }

  .sun-disc,
  .ticker-band span {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
