:root {
  --bg: #050608;
  --bg-secondary: #0b0d10;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(15, 17, 22, 0.78);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #a1a7b3;
  --muted-strong: #c6cad3;
  --accent: #8dc2ff;
  --accent-strong: #cde4ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(124, 168, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #040506 0%, #07090d 38%, #050608 100%);
  overflow-x: hidden;
}

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

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

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

.background-glow {
  position: fixed;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.background-glow-left {
  top: -12rem;
  left: -12rem;
  background: #5ea6ff;
}

.background-glow-right {
  right: -14rem;
  bottom: -18rem;
  background: #9fe2ff;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(5, 7, 10, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--panel-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-text {
  font-size: 1rem;
  color: var(--muted-strong);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding-top: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-strong);
}

.hero-copy h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
}

.hero-text,
.section-heading p,
.about-panel p,
.process-card p,
.project-card p,
.project-list-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
}

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

.button-small {
  min-height: 2.85rem;
  padding: 0.75rem 1.1rem;
}

.button-full {
  width: 100%;
}

.button-primary {
  color: #07111d;
  background: linear-gradient(180deg, #eef6ff 0%, #bfd9ff 100%);
  box-shadow: 0 10px 24px rgba(133, 183, 255, 0.25);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-card,
.stat-card,
.project-card,
.about-panel,
.process-card,
.contact-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.highlight-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.highlight-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted-strong);
}

.highlight-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
}

.hero-visual {
  min-height: 32rem;
  display: flex;
}

.hero-portrait-shell {
  flex: 1;
  min-height: clamp(30rem, 42vw, 39rem);
}

.hero-portrait-frame {
  position: absolute;
  inset: 1rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #0b0d10;
}

.hero-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.1), transparent 28%, transparent 60%, rgba(4, 6, 8, 0.52)),
    linear-gradient(90deg, rgba(4, 6, 8, 0.22), transparent 24%, transparent 76%, rgba(4, 6, 8, 0.2));
  pointer-events: none;
}

.hero-portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  display: block;
  filter: saturate(1.02) contrast(1.02) brightness(0.93);
}

.hero-portrait-card {
  position: absolute;
  z-index: 1;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.82), rgba(8, 10, 13, 0.72));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.hero-portrait-card-primary {
  left: 1.75rem;
  right: 1.75rem;
  bottom: 1.75rem;
  padding: 1.15rem 1.2rem;
}

.hero-portrait-card-primary strong {
  display: block;
  font-size: 1.45rem;
  color: var(--muted-strong);
  line-height: 1.5;
}

.visual-shell {
  position: relative;
  min-height: 100%;
  padding: 1.25rem;
  border-radius: 2.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

.visual-shell::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(141, 194, 255, 0.22), transparent 26%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 44%);
  pointer-events: none;
}

.visual-card {
  position: absolute;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(26, 30, 37, 0.92), rgba(13, 15, 19, 0.84));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.visual-card-main {
  inset: 2rem 1.75rem 6rem 1.75rem;
  padding: 1.5rem;
}

.visual-card-bar {
  width: 7rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.visual-card-content {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.75rem;
}

.visual-kicker {
  color: var(--accent-strong);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.visual-card-content h2 {
  margin: 0.65rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.visual-card-content p {
  margin: 0;
  color: var(--muted);
  max-width: 18rem;
}

.visual-card-secondary {
  left: 1.5rem;
  bottom: 1.5rem;
  width: 15rem;
  padding: 1rem 1.1rem;
  background: rgba(11, 13, 16, 0.88);
}

.mini-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.visual-card-secondary strong {
  display: block;
  line-height: 1.5;
  color: var(--muted-strong);
}

.visual-card-metrics {
  right: 1.5rem;
  bottom: 1.5rem;
  width: 11.25rem;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.85rem;
  background: rgba(12, 14, 18, 0.92);
}

.metric-value,
.stat-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--text);
}

.metric-label {
  font-size: 0.84rem;
  color: var(--muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1rem;
}

.stat-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
}

.stat-card p {
  margin: 0.75rem 0 0;
  line-height: 1.6;
  color: var(--muted);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.35rem);
}

.section-heading p {
  margin: 1.15rem 0 0;
}

.projects-grid,
.process-grid,
.about-grid {
  display: grid;
  gap: 1.25rem;
}

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

.project-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--accent-strong);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3,
.project-list-card h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.about-panel h3,
.process-card h3 {
  margin: 1.2rem 0 0.8rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.project-card p,
.project-list-card p {
  margin: 0;
}

.project-tags,
.capability-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-tags li,
.capability-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.project-preview {
  min-height: 10.5rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.project-preview::before,
.project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
}

.project-preview::before {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.12), transparent 50%),
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.12), transparent 26%);
}

.project-preview::after {
  inset: auto 1rem 1rem 1rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(7, 10, 14, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.project-preview-orbital {
  background:
    radial-gradient(circle at 78% 20%, rgba(117, 187, 255, 0.36), transparent 28%),
    linear-gradient(145deg, rgba(9, 19, 34, 0.96), rgba(7, 25, 49, 0.82));
}

.project-preview-plotter {
  background:
    radial-gradient(circle at 30% 18%, rgba(139, 255, 224, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(13, 22, 18, 0.95), rgba(27, 35, 22, 0.88));
}

.project-preview-tileisle {
  background:
    radial-gradient(circle at 75% 25%, rgba(112, 218, 255, 0.28), transparent 26%),
    linear-gradient(145deg, rgba(8, 18, 28, 0.96), rgba(18, 28, 44, 0.86));
}

.project-preview-cane {
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 214, 120, 0.28), transparent 30%),
    linear-gradient(145deg, rgba(33, 20, 8, 0.95), rgba(52, 38, 14, 0.86));
}

.project-card-footer,
.project-list-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.section-cta,
.page-hero-panel,
.project-list-card,
.detail-panel,
.sidebar-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-cta {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.section-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 42rem;
}

.page-hero {
  padding-top: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.page-hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  max-width: 10ch;
}

.page-summary {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 42rem;
}

.page-hero-panel {
  padding: 1.7rem;
  border-radius: var(--radius-xl);
}

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

.fact-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fact-label,
.panel-label {
  display: block;
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
}

.fact-value {
  display: block;
  margin-top: 0.55rem;
  line-height: 1.5;
  color: var(--muted-strong);
}

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

.project-list-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-list-card h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.project-main,
.project-sidebar {
  display: grid;
  gap: 1.25rem;
}

.detail-panel,
.sidebar-panel {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.detail-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
}

.detail-panel > p:not(.panel-label),
.detail-item p,
.sidebar-note {
  color: var(--muted);
  line-height: 1.7;
}

.detail-panel > p:not(.panel-label) {
  margin: 1rem 0 0;
}

.detail-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.detail-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.detail-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

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

.media-grid-cane {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.media-grid-single {
  grid-template-columns: 1fr;
}

.media-slot {
  min-height: 13rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top, rgba(141, 194, 255, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.media-slot-image {
  justify-content: flex-start;
  gap: 0.9rem;
}

.media-slot-feature {
  grid-column: 1;
}

.media-slot-explainer {
  grid-column: 2;
}

.media-slot-data {
  grid-column: 1 / -1;
}

.media-slot-full {
  grid-column: 1 / -1;
}

.media-image {
  width: 100%;
  height: 13rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 13, 0.92);
  object-fit: cover;
  display: block;
}

.media-image-contain {
  object-fit: contain;
}

.media-image-data {
  height: auto;
}

.media-slot-feature .media-image {
  height: 24rem;
}

.media-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.media-inline-link {
  color: var(--accent-strong);
  font-size: 0.9rem;
  line-height: 1.4;
}

.media-image-link {
  display: block;
  line-height: 0;
}

.media-slot-data .media-image {
  height: auto;
  min-height: 0;
}

.media-slot-showcase .media-image {
  height: 34rem;
  min-height: 0;
}

.media-image-showcase {
  background: rgba(5, 7, 10, 0.96);
}

.media-slot strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.media-slot p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.sidebar-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.sidebar-list li {
  color: var(--muted);
  line-height: 1.65;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.link-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.sidebar-note {
  margin: 1rem 0 0;
}

.about-grid {
  grid-template-columns: 1.2fr 1fr;
}

.about-panel {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
}

.about-panel p {
  margin: 0;
}

.about-panel p + p {
  margin-top: 1rem;
}

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

.process-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.process-index {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.contact-panel p {
  margin: 1rem 0 0;
  max-width: 40rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
}

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

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

  .reveal,
  .button,
  .site-nav a {
    transition: none;
  }

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

@media (max-width: 1024px) {
  .hero,
  .page-hero,
  .project-detail-grid,
  .about-grid,
  .contact-panel,
  .projects-grid,
  .project-list-grid,
  .process-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .hero-portrait-shell {
    min-height: 32rem;
  }

  .contact-panel {
    align-items: flex-start;
  }

  .media-grid,
  .page-fact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .header-inner {
    min-height: 4.75rem;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 14vw, 4.7rem);
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-portrait-card-primary {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .contact-panel,
  .about-panel,
  .project-card,
  .project-list-card,
  .detail-panel,
  .sidebar-panel,
  .process-card,
  .stat-card,
  .section-cta {
    padding: 1.35rem;
  }

  .section-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero {
    gap: 1.5rem;
  }

  .hero-visual {
    min-height: 25rem;
  }

  .hero-portrait-shell {
    min-height: 28rem;
  }

  .hero-portrait-frame {
    inset: 0.85rem;
  }

  .hero-portrait-card {
    position: absolute;
    width: calc(100% - 1.7rem);
  }

  .hero-portrait-card-primary {
    left: 0.85rem;
    right: auto;
    bottom: 0.85rem;
    width: calc(100% - 1.7rem);
  }

  .button-small {
    width: 100%;
  }
}
