:root {
  --bg: #f5f0e4;
  --bg-deep: #0f2f2c;
  --panel: rgba(249, 244, 234, 0.86);
  --panel-strong: #fffaf0;
  --panel-dark: #102827;
  --ink: #14211f;
  --muted: #586963;
  --line: rgba(20, 33, 31, 0.12);
  --teal: #0f7c72;
  --teal-deep: #0d5c54;
  --mint: #dff4ea;
  --sand: #ead8b8;
  --gold: #bf8340;
  --red: #b35649;
  --shadow: 0 28px 80px rgba(9, 32, 28, 0.12);
  --shadow-strong: 0 28px 90px rgba(10, 36, 33, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(15, 124, 114, 0.24), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(191, 131, 64, 0.2), transparent 18%),
    radial-gradient(circle at 50% 120%, rgba(16, 40, 39, 0.1), transparent 32%),
    linear-gradient(180deg, #fcf7ee 0%, #f2ecdf 52%, #efe7d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 47, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 47, 44, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 80%);
}

a {
  color: inherit;
}

code {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(31, 122, 108, 0.1);
  color: var(--teal-deep);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

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

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 2.2rem;
}

.hero,
.section,
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)), var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 1.3rem;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(15, 124, 114, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)),
    rgba(251, 247, 239, 0.9);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(14, 61, 57, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 61, 57, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -7% -16% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 124, 114, 0.24), transparent 68%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(135deg, var(--teal) 0%, var(--panel-dark) 100%);
  color: #fff8f0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  box-shadow: 0 18px 28px rgba(13, 92, 84, 0.24);
}

.brand-copy {
  display: grid;
  gap: 0.2rem;
}

.brand-copy strong,
.hero-copy h1,
.summary-card h2,
.section-heading h2,
.detail-card h3,
.timeline-card h3,
.footer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.brand-copy small,
.section-tag,
.panel-label,
.footer-meta,
.image-card figcaption {
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid rgba(20, 33, 31, 0.08);
}

.topbar-links a {
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topbar-links a:hover {
  background: rgba(15, 124, 114, 0.1);
  color: var(--teal-deep);
  transform: translateY(-1px);
}

.status-pill,
.ghost-button,
.primary-button,
.secondary-button,
.image-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.status-pill {
  padding: 0.65rem 0.95rem;
  background: rgba(15, 124, 114, 0.12);
  color: var(--teal-deep);
  border: 1px solid rgba(15, 124, 114, 0.22);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ghost-button,
.primary-button,
.secondary-button {
  padding: 0.95rem 1.3rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.primary-button {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #f8fbfa;
  box-shadow: 0 18px 34px rgba(13, 92, 84, 0.22);
}

.secondary-button {
  border: 1px solid rgba(23, 34, 32, 0.1);
  background: rgba(234, 216, 184, 0.58);
  color: var(--ink);
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  gap: 1.6rem;
  padding: 3.2rem 0 0.4rem;
}

.hero-copy {
  padding: 0.6rem 0.35rem 0.4rem;
}

.section-tag,
.panel-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  line-height: 0.95;
  text-wrap: balance;
}

.lead,
.section-heading p,
.detail-card p,
.timeline-card p,
.note-panel p,
.footer p,
.snapshot-list dd {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.72;
}

.lead {
  max-width: 62ch;
  margin-top: 1.1rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.25rem;
}

.hero-note-label,
.hero-note span:not(.hero-note-label) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  border-radius: 999px;
}

.hero-note-label {
  padding: 0.4rem 0.78rem;
  background: rgba(15, 124, 114, 0.12);
  color: var(--teal-deep);
  border: 1px solid rgba(15, 124, 114, 0.18);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-note span:not(.hero-note-label) {
  padding: 0.4rem 0.9rem;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid rgba(20, 33, 31, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.skill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.skill-strip li {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(23, 34, 32, 0.08);
  font-size: 0.94rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.summary-card,
.code-card,
.stat-card,
.image-card,
.detail-card,
.timeline-card,
.note-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(23, 34, 32, 0.08);
  background: var(--panel-strong);
  box-shadow: 0 18px 36px rgba(19, 34, 31, 0.08);
}

.summary-card,
.code-card,
.stat-card,
.image-card,
.detail-card,
.timeline-card,
.note-panel {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.summary-card:hover,
.code-card:hover,
.stat-card:hover,
.image-card:hover,
.detail-card:hover,
.timeline-card:hover,
.note-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(15, 124, 114, 0.14);
}

.summary-card,
.code-card,
.detail-card,
.timeline-card,
.note-panel {
  padding: 1.35rem;
}

.summary-card h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

#portfolio .section-heading,
#proof .section-heading,
#before-after .section-heading,
#cta .section-heading,
#contact .section-heading {
  max-width: 760px;
}

.snapshot-list {
  display: grid;
  gap: 0.95rem;
  margin: 0;
}

.snapshot-list div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(23, 34, 32, 0.08);
}

.snapshot-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.snapshot-list dt {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.code-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent),
    linear-gradient(180deg, #fff8ef 0%, #f3ebdb 100%);
}

.code-bar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.code-bar span {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: #d1c3ae;
}

.code-body {
  border-radius: 26px;
  padding: 1.25rem;
  background: var(--panel-dark);
  color: #def7f0;
  font-family: Consolas, "Courier New", monospace;
}

.code-body p {
  margin: 0 0 0.75rem;
}

.code-body p:last-child {
  margin-bottom: 0;
}

.prompt,
.success-line {
  color: #78e0c7;
}

.section {
  margin-top: 1.35rem;
  padding: 2rem;
  border-radius: 30px;
}

.section::before,
.footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), rgba(191, 131, 64, 0.9), transparent 72%);
  opacity: 0.75;
}

#services {
  background:
    linear-gradient(135deg, rgba(223, 244, 234, 0.5), transparent 42%),
    rgba(248, 244, 235, 0.86);
}

#portfolio,
#contact {
  background:
    linear-gradient(135deg, rgba(234, 216, 184, 0.26), transparent 45%),
    rgba(250, 245, 236, 0.86);
}

#who-i-help,
#proof {
  background:
    linear-gradient(135deg, rgba(15, 124, 114, 0.08), transparent 38%),
    rgba(246, 242, 233, 0.88);
}

#cta {
  background:
    linear-gradient(135deg, rgba(223, 244, 234, 0.4), transparent 38%),
    rgba(248, 244, 236, 0.88);
}

#about {
  background:
    linear-gradient(135deg, rgba(16, 40, 39, 0.05), transparent 40%),
    rgba(248, 243, 234, 0.88);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.footer h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 0.75rem;
}

.compact {
  margin-bottom: 0;
}

.stats-grid,
.card-grid,
.project-grid,
.results-grid,
.timeline,
.split-cards {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.stat-card {
  position: relative;
  padding: 1.3rem 1.1rem;
  text-align: left;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: Georgia, "Times New Roman", serif;
}

.stat-card span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.showcase-section {
  display: grid;
  gap: 1.4rem;
}

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

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

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

.spreadsheet-showcase {
  margin: 1.2rem 0 1.1rem;
}

.visual-gallery,
.evidence-grid {
  margin-top: 1.15rem;
}

.image-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent),
    var(--panel-strong);
}

.image-card img {
  border-radius: 22px;
  border: 1px solid rgba(23, 34, 32, 0.08);
  background: #0c1413;
}

.gallery-card img {
  object-fit: contain;
}

.image-card figcaption {
  margin-top: 0.9rem;
  line-height: 1.6;
}

#proof .image-card,
#before-after .image-card {
  box-shadow: 0 22px 42px rgba(16, 34, 31, 0.1);
}

.image-label {
  position: absolute;
  top: 1.55rem;
  left: 1.55rem;
  z-index: 1;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-label-warn {
  background: rgba(177, 78, 63, 0.92);
  color: #fff7f2;
}

.image-label-good {
  background: rgba(31, 122, 108, 0.92);
  color: #effcf8;
}

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

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

.detail-card h3,
.timeline-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
    var(--panel-strong);
}

.feature-card {
  min-height: 100%;
}

.service-card,
.audience-card {
  min-height: 100%;
}

.project-card {
  position: relative;
  padding-top: 1.15rem;
  overflow: hidden;
}

.project-card-featured {
  grid-column: span 2;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), rgba(191, 131, 64, 0.86));
  opacity: 0.95;
}

.project-card h3 {
  margin-bottom: 0.8rem;
}

.format-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.42rem 0.74rem;
  border-radius: 999px;
  background: rgba(15, 124, 114, 0.1);
  border: 1px solid rgba(15, 124, 114, 0.14);
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.42rem 0.74rem;
  border-radius: 999px;
  background: rgba(234, 216, 184, 0.55);
  border: 1px solid rgba(191, 131, 64, 0.18);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-points {
  display: grid;
  gap: 0.82rem;
}

.case-points p {
  margin: 0;
  color: var(--muted);
}

.case-points strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.project-card-section {
  margin-top: 1rem;
}

.project-section-title {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-bullet-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.project-bullet-list li + li {
  margin-top: 0.28rem;
}

.skill-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 124, 114, 0.09);
  border: 1px solid rgba(15, 124, 114, 0.14);
  color: var(--teal-deep);
  font-size: 0.84rem;
  line-height: 1.3;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  border: 1px solid rgba(23, 34, 32, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.project-note {
  margin-top: 1rem;
  color: var(--muted);
}

.cta-panel {
  max-width: 820px;
  padding: 0.4rem 0.2rem;
}

.cta-row-centered {
  justify-content: flex-start;
}

.cta-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.cta-mini-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  border: 1px solid rgba(23, 34, 32, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
}

#cta {
  border-color: rgba(15, 124, 114, 0.18);
  box-shadow: 0 28px 90px rgba(10, 36, 33, 0.16);
}

#cta .primary-button,
#cta .secondary-button {
  min-width: 220px;
}

.compact-list {
  line-height: 1.62;
}

.sheet-mockup {
  position: relative;
  overflow: hidden;
}

.sheet-mockup::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.75;
}

.excel-mockup::after {
  background: radial-gradient(circle, rgba(31, 122, 108, 0.16), transparent 68%);
}

.sheets-mockup::after {
  background: radial-gradient(circle, rgba(195, 123, 45, 0.16), transparent 68%);
}

.sheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.05rem;
}

.sheet-toolbar span {
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 34, 32, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.sheet-task-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sheet-task-list li {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(23, 34, 32, 0.08);
  line-height: 1.6;
}

.mini-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

.process-section {
  overflow: visible;
}

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

.timeline-card {
  position: relative;
  min-height: 100%;
}

.timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--teal-deep);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.note-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.footer {
  margin-top: 1.35rem;
  padding: 2rem;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(15, 124, 114, 0.08), transparent 44%),
    rgba(248, 243, 234, 0.9);
}

.footer-meta {
  margin-top: 1rem;
  font-size: 0.94rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .topbar,
  .hero-grid,
  .stats-grid,
  .showcase-grid,
  .card-grid,
  .project-grid,
  .results-grid,
  .timeline,
  .split-cards,
  .note-section {
    grid-template-columns: 1fr 1fr;
  }

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

  .timeline-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
    padding-top: 0.6rem;
  }

  .hero,
  .section,
  .footer {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .topbar,
  .topbar-actions,
  .hero-grid,
  .stats-grid,
  .showcase-grid,
  .card-grid,
  .project-grid,
  .results-grid,
  .timeline,
  .split-cards,
  .note-section {
    grid-template-columns: 1fr;
  }

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

  .topbar {
    display: grid;
  }

  .topbar-links {
    justify-content: flex-start;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .hero-grid {
    padding-top: 2rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .footer h2 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .hero-note {
    gap: 0.45rem;
  }

  #cta .primary-button,
  #cta .secondary-button {
    min-width: 0;
  }

  .timeline-card:last-child {
    grid-column: auto;
  }

  .project-card-featured {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 3rem;
    height: 3rem;
  }

  .status-pill,
  .ghost-button,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .topbar-links {
    width: 100%;
    justify-content: flex-start;
    border-radius: 22px;
  }

  .topbar-links a {
    flex: 1 1 auto;
    text-align: center;
  }

  .topbar-actions,
  .cta-row {
    width: 100%;
  }

  .section-heading h2,
  .footer h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }
}
