:root {
  --ink: #0d1117;
  --text: #18202b;
  --muted: #5c6878;
  --line: #d9e0e8;
  --surface: #ffffff;
  --mist: #eef3f7;
  --steel: #6f7f90;
  --cyan: #00a4b8;
  --green: #2e9f6b;
  --amber: #c57b28;
  --navy: #132235;
  --shadow: 0 20px 60px rgba(16, 27, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  --nav-active: #29b8e6;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  --nav-active: #0879b2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(21, 34, 49, 0.12);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.header-cta,
.header-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  min-width: 0;
  width: clamp(112px, 10vw, 128px);
  aspect-ratio: 2.1 / 1;
  font-weight: 800;
}

.brand::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  background: #fff url("assets/logo/indosim-logo.png") center / calc(100% - 14px) auto no-repeat;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled .brand::before {
  border: 0;
  border-radius: 4px;
  background-image: url("assets/logo/indosim-logo.png");
  background-color: transparent;
  background-size: contain;
  box-shadow: none;
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.nav-links {
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.82;
  transition: color 150ms ease, opacity 150ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.is-active {
  color: var(--nav-active);
  opacity: 1;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 38px);
  left: 50%;
  z-index: 30;
  min-width: 172px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  visibility: hidden;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 27, 43, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 40px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 4px;
  opacity: 1;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--ink);
  background: var(--mist);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-actions {
  gap: 14px;
  justify-self: end;
}

.language-switch {
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 800;
}

.language-switch a {
  opacity: 0.62;
  transition: color 150ms ease, opacity 150ms ease;
}

.language-switch a:hover,
.language-switch a.is-current {
  color: var(--nav-active);
  opacity: 1;
}

.language-switch span {
  opacity: 0.42;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 5vw, 70px);
  min-height: 88vh;
  padding: 120px clamp(20px, 6vw, 84px) 46px;
  overflow: hidden;
  color: #fff;
  background: #0d1117;
}

#simulationCanvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.94) 0%, rgba(8, 13, 20, 0.68) 46%, rgba(8, 13, 20, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 13, 20, 0.5), rgba(8, 13, 20, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.25rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--cyan);
  color: #061014;
  box-shadow: 0 12px 30px rgba(0, 164, 184, 0.24);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 430px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(12, 20, 29, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel-kicker,
.card-number {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.35;
}

.metrics {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.metrics div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metrics dt {
  color: #fff;
  font-weight: 800;
}

.metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 84px);
}

.band {
  background: var(--mist);
}

.home-page .scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.home-page .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: end;
}

.section-heading {
  max-width: 820px;
}

.intro > p,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.services,
.process,
.contact {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  background: #fff;
}

.hpc-capability {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hpc-capability h3 {
  max-width: 520px;
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
}

.hpc-capability > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 800;
}

.text-link::after {
  content: " ->";
}

.service-card p,
.industry-list p,
.timeline p,
.proof-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.portfolio-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.portfolio-strip h3 {
  max-width: 520px;
  font-size: clamp(1.45rem, 2.3vw, 2.4rem);
}

.portfolio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.portfolio-links a,
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.subpage {
  background: var(--mist);
}

.subpage-hero,
.project-hero {
  padding-top: 150px;
  padding-bottom: clamp(58px, 8vw, 96px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 17, 26, 0.96), rgba(15, 48, 56, 0.78)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 72px),
    var(--ink);
}

.subpage-hero h1,
.project-hero h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(3.3rem, 8vw, 8rem);
  line-height: 0.92;
}

.subpage-hero p:not(.eyebrow),
.project-excerpt {
  max-width: 800px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.portfolio-section {
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 92px);
}

.category-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

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

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.category-card,
.project-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(21, 34, 49, 0.07);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-card:hover,
.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 164, 184, 0.45);
  box-shadow: 0 20px 54px rgba(21, 34, 49, 0.12);
}

.category-card p,
.project-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.category-card strong {
  margin-top: auto;
  padding-top: 24px;
  color: var(--cyan);
}

.project-meta {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card.is-placeholder {
  background:
    linear-gradient(135deg, rgba(238, 243, 247, 0.65), rgba(255, 255, 255, 0.92)),
    #fff;
}

.empty-state {
  max-width: 820px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.empty-state p {
  color: var(--muted);
}

.project-hero .back-link {
  margin-bottom: 34px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-top: clamp(54px, 7vw, 92px);
}

.project-article,
.project-aside {
  min-width: 0;
}

.catalog-section {
  padding: 0 0 42px;
}

.catalog-section + .catalog-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.catalog-section h2,
.project-aside h2 {
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.08;
}

.catalog-section p {
  max-width: 900px;
  margin: 18px 0 0;
  color: #354153;
  font-size: 1.02rem;
}

.project-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(21, 34, 49, 0.08);
}

.project-aside .tag-list {
  margin-top: 0;
  padding-top: 0;
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: #cad4de;
}

.industry-list > div {
  padding: 28px;
  background: var(--mist);
}

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

.timeline article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

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

.profiles {
  background: #fff;
}

.about-company,
.about-process,
.about-team {
  scroll-margin-top: 104px;
}

.about-company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
}

.about-company-copy {
  display: grid;
  gap: 22px;
}

.about-company-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.vision-statement {
  padding: 28px 0 0;
  border-top: 1px solid #cad4de;
}

.vision-statement span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-statement strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.25;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid #cad4de;
}

.about-principles article {
  min-width: 0;
  padding: 28px 28px 0 0;
}

.about-principles article + article {
  padding-left: 28px;
  border-left: 1px solid #cad4de;
}

.about-principles p {
  margin: 12px 0 0;
  color: var(--muted);
}

.about-team {
  background: #fff;
}

.team-carousel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.team-carousel-controls {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.team-carousel-status {
  min-width: 58px;
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: right;
}

.team-carousel-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  transition: background 150ms ease, color 150ms ease, opacity 150ms ease;
}

.team-carousel-button:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
}

.team-carousel-button:focus-visible,
.team-carousel-viewport:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cyan) 35%, transparent);
  outline-offset: 3px;
}

.team-carousel-button:disabled {
  cursor: default;
  opacity: 0.3;
}

.team-carousel {
  --profile-gap: 22px;
  --profiles-visible: 3;
  margin-top: 48px;
}

.team-carousel-viewport {
  overflow: hidden;
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-grid {
  display: flex;
  gap: var(--profile-gap);
  margin: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.profile-card {
  display: flex;
  flex: 0 0 calc((100% - 44px) / 3);
  flex-direction: column;
  min-width: 0;
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.profile-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.profile-initials {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.profile-role {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-card > p,
.profile-list {
  color: var(--muted);
}

.profile-card > p {
  margin: 0;
  font-size: 1.02rem;
}

.profile-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.profile-list li {
  padding-left: 4px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.stat {
  display: block;
  color: var(--ink);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 560px);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(21, 34, 49, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 84px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  display: block;
  flex: 0 0 auto;
  width: 132px;
  aspect-ratio: 2.1 / 1;
  overflow: hidden;
  border-radius: 10px;
  color: transparent;
  font-size: 0;
  background: url("assets/logo/indosim-logo-white.png") center / contain no-repeat;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .contact,
  .project-layout,
  .about-company-layout,
  .hpc-capability {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    justify-self: start;
  }

  .proof-grid,
  .timeline,
  .category-grid,
  .project-grid,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles article,
  .about-principles article + article {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid #cad4de;
  }

  .portfolio-strip {
    grid-template-columns: 1fr;
  }

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

  .project-aside {
    position: static;
  }

  .team-carousel {
    --profiles-visible: 2;
  }

  .profile-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    max-width: none;
    line-height: 1;
  }

  .brand {
    width: 104px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .header-actions {
    gap: 9px;
  }

  .language-switch {
    gap: 3px;
    font-size: 0.68rem;
  }

  .team-carousel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .team-carousel-controls {
    align-self: stretch;
    justify-content: flex-end;
  }

  .team-carousel {
    --profiles-visible: 1;
    margin-top: 32px;
  }

  .profile-card {
    flex-basis: 100%;
  }

  .profile-grid {
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 92svh;
    padding: 104px 18px 32px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 3.8rem);
    line-height: 0.92;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .portfolio-links a {
    width: 100%;
    justify-content: center;
  }

  .service-grid,
  .industry-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .metrics div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .hero-panel {
    display: none;
  }

  .subpage-hero,
  .project-hero {
    padding-top: 118px;
  }

  .subpage-hero h1,
  .project-hero h1 {
    font-size: clamp(2.9rem, 14vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .profile-grid,
  .team-carousel-viewport {
    transition: none;
  }
}
