:root {
  --red: #ff0000;
  --ink: #1d1e20;
  --near-black: #0d141a;
  --muted: #56585e;
  --navy: #1a1a2e;
  --line: #e7e7ea;
  --soft-red: rgba(255, 0, 0, 0.42);
  --soft-white: rgba(255, 255, 255, 0.78);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

html[lang="ja"] body {
  font-family: Roboto, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 8px 12px;
}

.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: 20;
  min-height: 92px;
  border-bottom: 1px solid rgba(13, 20, 26, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(15, 21, 28, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.logo img {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 21, 28, 0.08);
  object-fit: contain;
}

@media (min-width: 1200px) {
  .logo::after {
    content: "Garuda Digital Technologies";
    display: block;
    max-width: 280px;
    color: var(--red);
    font-size: clamp(25px, 2vw, 33px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0.01em;
  }
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border: 1px solid rgba(13, 20, 26, 0.08);
  border-radius: 999px;
  padding: 7px;
  background: rgba(248, 249, 251, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  flex-wrap: nowrap;
}

.main-nav > a {
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.main-nav > a:hover,
.main-nav > a:focus {
  color: var(--red);
  background: rgba(255, 0, 0, 0.07);
}

.main-nav > a[aria-current="page"] {
  color: var(--red);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 21, 28, 0.08);
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--near-black);
}

.language-toggle {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--near-black);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 21, 28, 0.08);
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus {
  color: var(--red);
}

.language-current {
  min-width: 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.language-globe {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  opacity: 0.72;
}

.language-globe::before,
.language-globe::after {
  content: "";
  position: absolute;
  inset: 3px 5px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  border-radius: 999px;
}

.language-globe::after {
  inset: 7px 2px auto;
  border: 0;
  border-top: 1px solid currentColor;
  border-radius: 0;
}

.language-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 258px;
  max-height: min(440px, calc(100svh - 130px));
  display: none;
  gap: 4px;
  overflow: auto;
  border: 1px solid rgba(13, 20, 26, 0.1);
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(15, 21, 28, 0.18);
}

.language-switcher.is-open .language-menu {
  display: grid;
}

.language-option {
  min-height: 40px;
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--near-black);
}

.language-option:hover,
.language-option:focus,
.language-option.is-active {
  color: var(--red);
  background: rgba(255, 0, 0, 0.07);
}

.language-option-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  background: #f3f5f7;
  font-size: 11px;
  font-weight: 700;
}

.language-option-name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px auto;
  background: var(--near-black);
  border-radius: 2px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section[id] {
  scroll-margin-top: 104px;
}

.section h1,
.section h2,
.section h3,
.page-hero h1,
.product-hero h1,
.food-hero h1 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.section h2,
.section h3 {
  font-size: 48px;
}

.section h5,
.section h6 {
  margin: 0;
  color: var(--near-black);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.section h6 {
  font-size: 18px;
}

.muted {
  color: var(--muted);
}

.home-hero {
  position: relative;
  min-height: clamp(500px, calc(100svh - 92px), 660px);
  overflow: hidden;
  background: var(--near-black);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 32%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 25% 76%, rgba(255, 0, 0, 0.08), transparent 22%);
}

.home-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.12) contrast(1.04) saturate(1.03);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 18, 0.2) 0%, rgba(9, 13, 18, 0.02) 52%, rgba(9, 13, 18, 0.12) 100%),
    linear-gradient(180deg, rgba(9, 13, 18, 0) 0%, rgba(9, 13, 18, 0.12) 100%);
}

.media-hero::after,
.food-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 30, 32, 0.16);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding-top: 44px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero-copy {
  position: relative;
  max-width: 640px;
  padding: 28px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(13, 20, 26, 0.05), rgba(13, 20, 26, 0.09));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  text-align: left;
}

.home-hero-copy::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0.9), rgba(255, 255, 255, 0.34));
}

.home-hero-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.home-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.44);
}

.hero-offer-strip {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-offer-strip span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 13px;
  color: #ffffff;
  background: rgba(13, 20, 26, 0.4);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.home-hero .lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.home-hero .hero-actions {
  margin-top: 28px;
  justify-content: flex-start;
}

@media (min-width: 761px) {
  .home-hero-copy {
    transform: translateY(72px);
  }
}

@media (min-width: 1180px) {
  .home-hero-inner {
    align-items: center;
  }


  .header-inner {
    gap: 12px;
  }
  .home-hero-copy {
    max-width: 668px;
    margin: 0 auto;
    padding: 30px 34px 32px;
    text-align: center;
    transform: translate(44px, 76px);
  }


  .logo::after {
    max-width: 230px;
    font-size: clamp(19px, 1.45vw, 23px);
    line-height: 1;
  }
  .hero-offer-strip,
  .home-hero .hero-actions {
    justify-content: center;
  }
}

.home-hero .button {
  border-color: rgba(255, 255, 255, 0.74);
  color: var(--near-black);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.home-hero .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(12px);
}

.home-hero .button:hover,
.home-hero .button:focus {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.service-card,
.step-card,
.gallery-item {
  margin: 0;
}

.home-solutions {
  padding-top: 44px;
  padding-bottom: 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.solutions-heading {
  max-width: 760px;
  margin-bottom: 28px;
  min-width: 0;
}

.section-kicker,
.solution-label {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.intro-text {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.solution-lab {
  display: grid;
  grid-template-columns: minmax(258px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.solution-tabs {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.solution-tab {
  width: 100%;
  min-height: 86px;
  border: 1px solid rgba(13, 20, 26, 0.08);
  border-left: 4px solid transparent;
  border-radius: 24px;
  padding: 16px 18px 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 5px;
  text-align: left;
  color: var(--near-black);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(13, 20, 26, 0.05);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.solution-tab:hover,
.solution-tab:focus,
.solution-tab.is-active {
  border-left-color: var(--red);
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(13, 20, 26, 0.08);
}

.solution-tab span {
  grid-row: 1 / span 2;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.solution-tab strong {
  min-width: 0;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.solution-tab small {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.solution-stage {
  position: relative;
  min-width: 0;
}

.solution-panel {
  min-height: 0;
  display: block;
  border: 1px solid rgba(13, 20, 26, 0.1);
  border-radius: 30px;
  padding: 30px 32px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
  box-shadow: 0 20px 48px rgba(13, 20, 26, 0.08);
  animation: solution-panel-in 420ms ease both;
  min-width: 0;
}

.solution-panel[hidden] {
  display: none;
}

.solution-copy {
  max-width: 760px;
  min-width: 0;
}

.solution-copy h3 {
  margin: 0 0 14px;
  color: var(--near-black);
  font-size: 34px;
  line-height: 1.18;
  max-width: 14ch;
  overflow-wrap: anywhere;
}

.home-solutions h2 {
  max-width: 780px;
  font-size: 42px;
  line-height: 1.18;
}

.solution-copy p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.solution-copy ul {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  min-width: 0;
}

.solution-copy li {
  min-width: 0;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(13, 20, 26, 0.08);
  border-left: 3px solid var(--red);
  border-radius: 18px;
  background: #f5f7f8;
  color: var(--near-black);
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.solution-copy li::before {
  content: none;
}

.solution-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.solution-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(13, 20, 26, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  background: #ffffff;
  color: var(--near-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.solution-actions a:hover,
.solution-actions a:focus {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

body[data-page="home"] .site-footer {
  position: relative;
  padding: 48px 0 38px;
}

body[data-page="home"] .site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.54), rgba(255, 0, 0, 0));
}

body[data-page="home"] .footer-inner {
  gap: 48px;
}

@keyframes solution-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .home-hero-copy {
    max-width: 560px;
    padding: 24px 24px 26px;
  }

  .home-hero h1 {
    font-size: 44px;
  }

  .home-solutions {
    padding-top: 46px;
  }

  .home-solutions h2 {
    font-size: 36px;
  }

  .solution-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-tab {
    min-height: 64px;
    padding: 12px;
    display: block;
  }

  .solution-tab span {
    display: block;
    margin-bottom: 6px;
  }

  .solution-tab strong {
    display: block;
    font-size: 15px;
  }

  .solution-tab small {
    display: none;
  }

  .solution-panel {
    padding: 24px;
  }

  .solution-copy h3 {
    max-width: none;
  }

  .solution-copy ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-row {
  display: grid;
  grid-template-columns: 455px 1fr;
  gap: 86px;
  align-items: center;
  margin-top: 32px;
}

.feature-row img {
  width: 100%;
  height: 304px;
  object-fit: cover;
}

.feature-row:nth-of-type(2) img {
  height: 274px;
}

.feature-copy h3,
.feature-copy h5,
.feature-copy h6 {
  margin-bottom: 20px;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  color: #ffffff;
  background: var(--navy);
  padding: 64px 0 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 72px;
  align-items: start;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  color: #ffffff;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-address {
  max-width: 360px;
  margin-top: 10px;
}

.copyright {
  align-self: end;
  font-size: 14px;
}

.media-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.services-hero {
  background-image: url("../images/services-hero.jpg");
}

.media-hero-content,
.food-hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 32px 16px;
  color: #ffffff;
  text-align: center;
}

html[lang="ja"] .media-hero-content,
html[lang="ja"] .food-hero-content,
html[lang="ja"] .home-hero-copy {
  max-width: 680px;
}

.media-hero h1,
.food-hero h1,
.product-hero h1 {
  font-size: 64px;
}

.media-hero p,
.food-hero p,
.product-hero p {
  margin: 16px auto 0;
  max-width: 455px;
}

.centered-heading {
  text-align: center;
}

.section-intro {
  max-width: 520px;
  margin: 14px auto 0;
  color: var(--muted);
  text-align: center;
}

.card-grid,
.step-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-card img,
.step-card img {
  width: 100%;
  height: 213px;
  object-fit: cover;
}

.service-card h3,
.service-card h6,
.step-card h6 {
  margin: 18px 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.service-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.service-card-link:hover h3,
.service-card-link:focus h3,
.service-card-link:hover h6,
.service-card-link:focus h6 {
  color: var(--red);
}

.portfolio-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 52px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 82, 82, 0.22), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(72, 255, 188, 0.18), transparent 26%),
    linear-gradient(135deg, #121922 0%, #18232f 52%, #102018 100%);
}

.portfolio-hero::before,
.portfolio-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.portfolio-hero::before {
  top: 22px;
  right: -42px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 46px;
  transform: rotate(12deg);
}

.portfolio-hero::after {
  left: 42px;
  bottom: -52px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.portfolio-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(268px, 0.72fr);
  gap: 20px;
  align-items: stretch;
}

.portfolio-copy {
  display: grid;
  align-content: center;
  gap: 0;
}

.portfolio-copy h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.portfolio-copy .lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.portfolio-hero .section-kicker {
  color: #74ffbb;
}

.portfolio-hero .button {
  border-color: rgba(255, 255, 255, 0.82);
  color: var(--near-black);
  background: #ffffff;
}

.portfolio-hero .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.portfolio-hero .button:hover,
.portfolio-hero .button:focus {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.solutions-portfolio {
  background:
    radial-gradient(circle at top left, rgba(88, 151, 255, 0.2), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #151a31 0%, #111f2f 48%, #152b2c 100%);
}

.solutions-portfolio .section-kicker {
  color: #9ee7ff;
}

.solutions-portfolio .metric-card span {
  color: #9ee7ff;
  border-color: rgba(158, 231, 255, 0.38);
  background: rgba(158, 231, 255, 0.1);
}

.portfolio-metrics {
  display: grid;
  gap: 12px;
}

.metric-card {
  min-height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.metric-card span,
.metric-card strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.metric-card span {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(116, 255, 187, 0.38);
  border-radius: 999px;
  padding: 4px 9px;
  color: #74ffbb;
  background: rgba(116, 255, 187, 0.1);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-card strong {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.15;
}

.metric-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
}

.catalog-section {
  padding-top: 68px;
  padding-bottom: 76px;
}

.catalog-section-alt {
  background: linear-gradient(180deg, #fff7f8 0%, #fffefe 100%);
}

.catalog-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.catalog-heading h2 {
  font-size: 46px;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.catalog-intro {
  max-width: 700px;
  margin-left: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.catalog-grid {
  display: grid;
  gap: 16px;
}

.catalog-card {
  border: 1px solid rgba(29, 30, 32, 0.1);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 21, 28, 0.08);
  overflow: hidden;
}

.catalog-card summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 26px;
}

.catalog-card summary::-webkit-details-marker {
  display: none;
}

.catalog-summary {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.catalog-brand {
  width: 98px;
  height: 98px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f7fb 0%, #eef2f7 100%);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.catalog-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-wide-logo .catalog-summary {
  grid-template-columns: 154px minmax(0, 1fr) auto;
}

.catalog-card-wide-logo .catalog-brand {
  width: 154px;
  height: 78px;
  border-radius: 22px;
}

.catalog-card-wide-logo .catalog-brand img {
  object-fit: contain;
  background: #fff7f8;
}

.catalog-brand-soft {
  background: linear-gradient(145deg, #f7efff 0%, #eef0ff 100%);
}

.catalog-brand-text {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-retail {
  background: linear-gradient(145deg, #172334 0%, #2563eb 100%);
}

.brand-education {
  background: linear-gradient(145deg, #4a1d96 0%, #9333ea 100%);
}

.brand-translation {
  background: linear-gradient(145deg, #0f766e 0%, #14b8a6 100%);
}

.brand-yaku {
  background: linear-gradient(145deg, #12343b 0%, #0f9f8f 52%, #ff3b3b 100%);
}

.brand-hr {
  background: linear-gradient(145deg, #8b5e00 0%, #f59e0b 100%);
}

.brand-legal {
  background: linear-gradient(145deg, #5c1b1b 0%, #b91c1c 100%);
}

.brand-rag {
  background: linear-gradient(145deg, #0c4a6e 0%, #0ea5e9 100%);
}

.brand-research {
  background: linear-gradient(145deg, #374151 0%, #10b981 100%);
}

.brand-other {
  background: linear-gradient(145deg, #111827 0%, #ff0000 54%, #f59e0b 100%);
}

.catalog-headline h3 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.catalog-tag {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.catalog-blurb {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.catalog-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(29, 30, 32, 0.14);
  background: #ffffff;
}

.catalog-toggle::before,
.catalog-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--near-black);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.catalog-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.catalog-card[open] .catalog-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.catalog-detail {
  padding: 0 26px 24px 142px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.catalog-detail p {
  margin: 0;
  overflow-wrap: anywhere;
}

.catalog-points {
  margin: 16px 0 0;
  padding-left: 18px;
  overflow-wrap: anywhere;
}

.catalog-points li {
  overflow-wrap: anywhere;
}

.catalog-points li + li {
  margin-top: 8px;
}

.catalog-links {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.logo-candidates {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.logo-candidates figure {
  margin: 0;
  border: 1px solid rgba(29, 30, 32, 0.1);
  border-radius: 18px;
  padding: 10px;
  background: #f7f8fa;
}

.logo-candidates img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
}

.logo-candidates figcaption {
  margin-top: 8px;
  color: var(--near-black);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.catalog-group + .catalog-group {
  margin-top: 44px;
}

.catalog-group-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.catalog-group-intro {
  max-width: 720px;
  margin: 12px 0 18px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(29, 30, 32, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--near-black);
  background: #f7f8fa;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
}

.catalog-link:hover,
.catalog-link:focus {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.coming-soon {
  min-height: 322px;
  display: grid;
  place-items: center;
  padding: 36px 0 64px;
}

.coming-soon img {
  width: 228px;
  height: auto;
}

.contact-portfolio {
  padding-top: 58px;
  padding-bottom: 58px;
  background: linear-gradient(135deg, #101621 0%, #17202b 48%, #11251f 100%);
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.74fr);
  gap: 32px;
  align-items: center;
}

.contact-copy h1 {
  max-width: 680px;
}

.contact-direct-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 26px;
  color: var(--near-black);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.contact-panel .section-kicker {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-track-note {
  margin: -2px 0 0;
  border: 1px solid rgba(255, 0, 0, 0.16);
  border-radius: 16px;
  padding: 11px 13px;
  color: var(--near-black);
  background: rgba(255, 0, 0, 0.06);
  font-size: 14px;
  line-height: 1.35;
}

.contact-track-note strong {
  color: var(--red);
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--near-black);
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--near-black);
  background: #ffffff;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--near-black);
  border-radius: 4px;
  padding: 12px 22px;
  color: #ffffff;
  background: var(--near-black);
  cursor: pointer;
}

.button:hover,
.button:focus,
.contact-form button:hover,
.contact-form button:focus {
  background: var(--red);
  border-color: var(--red);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.contact-info-section {
  background: #f7f8fa;
}

.contact-info-card,
.contact-location-card {
  min-height: 100%;
  border: 1px solid rgba(29, 30, 32, 0.1);
  border-radius: 28px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 21, 28, 0.06);
}

.contact-info-card h3,
.contact-location-card h3 {
  font-size: 34px;
}

.contact-method-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.contact-method-list a {
  display: inline-flex;
  width: fit-content;
  border-bottom: 2px solid rgba(255, 0, 0, 0.28);
  color: var(--near-black);
  font-weight: 700;
}

.contact-method-list a:hover,
.contact-method-list a:focus {
  color: var(--red);
  border-bottom-color: var(--red);
}

.map-frame {
  width: 100%;
  height: 300px;
  border: 0;
  margin-top: 22px;
}

.product-hero {
  padding-top: 56px;
  padding-bottom: 40px;
  text-align: center;
}

.product-hero img {
  width: 106px;
  height: 101px;
  object-fit: contain;
  margin: -24px auto 22px;
}

.product-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 68px;
  color: #ffffff;
  background: linear-gradient(135deg, #141f27 0%, #203136 48%, #1d202d 100%);
}

.product-detail-hero::before,
.product-detail-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.product-detail-hero::before {
  inset: 28px auto auto -86px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.product-detail-hero::after {
  right: -76px;
  bottom: -88px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 72px;
  transform: rotate(10deg);
}

.product-aiko-hero {
  background:
    radial-gradient(circle at 12% 12%, rgba(137, 101, 255, 0.32), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(101, 255, 218, 0.2), transparent 24%),
    linear-gradient(135deg, #151d2d 0%, #23313a 48%, #231b35 100%);
}

.product-bizdocs-hero {
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 218, 224, 0.28), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(87, 194, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #23171d 0%, #321c24 48%, #17222c 100%);
}

.product-foodmetrics-hero {
  background:
    radial-gradient(circle at 12% 12%, rgba(69, 255, 181, 0.26), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(70, 193, 255, 0.22), transparent 25%),
    linear-gradient(135deg, #10211f 0%, #17303d 48%, #15233a 100%);
}

.product-mika-hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 84, 84, 0.22), transparent 27%),
    radial-gradient(circle at 88% 18%, rgba(82, 150, 255, 0.26), transparent 24%),
    linear-gradient(135deg, #151b2a 0%, #202a3d 48%, #2a1827 100%);
}

.product-detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 34px;
  align-items: center;
}

.product-detail-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: 54px;
  line-height: 1.07;
}

.product-detail-copy .lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.6;
}

.product-detail-hero .section-kicker {
  color: #98ffd5;
}

.product-bizdocs-hero .section-kicker {
  color: #ffd0d8;
}

.product-foodmetrics-hero .section-kicker {
  color: #9effdf;
}

.product-mika-hero .section-kicker {
  color: #b8d8ff;
}

.product-detail-hero .button {
  border-color: rgba(255, 255, 255, 0.84);
  color: var(--near-black);
  background: #ffffff;
}

.product-detail-hero .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.product-detail-hero .button:hover,
.product-detail-hero .button:focus {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.product-showcase-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.product-showcase-light {
  background: rgba(255, 255, 255, 0.1);
}

.product-logo-frame {
  display: grid;
  place-items: center;
  min-height: 300px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.product-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-logo-square img {
  object-fit: cover;
}

.product-logo-photo img {
  object-fit: cover;
}

.product-logo-wide {
  min-height: 210px;
  padding: 18px;
}

.product-stat-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-stat-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.product-detail-section {
  padding-top: 68px;
  padding-bottom: 76px;
}

.product-detail-band {
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.product-section-heading {
  max-width: 780px;
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}

.product-section-heading h2 {
  font-size: 46px;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-list-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.process-step {
  min-width: 0;
  border: 1px solid rgba(29, 30, 32, 0.1);
  border-radius: 24px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 21, 28, 0.07);
}

.feature-card h3,
.process-step h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.feature-card p,
.process-step p {
  margin: 12px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.whatsapp-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}

.food-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #242424 url("../images/foodmetrics-hero.jpg") center / cover no-repeat;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button.secondary {
  color: var(--near-black);
  background: #ffffff;
  border-color: #ffffff;
}

.faq-list {
  max-width: 532px;
  margin: 36px auto 0;
  text-align: center;
}

.faq-item {
  margin: 0 0 38px;
}

.faq-item h6 {
  margin-bottom: 8px;
  font-size: 20px;
}

.faq-item p {
  margin: 0;
  color: var(--near-black);
}

.gallery-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
}

.gallery-column {
  display: grid;
  gap: 10px;
}

.gallery-item img {
  width: 100%;
  height: 244px;
  object-fit: cover;
}

.gallery-item.tall img {
  height: 500px;
}

.not-found {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  font-size: 48px;
  margin: 0 0 12px;
}

@media (max-width: 760px) {
  .home-hero .container,
  .home-solutions .container {
    width: calc(100% - 24px);
  }

  .site-header {
    min-height: 74px;
  }

  .header-inner {
    min-height: 74px;
  }

  .logo {
    flex: 1 1 auto;
    gap: 10px;
  }

  .logo::after {
    content: "Garuda Digital Technologies";
    display: block;
    max-width: 176px;
    color: var(--red);
    font-size: 20px;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0;
  }

  .logo img {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 14px;
  }

  .menu-toggle {
    flex: 0 0 44px;
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 16px 24px 22px;
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid rgba(13, 20, 26, 0.08);
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 18px 42px rgba(15, 21, 28, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .main-nav > a {
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px;
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .language-switcher {
    width: 100%;
    margin-top: 4px;
  }

  .language-toggle {
    width: 100%;
    justify-content: flex-end;
  }

  .language-menu {
    position: static;
    width: 100%;
    max-height: 46svh;
    margin-top: 8px;
    box-shadow: inset 0 0 0 1px rgba(13, 20, 26, 0.04);
  }

  .home-hero {
    min-height: 0;
    overflow: clip;
    background: #ffffff;
  }

  .home-hero::before,
  .home-hero::after {
    content: none;
  }

  .home-hero video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    background: #081018;
  }

  .home-hero-inner {
    min-height: 0;
    display: block;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .home-hero-copy {
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    text-align: left;
  }

  .home-hero-copy::before {
    content: none;
  }

  .home-hero h1 {
    color: var(--near-black);
    font-size: 34px;
    line-height: 1.14;
    text-shadow: none;
  }

  .home-hero-kicker {
    margin-bottom: 12px;
    color: var(--red);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-shadow: none;
  }

  html[lang="ja"] .home-hero h1 {
    font-size: 34px;
  }

  .home-hero .lead {
    max-width: none;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.5;
  }

  .home-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }

  .home-hero .button {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 15px;
    border-color: var(--red);
    color: #ffffff;
    background: var(--red);
    box-shadow: 0 14px 32px rgba(255, 0, 0, 0.2);
  }

  .home-hero .button.secondary {
    color: var(--red);
    background: #ffffff;
    border-color: rgba(255, 0, 0, 0.24);
    box-shadow: none;
    backdrop-filter: none;
  }

  .card-grid,
  .step-grid,
  .contact-hero-grid,
  .contact-info-grid,
  .footer-inner,
  .feature-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section h2,
  .section h3,
  .media-hero h1,
  .food-hero h1,
  .product-hero h1,
  .contact-info-card h3,
  .contact-location-card h3,
  .not-found h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  html[lang="ja"] .media-hero h1,
  html[lang="ja"] .food-hero h1,
  html[lang="ja"] .product-hero h1 {
    font-size: 30px;
  }

  .section h5 {
    font-size: 20px;
  }

  .home-solutions {
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .home-solutions h2 {
    max-width: none;
    font-size: 26px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .solutions-heading {
    margin-bottom: 24px;
  }

  .solution-lab,
  .solution-panel {
    grid-template-columns: 1fr;
  }

  .solution-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .solution-tab {
    min-height: 0;
    padding: 12px 14px;
    border-left-width: 4px;
    border-top: 0;
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 4px;
  }

  .solution-tab:hover,
  .solution-tab:focus,
  .solution-tab.is-active {
    border-left-color: var(--red);
    border-top-color: transparent;
  }

  .solution-tab span {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    font-size: 11px;
  }

  .solution-tab strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .solution-tab small {
    display: block;
    font-size: 12px;
  }

  .solution-stage {
    min-height: 0;
  }

  .solution-panel {
    padding: 20px 18px 18px;
    overflow: hidden;
  }

  .solution-copy ul {
    grid-template-columns: 1fr;
  }

  .solution-actions {
    gap: 8px;
  }

  .solution-actions a {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .solution-copy h3 {
    max-width: none;
    font-size: 22px;
  }

  body[data-page="home"] .site-footer {
    padding-top: 38px;
  }

  .feature-row,
  .contact-info-grid,
  .footer-inner {
    gap: 28px;
  }

  .feature-row img,
  .feature-row:nth-of-type(2) img,
  .service-card img,
  .step-card img {
    height: auto;
    aspect-ratio: 328 / 214;
  }

  .media-hero {
    min-height: 330px;
  }

  .portfolio-hero {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .portfolio-hero-inner,
  .contact-hero-grid,
  .catalog-summary {
    grid-template-columns: 1fr;
  }

  .portfolio-metrics {
    gap: 10px;
  }

  .metric-card {
    min-height: 0;
    border-radius: 20px;
    padding: 15px 16px 16px;
  }

  .contact-panel,
  .contact-info-card,
  .contact-location-card {
    border-radius: 22px;
    padding: 20px;
  }

  .contact-direct-actions .button {
    min-height: 42px;
    padding: 9px 14px;
  }

  .catalog-card-wide-logo .catalog-summary {
    grid-template-columns: 1fr;
  }

  .catalog-card-wide-logo .catalog-brand {
    width: min(100%, 214px);
    height: 92px;
  }

  .portfolio-copy h1,
  .catalog-heading h2 {
    font-size: 34px;
    line-height: 1.14;
  }

  .portfolio-copy .lead,
  .catalog-blurb {
    font-size: 16px;
  }

  .metric-card strong {
    font-size: 22px;
  }

  .catalog-section {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .catalog-group + .catalog-group {
    margin-top: 32px;
  }

  .catalog-group-title {
    font-size: 24px;
  }

  .catalog-card summary {
    padding: 20px;
  }

  .catalog-card {
    border-radius: 22px;
  }

  .catalog-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
  }

  .catalog-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .catalog-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .catalog-headline {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .catalog-brand {
    width: 78px;
    height: 78px;
    border-radius: 22px;
  }

  .catalog-brand-soft img {
    object-fit: contain;
    padding: 8px;
    background: #ffffff;
  }

  .catalog-headline h3 {
    font-size: 22px;
  }

  .catalog-toggle {
    width: 40px;
    height: 40px;
  }

  .catalog-detail {
    padding: 0 20px 20px;
  }

  .catalog-links {
    gap: 8px;
  }

  .logo-candidates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .logo-candidates figure {
    border-radius: 14px;
    padding: 8px;
  }

  .logo-candidates figcaption {
    font-size: 12px;
  }

  .product-detail-hero {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .product-detail-hero::before,
  .product-detail-hero::after {
    display: none;
  }

  .product-detail-hero-inner,
  .feature-list-grid,
  .feature-list-grid-wide,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-copy h1,
  .product-section-heading h2 {
    font-size: 34px;
    line-height: 1.14;
  }

  .product-detail-copy .lead {
    font-size: 16px;
  }

  .product-logo-frame {
    min-height: 220px;
  }

  .product-logo-wide {
    min-height: 150px;
  }

  .product-detail-section {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .product-hero {
    padding-top: 64px;
  }

  .whatsapp-link {
    font-size: 20px;
  }

  .food-hero {
    min-height: 520px;
  }

  .gallery-column {
    grid-template-columns: 1fr;
  }

  .gallery-item img,
  .gallery-item.tall img {
    height: auto;
    aspect-ratio: 328 / 244;
  }

  .footer-address {
    max-width: none;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .home-hero {
    min-height: 0;
    overflow: clip;
    background: #ffffff;
  }

  .home-hero::before,
  .home-hero::after {
    content: none;
  }

  .home-hero video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    background: #081018;
  }

  .home-hero-inner {
    min-height: 0;
    display: block;
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .home-hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    text-align: left;
    transform: none;
  }

  .home-hero-copy::before {
    content: none;
  }

  .home-hero h1 {
    color: var(--near-black);
    font-size: 32px;
    line-height: 1.12;
    text-shadow: none;
  }

  .home-hero-kicker {
    margin-bottom: 10px;
    color: var(--red);
    font-size: 13px;
    letter-spacing: 0.13em;
    text-shadow: none;
  }

  .home-hero .hero-actions {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }

  .home-hero .button {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 15px;
    border-color: var(--red);
    color: #ffffff;
    background: var(--red);
    box-shadow: 0 14px 32px rgba(255, 0, 0, 0.2);
  }

  .home-hero .button.secondary {
    color: var(--red);
    background: #ffffff;
    border-color: rgba(255, 0, 0, 0.24);
    box-shadow: none;
    backdrop-filter: none;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 28px;
  }

  .home-hero-kicker {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .home-hero .hero-actions {
    gap: 8px;
  }

  .home-hero .button {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 13px;
  }

  .portfolio-hero {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .portfolio-copy h1,
  .catalog-heading h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .portfolio-copy .lead,
  .catalog-intro {
    font-size: 15px;
    line-height: 1.56;
  }

  .portfolio-hero .hero-actions {
    justify-content: flex-start;
    gap: 8px;
  }

  .portfolio-hero .button {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .metric-card strong {
    font-size: 20px;
  }

  .metric-card p {
    font-size: 14px;
    line-height: 1.45;
  }

  .portfolio-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .metric-card {
    min-width: 0;
    border-radius: 16px;
    padding: 10px 8px;
  }

  .metric-card:last-child {
    grid-column: 1 / -1;
  }

  .metric-card span {
    padding: 3px 6px;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }

  .metric-card strong {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.2;
  }

  .metric-card p {
    display: none;
  }

  .catalog-card summary {
    padding: 18px;
  }

  .catalog-detail {
    padding-right: 18px;
    padding-left: 18px;
  }

  .catalog-links {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-link {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
  }

  .logo-candidates {
    gap: 6px;
  }

  .logo-candidates figure {
    padding: 6px;
  }

  .logo-candidates figcaption {
    font-size: 11px;
  }

  .solution-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .solution-tab {
    min-height: 0;
    padding: 11px 13px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    border-top-width: 0;
    border-left: 4px solid transparent;
    text-align: left;
  }

  .solution-tab:hover,
  .solution-tab:focus,
  .solution-tab.is-active {
    border-left-color: var(--red);
    border-top-color: rgba(13, 20, 26, 0.1);
  }

  .solution-tab span {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    font-size: 12px;
  }

  .solution-tab strong {
    font-size: 14px;
    line-height: 1.2;
  }

  .solution-tab small {
    display: block;
    font-size: 12px;
    line-height: 1.35;
  }

  html[dir="rtl"] .solution-tab {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: right;
  }

  html[dir="rtl"] .solution-tab span {
    grid-column: 2;
  }
}
