:root {
  --ink: #13292a;
  --deep: #2f5a62;
  --mint: #c1ebe2;
  --cream: #f3ede5;
  --gold: #dca642;
  --red: #d71920;
  --white: #fff;
  --shadow: 0 22px 55px rgba(19, 41, 42, 0.12);
  --xl: 32px;
  --lg: 22px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f8f2e9, #edf5f0);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.section {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 38px 0;
}
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(19, 41, 42, 0.08);
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 190px;
  height: 58px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 800;
}
.nav > a,
.nav summary {
  display: block;
  padding: 10px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
}
.nav a:hover,
.nav summary:hover {
  background: var(--mint);
}
.nav__cta {
  background: var(--ink) !important;
  color: var(--mint) !important;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.nav-dropdown summary:after {
  content: " ▾";
  font-size: 11px;
}
.dropdown-menu {
  position: absolute;
  top: 46px;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: white;
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}
.eyebrow {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(19, 41, 42, 0.1);
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1;
}
h1 {
  font-size: clamp(43px, 7vw, 84px);
}
h2 {
  font-size: clamp(33px, 5vw, 58px);
}
h3 {
  font-size: clamp(23px, 2.8vw, 31px);
}
p {
  color: rgba(19, 41, 42, 0.75);
}
.hero,
.page-hero,
.brand-hero,
.case-hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 34px;
  align-items: center;
  padding-top: 44px;
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(18px, 2.1vw, 22px);
  max-width: 760px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  background: var(--ink);
  color: var(--mint);
  box-shadow: 0 13px 30px rgba(19, 41, 42, 0.2);
}
.button--secondary {
  background: white;
  border: 1px solid rgba(19, 41, 42, 0.15);
}
.button--light {
  margin-top: 22px;
  background: white;
  color: var(--ink);
}
.hero__visual {
  min-height: 480px;
  display: grid;
  place-items: center;
}
.rotation-card {
  position: relative;
  width: min(450px, 92vw);
  aspect-ratio: 0.82;
  border-radius: 42px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ink), var(--deep));
  box-shadow: var(--shadow);
}
.unit-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  animation: rotate 12s infinite;
}
.unit-slide--two {
  animation-delay: 4s;
}
.unit-slide--three {
  animation-delay: 8s;
}
.unit-slide img {
  width: 100%;
  height: 75%;
  object-fit: contain;
  border-radius: 20px;
}
.unit-slide figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 13px;
  background: white;
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
}
.usp-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 12px;
}
.usp-wrap article,
.text-card,
.info-card {
  padding: 24px;
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: var(--lg);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 35px rgba(19, 41, 42, 0.06);
}
.usp-wrap p,
.text-card p {
  margin-top: 10px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.split > div > p + * {
  margin-top: 16px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.logo-row span {
  padding: 11px 14px;
  border-radius: 999px;
  background: white;
  font-weight: 900;
}
.revenue {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 18px;
}
.revenue__copy,
.revenue-table {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--xl);
  box-shadow: var(--shadow);
}
.revenue__copy {
  background: linear-gradient(135deg, #d71920, #a90f15);
  color: white;
}
.revenue__copy p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 18px;
}
.revenue-table {
  display: grid;
  align-content: center;
  gap: 10px;
  background: var(--ink);
  color: white;
}
.revenue-table__head,
.revenue-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.revenue-table > div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.revenue-table p {
  color: rgba(255, 255, 255, 0.7);
}
.section-heading {
  max-width: 850px;
  margin-bottom: 18px;
}
.section-heading > p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 18px;
}
.card-grid {
  display: grid;
  gap: 16px;
}
.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.image-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: var(--xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 15px 40px rgba(19, 41, 42, 0.08);
}
.image-card > img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: white;
  padding: 14px;
}
.image-card > div {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.image-card span,
.text-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  font-weight: 900;
  margin-bottom: 16px;
}
.image-card p {
  margin-top: 14px;
  flex: 1;
}
.image-card a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--mint);
  font-weight: 900;
}
.timeline {
  display: grid;
  gap: 12px;
}
.timeline article {
  display: grid;
  grid-template-columns: 70px 0.55fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: var(--lg);
  background: white;
}
.timeline span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  font-weight: 900;
}
.sustainability {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--ink), var(--deep));
  border-radius: var(--xl);
  color: white;
}
.sustainability h2 {
  color: white;
}
.sustainability p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
}
.sustainability img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 24px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  align-items: end;
}
.contact__text p {
  margin-top: 16px;
  font-size: 18px;
}
.hero-image,
.brand-hero__media {
  width: 100%;
  height: 470px;
  object-fit: contain;
  border-radius: var(--xl);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow);
}
.brand-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feature-list,
.results-list {
  display: grid;
  gap: 11px;
  padding-left: 20px;
  color: rgba(19, 41, 42, 0.78);
}
.two-col {
  grid-template-columns: 1fr 1fr;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  list-style: none;
}
.pill-list li {
  padding: 12px 15px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(19, 41, 42, 0.1);
  font-weight: 800;
}
.article-layout {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 45px;
}
.article-layout article {
  display: grid;
  gap: 20px;
}
.article-layout article h2 {
  margin-top: 20px;
}
.large-copy {
  font-size: 21px;
}
.results-list {
  list-style: "✓  ";
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 900;
  color: var(--deep);
}
.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: var(--xl);
  background: white;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(19, 41, 42, 0.16);
  border-radius: 14px;
  background: #fbfbf8;
  font: inherit;
}
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto;
  padding: 20px 0;
  border-top: 1px solid rgba(19, 41, 42, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  white-space: nowrap;
}
.footer-copy {
  font-size: 14px;
  max-width: none;
}
.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  font-weight: 800;
  font-size: 14px;
}
@keyframes rotate {
  0%,
  28% {
    opacity: 1;
    transform: translateX(0);
  }
  33%,
  100% {
    opacity: 0;
    transform: translateX(-18px);
  }
}
@media (max-width: 1000px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
    position: relative;
  }
  .nav {
    flex-wrap: wrap;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    margin-top: 5px;
  }
  .card-grid.three,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .hero,
  .page-hero,
  .brand-hero,
  .case-hero,
  .split,
  .revenue,
  .sustainability,
  .contact,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    min-height: 420px;
  }
  .timeline article {
    grid-template-columns: 60px 1fr;
  }
  .timeline p {
    grid-column: 2;
  }
  .usp-wrap,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .hero-image,
  .brand-hero__media {
    height: 360px;
  }
}
@media (max-width: 620px) {
  .section {
    width: min(100% - 22px, 1180px);
    padding: 38px 0;
  }
  .site-header {
    width: min(100% - 22px, 1180px);
    flex-direction: column;
  }
  .brand img {
    width: 165px;
    height: 50px;
  }
  .nav {
    width: 100%;
    font-size: 13px;
  }
  .nav__cta {
    width: 100%;
    text-align: center;
  }
  .card-grid.three,
  .card-grid.four {
    grid-template-columns: 1fr;
  }
  .timeline article {
    grid-template-columns: 1fr;
  }
  .timeline p {
    grid-column: auto;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
  }
  .hero-image,
  .brand-hero__media {
    height: 300px;
  }
  .sustainability {
    padding: 24px;
  }
  .sustainability img {
    height: 260px;
  }
}

.logo-row__centre {
  margin-inline: auto;
}
.comparison-section {
  padding-top: 20px;
}
.comparison-table {
  overflow: hidden;
  border: 1px solid rgba(19, 41, 42, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 35px rgba(19, 41, 42, 0.06);
}
.comparison-row {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.2fr 1.25fr 1.55fr;
  gap: 14px;
  padding: 18px 20px;
  border-top: 1px solid rgba(19, 41, 42, 0.1);
  align-items: start;
}
.comparison-row:first-child {
  border-top: 0;
}
.comparison-row--head {
  background: var(--ink);
  color: white;
}
.comparison-row span {
  color: rgba(19, 41, 42, 0.76);
}
@media (max-width: 900px) {
  .comparison-row {
    grid-template-columns: 1fr;
  }
  .comparison-row--head {
    display: none;
  }
  .comparison-row strong:first-child {
    font-size: 20px;
  }
  .footer {
    white-space: normal;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}
.contact {
  align-items: center;
}

.partnership-section {
  align-items: start;
}
.partnership-section__content {
  padding-top: 88px;
}
.partnership-section__content > p {
  font-size: 18px;
  line-height: 1.65;
}
.partnership-section .logo-row {
  justify-content: flex-start;
  margin-top: 24px;
}
.partnership-section .logo-row__centre {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-inline: 0;
}
@media (max-width: 800px) {
  .partnership-section__content {
    padding-top: 0;
  }
  .partnership-section .logo-row {
    justify-content: center;
  }
}

.hero-video-card {
  position: relative;
  width: min(500px, 92vw);
  aspect-ratio: 16/9;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 800px) {
  .hero-video-card {
    width: min(620px, 100%);
    border-radius: 24px;
  }
  .hero__visual {
    min-height: auto;
  }
}
@media (max-width: 620px) {
  .hero-video-card {
    border-radius: 20px;
  }
}

.hero {
  align-items: start;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__content .hero__lead {
  max-width: none;
  margin-top: 28px;
  font-size: clamp(18px, 2.05vw, 22px);
  line-height: 1.72;
}
.hero__media-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 58px;
}
.hero__media-column .hero__actions {
  width: 100%;
  justify-content: flex-start;
}
@media (max-width: 800px) {
  .hero__media-column {
    margin-top: 0;
    width: 100%;
  }
  .hero__content .hero__lead {
    margin-top: 22px;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
}
.hero__content .hero__lead {
  width: calc(200% + 34px);
  max-width: none;
}
@media (max-width: 800px) {
  .hero__content .hero__lead {
    width: 100%;
  }
}

.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, 0.92fr);
  column-gap: 56px;
  align-items: start;
}
.hero__content {
  align-self: start;
}
.hero__content h1 {
  max-width: 720px;
}
.hero__media-column {
  margin-top: 0;
  align-self: start;
  width: 100%;
}
.hero-video-card {
  width: 100%;
  max-width: none;
}
.hero__media-column .hero__actions {
  justify-content: flex-start;
  margin-top: 24px;
}
.hero__content .hero__lead {
  width: calc(200% + 56px);
  margin-top: 30px;
  padding-right: 8px;
}

.partnership-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}
.partnership-section__content {
  padding-top: 0;
}
.partnership-section .logo-row {
  align-items: center;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    column-gap: 34px;
  }
  .hero__content .hero__lead {
    width: calc(200% + 34px);
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__media-column {
    margin-top: 4px;
  }
  .hero__content .hero__lead {
    width: 100%;
  }
  .partnership-section {
    grid-template-columns: 1fr;
  }
}

.hero__content .hero__lead {
  width: auto;
  max-width: calc(100vw - 118px);
  margin-right: 0;
}
@media (min-width: 801px) {
  .hero__content .hero__lead {
    width: calc(200% + 12px);
    max-width: 1540px;
  }
}
.partnership-section .logo-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-start;
}
.partnership-section .logo-row span {
  white-space: nowrap;
  flex: 0 0 auto;
}
@media (max-width: 1100px) {
  .partnership-section .logo-row {
    flex-wrap: wrap;
  }
}

.partnership-section {
  column-gap: 18px;
}
.partnership-section .logo-row {
  margin-top: 18px;
}
.hero-video {
  cursor: pointer;
}
@media (max-width: 800px) {
  .partnership-section {
    column-gap: 0;
  }
}

.subpage main {
  padding-top: 10px;
}

.subpage h1,
.subpage h2 {
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.02;
}

.subpage .page-hero,
.subpage .brand-hero,
.subpage .case-hero,
.subpage .overview-hero {
  margin-top: 18px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: var(--xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.subpage .overview-hero {
  display: block;
  max-width: 1180px;
}

.subpage .overview-hero > div {
  max-width: 880px;
}

.subpage .overview-hero .hero__lead {
  max-width: 820px;
}

.subpage .page-hero,
.subpage .brand-hero,
.subpage .case-hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(24px, 4vw, 52px);
}

.subpage .page-hero > div,
.subpage .brand-hero > div,
.subpage .case-hero > div {
  align-self: center;
}

.subpage .hero__lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
}

.subpage .hero-image,
.subpage .brand-hero__media {
  height: clamp(320px, 36vw, 450px);
  border-radius: 26px;
  box-shadow: none;
  border: 1px solid rgba(19, 41, 42, 0.08);
}

.subpage main > .section:not(.page-hero):not(.brand-hero):not(.case-hero):not(.overview-hero):not(.contact) {
  margin-top: 18px;
}

.subpage .split,
.subpage .article-layout,
.subpage .comparison-section,
.subpage .contact-page {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: var(--xl);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 38px rgba(19, 41, 42, 0.06);
}

.subpage .section-heading {
  max-width: 900px;
}

.subpage .image-card,
.subpage .text-card,
.subpage .info-card,
.subpage .timeline article,
.subpage .comparison-table,
.subpage .contact-form {
  border-color: rgba(19, 41, 42, 0.11);
  background: rgba(255, 255, 255, 0.9);
}

.subpage .image-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.subpage .image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(19, 41, 42, 0.12);
}

.subpage .image-card > img {
  height: 260px;
  padding: 20px;
}

.subpage .article-layout aside h3 {
  position: sticky;
  top: 120px;
  padding: 14px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--mint);
  text-align: center;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.subpage .article-layout article h2 {
  padding-top: 8px;
  border-top: 1px solid rgba(19, 41, 42, 0.11);
}

.subpage .contact {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--xl);
  background: linear-gradient(135deg, var(--ink), var(--deep));
  color: white;
  box-shadow: var(--shadow);
}

.subpage .contact h2 {
  color: white;
}

.subpage .contact p {
  color: rgba(255, 255, 255, 0.78);
}

.subpage .contact .button--primary {
  background: var(--mint);
  color: var(--ink);
}

.subpage .footer {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .subpage .page-hero,
  .subpage .brand-hero,
  .subpage .case-hero {
    grid-template-columns: 1fr;
  }

  .subpage .article-layout aside h3 {
    position: static;
    width: max-content;
  }
}

.subpage .overview-hero {
  padding-top: 28px;
  padding-bottom: 28px;
}
.subpage .overview-hero .hero__lead {
  margin-top: 14px;
}
.subpage .brand-hero .button--primary {
  margin-top: 18px;
}

@media (min-width: 1101px) {
  .subpage .pill-list {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .subpage .pill-list li {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
  }
}

.subpage .contact-form,
.subpage .contact-form label,
.subpage .contact-form input,
.subpage .contact-form select,
.subpage .contact-form textarea,
.subpage .contact-form input::placeholder,
.subpage .contact-form textarea::placeholder,
.subpage .contact-form input[type="file"],
.subpage .contact-form button {
  color: var(--ink);
  opacity: 1;
}
.subpage .contact-form .button--primary {
  color: var(--ink);
}

.subpage .section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.subpage main > .section:not(.page-hero):not(.brand-hero):not(.case-hero):not(.overview-hero):not(.contact) {
  margin-top: 10px;
}

.subpage .page-hero,
.subpage .brand-hero,
.subpage .case-hero,
.subpage .overview-hero {
  margin-top: 12px;
  padding: clamp(22px, 3vw, 34px);
}

.subpage .overview-hero {
  min-height: 0;
}

.subpage .overview-hero > div,
.subpage .overview-hero .hero__lead,
.subpage .section-heading {
  width: 100%;
  max-width: none;
}

.subpage .overview-hero .hero__lead {
  margin-top: 10px;
}

.subpage .split,
.subpage .article-layout,
.subpage .comparison-section,
.subpage .contact-page {
  padding: clamp(22px, 3vw, 32px);
}

.subpage .split {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.subpage .split > div,
.subpage .split > ul,
.subpage .article-layout article,
.subpage .contact__text {
  min-width: 0;
  max-width: none;
}

.subpage .split p,
.subpage .article-layout p,
.subpage .contact__text p,
.subpage .section-heading p {
  width: 100%;
  max-width: none;
}

.subpage .brand-hero .button--primary {
  margin-top: 24px;
}

.subpage .hero-image,
.subpage .brand-hero__media {
  height: clamp(300px, 32vw, 410px);
}

.subpage .image-card > div {
  padding: 18px 20px 20px;
}

.subpage .image-card > img {
  height: 235px;
}

.subpage .contact {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: clamp(22px, 3vw, 32px);
}

.subpage .text-card h3,
.subpage .info-card h3 {
  margin-top: 0;
}

@media (max-width: 800px) {
  .subpage .section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .subpage .split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.brand-slideshow {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: white;
}

.brand-slideshow .brand-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.brand-slideshow .brand-slide.is-active {
  opacity: 1;
}

.hero-image--cover {
  object-fit: cover !important;
  padding: 0 !important;
  background: transparent !important;
}

.image-card > img.image-card__cover {
  object-fit: cover;
  padding: 0;
}

.image-card > img,
.subpage .image-card > img,
.hero-image,
.subpage .hero-image,
.brand-hero__media img,
.brand-slideshow .brand-slide,
.sustainability img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  padding: 0 !important;
  background: transparent !important;
}

.image-card > img,
.subpage .image-card > img {
  height: 235px;
}

.hero-image,
.subpage .hero-image,
.brand-hero__media,
.subpage .brand-hero__media {
  overflow: hidden;
}

.brand-slideshow .brand-slide {
  inset: 0;
}

.sustainability img {
  height: 350px;
}

#solutions .image-card > img,
.subpage .card-grid.three .image-card > img {
  object-fit: contain !important;
  object-position: center;
  padding: 24px !important;
  background: white !important;
}

.subpage .brand-hero__media {
  padding: 0 !important;
  background: white !important;
}

.subpage .brand-slideshow .brand-slide {
  object-fit: contain !important;
  object-position: center;
  padding: clamp(24px, 3vw, 38px) !important;
  background: white !important;
}

@media (max-width: 620px) {
  #solutions .image-card > img,
  .subpage .card-grid.three .image-card > img {
    padding: 18px !important;
  }

  .subpage .brand-slideshow .brand-slide {
    padding: 22px !important;
  }
}

.brand img {
  width: 245px;
  height: 72px;
}

.partner-logo-slideshow {
  position: relative;
  width: min(420px, 100%);
  height: 150px;
  margin-top: 20px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 41, 42, 0.1);
}
.partner-logo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px 30px;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.partner-logo-slide.is-active { opacity: 1; }
.partner-logo-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.revenue-note {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
}

#solutions .image-card > img {
  height: 350px !important;
  padding: 10px !important;
}

.manufacturer-product {
  object-fit: contain !important;
  background: transparent !important;
}

.brand-slideshow .slideshow-brand-logo {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  width: 105px;
  height: 72px;
  padding: 8px;
  object-fit: contain !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 20px rgba(19, 41, 42, 0.16);
  pointer-events: none;
}

.subpage .brand-slideshow .brand-slide--fill {
  object-fit: cover !important;
  padding: 0 !important;
}

.contact-form label::after {
  content: " *";
  color: var(--red);
}
.contact-form button::after { content: ""; }
.info-card a { overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .brand img { width: 210px; height: 62px; }
  #solutions .image-card > img { height: 300px !important; }
  .partner-logo-slideshow { height: 125px; }
  .brand-slideshow .slideshow-brand-logo { width: 88px; height: 60px; }
}

.brand-slideshow .slideshow-brand-logo {
  width: 132px;
  height: 88px;
  padding: 10px;
  right: 18px;
  bottom: 18px;
}

.partnership-section {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) minmax(210px, 0.55fr);
  gap: 22px;
  align-items: start;
}
.partnership-section > p {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(19, 41, 42, 0.75);
}
.partnership-section .partner-logo-slideshow {
  width: 100%;
  max-width: 260px;
  height: 112px;
  margin-top: 0;
  justify-self: end;
}
.partnership-section .partner-logo-slide {
  padding: 16px 24px;
}

.contact-form label {
  position: relative;
}
.required-star {
  display: none;
  color: var(--red);
  margin-left: 4px;
  font-weight: 900;
}
.contact-form label.field-invalid .required-star {
  display: inline;
}
.contact-form label.field-valid .required-star {
  display: none;
}
.validation-message {
  min-height: 1.2em;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}
.contact-form label.field-invalid input,
.contact-form label.field-invalid select,
.contact-form label.field-invalid textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}
.contact-form label.field-valid input,
.contact-form label.field-valid select,
.contact-form label.field-valid textarea {
  border-color: rgba(19, 41, 42, 0.16);
  box-shadow: none;
}
.contact-form label::after { content: none !important; }
.optional-field::after { content: none !important; }

@media (max-width: 900px) {
  .partnership-section {
    grid-template-columns: 1fr;
  }
  .partnership-section .partner-logo-slideshow {
    justify-self: start;
    max-width: 300px;
  }
}
@media (max-width: 620px) {
  .brand-slideshow .slideshow-brand-logo {
    width: 104px;
    height: 70px;
  }
}

.partner-logo-slideshow {
  width: min(340px, 100%);
  height: 150px;
}
.partner-logo-slide {
  padding: 14px 22px;
}
.partner-logo-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}

.brand-slideshow .slideshow-brand-logo {
  width: 160px;
  height: 92px;
  padding: 10px 14px;
  object-fit: contain !important;
  object-position: center;
}

.partnership-section > div:first-child h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  max-width: 420px;
}
.partnership-section {
  align-items: start;
  padding-top: 24px;
  padding-bottom: 24px;
}
.partnership-section > p {
  margin-top: 2px;
}
.partnership-section .partner-logo-slideshow {
  max-width: 340px;
  height: 150px;
}

@media (max-width: 900px) {
  .partnership-section > div:first-child h2 {
    max-width: none;
  }
  .partnership-section .partner-logo-slideshow {
    max-width: 340px;
  }
}

@media (max-width: 620px) {
  .brand-slideshow .slideshow-brand-logo {
    width: 128px;
    height: 76px;
  }
  .partner-logo-slideshow,
  .partnership-section .partner-logo-slideshow {
    height: 130px;
  }
}

.partner-logo-slideshow,
.partnership-section .partner-logo-slideshow {
  width: min(260px, 100%);
  max-width: 260px;
  height: 190px;
}

.partner-logo-slide {
  padding: 8px 18px;
}

.partner-logo-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}

.brand-slideshow .slideshow-brand-logo {
  width: 132px;
  height: 122px;
  padding: 6px 10px;
  right: 18px;
  bottom: 18px;
  object-fit: contain !important;
  object-position: center;
}

@media (max-width: 620px) {
  .partner-logo-slideshow,
  .partnership-section .partner-logo-slideshow {
    width: min(240px, 100%);
    max-width: 240px;
    height: 170px;
  }

  .brand-slideshow .slideshow-brand-logo {
    width: 112px;
    height: 104px;
    padding: 5px 8px;
  }
}

.partnership-section .partner-logo-slide--illy {
  padding: 22px 38px;
}

.partnership-section .partner-logo-slide--illy img {
  width: 82%;
  height: 82%;
  max-width: 190px;
  max-height: 145px;
  object-fit: contain !important;
}

@media (max-width: 620px) {
  .partnership-section .partner-logo-slide--illy {
    padding: 20px 34px;
  }

  .partnership-section .partner-logo-slide--illy img {
    width: 78%;
    height: 78%;
  }
}

.brand-slideshow .slideshow-brand-logo {
  width: 104px;
  height: 92px;
  padding: 5px 8px;
  right: 16px;
  bottom: 16px;
}

@media (max-width: 620px) {
  .brand-slideshow .slideshow-brand-logo {
    width: 88px;
    height: 78px;
    padding: 4px 7px;
    right: 14px;
    bottom: 14px;
  }
}

.footer-linkedin {
  color: var(--deep);
  font-weight: 800;
}
.footer-linkedin:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-divider {
  color: rgba(19, 41, 42, 0.42);
  font-weight: 500;
}


/* July 2026 homepage layout correction */
.partnership-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px 34px;
  align-items: start;
}

.partnership-section__heading {
  grid-column: 1 / -1;
}

.partnership-section__heading h2 {
  max-width: none !important;
  font-size: clamp(38px, 5vw, 64px) !important;
  line-height: 1.02;
}

.partnership-section__copy {
  grid-column: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: 19px;
  line-height: 1.72;
}

.partnership-section .partner-logo-slideshow {
  grid-column: 2;
  width: 260px;
  max-width: 100%;
  height: 190px;
  margin: 0;
  justify-self: end;
}

.revenue {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.revenue-note {
  display: block !important;
  width: 100%;
  padding: 16px 0 0 !important;
  margin: 2px 0 0;
  border-bottom: 0 !important;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .partnership-section {
    grid-template-columns: 1fr;
  }

  .partnership-section__heading,
  .partnership-section__copy,
  .partnership-section .partner-logo-slideshow {
    grid-column: 1;
  }

  .partnership-section .partner-logo-slideshow {
    justify-self: start;
  }
}

@media (max-width: 800px) {
  .revenue {
    grid-template-columns: 1fr;
  }
}


/* Final homepage refinements */
.revenue {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.revenue__copy,
.revenue-table {
  height: 100%;
}

.partnership-section .partner-logo-slideshow {
  transform: translateY(-20px);
}

@media (max-width: 900px) {
  .partnership-section .partner-logo-slideshow {
    transform: none;
  }
}

@media (max-width: 800px) {
  .revenue {
    grid-template-columns: 1fr;
  }
}

/* Align the rotating partner logo with the second heading line. */
@media (min-width: 901px) {
  .partnership-section {
    grid-template-rows: auto auto;
    align-items: start;
  }

  .partnership-section__heading {
    grid-column: 1;
    grid-row: 1;
  }

  .partnership-section__copy {
    grid-column: 1;
    grid-row: 2;
  }

  .partnership-section .partner-logo-slideshow {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    transform: none;
    margin-bottom: 0;
  }
}


/* Keep sustainability benefit-card headings aligned on one line. */
@media (min-width: 1001px) {
  .subpage .card-grid.four .text-card h3 {
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    white-space: nowrap;
  }
}


/* July 2026 requested layout fixes */
.sustainability-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.sustainability-intro > div:first-child,
.sustainability-intro > div:last-child {
  width: 100%;
  max-width: none;
}

.sustainability-intro h2 {
  max-width: none;
}

.sustainability-intro p {
  margin: 0;
  max-width: none;
}

.partnership-section {
  row-gap: 8px;
}

.partnership-section__copy {
  margin-top: -8px;
}

#solutions .image-card > div > span {
  display: none;
}

.theme-illy .slideshow-brand-logo--illy {
  width: 88px;
  height: 78px;
  padding: 5px 7px;
}

.theme-lor .lor-detail-slide {
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
}

@media (max-width: 620px) {
  .theme-illy .slideshow-brand-logo--illy {
    width: 76px;
    height: 66px;
  }
}

/* Final targeted corrections */
.subpage .split.sustainability-intro {
  display: block;
  grid-template-columns: none;
  padding: clamp(22px, 3vw, 32px);
}

.subpage .split.sustainability-intro > div:first-child,
.subpage .split.sustainability-intro > div:last-child {
  width: 100%;
  max-width: none;
}

.subpage .split.sustainability-intro h2 {
  width: 100%;
  max-width: none;
  margin: 0;
}

.subpage .split.sustainability-intro p {
  width: 100%;
  max-width: none;
  margin: 18px 0 0;
}

.partnership-section {
  position: relative;
  display: block;
  padding-right: 320px;
}

.partnership-section__heading,
.partnership-section__copy {
  width: 100%;
  max-width: none;
}

.partnership-section__copy {
  margin-top: 18px !important;
}

.partnership-section .partner-logo-slideshow {
  position: absolute;
  top: 24px;
  right: 0;
  width: 260px;
  height: 190px;
  margin: 0;
  transform: none;
}

.theme-illy .slideshow-brand-logo--illy {
  width: 62px !important;
  height: 58px !important;
  padding: 3px 5px !important;
  right: 16px;
  bottom: 16px;
}

@media (max-width: 900px) {
  .partnership-section {
    padding-right: 0;
  }

  .partnership-section .partner-logo-slideshow {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  .theme-illy .slideshow-brand-logo--illy {
    width: 54px !important;
    height: 50px !important;
    padding: 3px 4px !important;
    right: 12px;
    bottom: 12px;
  }
}


/* Match Beanology and L'OR corner logos to the illy corner logo size. */
.theme-bean .slideshow-brand-logo--matched,
.theme-lor .slideshow-brand-logo--matched {
  width: 62px !important;
  height: 58px !important;
  padding: 3px 5px !important;
  right: 16px;
  bottom: 16px;
}

@media (max-width: 620px) {
  .theme-bean .slideshow-brand-logo--matched,
  .theme-lor .slideshow-brand-logo--matched {
    width: 54px !important;
    height: 50px !important;
    padding: 3px 4px !important;
    right: 12px;
    bottom: 12px;
  }
}


/* Mobile compatibility pass */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(19, 41, 42, 0.14);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

html, body { max-width: 100%; overflow-x: clip; }
main, section, article, aside, div, form { min-width: 0; }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea { max-width: 100%; }

@media (max-width: 760px) {
  body { min-width: 0; }
  .section,
  .site-header,
  .footer {
    width: calc(100% - 24px);
  }
  .section { padding: 24px 0; }
  .site-header {
    top: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 24px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .brand { min-width: 0; }
  .brand img {
    width: min(188px, 58vw);
    height: 52px;
  }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid rgba(19, 41, 42, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav > a,
  .nav summary {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
  }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 4px 0 6px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 3px solid var(--mint);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .dropdown-menu a { padding: 10px 12px; }
  .nav__cta { text-align: center; }

  h1 { font-size: clamp(36px, 11vw, 54px); line-height: 1.02; }
  h2 { font-size: clamp(30px, 9vw, 42px); line-height: 1.04; }
  h3 { font-size: clamp(22px, 7vw, 29px); line-height: 1.08; }
  p, li { overflow-wrap: anywhere; }

  .hero,
  .page-hero,
  .brand-hero,
  .case-hero,
  .split,
  .revenue,
  .sustainability,
  .contact,
  .article-layout,
  .partnership-section {
    grid-template-columns: 1fr !important;
  }
  .hero { gap: 22px; padding-top: 26px; }
  .hero__content h1 { max-width: none; }
  .hero__content .hero__lead,
  .hero__lead {
    width: 100% !important;
    max-width: none !important;
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.62;
  }
  .hero__media-column { width: 100%; margin-top: 0; }
  .hero-video-card { width: 100%; border-radius: 20px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; margin-top: 16px; }
  .button { width: 100%; min-height: 48px; padding: 12px 16px; text-align: center; }

  .usp-wrap,
  .info-grid,
  .card-grid.three,
  .card-grid.four { grid-template-columns: 1fr; }
  .usp-wrap article,
  .text-card,
  .info-card { padding: 20px; }

  .partnership-section {
    display: grid;
    padding-right: 0;
    gap: 16px;
  }
  .partnership-section__heading,
  .partnership-section__copy,
  .partnership-section .partner-logo-slideshow {
    grid-column: 1;
  }
  .partnership-section__heading h2 { font-size: clamp(32px, 9vw, 44px) !important; }
  .partnership-section__copy { margin-top: 0 !important; font-size: 17px; line-height: 1.62; }
  .partnership-section .partner-logo-slideshow {
    position: relative;
    inset: auto;
    width: min(100%, 260px);
    height: 150px;
    justify-self: start;
  }

  .revenue__copy,
  .revenue-table { padding: 22px; border-radius: 24px; }
  .revenue-table__head,
  .revenue-table > div:not(.revenue-note) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .revenue-note { font-size: 12px; }

  .image-card { border-radius: 24px; }
  .image-card > img,
  .subpage .image-card > img,
  #solutions .image-card > img { height: 260px !important; padding: 16px !important; }
  .image-card > div { padding: 18px; }

  .timeline article { grid-template-columns: 1fr; padding: 20px; }
  .timeline p { grid-column: auto; }
  .timeline span { width: 44px; height: 44px; }

  .sustainability { padding: 20px; border-radius: 24px; }
  .sustainability img { height: 230px; }

  .subpage main { padding-top: 2px; }
  .subpage .page-hero,
  .subpage .brand-hero,
  .subpage .case-hero,
  .subpage .overview-hero,
  .subpage .split,
  .subpage .article-layout,
  .subpage .comparison-section,
  .subpage .contact-page,
  .subpage .contact {
    padding: 20px;
    border-radius: 24px;
  }
  .subpage .hero-image,
  .subpage .brand-hero__media { height: 270px; border-radius: 20px; }
  .subpage .brand-slideshow .brand-slide { padding: 18px !important; }
  .subpage .article-layout { gap: 20px; }
  .subpage .article-layout aside h3 { width: 100%; position: static; }
  .large-copy { font-size: 18px; }
  .feature-list, .results-list { padding-left: 18px; }
  .pill-list { gap: 8px; }
  .pill-list li { width: 100%; text-align: center; border-radius: 14px; }
  .two-col { grid-template-columns: 1fr; }

  .comparison-table {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .comparison-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
    padding: 18px;
    border: 1px solid rgba(19, 41, 42, 0.12) !important;
    border-radius: 18px;
    background: rgba(255,255,255,.9);
  }
  .comparison-row--head { display: none; }
  .comparison-row strong:first-child { font-size: 20px; }

  .contact-form { padding: 18px; border-radius: 20px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }

  .footer {
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 18px 0;
  }
  .footer-copy { white-space: normal; }
  .footer-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}

@media (max-width: 390px) {
  .section,
  .site-header,
  .footer { width: calc(100% - 16px); }
  .site-header { padding: 7px 8px; }
  .brand img { width: min(164px, 56vw); height: 48px; }
  .nav-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .subpage .page-hero,
  .subpage .brand-hero,
  .subpage .case-hero,
  .subpage .overview-hero,
  .subpage .split,
  .subpage .article-layout,
  .subpage .comparison-section,
  .subpage .contact-page,
  .subpage .contact { padding: 17px; }
}

/* Timeline without numbered circles. */
.timeline article {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
}

@media (max-width: 800px) {
  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline p {
    grid-column: auto;
  }
}

/* Nekoweb-safe process timeline layout.
   Uses explicit flex columns to avoid stale/partial grid rules causing overlap. */
.process .timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process .timeline article {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  width: 100%;
  min-height: 96px;
  padding: 24px 28px;
}

.process .timeline article h3 {
  flex: 0 0 clamp(310px, 34%, 470px);
  min-width: 0;
  margin: 0;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
}

.process .timeline article p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .process .timeline article {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px;
  }

  .process .timeline article h3 {
    flex-basis: auto;
    width: 100%;
  }
}

/* Restore the original compact process-row style without numbered circles. */
.process .timeline {
  display: grid;
  gap: 12px;
}

.process .timeline article {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  min-height: 0;
  padding: 22px 28px;
}

.process .timeline article h3 {
  width: auto;
  min-width: 0;
  margin: 0;
  font-size: clamp(23px, 2.15vw, 31px);
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.process .timeline article p {
  min-width: 0;
  margin: 0;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .process .timeline article {
    grid-template-columns: minmax(285px, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
  }

  .process .timeline article h3 {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .process .timeline article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .process .timeline article h3 {
    width: 100%;
    font-size: clamp(23px, 7vw, 29px);
  }
}

/* Keep the homepage process rows in the original single-line desktop style. */
@media (min-width: 1001px) {
  .process .timeline article {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    min-height: 0;
    padding: 22px 28px;
  }

  .process .timeline article h3 {
    width: auto;
    min-width: 0;
    margin: 0;
    font-size: clamp(23px, 2.15vw, 31px);
    line-height: 1;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .process .timeline article p {
    min-width: 0;
    margin: 0;
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.45;
    white-space: nowrap;
  }
}


/* Final process section correction: no number bubbles, one horizontal row. */
.process .timeline article {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: clamp(28px, 5vw, 90px) !important;
  min-height: 0 !important;
  padding: 22px 28px !important;
}

.process .timeline article > span {
  display: none !important;
}

.process .timeline article h3 {
  grid-column: 1 !important;
  margin: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  font-size: clamp(23px, 2.15vw, 31px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.process .timeline article p {
  grid-column: 2 !important;
  margin: 0 !important;
  min-width: 0 !important;
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.45 !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .process .timeline article {
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
    padding: 20px !important;
  }

  .process .timeline article h3,
  .process .timeline article p {
    grid-column: 1 !important;
    white-space: normal !important;
  }
}

/* Definitive process-row layout fix */
.process .timeline article {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 48px !important;
  width: 100% !important;
  padding: 24px 28px !important;
}

.process .timeline article h3 {
  display: block !important;
  flex: 0 0 390px !important;
  width: 390px !important;
  max-width: 390px !important;
  margin: 0 !important;
  font-size: clamp(23px, 2.15vw, 31px) !important;
  line-height: 1.08 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.process .timeline article p {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}

@media (max-width: 900px) {
  .process .timeline article {
    gap: 28px !important;
  }

  .process .timeline article h3 {
    flex-basis: 300px !important;
    width: 300px !important;
    max-width: 300px !important;
  }
}

@media (max-width: 760px) {
  .process .timeline article {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 20px !important;
  }

  .process .timeline article h3,
  .process .timeline article p {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
  }
}

/* Definitive process-row layout fix. */
.process .timeline article {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 40px !important;
  width: 100% !important;
  min-height: 110px !important;
  padding: 24px 28px !important;
}

.process .timeline article h3 {
  display: block !important;
  flex: 0 0 390px !important;
  width: 390px !important;
  min-width: 390px !important;
  margin: 0 !important;
  font-size: clamp(23px, 2.15vw, 31px) !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.process .timeline article p {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}

@media (max-width: 900px) {
  .process .timeline article {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .process .timeline article h3 {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
}


/* Nekoweb process section fix - isolated from the old timeline rules. */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-row {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  align-items: center;
  column-gap: 42px;
  width: 100%;
  min-height: 110px;
  padding: 24px 28px;
  border: 1px solid rgba(19, 41, 42, 0.1);
  border-radius: var(--lg);
  background: white;
}

.process-row h3 {
  margin: 0;
  font-size: clamp(23px, 2.15vw, 31px);
  line-height: 1.08;
  white-space: normal;
}

.process-row p {
  margin: 0;
  min-width: 0;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.5;
  white-space: normal;
}

@media (max-width: 900px) {
  .process-row {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 20px;
  }
}

/* Final Nekoweb process-card fix */
.process .process-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.process .process-list .process-row {
  display: grid !important;
  grid-template-columns: 370px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 42px !important;
  width: 100% !important;
  min-height: 110px !important;
  margin: 0 !important;
  padding: 24px 28px !important;
  border: 1px solid rgba(19, 41, 42, 0.10) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 35px rgba(19, 41, 42, 0.06) !important;
}

.process .process-list .process-row h3,
.process .process-list .process-row p {
  margin: 0 !important;
}

.process .process-list .process-row h3 {
  font-size: clamp(23px, 2.15vw, 31px) !important;
  line-height: 1.08 !important;
  white-space: normal !important;
}

.process .process-list .process-row p {
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}

@media (max-width: 900px) {
  .process .process-list .process-row {
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
    padding: 20px !important;
  }
}
