:root {
  --ink: #14211d;
  --muted: #66746f;
  --paper: #f3f0e8;
  --panel: #fffefb;
  --line: #ded8ca;
  --green: #08745f;
  --deep: #10231e;
  --gold: #b59a5a;
  --soft: #e9e5d9;
  --danger: #9b2d2d;
  --shadow: 0 22px 60px rgba(20, 33, 29, .14);
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

[hidden] { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 13px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(222, 216, 202, .82);
  background: rgba(243, 240, 232, .9);
  backdrop-filter: blur(18px);
}

.brand span,
.eyebrow,
.resource-card span,
.access-box span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #34423d;
  font-size: 13px;
  font-weight: 780;
}

.linktree-mark {
  min-height: 38px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 116, 95, .24);
  border-radius: 8px;
  padding: 8px;
  color: var(--green);
  background: rgba(255, 255, 255, .7);
}

.linktree-mark::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  clip-path: polygon(45% 0, 55% 0, 55% 34%, 86% 14%, 92% 23%, 61% 43%, 96% 43%, 96% 54%, 61% 54%, 92% 76%, 86% 85%, 55% 64%, 55% 100%, 45% 100%, 45% 64%, 14% 85%, 8% 76%, 39% 54%, 4% 54%, 4% 43%, 39% 43%, 8% 23%, 14% 14%, 45% 34%);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 28px;
  padding: 68px max(24px, calc((100vw - var(--content)) / 2)) 42px;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 25, 21, .93) 0%, rgba(11, 25, 21, .74) 45%, rgba(11, 25, 21, .18) 100%),
    linear-gradient(0deg, rgba(11, 25, 21, .34), rgba(11, 25, 21, .08)),
    url("https://lindenberg.com.br/wp-content/uploads/2025/08/vistaalto-35-LIIVING-270m.webp") center right / cover;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
  padding-bottom: 34px;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  margin-top: 14px;
  max-width: 740px;
  font-size: clamp(38px, 5.7vw, 68px);
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 610px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(8, 116, 95, .28);
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 34px;
}

.hero-metrics div {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 13px;
}

.hero-metrics dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.hero-metrics dd {
  margin-top: 6px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 700;
}

.hero-card {
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  margin-top: 10px;
  font-size: 23px;
  line-height: 1.12;
}

.hero-card p {
  margin-top: 13px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

.section {
  padding: 68px max(24px, calc((100vw - var(--content)) / 2));
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 540px) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head.compact {
  display: block;
  max-width: 660px;
}

h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy,
.form-intro p,
.resource-card p,
.timeline p,
.access-box p {
  color: var(--muted);
  line-height: 1.62;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1.18fr .91fr .91fr;
  gap: 16px;
}

.resource-card,
.timeline article,
.partner-form fieldset,
.access-box,
.privacy-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(20, 33, 29, .06);
}

.resource-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.resource-card.featured {
  color: #fff;
  background: linear-gradient(135deg, #15342d, #0d211c);
  border-color: rgba(255, 255, 255, .1);
}

.resource-card strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

.resource-card.featured p {
  color: rgba(255, 255, 255, .72);
}

.resource-card a {
  margin-top: auto;
  color: #d8c17d;
  font-weight: 900;
}

.updates-section {
  background: #ebe6d8;
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.timeline article {
  padding: 22px;
}

.timeline time {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.timeline strong {
  display: block;
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.12;
}

.timeline p {
  margin-top: 10px;
}

.registration-section {
  display: grid;
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
  gap: 52px;
  padding: 72px max(24px, calc((100vw - var(--content)) / 2));
  background: #fbfaf6;
}

.form-intro {
  position: sticky;
  top: 104px;
  align-self: start;
}

.form-intro p {
  margin-top: 16px;
}

.privacy-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 16px;
  background: #f1eee5;
}

.privacy-note strong {
  color: var(--green);
  font-size: 13px;
}

.privacy-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.partner-form {
  display: grid;
  gap: 16px;
}

.returning-access {
  background: #f4f1e8;
}

.returning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.secondary-action {
  color: var(--green);
  border: 1px solid rgba(8, 116, 95, .24);
  background: #fff;
  box-shadow: none;
}

#lookupMessage {
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

#lookupMessage.error {
  color: var(--danger);
}

.partner-form fieldset {
  margin: 0;
  padding: 20px;
}

.partner-form legend {
  padding: 0 8px;
  color: var(--deep);
  font-weight: 950;
}

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

label {
  display: grid;
  gap: 7px;
  color: #52625d;
  font-size: 13px;
  font-weight: 760;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d4cec0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(8, 116, 95, .68);
  box-shadow: 0 0 0 4px rgba(8, 116, 95, .1);
}

.choice-row,
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.choice-row label,
.chip-grid label,
.stacked-checks label,
.standalone-check,
.lgpd {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid #d8d2c5;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.phone-whatsapp {
  align-self: end;
}

.manager-choice {
  margin-bottom: 12px;
}

.choice-row input,
.chip-grid input,
.stacked-checks input,
.standalone-check input,
.lgpd input {
  width: auto;
  min-height: auto;
}

.field-caption {
  margin: 18px 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.stacked-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.manager-field {
  max-width: 430px;
  margin-top: 12px;
}

.lgpd {
  background: #f1eee5;
}

#formMessage {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

#formMessage.error {
  max-width: 720px;
  color: var(--danger);
}

.access-box {
  grid-column: 2;
  padding: 24px;
  background: #edf6f1;
  border-color: rgba(8, 116, 95, .22);
}

.access-box strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.access-box p {
  margin: 12px 0 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(24px, calc((100vw - var(--content)) / 2));
  color: #4c5a55;
  background: #e8e3d5;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: #4c5a55;
}

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

.admin-page {
  background: #fbfaf6;
}

.admin-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

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

.admin-head-actions,
.admin-row-actions,
.admin-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-head h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
}

.admin-head p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(20, 33, 29, .06);
}

.admin-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.admin-card > .button {
  margin-top: 14px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

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

.admin-message {
  min-height: 22px;
  margin: 10px 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.admin-message.error {
  color: var(--danger);
}

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

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

.admin-table th {
  padding: 12px 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  vertical-align: top;
  border-top: 1px solid var(--line);
  padding: 14px 10px;
  color: #34423d;
  font-size: 14px;
  line-height: 1.45;
}

.admin-table strong,
.admin-table span,
.admin-table small {
  display: block;
}

.admin-table strong {
  color: var(--ink);
  font-size: 15px;
}

.admin-table small {
  margin-top: 5px;
  color: var(--muted);
}

.admin-delete {
  border: 1px solid rgba(155, 45, 45, .24);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--danger);
  background: #fff;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.admin-edit {
  border: 1px solid rgba(8, 116, 95, .24);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--green);
  background: #fff;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16, 35, 30, .32);
  backdrop-filter: blur(10px);
}

.admin-edit-card {
  width: min(980px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 28px 72px rgba(20, 33, 29, .22);
}

.admin-edit-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-edit-head h2 {
  margin-top: 6px;
  font-size: 26px;
}

.admin-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

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

.admin-edit-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

.empty-row {
  color: var(--muted);
  text-align: center;
}

.projects-page {
  background: #fbfaf6;
}

.projects-page .topbar {
  min-height: 62px;
}

.projects-page .brand span {
  font-size: 10px;
}

.projects-page .brand strong {
  font-size: 18px;
}

.projects-page nav a:not(.linktree-mark) {
  border-radius: 999px;
  padding: 7px 10px;
}

.projects-page nav a:not(.linktree-mark):hover {
  background: rgba(8, 116, 95, .08);
  color: var(--green);
}

.projects-page .linktree-mark {
  min-height: 34px;
  min-width: 38px;
}

.projects-hero {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 56px max(24px, calc((100vw - var(--content)) / 2)) 46px;
  background:
    linear-gradient(135deg, rgba(247, 244, 236, .97), rgba(235, 229, 214, .9)),
    url("https://lindenberg.com.br/wp-content/uploads/2025/08/vistaalto-35-LIIVING-270m.webp") center / cover;
  border-bottom: 1px solid var(--line);
}

.projects-hero h1 {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.06;
}

.projects-hero p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.projects-hero-panel {
  border: 1px solid rgba(222, 216, 202, .9);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 254, 251, .78);
  box-shadow: 0 18px 48px rgba(20, 33, 29, .08);
  backdrop-filter: blur(18px);
}

.projects-hero-panel span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.projects-hero-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.projects-hero-panel .button {
  width: 100%;
  margin-top: 18px;
  box-shadow: 0 16px 34px rgba(8, 116, 95, .18);
}

.commission-note {
  padding: 18px max(24px, calc((100vw - var(--content)) / 2));
  background: #fffefb;
  border-bottom: 1px solid rgba(222, 216, 202, .78);
}

.commission-note p {
  max-width: 900px;
  color: #586762;
  font-size: 14px;
  line-height: 1.58;
}

.projects-section {
  padding: 30px max(24px, calc((100vw - var(--content)) / 2)) 76px;
}

.projects-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.project-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

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

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(20, 33, 29, .075);
}

.project-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #d8d2c5;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 35, 30, 0) 50%, rgba(16, 35, 30, .28));
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-visual-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(16, 35, 30, .72);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-card-body {
  display: grid;
  grid-template-rows: auto auto auto minmax(112px, auto) auto auto 1fr;
  align-content: stretch;
  gap: 12px;
  padding: 20px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta span {
  border: 1px solid rgba(8, 116, 95, .2);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  background: #f3faf7;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.08;
}

.project-card p,
.project-card li,
.project-address {
  color: var(--muted);
  line-height: 1.55;
}

.project-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  align-content: start;
}

.project-card li {
  font-size: 14px;
  line-height: 1.35;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.project-facts span {
  min-height: 62px;
  border: 1px solid #e2dccf;
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  background: #fbfaf6;
  font-weight: 720;
  line-height: 1.35;
}

.project-facts strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-address {
  font-size: 14px;
  font-weight: 720;
}

.project-actions-block {
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  align-self: end;
}

.project-actions-block > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.project-action {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 116, 95, .18);
  border-radius: 6px;
  padding: 10px 12px;
  color: #22342f;
  background: #fffefb;
  box-shadow: 0 8px 18px rgba(20, 33, 29, .035);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.project-action span {
  overflow-wrap: anywhere;
}

.project-action:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 14px 28px rgba(8, 116, 95, .18);
}

.project-action.is-disabled {
  color: #8b908d;
  border-color: #e1dbcf;
  background: #f3f0e8;
  box-shadow: none;
  cursor: not-allowed;
}

.project-action.is-disabled:hover {
  transform: none;
  color: #8b908d;
  border-color: #e1dbcf;
  background: #f3f0e8;
  box-shadow: none;
}

.project-action.main {
  color: #0b5f51;
  background: #f3faf7;
  font-weight: 900;
}

.project-action.main:hover {
  color: #fff;
  background: var(--green);
}

.project-action.is-disabled.main,
.project-action.is-disabled.main:hover {
  color: #8b908d;
  border-color: #e1dbcf;
  background: #f3f0e8;
}

.project-action.whatsapp {
  min-height: 42px;
  justify-content: center;
  color: #fff;
  border-color: #233530;
  background: #233530;
  box-shadow: 0 12px 28px rgba(20, 33, 29, .12);
  text-align: center;
}

.project-action.whatsapp:hover {
  color: #fff;
  border-color: var(--deep);
  background: var(--deep);
  box-shadow: 0 14px 30px rgba(20, 33, 29, .16);
}

.project-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}

@media (max-width: 980px) {
  .topbar,
  .footer {
    display: grid;
    align-items: start;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero,
  .section-head,
  .resource-grid,
  .timeline,
  .registration-section,
  .form-grid,
  .returning-grid,
  .stacked-checks,
  .admin-toolbar,
  .admin-edit-grid,
  .projects-hero,
  .projects-toolbar,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .admin-head {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-card {
    margin-bottom: 0;
  }

  .form-intro {
    position: static;
  }

  .access-box {
    grid-column: auto;
  }

  .project-visual {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 620px) {
  .topbar,
  .hero,
  .section,
  .registration-section,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  .hero-copy { font-size: 17px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .button,
  .form-actions .button {
    width: 100%;
  }

  .project-actions {
    grid-template-columns: 1fr;
  }

  .project-action {
    min-height: 46px;
    font-size: 13px;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }
}
