:root {
  color-scheme: light;
  --ink: #13201f;
  --muted: #5c6b67;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --line: #d9ddd1;
  --teal: #073b3a;
  --teal-2: #0e6f68;
  --mint: #a7d9c6;
  --amber: #f0b43c;
  --rust: #b7532f;
  --shadow: 0 22px 60px rgba(13, 36, 34, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--amber);
  color: #1b1301;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0 4vw;
  background: rgba(247, 243, 234, 0.9);
  border-bottom: 1px solid rgba(19, 32, 31, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--mint);
  letter-spacing: 0;
  box-shadow: inset 0 0 0 2px rgba(167, 217, 198, 0.3);
}

.brand-text {
  white-space: nowrap;
}

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

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  padding: 8rem 4vw 5rem;
  overflow: hidden;
  background-color: var(--teal);
  background-position: center;
  background-size: cover;
}

.hero {
  background-position: center top;
}

.page-hero {
  min-height: 58svh;
}

.hero-project {
  background-image: url("parkade-anatomy.png");
}

.about-hero {
  background-image: url("../Project/ir-infrared-sensor-module-circuit-electronic-project.jpg");
}

.contact-hero {
  background-image: url("../Project/Stage2-V2_page-0001.jpg");
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 36, 35, 0.94), rgba(7, 36, 35, 0.68) 48%, rgba(7, 36, 35, 0.12)),
    linear-gradient(0deg, rgba(7, 36, 35, 0.86), rgba(7, 36, 35, 0.05) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: #fff;
  min-width: 0;
}

.eyebrow,
.section-kicker,
.asset-type {
  margin: 0 0 0.7rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: 5.8rem;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-title-stacked span {
  display: block;
}

.page-hero h1 {
  font-size: 4.8rem;
}

.hero-copy {
  width: min(690px, 100%);
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  overflow-wrap: anywhere;
}

.hero-actions,
.contact-row,
.install-actions,
.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--amber);
  color: #211400;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-small {
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
}

.section {
  padding: 5.5rem 4vw;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-band {
  background: var(--teal);
  color: #fff;
  padding: 3rem 4vw;
}

.split-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: center;
}

.split-overview h2,
.install-grid h2,
.section-heading h2,
.contact-card h2,
.contact-aside h2,
.about-copy h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.split-overview p:last-child,
.install-grid > div > p,
.about-copy p,
.purpose-item p,
.stage-item p,
.asset-body p,
.contact-link span {
  color: var(--muted);
}

.intro-band .split-overview p:last-child {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 1.08rem;
}

.anatomy-section {
  background: #e8f0f1;
}

.student-session-section {
  background: #f7f3ea;
}

.featured-video {
  margin-top: 0;
  border-color: rgba(143, 65, 45, 0.26);
  background: #fff;
}

.anatomy-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(340px, 1.28fr);
  gap: 1.3rem;
  align-items: stretch;
}

.anatomy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.anatomy-copy h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.anatomy-copy p {
  color: var(--muted);
}

.anatomy-points {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.anatomy-points span {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--amber);
  background: #f7f3ea;
  padding: 0.55rem 0.8rem;
  color: var(--teal);
  font-weight: 900;
}

.anatomy-image {
  position: relative;
  min-height: 440px;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--teal);
  box-shadow: var(--shadow);
}

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

.anatomy-image span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.72rem;
  border-radius: var(--radius);
  background: rgba(7, 59, 58, 0.92);
  color: #fff;
  font-weight: 900;
}

.deck-section {
  background: var(--surface);
}

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

.deck-viewer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #13201f;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.deck-main {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.deck-slide-button {
  min-width: 0;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: #081514;
  cursor: zoom-in;
}

.deck-slide-button img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #29465a;
}

.deck-nav {
  width: 64px;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.deck-nav:hover {
  background: var(--amber);
  color: #211400;
}

.deck-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.9rem 0;
  color: #fff;
}

.deck-toolbar p {
  margin: 0;
  font-weight: 900;
}

.deck-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.deck-thumbnails button {
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: #0a1615;
  cursor: pointer;
}

.deck-thumbnails button.active,
.deck-thumbnails button:hover {
  border-color: var(--amber);
}

.deck-thumbnails img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.notebook-video {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(320px, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f3ea;
}

.notebook-video h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1;
}

.notebook-video p:not(.section-kicker) {
  color: var(--muted);
}

.video-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #081514;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

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

.with-actions {
  align-items: center;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stage-item {
  min-height: 240px;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.stage-item:last-child {
  border-right: 0;
}

.stage-number {
  display: block;
  color: var(--rust);
  font-weight: 950;
  font-size: 0.9rem;
}

.stage-item h3,
.purpose-item h3,
.asset-body h3 {
  margin: 1.2rem 0 0.55rem;
  font-size: 1.15rem;
}

.resource-section {
  background: #eef4ec;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 0.85rem;
  cursor: pointer;
  font-weight: 850;
}

.filter-button.active,
.filter-button:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

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

.asset-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(13, 36, 34, 0.08);
}

.asset-card.is-hidden {
  display: none;
}

.asset-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  background: #102523;
  cursor: pointer;
  overflow: hidden;
}

.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.asset-thumb:hover img {
  transform: scale(1.035);
}

.asset-thumb span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.62rem;
  border-radius: var(--radius);
  background: rgba(7, 59, 58, 0.9);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.asset-thumb .pdf-thumb-preview {
  position: static;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(245, 179, 72, 0.18), rgba(7, 59, 58, 0.12)),
    #f6f0e5;
  color: var(--ink);
}

.pdf-thumb-preview strong {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  border: 2px solid var(--rust);
  border-radius: var(--radius);
  background: #fff;
  color: var(--rust);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.pdf-thumb-preview small {
  color: var(--muted);
  font-weight: 900;
}

.asset-body {
  flex: 1;
  padding: 1.1rem 1.1rem 0.2rem;
}

.asset-type {
  color: var(--rust);
  margin-bottom: 0;
}

.asset-body h3 {
  margin-top: 0.35rem;
}

.asset-body p {
  margin: 0;
}

.asset-actions {
  padding: 1rem 1.1rem 1.1rem;
}

.install-band {
  background: var(--surface);
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.steps {
  display: grid;
  gap: 0.7rem;
}

.steps p {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.install-actions {
  justify-content: end;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(300px, 1fr);
  gap: 3rem;
  align-items: center;
}

.portrait-panel {
  align-self: stretch;
}

.portrait-button {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--teal);
  box-shadow: var(--shadow);
}

.portrait-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-button span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.72rem;
  border-radius: var(--radius);
  background: rgba(7, 59, 58, 0.9);
  color: #fff;
  font-weight: 900;
}

.lead {
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 800;
}

.muted-section {
  background: #eef4ec;
}

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

.purpose-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

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

.skill-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0 0.75rem;
  color: var(--teal);
  font-weight: 850;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 410px);
  gap: 1.2rem;
  align-items: start;
}

.contact-card,
.contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
  color: var(--ink);
  padding: 0.82rem 0.9rem;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-2);
  box-shadow: 0 0 0 3px rgba(14, 111, 104, 0.16);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--teal);
  font-weight: 850;
}

.contact-aside {
  display: grid;
  gap: 0.75rem;
}

.contact-link {
  display: grid;
  gap: 0.1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.contact-link strong {
  color: var(--teal);
  overflow-wrap: anywhere;
}

.media-dialog {
  width: min(1120px, calc(100vw - 2rem));
  height: min(800px, calc(100svh - 2rem));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.media-dialog::backdrop {
  background: rgba(5, 14, 14, 0.74);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0;
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0 0.75rem;
  font-weight: 900;
}

.modal-stage {
  width: 100%;
  height: calc(100% - 62px);
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #0a1615;
}

.modal-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}

.modal-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.source-preview {
  width: min(680px, 100%);
  color: #fff;
}

.source-preview p {
  color: rgba(255, 255, 255, 0.74);
}

.source-preview .button {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--teal);
  color: #fff;
  padding: 1.4rem 4vw;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
}

@media (min-width: 1500px) {
  :root {
    --max: 1360px;
  }

  .site-header {
    padding-inline: max(4vw, calc((100vw - var(--max)) / 2));
  }

  .hero,
  .page-hero {
    padding-inline: max(4vw, calc((100vw - var(--max)) / 2));
  }

  .hero-content {
    width: min(880px, 100%);
  }

  .hero h1 {
    font-size: 6.6rem;
  }

  .page-hero h1 {
    font-size: 5.3rem;
  }

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

  .hero-copy {
    font-size: 1.25rem;
  }
}

@media (min-width: 2100px) {
  :root {
    --max: 1600px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-content {
    width: min(960px, 100%);
  }

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

  .deck-thumbnails {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 4.6rem;
  }

  .page-hero h1 {
    font-size: 4rem;
  }

  .split-overview h2,
  .install-grid h2,
  .section-heading h2,
  .contact-card h2,
  .contact-aside h2,
  .about-copy h2,
  .anatomy-copy h2 {
    font-size: 2.65rem;
  }

  .asset-grid,
  .stage-list,
  .purpose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-item:nth-child(2) {
    border-right: 0;
  }

  .stage-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .install-grid,
  .about-grid,
  .contact-layout,
  .anatomy-grid,
  .notebook-video,
  .split-overview {
    grid-template-columns: 1fr;
  }

  .install-actions {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    gap: 0.6rem;
    padding-inline: 5vw;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero,
  .page-hero {
    min-height: 76svh;
    padding: 7rem 5vw 3.5rem;
  }

  .hero-content {
    width: 100%;
    max-width: 90vw;
  }

  .hero h1 {
    font-size: 3.5rem;
    line-height: 0.98;
  }

  .page-hero {
    min-height: 54svh;
  }

  .page-hero h1 {
    font-size: 3.2rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .split-overview h2,
  .install-grid h2,
  .section-heading h2,
  .contact-card h2,
  .contact-aside h2,
  .about-copy h2,
  .anatomy-copy h2 {
    font-size: 2.25rem;
    line-height: 1.04;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 36, 35, 0.92), rgba(7, 36, 35, 0.38)),
      linear-gradient(90deg, rgba(7, 36, 35, 0.88), rgba(7, 36, 35, 0.24));
  }

  .section {
    padding: 4rem 5vw;
  }

  .intro-band {
    padding: 2.5rem 5vw;
  }

  .section-heading,
  .with-actions,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .asset-grid,
  .stage-list,
  .purpose-grid {
    grid-template-columns: 1fr;
  }

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

  .stage-item,
  .stage-item:nth-child(2),
  .stage-item:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stage-item:last-child {
    border-bottom: 0;
  }

  .portrait-button {
    min-height: 360px;
  }

  .anatomy-image {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .brand-text {
    max-width: 9.5rem;
    white-space: normal;
    line-height: 1.05;
    font-size: 0.95rem;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 5.8rem 5vw 2.5rem;
  }

  .hero h1 {
    font-size: 2.75rem;
    line-height: 1;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .eyebrow,
  .section-kicker,
  .asset-type {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  .hero-copy {
    margin-top: 1rem;
    font-size: 0.96rem;
  }

  .hero-actions {
    margin-top: 1.4rem;
  }

  .hero-actions,
  .contact-row,
  .install-actions,
  .asset-actions,
  .deck-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 42px;
    padding-inline: 0.85rem;
    white-space: normal;
  }

  .filter-bar {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 calc(50% - 0.45rem);
    padding-inline: 0.55rem;
  }

  .section {
    padding: 3rem 5vw;
  }

  .split-overview h2,
  .install-grid h2,
  .section-heading h2,
  .contact-card h2,
  .contact-aside h2,
  .about-copy h2,
  .anatomy-copy h2 {
    font-size: 1.9rem;
  }

  .stage-item {
    min-height: auto;
    padding: 1rem;
  }

  .asset-body,
  .asset-actions,
  .contact-card,
  .contact-aside {
    padding-inline: 1rem;
  }

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

  .anatomy-image {
    min-height: 220px;
  }

  .deck-viewer {
    padding: 0.65rem;
  }

  .deck-main {
    grid-template-columns: 1fr;
  }

  .deck-nav {
    width: 100%;
    min-height: 42px;
  }

  .deck-nav-prev {
    order: 2;
  }

  .deck-slide-button {
    order: 1;
  }

  .deck-nav-next {
    order: 3;
  }

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

  .modal-header {
    align-items: start;
    flex-direction: column;
  }

  .modal-actions {
    width: 100%;
  }

  .icon-button {
    flex: 1;
  }

  .media-dialog {
    width: 100vw;
    height: 100svh;
    border-radius: 0;
  }
}

@media (max-width: 360px) {
  .site-header {
    min-height: 58px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    max-width: 8rem;
    font-size: 0.86rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero,
  .page-hero {
    padding-top: 5.2rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .hero-copy {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .eyebrow,
  .section-kicker,
  .asset-type {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .split-overview h2,
  .install-grid h2,
  .section-heading h2,
  .contact-card h2,
  .contact-aside h2,
  .about-copy h2,
  .anatomy-copy h2 {
    font-size: 1.65rem;
  }

  .deck-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

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

  .skill-cloud span {
    width: 100%;
    justify-content: center;
  }
}
