:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --paper: #fbfdff;
  --surface: #ffffff;
  --page: #f3f6fb;
  --wash: #eaf1f8;
  --blue: #1a73e8;
  --blue-dark: #1558b0;
  --green: #188038;
  --yellow: #fbbc04;
  --red: #d93025;
  --teal: #0b7477;
  --danger: #b3261e;
}

* {
  box-sizing: border-box;
}

html {
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef4f9 0, var(--page) 360px, #f6f8fb 100%);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
}

.container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(26, 115, 232, .25);
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  background: rgba(247, 250, 253, .92);
  border-bottom: 1px solid rgba(218, 220, 224, .86);
  box-shadow: 0 10px 30px rgba(60, 64, 67, .06);
  backdrop-filter: blur(16px);
}

.site-nav > .container {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.navbar-collapse {
  display: flex !important;
  flex: 0 1 auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-toggler {
  display: none;
}

.nav-item {
  display: block;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  gap: 6px;
  padding: 10px 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60, 64, 67, .18);
}

.brand-mark span {
  position: relative;
  display: block;
  height: 4px;
  border-radius: 999px;
}

.brand-mark span:nth-child(1) {
  width: 78%;
  background: var(--blue);
}

.brand-mark span:nth-child(2) {
  width: 100%;
  background: var(--green);
}

.brand-mark span:nth-child(3) {
  width: 62%;
  background: var(--yellow);
}

.brand-mark span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 1px 2px rgba(60, 64, 67, .2);
  transform: translateY(-50%);
}

.brand-text {
  display: grid;
  gap: .04rem;
}

.brand-text strong {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.site-nav .nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: .5rem .75rem;
  color: #3c4043;
  font-weight: 700;
  text-decoration: none;
}

.site-nav .nav-link:hover {
  color: var(--blue);
}

.nav-cta {
  margin-left: .65rem;
  padding: .68rem 1.05rem !important;
  color: #fff !important;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(26, 115, 232, .24);
}

.nav-cta:hover {
  background: var(--blue-dark);
}

.hero {
  position: relative;
  height: clamp(620px, calc(82svh - 78px), 760px);
  min-height: 0;
  overflow: hidden;
  background: #e8f0f7;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 115, 232, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 115, 232, .05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, black 0%, rgba(0, 0, 0, .65) 42%, transparent 72%);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture {
  z-index: 0;
}

.hero img {
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(246, 249, 252, .96) 0%, rgba(246, 249, 252, .88) 34%, rgba(246, 249, 252, .46) 62%, rgba(246, 249, 252, .08) 100%),
    linear-gradient(180deg, rgba(232, 240, 247, .08), rgba(255, 255, 255, .06));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 710px) 1fr;
}

.hero-copy h1 {
  margin: .6rem 0 1.2rem;
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.lead {
  max-width: 39rem;
  color: #3c4043;
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0;
}

.btn-primary,
.btn-secondary,
.submit-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-primary,
.submit-button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 2px 6px rgba(26, 115, 232, .25);
}

.btn-primary:hover,
.submit-button:hover {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 4px 12px rgba(26, 115, 232, .26);
}

.btn-secondary {
  color: var(--blue);
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .12);
}

.btn-secondary:hover {
  color: var(--blue);
  border-color: rgba(26, 115, 232, .4);
  background: #f8fbff;
}

.hero-note {
  max-width: 38rem;
  margin: -.7rem 0 1.4rem;
  color: var(--muted);
  font-size: .95rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  max-width: 42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  padding: .5rem .7rem;
  color: #1f2937;
  border: 1px solid rgba(26, 115, 232, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  font-size: .92rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(60, 64, 67, .08);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  max-width: 45rem;
  margin: 0;
}

.hero-proof div {
  min-height: 94px;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 24px rgba(60, 64, 67, .1);
  backdrop-filter: blur(12px);
}

.hero-proof dt {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 850;
}

.hero-proof dd {
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.trust-strip {
  background: rgba(251, 253, 255, .82);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.trust-grid span {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: .9rem;
  text-align: center;
  border-right: 1px solid var(--line);
  background: rgba(251, 253, 255, .86);
  font-weight: 800;
}

.trust-grid span:last-child {
  border-right: 0;
}

.trust-grid span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
}

.trust-grid span:nth-child(2)::before {
  background: var(--red);
}

.trust-grid span:nth-child(3)::before {
  background: var(--yellow);
}

.trust-grid span:nth-child(4)::before {
  background: var(--green);
}

.trust-grid span:nth-child(5)::before {
  background: var(--teal);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f6f8fb;
}

.section-muted {
  background:
    linear-gradient(180deg, #edf4fa 0%, #f3f7fb 100%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 850;
}

.section p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 360px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 24px rgba(60, 64, 67, .09);
  backdrop-filter: blur(10px);
}

.service-card:nth-child(2) {
  border-top-color: var(--red);
}

.service-card:nth-child(3) {
  border-top-color: var(--yellow);
}

.service-card:nth-child(4) {
  border-top-color: var(--green);
}

.service-card:nth-child(5) {
  border-top-color: var(--teal);
}

.card-index {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-weight: 850;
}

.service-card:nth-child(2) .card-index {
  color: var(--red);
}

.service-card:nth-child(3) .card-index {
  color: #a66f00;
}

.service-card:nth-child(4) .card-index {
  color: var(--green);
}

.service-card:nth-child(5) .card-index {
  color: var(--teal);
}

.service-card ul {
  margin: 1.2rem 0 0;
  padding-left: 1.15rem;
  color: #3c4043;
}

.method-layout,
.split-layout,
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.method-steps {
  display: grid;
  gap: .8rem;
}

.method-steps div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(60, 64, 67, .08);
}

.method-steps div:nth-child(2) {
  border-left-color: var(--red);
}

.method-steps div:nth-child(3) {
  border-left-color: var(--yellow);
}

.method-steps div:nth-child(4) {
  border-left-color: var(--green);
}

.method-steps strong {
  color: var(--blue);
  font-size: 1.2rem;
}

.method-steps div:nth-child(2) strong {
  color: var(--red);
}

.method-steps div:nth-child(3) strong {
  color: #a66f00;
}

.method-steps div:nth-child(4) strong {
  color: var(--green);
}

.method-steps span {
  display: grid;
  gap: .15rem;
  font-weight: 800;
}

.method-steps small {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}

.architecture-panel {
  display: grid;
  gap: .75rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 251, 255, .92));
  box-shadow: 0 14px 34px rgba(60, 64, 67, .1);
}

.architecture-panel div {
  position: relative;
  padding: 1rem 1rem 1rem 1.25rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.architecture-panel div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 28px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateY(-50%);
}

.architecture-panel div:nth-child(2)::before {
  background: var(--red);
}

.architecture-panel div:nth-child(3)::before {
  background: var(--yellow);
}

.architecture-panel div:nth-child(4)::before {
  background: var(--green);
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
}

.portfolio-card {
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(0, .85fr);
  gap: 1.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(60, 64, 67, .08);
}

.portfolio-card-featured {
  grid-template-columns: minmax(560px, 1.2fr) minmax(0, .8fr);
}

.demo-shot {
  display: grid;
  min-height: 240px;
  place-items: center;
  color: var(--muted);
  border: 1px dashed #bdc1c6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(26, 115, 232, .08), rgba(251, 188, 4, .08)),
    #f8fbff;
  font-weight: 850;
}

.image-shot {
  min-height: 430px;
  place-items: stretch;
  overflow: hidden;
  border-style: solid;
  background: #fff;
}

.image-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left top;
}

.demo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin-top: 1rem;
}

.demo-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: left top;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(60, 64, 67, .08);
}

.portfolio-label {
  margin: 0 0 .3rem;
  color: var(--blue) !important;
  font-size: .9rem;
  font-weight: 850;
}

.portfolio-card dl {
  display: grid;
  gap: .65rem;
  margin: 1rem 0 0;
}

.portfolio-card dl div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: .75rem;
}

.portfolio-card dt {
  color: var(--ink);
  font-weight: 850;
}

.portfolio-card dd {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(90deg, rgba(246, 249, 252, .98) 0%, rgba(246, 249, 252, .9) 56%, rgba(246, 249, 252, .72) 100%),
    url("/images/factory-digital-hero.png") center top / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #3c4043;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.articles-preview-section {
  background: #f6f8fb;
}

.article-index-section {
  background: #f6f8fb;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  display: grid;
  align-content: start;
  min-height: 330px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(60, 64, 67, .08);
}

.article-card:nth-child(2) {
  border-top-color: var(--red);
}

.article-card:nth-child(3) {
  border-top-color: var(--green);
}

.article-card h2,
.article-card h3 {
  margin: .8rem 0 .7rem;
  line-height: 1.28;
}

.article-card h2 {
  font-size: 1.34rem;
}

.article-card h2 a,
.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover,
.text-link:hover {
  color: var(--blue);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .9rem 0;
}

.article-tags span {
  padding: .32rem .55rem;
  color: #1f2937;
  border: 1px solid rgba(26, 115, 232, .18);
  border-radius: 999px;
  background: #f8fbff;
  font-size: .82rem;
  font-weight: 800;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.article-more-link {
  margin-top: 1.2rem;
}

.article-detail-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    linear-gradient(90deg, rgba(246, 249, 252, .98) 0%, rgba(246, 249, 252, .93) 58%, rgba(246, 249, 252, .78) 100%),
    url("/images/factory-digital-hero.png") center top / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.article-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.article-detail h1 {
  max-width: 860px;
  margin: .7rem 0 1rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.article-meta-large {
  margin-top: 1.4rem;
}

.article-sidebox,
.article-cta {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(60, 64, 67, .08);
}

.article-sidebox strong {
  display: block;
  margin-bottom: .4rem;
}

.article-body-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.article-body {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(60, 64, 67, .08);
}

.article-body section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.article-body h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.article-body p,
.article-body li {
  color: #3c4043;
  font-size: 1.02rem;
}

.article-body ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.article-cta {
  position: sticky;
  top: 104px;
}

.article-cta h2 {
  font-size: 1.55rem;
}

.quote-section {
  background:
    linear-gradient(180deg, #f6f8fb 0%, #eef4fa 100%);
}

.quote-intro {
  position: sticky;
  top: 104px;
}

.quote-notes {
  display: grid;
  gap: .75rem;
  margin-top: 1.4rem;
}

.quote-notes span {
  display: block;
  padding: 1rem;
  color: #3c4043;
  border-left: 4px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  background: #fff8e1;
  font-weight: 700;
}

.quote-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 38px rgba(60, 64, 67, .11);
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-form label {
  display: grid;
  gap: .35rem;
  margin: 0;
  color: #3c4043;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, .14);
}

.quote-form textarea {
  resize: vertical;
}

.consent-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: .65rem !important;
  font-weight: 700 !important;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: .35rem;
}

.field-error,
.text-danger {
  color: var(--danger);
  font-size: .9rem;
  font-weight: 800;
}

.form-success {
  padding: .9rem 1rem;
  color: #0d652d;
  border: 1px solid #ceead6;
  border-radius: 8px;
  background: #e6f4ea;
  font-weight: 850;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  width: 100%;
  border: 0;
}

.site-footer {
  padding: 2rem 0;
  color: #dfe4ea;
  background: #202124;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr) minmax(160px, .5fr);
  gap: 1.4rem;
  align-items: start;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.footer-links,
.footer-copy {
  display: grid;
  gap: .3rem;
}

.footer-copy {
  text-align: right;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card,
  .portfolio-card-featured,
  .article-grid,
  .article-detail-grid,
  .article-body-layout {
    grid-template-columns: 1fr;
  }

  .article-cta {
    position: static;
  }
}

@media (max-width: 767px) {
  .site-nav > .container {
    flex-wrap: wrap;
    padding: .75rem 0;
  }

  .navbar-collapse {
    display: block !important;
    width: 100%;
  }

  .navbar-nav {
    justify-content: flex-start;
    gap: .15rem;
    overflow-x: auto;
    padding-bottom: .15rem;
  }

  .site-nav .nav-link {
    padding: .45rem .58rem;
    font-size: .92rem;
    white-space: nowrap;
  }

  .nav-cta {
    margin-left: .25rem;
  }

  .brand-text small {
    display: none;
  }

  .hero-overlay {
    align-items: end;
    min-height: 0;
    height: auto;
    padding: 5rem 0 3rem;
    padding-top: 5rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .74) 0%, rgba(255, 255, 255, .94) 34%, #fff 100%);
  }

  .hero-grid,
  .method-layout,
  .split-layout,
  .quote-layout,
  .form-row,
  .service-grid,
  .portfolio-card,
  .portfolio-card-featured,
  .article-grid,
  .article-detail-grid,
  .article-body-layout,
  .footer-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 12vw, 3.1rem);
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    flex: 1 1 150px;
  }

  .image-shot {
    min-height: 0;
  }

  .image-shot img {
    height: auto;
  }

  .demo-gallery {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .quote-intro {
    position: static;
  }

  .article-card {
    min-height: 0;
  }

  .trust-grid span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-copy {
    text-align: left;
  }
}
