:root {
  color-scheme: light;
  --orange: #ee9438;
  --ink: #111111;
  --paper: #ffffff;
  --soft: #fafafa;
  --soft-orange-line: rgba(238, 148, 56, 0.35);
  --line: rgba(17, 17, 17, 0.12);
  --sans: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --page-gutter: clamp(22px, 6vw, 92px);
}

* {
  box-sizing: border-box;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Lenis Luxury Smooth Scroll */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

/* ── GSAP Scroll-reveal initial states ── */
[data-gsap-fade] {
  opacity: 0;
  transform: translateY(28px);
}

[data-gsap-fade-left] {
  opacity: 0;
  transform: translateX(-32px);
}

[data-gsap-fade-right] {
  opacity: 0;
  transform: translateX(32px);
}

[data-gsap-scale] {
  opacity: 0;
  transform: scale(0.94);
}


body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
label,
dt,
dd {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  color: var(--orange);
}

button:not(:disabled):hover {
  border-color: var(--orange);
  color: var(--orange);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

::selection {
  color: var(--ink);
  background: #ffd3a8;
}

/* Sticky Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 28px);
  width: 100%;
  min-height: 68px;
  padding: 12px var(--page-gutter);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--soft-orange-line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  letter-spacing: .02em;
}

.brand-nav-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 5px;
  flex-shrink: 0;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
}

.primary-nav a {
  color: #222222;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="location"] {
  color: var(--orange);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 0;
  gap: 6px;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(238, 148, 56, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-contact:hover,
.header-contact.is-active {
  color: #ffffff !important;
  background: #e08328;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(238, 148, 56, 0.45);
}

.contact-dot {
  display: none !important;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  background: #ffffff;
  color: var(--ink);
  padding: clamp(38px, 5.2vw, 68px) 0 0;
  overflow: hidden;
}

.hero-ant {
  display: none !important;
}

.hero-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.hero-headline {
  margin: 0;
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-transform: uppercase;
}

.hero-headline .hero-line {
  display: block;
}

.hero-headline .hero-highlight {
  color: var(--orange);
  background: linear-gradient(90deg, #ee9438 0%, #ffaa48 55%, #ee9438 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Subtext & Action buttons row */
.hero-subrow {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(20px, 2.8vw, 36px);
}

.hero-subtext {
  max-width: 520px;
}

.hero-subtext p {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.5;
  color: #4a4a4a;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #ffffff !important;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(238, 148, 56, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  background: #e08328;
  box-shadow: 0 6px 24px rgba(238, 148, 56, 0.5);
  color: #ffffff !important;
}

.hero-btn-primary .btn-arrow {
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.hero-btn-primary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid rgba(17, 17, 17, 0.25);
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.hero-btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(238, 148, 56, 0.08);
  transform: translateY(-2px);
}

.hero-btn-secondary .btn-arrow {
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.hero-btn-secondary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Wide Banner Card */
.hero-banner-card {
  position: relative;
  width: 100%;
  height: clamp(230px, 27vw, 350px);
  margin-top: clamp(28px, 3.5vw, 42px);
  background: #090b10;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.banner-badge {
  position: absolute;
  top: clamp(16px, 2.2vw, 26px);
  left: clamp(18px, 2.5vw, 30px);
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.banner-diamond {
  flex-shrink: 0;
  margin-top: 1px;
  filter: drop-shadow(0 0 6px rgba(238, 148, 56, 0.6));
}

.banner-badge-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: #e5e7eb;
}

.banner-graphic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  border-radius: 16px;
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.hero-wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(238, 148, 56, 0.28));
}

.banner-explore-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: var(--orange);
  color: #ffffff !important;
  padding: 13px clamp(18px, 2.2vw, 26px);
  border-top-right-radius: 10px;
  border-bottom-left-radius: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(238, 148, 56, 0.35);
  transition: background 0.2s ease;
}

.banner-explore-btn:hover {
  background: #e08328;
  color: #ffffff !important;
}

.banner-explore-btn .explore-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.banner-explore-btn:hover .explore-arrow {
  transform: translateY(3px);
}

.banner-index-label {
  position: absolute;
  bottom: clamp(14px, 1.8vw, 22px);
  right: clamp(18px, 2.5vw, 32px);
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Flutter / Engineered Bar - Black Background */
.hero-engineered-bar {
  width: 100%;
  background: #000000;
  color: #ffffff;
  margin-top: clamp(28px, 3.8vw, 42px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.engineered-bar-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 16px var(--page-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bar-heading {
  color: #777777;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bar-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bar-tool {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  cursor: default;
  user-select: none;
}

.bar-tool:hover {
  color: #ffffff !important;
  transform: none;
}

.bar-tool-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bar-tool-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex: 0 1 auto;
}

.bar-platforms {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
  width: auto;
}

.bar-platforms li {
  color: #999999;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: default;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.bar-platforms li:hover {
  color: var(--orange);
}

.bar-stat {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.bar-stat-value {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.bar-stat-label {
  color: #888888;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bar-stat:hover .bar-stat-value,
.bar-stat:hover .bar-stat-label {
  color: var(--orange);
}

.accent-orange {
  color: var(--orange) !important;
}


.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  border: 1.5px solid var(--orange);
  border-radius: 6px;
  padding: 0 22px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 380ms cubic-bezier(.22, .68, 0, 1), border-color 220ms ease, color 220ms ease;
}

.text-link::after {
  color: var(--orange);
  content: "↗";
  font-size: 16px;
  transition: transform 180ms ease, color 220ms ease;
}

a.text-link:hover::after {
  transform: translate(3px, -3px);
  color: #ffffff;
}

.text-link:hover,
.text-link.is-active {
  border-color: var(--orange);
  color: #ffffff;
  background-size: 100% 100%;
}

.text-link.is-disabled {
  color: #888;
  cursor: not-allowed;
}



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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #333333;
  font-family: var(--mono);
  font-size: 10px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1.5px solid rgba(238, 148, 56, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.field textarea {
  min-height: 58px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #888888;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid var(--orange);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.submit-button::after {
  color: var(--orange);
  content: "↗";
  font-size: 18px;
}

.hero-index {
  position: absolute;
  right: var(--page-gutter);
  bottom: 24px;
  color: #888888;
  font: 10px var(--mono);
}

/* Minimal white space between each section */
.section {
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter);
  background: #ffffff;
}

/* Simple soft orange line separating each section */
.hero,
.about-section,
.the-way-we-work-section,
.services-section,
.portfolio-section,
.testimonials-section,
.cta-banner-section,
.contact-section,
.team-section,
.partners-section,
.blog-section,
.detail-hero,
.detail-band,
.detail-services,
.detail-projects,
.detail-articles,
.policy-copy {
  border-bottom: 1px solid var(--soft-orange-line) !important;
}

.has-scroll-reveals .scroll-reveal:not(.is-revealed):not(.service-row) {
  opacity: 0;
  transform: translateY(22px);
}

.scroll-reveal {
  transition: opacity 700ms ease, transform 850ms cubic-bezier(.2, .7, .2, 1);
}

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

.service-row.scroll-reveal {
  background-position: left center;
}

.service-row.scroll-reveal.is-revealed {
  background-size: 0% 100%;
}

.service-row.scroll-reveal.is-active {
  background-size: 100% 100%;
}

@keyframes kickerGlow {

  0%,
  100% {
    color: #bb6b00;
    text-shadow: 0 0 6px rgba(238, 148, 56, 0.45), 0 0 14px rgba(238, 148, 56, 0.25);
  }

  50% {
    color: var(--orange);
    text-shadow: 0 0 10px rgba(238, 148, 56, 0.75), 0 0 24px rgba(238, 148, 56, 0.45), 0 0 40px rgba(238, 148, 56, 0.2);
  }
}

.section-kicker {
  margin: 0 0 18px;
  color: #bb6b00;
  font: 600 10px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: kickerGlow 2.4s ease-in-out infinite;
}

.section h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.07;
}

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

/* ── About / How We Partner — scroll-linked thread ── */
.about-section {
  background: #ffffff;
  color: #111111;
}

/* ---- scroll space ---- */
.hww-scroll-wrapper {
  position: relative;
  height: 200vh;
}

/* ---- sticky viewport ---- */
.hww-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #ffffff;
}

/* ---- left column (title) ---- */
.hww-left {
  flex: 0 0 clamp(260px, 32vw, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 44px);
  background: #ffffff;
  z-index: 2;
}

.about-kicker {
  color: var(--orange);
  letter-spacing: .14em;
  margin: 0;
}

.about-headline {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: #111111;
}

.about-body {
  margin: 0;
  max-width: 340px;
  color: #555555;
  font-size: 13.5px;
  line-height: 1.6;
}

.about-cta {
  color: #111111;
  border-color: var(--orange);
}

.about-cta:hover,
.about-cta:focus-visible,
.about-cta.is-active {
  border-color: var(--orange);
  color: #ffffff !important;
  background-size: 100% 100%;
}

.about-cta:hover::after,
.about-cta:focus-visible::after,
.about-cta.is-active::after {
  color: #ffffff !important;
}

/* ---- Mobile Steps (phones & tablets) ---- */
.hww-mobile-steps {
  display: none;
}

/* ---- right clip area ---- */
.hww-track-clip {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

/* ---- horizontally sliding track ---- */
.hww-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 1400px;
  height: 100%;
  will-change: transform;
}

/* ---- thread area: SVG + labels ---- */
.hww-thread-area {
  position: relative;
  width: 1300px;
  height: 100%;
}

.hww-thread-svg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1220px;
  height: 200px;
  overflow: visible;
}

.hww-thread-bg {
  stroke: rgba(17, 17, 17, 0.18);
  stroke-width: 1.5;
}

.hww-thread-glow {
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(238, 148, 56, 0.7));
}

.hww-dot-circle {
  fill: #ffffff;
  stroke: #111111;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(17, 17, 17, 0.12));
  transition: stroke 0.35s ease, filter 0.35s ease;
}

.hww-dot-circle.is-active {
  stroke: var(--orange);
  filter: drop-shadow(0 0 10px rgba(238, 148, 56, 0.95));
}

.hww-dot-num {
  fill: #111111;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  dominant-baseline: central;
  text-anchor: middle;
  pointer-events: none;
  user-select: none;
  transition: fill 0.35s ease, filter 0.35s ease;
}

.hww-dot-num.is-active {
  fill: var(--orange);
  filter: drop-shadow(0 0 5px rgba(238, 148, 56, 0.7));
}

/* ---- node labels above / below the wave ---- */
.hww-labels {
  position: absolute;
  inset: 0;
}

.hww-node-label {
  position: absolute;
  width: 250px;
  left: calc(var(--npos) - 125px);
  text-align: center;
  transition: opacity 0.35s ease;
}

.hww-node--below {
  top: calc(50% + 85px);
  text-align: center;
}

.hww-node--above {
  bottom: calc(50% + 85px);
  text-align: center;
}

.hww-node-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
  text-align: center;
}

.hww-node-desc {
  margin: 0;
  color: #555555;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
}

/* ---- Mobile & Tablet layout for How We Partner ---- */
@media (max-width: 768px) {
  .about-section {
    padding: clamp(60px, 10vw, 90px) var(--page-gutter);
    background: #ffffff;
    color: #111111;
  }

  .hww-scroll-wrapper {
    height: auto;
  }

  .hww-sticky {
    position: static;
    height: auto;
    flex-direction: column;
    overflow: visible;
    background: transparent;
  }

  .hww-left {
    flex: none;
    padding: 0 0 36px;
    background: transparent;
  }

  .about-headline {
    font-size: clamp(34px, 9vw, 54px);
    color: #111111;
  }

  .about-body {
    max-width: 100%;
    color: #444444;
  }

  .hww-track-clip {
    display: none;
  }

  .hww-mobile-steps {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
  }

  .hww-mobile-step {
    display: flex;
    align-items: stretch;
    gap: 18px;
  }

  .hww-mstep-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 42px;
    flex-shrink: 0;
  }

  .hww-mstep-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #111111;
    background: #ffffff;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--mono);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .hww-mstep-line {
    width: 2px;
    flex: 1;
    background: rgba(17, 17, 17, 0.15);
    min-height: 38px;
    margin: 4px 0;
  }

  .hww-mobile-step:last-child .hww-mstep-line {
    display: none;
  }

  .hww-mstep-content {
    padding-top: 6px;
    padding-bottom: 28px;
    flex: 1;
  }

  .hww-mstep-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .hww-mstep-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
  }
}

/* ── The Way We Work — Expanding 4-Card Process Architecture ── */
.the-way-we-work-section {
  position: relative;
  isolation: isolate;
  background: #ffffff;
  color: var(--ink);
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter);
  overflow: hidden;
}

.the-way-we-work-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 380px;
  background: radial-gradient(ellipse at 50% 0%, rgba(238, 148, 56, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.twww-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.2vw, 38px);
}

/* Header */
.twww-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.twww-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 60px);
  flex-wrap: wrap;
}

.twww-header-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.twww-kicker {
  color: var(--orange);
  letter-spacing: .14em;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin: 0;
}

.twww-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111111;
  flex: 0 0 auto;
}

.twww-desc {
  margin: 0;
  max-width: 380px;
  width: max-content;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: #555555;
  padding-top: 4px;
  text-align: left;
  margin-left: auto;
}

/* 4 Cards Container */
.twww-cards-container {
  display: flex;
  gap: 16px;
  align-items: stretch;
  min-height: auto;
  width: 100%;
}

/* Individual Card (starts squeezed) */
.twww-card {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1.5px solid rgba(238, 148, 56, 0.25);
  border-radius: 12px;
  padding: 18px 16px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  cursor: default;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

/* Subtle background ambient glow inside card */
.twww-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(circle at 50% 0%, rgba(238, 148, 56, 0.1) 0%, transparent 75%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Hover / Active / Expanded State */
.twww-card:hover,
.twww-card:focus-visible,
.twww-card.is-expanded {
  flex: 2.9;
  background: #fffdf9;
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(238, 148, 56, 0.12);
  transform: translateY(-4px);
}

.twww-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.twww-card:hover .twww-card-glow,
.twww-card.is-expanded .twww-card-glow {
  opacity: 1;
}

/* Card Top: Number & Badge */
.twww-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.twww-card-num {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(17, 17, 17, 0.2);
  line-height: 1;
  transition: color 0.35s ease;
}

.twww-card:hover .twww-card-num,
.twww-card.is-expanded .twww-card-num {
  color: var(--orange);
}

.twww-card-pill {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(238, 148, 56, 0.1);
  color: var(--orange);
  border: 1px solid rgba(238, 148, 56, 0.28);
  opacity: 0;
  transform: translateY(-4px);
  white-space: nowrap;
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease, background 0.35s ease;
}

.twww-card:hover .twww-card-pill,
.twww-card.is-expanded .twww-card-pill {
  opacity: 1;
  transform: translateY(0);
}

/* Card Graphic / Visual Frame - Removed as requested */
.twww-card-visual {
  display: none !important;
}

.twww-svg-art {
  width: 100%;
  height: 100%;
  display: block;
}

/* Card Bottom Content */
.twww-card-body {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.twww-card-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.twww-card-icon {
  color: var(--orange);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.twww-card:hover .twww-card-icon,
.twww-card.is-expanded .twww-card-icon {
  transform: rotate(45deg);
}

.twww-card-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Squeezed vs Expanded Subtext */
.twww-card-desc-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease,
    transform 0.28s ease;
}

.twww-card:hover .twww-card-desc-wrap,
.twww-card.is-expanded .twww-card-desc-wrap {
  max-height: 150px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    opacity 0.35s ease 0.16s,
    transform 0.35s ease 0.16s;
}

.twww-card-desc {
  margin: 12px 0 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
}

.twww-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(238, 148, 56, 0.18);
}

.twww-card-stage {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.twww-card-arrow {
  color: var(--orange);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.twww-card:hover .twww-card-arrow,
.twww-card.is-expanded .twww-card-arrow {
  transform: translate(2px, -2px);
}

/* ── Mobile & Tablet Responsiveness ── */
@media (max-width: 900px) {
  .the-way-we-work-section {
    padding: clamp(36px, 6vw, 48px) var(--page-gutter);
  }

  .twww-cards-container {
    flex-direction: column;
    min-height: unset;
    height: auto;
    gap: 12px;
  }

  .twww-card {
    flex: none !important;
    width: 100%;
    min-height: 70px;
    padding: 18px 20px;
    transform: none !important;
  }

  .twww-card-header {
    width: 100%;
  }

  .twww-card-visual {
    display: none;
    margin: 12px 0 8px;
    height: 130px;
  }

  .twww-card.is-expanded .twww-card-visual {
    display: block;
    height: 130px;
  }

  .twww-card-pill {
    opacity: 1;
    transform: none;
  }

  .twww-card-title {
    font-size: 19px;
  }

  .twww-card.is-expanded {
    background: #fffdf9;
    border-color: rgba(238, 148, 56, 0.5);
  }
}


.services-section {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter);
  background: #ffffff;
  color: var(--ink);
}

.services-intro,
.service-list {
  position: relative;
  z-index: 1;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, .8fr);
  grid-template-rows: auto auto;
  gap: 12px clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 24px;
}

.services-intro .section-kicker {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-top: 0;
  margin: 0;
  color: var(--orange);
}

.services-intro h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 790px;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 800;
  line-height: .98;
  text-align: left;
  color: #111111;
  align-self: start;
}

.services-intro-copy {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: end;
  max-width: 380px;
  width: max-content;
  margin: 0;
  padding-top: 4px;
  color: #555555;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  text-align: left;
}

.service-list {
  border-top: 1px solid var(--soft-orange-line);
  position: relative;
  z-index: 1;
}

.service-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 36px minmax(240px, 1.15fr) minmax(340px, 0.95fr) 42px;
  gap: clamp(14px, 2vw, 28px);
  column-gap: clamp(16px, 2vw, 28px);
  align-items: center;
  min-height: 104px;
  padding: 32px clamp(16px, 2.5vw, 32px);
  margin: 0;
  border: none !important;
  border-bottom: 1px solid var(--soft-orange-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background-color: transparent;
  transition: color 260ms ease;
}

.service-row:last-child {
  border-bottom: none !important;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateX(-101%);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}

.service-row>* {
  position: relative;
  z-index: 1;
}

.service-row:hover::before,
.service-row:focus-visible::before,
.service-row.is-active::before {
  transform: translateX(0);
}

.service-row:hover,
.service-row:focus-visible,
.service-row.is-active {
  color: #ffffff !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--soft-orange-line) !important;
  box-shadow: none !important;
  outline: none;
}

.service-row:last-child:hover,
.service-row:last-child:focus-visible,
.service-row:last-child.is-active {
  border-bottom: none !important;
}

.service-number {
  color: #929292;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  transition: color 250ms ease;
}

.service-row:hover .service-number,
.service-row.is-active .service-number {
  color: #ffffff !important;
}

.service-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--orange);
  transition: transform 250ms ease, color 250ms ease;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-row:hover .service-icon,
.service-row.is-active .service-icon {
  color: #ffffff !important;
  transform: scale(1.1);
}

.service-row:hover .service-icon svg,
.service-row.is-active .service-icon svg {
  stroke: #ffffff !important;
}

.service-lead h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.2;
  transition: color 250ms ease;
}

.service-row:hover .service-lead h3,
.service-row.is-active .service-lead h3 {
  color: #ffffff !important;
}

.service-lead p {
  margin: 0;
  color: #626262;
  font-family: 'Roboto', sans-serif;
  font-size: 15.5px;
  line-height: 1.45;
  transition: color 250ms ease;
}

.service-row:hover .service-lead p,
.service-row.is-active .service-lead p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.service-points {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0 28px 0 0;
  color: #555555;
  font-size: 13.5px;
  line-height: 1.4;
  list-style: none;
  transition: color 250ms ease;
  justify-self: stretch;
  text-align: left;
}

.service-points li {
  white-space: nowrap;
}

.service-row:hover .service-points,
.service-row:hover .service-points li,
.service-row.is-active .service-points,
.service-row.is-active .service-points li {
  color: rgba(255, 255, 255, 0.95) !important;
}

.service-open {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, .22);
  border-radius: 8px;
  background-color: transparent;
  color: var(--ink);
  font-size: 18px;
  text-decoration: none;
  transition: all 250ms ease;
}

.service-row:hover .service-open,
.service-row:focus-visible .service-open,
.service-row.is-active .service-open {
  border-color: #ffffff !important;
  background: #ffffff !important;
  color: var(--orange) !important;
  transform: translate(2px, -2px);
}

.service-open:focus-visible {
  z-index: 1;
}

.portfolio-section {
  position: relative;
  isolation: isolate;
  background: #ffffff;
  color: var(--ink);
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter) clamp(20px, 2.5vw, 32px);
  overflow-x: clip;
}

.portfolio-section .section-kicker {
  color: var(--orange);
}

.portfolio-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.portfolio-title-col {
  max-width: 820px;
}

.portfolio-section h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 980px;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.04;
  color: var(--ink);
  text-align: left;
}

@media (max-width: 768px) {
  .portfolio-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── Infinite Marquee Band ── */
.portfolio-marquee-wrap {
  position: relative;
  width: calc(100% + (2 * var(--page-gutter)));
  margin-left: calc(-1 * var(--page-gutter));
  margin-right: calc(-1 * var(--page-gutter));
  background: #ffffff;
  padding: 8px 0;
  overflow: hidden;
  box-shadow: none;
}

.portfolio-marquee-track {
  display: flex;
  width: max-content;
  user-select: none;
}

.portfolio-marquee-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  will-change: transform;
  animation: portfolioMarqueeAnim 16s linear infinite;
}

.portfolio-marquee-wrap:hover .portfolio-marquee-group,
.portfolio-marquee-wrap:focus-within .portfolio-marquee-group {
  animation-play-state: paused;
}

@keyframes portfolioMarqueeAnim {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ── Pure Image Posters in Marquee (Home Site) - Portrait Aspect Ratio ── */
.portfolio-poster {
  position: relative;
  width: clamp(280px, 24vw, 360px);
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.25);
  outline: none;
  transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), border-color 240ms ease;
}

.portfolio-poster:hover,
.portfolio-poster:focus-visible {
  transform: translateY(-8px) scale(1.02);
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.portfolio-poster:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.portfolio-poster-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 14px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.portfolio-poster-inner .poster-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 400ms ease;
  pointer-events: none;
}

.portfolio-poster:hover .portfolio-poster-inner .poster-img-main {
  transform: scale(1.1);
}

.portfolio-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.portfolio-poster-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: translateY(2px);
  transition: transform 280ms ease;
}

.portfolio-poster:hover .portfolio-poster-content {
  transform: translateY(0);
}

.poster-category-tag {
  align-self: flex-start;
  padding: 3px 7px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: var(--orange);
  font: 9px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.poster-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.poster-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: 2px;
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: .04em;
  opacity: 0.85;
  transition: opacity 200ms ease, color 200ms ease;
}

.portfolio-poster:hover .poster-action-pill {
  opacity: 1;
  color: var(--orange);
}

.poster-dl-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.poster-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 180ms ease;
  cursor: pointer;
}

.poster-dl-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #111111;
  transform: translateY(-1px);
}

.dl-store-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* ── Floating Window (Project Details Modal) - Roboto & Studio UI ── */
.portfolio-modal-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 28px var(--page-gutter);
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1), visibility 280ms ease;
}

.portfolio-modal-overlay.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portfolio-modal-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  max-height: 88vh;
  height: auto;
  background: #ffffff;
  color: var(--ink);
  font-family: 'Roboto', sans-serif !important;
  border: 1.5px solid var(--soft-orange-line);
  border-radius: 12px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-modal-overlay.is-open .portfolio-modal-window {
  transform: scale(1) translateY(0);
}

/* Modal Top Navigation Bar */
.pmodal-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: #fafafa;
  border-bottom: 1px solid var(--soft-orange-line);
  flex-shrink: 0;
}

.pmodal-topbar-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.pmodal-top-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
  letter-spacing: -0.01em;
}

.pmodal-top-category {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.pmodal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 6px;
  color: #111111;
  cursor: pointer;
  font-size: 15px;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.pmodal-close-btn:hover {
  background: rgba(238, 148, 56, 0.12);
  border-color: var(--orange);
  color: var(--orange);
}

/* Modal Scrollable Container */
.pmodal-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(88vh - 98px);
  overflow-y: auto !important;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 32px 36px;
  background: #ffffff;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.pmodal-scroll-area::-webkit-scrollbar {
  width: 7px;
}

.pmodal-scroll-area::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.pmodal-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(238, 148, 56, 0.45);
  border-radius: 4px;
}

.pmodal-scroll-area::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* Modal Hero Header */
.pmodal-hero-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmodal-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111111;
}

.pmodal-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pmodal-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #f5f5f5;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #333333;
}

.pmodal-pill-accent {
  background: rgba(238, 148, 56, 0.1);
  border-color: rgba(238, 148, 56, 0.35);
  color: var(--orange);
  font-weight: 700;
}

/* ── Portfolio Floating Modal Layout ── */
.pmodal-grid-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, 1fr);
  gap: 32px 36px;
  align-items: start;
  width: 100%;
}

.pmodal-col-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pmodal-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Single Media / Video Carousel Showcase ── */
.pmodal-carousel-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.pmodal-carousel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.pmodal-gallery-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
}

.pmodal-carousel-counter {
  font-family: var(--mono, 'Courier New', monospace);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.pmodal-media-viewport {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.pmodal-media-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #0b0d11;
  border: 1.5px solid var(--soft-orange-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: aspect-ratio 280ms ease, max-width 280ms ease;
  user-select: none;
}

/* Dynamic auto size adjustment based on orientation */
.pmodal-media-frame[data-orientation="landscape"] {
  width: 100%;
  max-height: 440px;
}

.pmodal-media-frame[data-orientation="portrait"] {
  max-height: 520px;
  max-width: 310px;
  margin: 0 auto;
}

.pmodal-media-frame[data-orientation="square"] {
  max-height: 420px;
  max-width: 420px;
  margin: 0 auto;
}

.pmodal-active-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmodal-media-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0d11;
}

.pmodal-fit-media {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Screen tag overlay */
.pmodal-media-inner .pmodal-screen-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(11, 13, 17, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0;
}

.pmodal-screen-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
}

/* Carousel Left / Right Navigation Buttons */
.pmodal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  padding: 0;
}

.pmodal-nav-prev {
  left: 12px;
}

.pmodal-nav-next {
  right: 12px;
}

.pmodal-nav-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.pmodal-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Carousel Dots Indicator */
.pmodal-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0 0;
}

.pmodal-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.pmodal-dot.is-active {
  width: 24px;
  background: var(--orange);
}

/* Stylized Graphic Placeholder Slide */
.pmodal-placeholder-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-sizing: border-box;
  color: #ffffff;
  position: relative;
}

.pmodal-ph-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pmodal-ph-engine {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pmodal-ph-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 12px 14px;
}

.pmodal-ph-icon {
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.pmodal-ph-title {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.pmodal-ph-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 380px;
}

.pmodal-ph-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pmodal-ph-watermark {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

/* ── Description & Mechanics ── */
.pmodal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmodal-sec-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--orange);
}

.pmodal-desc-lead {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #333333;
  font-weight: 400;
}

/* Features Grid */
.pmodal-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pmodal-media-embed {
  position: relative;
  width: 100%;
  height: 100%;
}

.pmodal-embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.pmodal-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 15px;
  background: #fafafa;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 6px;
  transition: border-color 200ms ease;
}

.pmodal-feature-card:hover {
  border-color: rgba(238, 148, 56, 0.35);
}

.pmodal-feat-idx {
  color: var(--orange);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding-top: 1px;
}

.pmodal-feat-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pmodal-feat-text {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #333333;
}

.pmodal-feat-label {
  color: var(--orange);
  font-weight: 700;
}

/* ── Bottom Left: Engineering DNA Spec Card ── */
.pmodal-spec-card {
  background: #fafafa;
  border: 1.5px solid var(--soft-orange-line);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pmodal-spec-heading {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #111111;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--soft-orange-line);
}

.pmodal-spec-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pmodal-spec-label {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #777777;
}

.pmodal-spec-value {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
}

.pmodal-tags-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.pmodal-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pmodal-tech-pill {
  padding: 4px 9px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: #333333;
}

/* ── Bottom Right: Store Buttons Stack (One Below Another) ── */
.pmodal-store-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--soft-orange-line);
}

.pmodal-store-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 2px;
}

.pmodal-download-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  background: var(--orange);
  color: #0b0b0b !important;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 4px 14px rgba(238, 148, 56, 0.28);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.pmodal-download-btn:hover,
.pmodal-download-btn:focus {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(238, 148, 56, 0.42);
  color: #0b0b0b !important;
}

.pmodal-download-btn:active {
  transform: scale(0.98);
}

.pmodal-download-btn-ios {
  background: #111111;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.pmodal-download-btn-ios:hover,
.pmodal-download-btn-ios:focus {
  background: #1f1f1f;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.pmodal-download-btn-ios .pmodal-dl-main {
  color: #ffffff;
}

.pmodal-download-btn-ios .pmodal-dl-sub {
  color: rgba(255, 255, 255, 0.75);
}

.pmodal-dl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pmodal-dl-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.pmodal-dl-main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0b0b0b;
}

.pmodal-dl-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(11, 11, 11, 0.82);
}

.pmodal-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  background: var(--orange);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 200ms ease, transform 200ms ease;
  box-sizing: border-box;
}

.pmodal-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #ffffff;
}

@media (max-width: 900px) {
  .pmodal-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .pmodal-col-right {
    display: flex;
    flex-direction: column;
  }

  /* On mobile/tablet, elevate header so Title is at top, then carousel, then description, then DNA, then store buttons */
  .pmodal-hero-header {
    order: -2;
  }

  .pmodal-col-left {
    order: -1;
  }

  .pmodal-media-frame[data-orientation="portrait"] {
    max-width: 270px;
  }
}

@media (max-width: 768px) {
  .portfolio-modal-overlay {
    padding: 16px var(--page-gutter) !important;
  }

  .pmodal-scroll-area {
    padding: 18px 16px 28px;
    gap: 20px;
  }

  .pmodal-topbar {
    padding: 12px 16px;
  }

  .pmodal-nav-btn {
    width: 36px;
    height: 36px;
  }

  .pmodal-nav-prev {
    left: 8px;
  }

  .pmodal-nav-next {
    right: 8px;
  }
}

@media (max-width: 540px) {
  .portfolio-modal-overlay {
    padding: 10px 6px !important;
  }

  .portfolio-modal-window {
    max-height: 95vh;
    border-radius: 8px;
    width: 100%;
  }

  .pmodal-topbar {
    padding: 10px 12px;
    align-items: flex-start;
  }

  .pmodal-top-title {
    font-size: 20px;
  }

  .pmodal-placeholder-slide {
    padding: 16px;
  }

  .pmodal-ph-title {
    font-size: 16px;
  }

  .pmodal-download-btn {
    padding: 12px 16px;
    gap: 12px;
  }

  .pmodal-scroll-area {
    max-height: calc(94vh - 88px);
    overflow-y: auto !important;
    padding: 16px 14px 28px;
    gap: 18px;
  }

  .pmodal-features-grid {
    gap: 8px;
  }

  .pmodal-feature-card {
    padding: 12px 14px;
  }
}

.portfolio-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.portfolio-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 14px 38px;
  border: 1.5px solid var(--orange);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .06em;
  transition: border-color 300ms ease, color 300ms ease;
}

.portfolio-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateY(101%);
  transition: transform 420ms cubic-bezier(.22, .68, 0, 1.2);
}

.portfolio-cta-btn:hover {
  border-color: var(--orange);
  color: #ffffff;
}

.portfolio-cta-btn:hover::before {
  transform: translateY(0);
}

.portfolio-cta-btn>span,
.portfolio-cta-arrow {
  position: relative;
  z-index: 1;
}

.portfolio-cta-arrow {
  color: var(--orange);
  font-size: 16px;
  transition: transform 300ms ease, color 300ms ease;
}

.portfolio-cta-btn:hover .portfolio-cta-arrow {
  color: #ffffff;
  transform: translate(3px, -3px);
}




.testimonials-section {
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter);
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--soft-orange-line);
}

.testimonials-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.testimonials-header-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.testimonials-heading .section-kicker {
  margin: 0;
  animation: kickerGlow 2.4s ease-in-out infinite;
}

.testimonials-heading h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(24px, 3.4vw, 44px);
  color: #111111;
}

.testimonials-lead-desc {
  margin: 6px 0 0;
  font-size: clamp(13.5px, 1.2vw, 16px);
  color: #555555;
  line-height: 1.55;
  max-width: 640px;
}

.canvas-controls,
.testimonial-canvas-box,
.testi-minimap {
  display: none !important;
}

/* Testimonials nav controls (prev/next above 4th card area) */
.testi-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 4px;
}

.testi-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1.5px solid rgba(17, 17, 17, 0.2);
  border-radius: 50%;
  color: #111111;
  font-size: 16px;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 180ms ease;
  flex-shrink: 0;
}

.testi-nav-btn:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff !important;
  transform: scale(1.08);
}

.testi-nav-btn:hover:not(:disabled) span {
  color: #ffffff !important;
}

.testi-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Slider viewport — clips the scrolling track */
.testimonials-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: -8px;
  margin-bottom: -8px;
}

/* 4 full cards anytime, auto size reduce as per inside content */
.testimonials-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-card {
  position: static !important;
  transform: none !important;
  flex: 0 0 calc((100% - (3 * 16px)) / 4);
  min-width: 0;
  height: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 16px;
  background: #ffffff;
  border: 1px solid var(--soft-orange-line);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.testimonial-card:hover {
  transform: translateY(-3px) !important;
  border: 1px solid var(--orange) !important;
  border-top: 1.5px solid var(--orange) !important;
  box-shadow: 0 6px 20px rgba(238, 148, 56, 0.15);
}


.testimonial-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-mark {
  position: static !important;
  font-family: serif;
  font-size: 26px;
  line-height: 1;
  color: var(--orange);
}

.testimonial-index {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #aaaaaa;
}

.testimonial-quote {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #333333;
  font-style: normal;
  font-weight: 400;
  flex: 1;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(238, 148, 56, 0.25);
  font-size: 11px;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  font-family: var(--mono);
}

.testimonial-attribution::before {
  display: none !important;
}

.testimonial-author-dash {
  color: var(--orange);
  font-weight: 700;
}

.testimonial-cite {
  font-style: normal;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ── CTA Banner (Orange BG, Normal Button, No Marquee) ──────── */
.cta-banner-section {
  position: relative;
  background: var(--orange) !important;
  color: #111111;
  padding: clamp(38px, 4.8vw, 60px) var(--page-gutter);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.cta-banner-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  max-width: 720px;
}

.cta-banner-headline {
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #111111;
  text-transform: uppercase;
  margin: 0;
}

.cta-banner-headline .cta-word-white,
.cta-word-white {
  color: #ffffff !important;
}

.cta-banner-sub {
  margin: 0;
  max-width: 580px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.88);
  padding-top: 0;
}

.cta-banner-action {
  flex-shrink: 0;
}

.cta-banner-btn-single {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  background: #111111;
  color: #ffffff;
  border: 1.5px solid #111111;
  border-radius: 6px;
  font: 700 12.5px/1 'Roboto', var(--sans);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 220ms ease;
}

.cta-banner-btn-single:hover {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-banner-btn-single .cta-arrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  transition: transform 200ms ease, color 200ms ease;
}

.cta-banner-btn-single:hover .cta-arrow {
  transform: translateX(4px);
  color: #111111;
}

.cta-marquee-zone {
  display: none !important;
}

@media (max-width: 768px) {
  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.team-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 8vw;
  align-items: start;
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter);
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--soft-orange-line);
}

.team-section .section-kicker {
  margin: 0 0 10px;
}

.team-section h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 44px);
  color: #111111;
}

.team-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 35px;
  border-top: 1px solid var(--soft-orange-line);
}

.team-member {
  min-height: 80px;
  padding: 16px 0;
  border-bottom: 1px solid var(--soft-orange-line);
}

.team-member h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.team-member p {
  margin: 0;
  color: #666666;
  font: 11px/1.4 var(--mono);
}

.partners-section {
  min-height: auto;
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter);
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--soft-orange-line);
}

.partners-section h2 {
  font-size: clamp(24px, 3.4vw, 44px);
  color: var(--ink);
}

.partner-rule {
  width: 100%;
  height: 1px;
  margin-top: 40px;
  background: var(--soft-orange-line);
}

.blog-section {
  background: var(--paper);
  color: var(--ink);
}

.blog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}

.blog-heading h2 {
  max-width: 800px;
}

.blog-list {
  border-top: 1px solid var(--line);
}

.blog-row {
  display: grid;
  grid-template-columns: 130px 180px minmax(220px, 1fr) 100px;
  gap: 25px;
  align-items: center;
  min-height: 102px;
  border-bottom: 1px solid var(--line);
}

.blog-row .blog-meta {
  color: #777;
  font: 9px/1.6 var(--mono);
}

.blog-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.blog-row .text-link {
  justify-self: end;
  min-height: 34px;
  font-size: 10px;
}

/* ── Contact Form Section ───────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(380px, 1.22fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(36px, 4.2vw, 56px) var(--page-gutter);
  background: #ffffff;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent glow behind card */
.contact-section::after {
  content: "";
  position: absolute;
  top: 30%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(246, 168, 61, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 20px;
}

.contact-left .section-kicker {
  color: var(--orange);
  font: 700 11px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
}

.contact-headline {
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: #111111;
  margin: 0;
}

.contact-headline-accent {
  color: var(--orange);
}

.contact-sub {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
  color: #555555;
  max-width: 480px;
  margin: 0;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 14px/1 'Roboto', var(--sans);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  letter-spacing: .02em;
  transition: color .2s ease;
  width: fit-content;
}

.contact-email-link:hover {
  color: var(--orange);
}

.contact-email-link span {
  font-size: 16px;
  transition: transform .2s ease;
}

.contact-email-link:hover span {
  transform: translate(2px, -2px);
}

.contact-tagline {
  font: italic 13px/1.4 var(--sans);
  color: #888888;
  margin: 10px 0 0;
}

/* Right side card container */
.contact-right {
  position: relative;
  z-index: 1;
  width: 100%;
}

.contact-card {
  background: #ffffff;
  border: 1.5px solid var(--soft-orange-line);
  border-radius: 18px;
  padding: clamp(24px, 3.2vw, 38px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.contact-form[hidden],
.contact-form-feedback[hidden] {
  display: none !important;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(180, 55, 35, 0.25);
  border-radius: 8px;
  background: #fff5f2;
  color: #8e2d1f;
  font: 13px/1.5 'Roboto', var(--sans);
}

.contact-form-feedback {
  min-height: 260px;
  padding: 32px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #222222;
}

.contact-success-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(238, 148, 56, 0.14);
  color: var(--orange);
  font: 700 28px/1 'Roboto', var(--sans);
}

.contact-form-feedback h3 {
  margin: 0 0 10px;
  font: 700 clamp(20px, 2.4vw, 26px)/1.2 'Roboto', var(--sans);
  color: #111111;
}

.contact-form-feedback p {
  max-width: 380px;
  margin: 0;
  font: 14px/1.6 'Roboto', var(--sans);
  color: #555555;
}

.contact-form-feedback .contact-success-note {
  margin-top: 18px;
  font: 11px/1.5 var(--mono);
  color: #888888;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  width: 100%;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  font: 500 11px/1 'Roboto', var(--sans);
  color: #222222;
  letter-spacing: .03em;
}

.contact-field label .req {
  color: var(--orange);
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  background: #fafafa;
  border: 1px solid rgba(17, 17, 17, 0.16);
  color: #111111;
  border-radius: 8px;
  padding: 11px 14px;
  font: 13.5px/1.4 'Roboto', var(--sans);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #888888;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  outline: none;
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(238, 148, 56, 0.18);
}

.contact-field textarea {
  min-height: 98px;
  resize: vertical;
}

/* Custom select styling */
.contact-select-wrap {
  position: relative;
  width: 100%;
}

.contact-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 36px;
  background-color: #ffffff !important;
  color: #111111 !important;
}

.contact-select-wrap select option {
  background-color: #ffffff !important;
  color: #111111 !important;
  font-size: 14px;
}

.contact-select-wrap select option[disabled] {
  color: #888888 !important;
}

.contact-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #555555;
  border-bottom: 2px solid #555555;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

/* Consent Checkbox */
.contact-consent {
  padding: 2px 0;
}

.contact-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font: 11px/1.5 'Roboto', var(--sans);
  color: #444444;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

/* Submit button */
.contact-submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 24px;
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  background-color: var(--orange);
  color: #ffffff;
  font: 700 14px/1 'Roboto', sans-serif;
  letter-spacing: .03em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(238, 148, 56, 0.25);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.contact-submit-btn:hover,
.contact-submit-btn.is-active {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(238, 148, 56, 0.4);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-btn-arrow {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  transition: transform .2s ease;
}

.contact-submit-btn:hover .contact-btn-arrow,
.contact-submit-btn.is-active .contact-btn-arrow {
  transform: translate(2px, -2px);
}

/* Note */
.contact-note {
  margin: -4px 0 0;
  font: 11px/1.4 var(--mono);
  color: #888888;
  text-align: center;
  letter-spacing: .02em;
}

@media (max-width: 960px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: clamp(36px, 5vw, 48px) var(--page-gutter);
  }

  .contact-sub {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .contact-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-headline {
    font-size: clamp(32px, 8vw, 48px);
  }
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  padding: 0 0 0;
  background: #ffffff;
  color: var(--ink);
  overflow: hidden;
}

/* Editorial wordmark - small & refined */
.footer-wordmark-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: clamp(20px, 2.5vw, 32px) var(--page-gutter) 0;
  line-height: 1.1;
}

.footer-wordmark-line {
  display: inline-block;
  font-size: clamp(20px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: 'Roboto', var(--sans);
  user-select: none;
}

.footer-wordmark-dot {
  color: var(--orange);
}

/* Orange rule with EST label */
.footer-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px var(--page-gutter) 0;
  border-top: 1.5px solid var(--orange);
  padding-top: 8px;
}

.footer-rule-label {
  font: 600 9px/1 var(--mono);
  letter-spacing: .14em;
  color: #888888;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 3-column info row */
.footer-info-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: clamp(24px, 3.5vw, 50px);
  padding: clamp(20px, 2.5vw, 32px) var(--page-gutter);
  border-bottom: 1px solid rgba(17, 17, 17, .1);
}

/* Brand column */
.footer-info-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
}

.footer-logo-mark:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(238, 148, 56, 0.45));
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.footer-info-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #666;
  max-width: 240px;
  margin: 0;
}

.footer-info-email {
  font: 600 12px/1 'Roboto', var(--sans);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: .02em;
  transition: color .2s;
}

.footer-info-email:hover {
  color: var(--orange);
}

/* Navigation columns */
.footer-info-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-nav-label {
  font: 600 9px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0 0 14px;
}

.footer-nav-col a,
.footer-nav-col .unavailable-link {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}

.footer-nav-col a:hover {
  color: var(--orange);
}

.footer-nav-col .unavailable-link {
  color: #bbb;
}

/* Legal / Privacy links column in footer */
.footer-info-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-legal-list li a,
.footer-legal-list li .unavailable-link {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
  display: inline-block;
}

.footer-legal-list li a:hover {
  color: var(--orange);
}

.footer-legal-list li .unavailable-link {
  color: #bbb;
  cursor: default;
}

/* Contact column */
.footer-info-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  font-style: normal;
  line-height: 1.5;
  transition: color .2s;
}

a.footer-contact-item:hover {
  color: var(--orange);
}

/* Footer social icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, .18);
  color: #555;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 380ms cubic-bezier(.22, .68, 0, 1), border-color 220ms ease, color 220ms ease;
}

.footer-social-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  position: relative;
  z-index: 1;
  pointer-events: none;
  transition: color 220ms ease;
}

.footer-social-btn:hover,
.footer-social-btn.is-active {
  border-color: var(--orange);
  color: var(--ink);
  background-size: 100% 100%;
}

/* Bottom bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px var(--page-gutter);
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-copyright {
  font: 9px/1 var(--mono);
  color: #bbb;
  letter-spacing: .06em;
}

.footer-back {
  font: 600 10px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}

.footer-back:hover {
  color: var(--orange);
}


.loading-state {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 12px var(--mono);
}

.data-error {
  padding: 40px;
  color: #a00;
  font: 13px var(--mono);
}

.source-note {
  display: block;
  margin: 32px 0 0;
  color: #aaaaaa;
  font: 10px/1.6 var(--mono);
}

.portfolio-note {
  display: none !important;
}

.detail-hero {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: auto;
  padding: clamp(36px, 4.2vw, 52px) var(--page-gutter);
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--soft-orange-line);
}

.detail-hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 700;
  line-height: 1;
  color: #111111;
}

.detail-hero>p:last-child:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: #555555;
  font-size: 16.5px;
  line-height: 1.6;
}

.detail-copy {
  max-width: 1080px;
}

.detail-copy>p:not(.section-kicker),
.detail-service>p:not(.section-kicker),
.detail-article>p:not(.section-kicker),
.policy-copy>p {
  max-width: 820px;
  color: #505050;
  font-size: 16px;
  line-height: 1.8;
}

.detail-band {
  background: var(--soft);
}

.detail-band>h2 {
  max-width: 900px;
}

.detail-people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.detail-people article {
  padding: 22px 15px 18px 0;
  border-bottom: 1px solid var(--line);
}

.detail-people h3,
.detail-solutions h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.detail-people p,
.detail-solutions p {
  margin: 0;
  color: #696969;
  font-size: 13px;
  line-height: 1.7;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  gap: 30px;
  padding: 18px 10px 0 0;
  font-size: 17px;
}

.process-list li span {
  color: var(--orange);
  font: 10px var(--mono);
}

.detail-services {
  padding-top: 0;
}

.detail-service {
  max-width: 1000px;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.detail-service h2 {
  margin-bottom: 25px;
  font-size: clamp(30px, 4vw, 52px);
}

.detail-service h3 {
  margin: 42px 0 14px;
  font-size: 20px;
}

.detail-solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 36px;
}

.detail-solutions article {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.detail-projects {
  background: var(--soft);
}

.portfolio-categories {
  display: flex;
  gap: 28px;
  padding: 25px var(--page-gutter);
  border-bottom: 1px solid var(--line);
  font: 10px var(--mono);
}

.portfolio-categories span {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--orange);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-project {
  min-height: 280px;
  padding: 25px;
  background: var(--soft);
}

.detail-project h2 {
  margin: 70px 0 12px;
  font-size: clamp(23px, 3vw, 38px);
}

.detail-project p {
  color: #676767;
  font: 11px var(--mono);
}

.detail-project .text-link {
  margin-top: 16px;
}

.detail-articles {
  max-width: 1050px;
}

.detail-article {
  padding: 55px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}

.detail-article h2 {
  max-width: 870px;
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 48px);
}

.detail-article h3 {
  margin: 25px 0 10px;
  font-size: 16px;
}

.detail-article ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-left: 19px;
  color: #555;
  font-size: 13px;
}

.policy-copy {
  max-width: 1080px;
}

.policy-copy article {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.policy-copy article h2 {
  font-size: 24px;
}

.policy-copy article p {
  max-width: 780px;
  color: #555;
  line-height: 1.7;
}

.detail-hero .section-kicker {
  color: #aaa;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 78px;
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 8px;
  }

  .hero-subrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .service-row {
    grid-template-columns: 42px 30px minmax(180px, 1.1fr) minmax(260px, 0.95fr) 42px;
    gap: 12px;
    column-gap: 16px;
  }

  .service-number {
    font-size: 30px;
  }

  .service-points {
    font-size: 13px;
  }

  .service-points li {
    white-space: normal;
  }

  .blog-row {
    grid-template-columns: 95px 140px minmax(190px, 1fr) 86px;
    gap: 16px;
  }

  .portfolio-cards-row {
    grid-auto-columns: clamp(200px, 26vw, 300px);
  }

  .portfolio-section h2 {
    max-width: 100%;
  }

  .testimonials-section {
    padding-right: var(--page-gutter);
  }

  .testimonial-window {
    height: 1605px;
    overflow: visible;
    cursor: default;
    touch-action: auto;
  }

  .testimonial-world {
    position: relative;
    inset: auto;
    width: 100%;
    height: 1605px;
    transform: none !important;
  }

  .testimonial-card {
    left: 50% !important;
    width: min(calc(100% - 36px), 540px);
    min-height: 225px;
    padding: 21px;
    transform: translateX(-50%) rotate(var(--tilt, 0deg));
  }

  .testimonial-card:nth-child(1) {
    top: 18px !important;
  }

  .testimonial-card:nth-child(2) {
    top: 280px !important;
  }

  .testimonial-card:nth-child(3) {
    top: 542px !important;
  }

  .testimonial-card:nth-child(4) {
    top: 804px !important;
  }

  .testimonial-card:nth-child(5) {
    top: 1066px !important;
  }

  .testimonial-card:nth-child(6) {
    top: 1328px !important;
  }

  .testimonial-ornament {
    display: none;
  }

  .testi-minimap {
    display: none;
  }

  .testimonial-canvas-box {
    border-radius: 0;
    margin-top: 33px;
    border-left: none;
    border-right: none;
  }

  .canvas-instruction {
    font-size: 0 !important;
  }

  .canvas-instruction::after {
    content: "Scroll to explore";
    font: 9px var(--mono);
  }

  .canvas-reset {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 22px;
  }

  .site-header {
    min-height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    right: var(--page-gutter);
    left: var(--page-gutter);
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1.5px solid var(--soft-orange-line);
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  }

  .primary-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .primary-nav a {
    padding: 8px 0;
    font-size: 11px;
    color: #111111;
  }

  .header-contact {
    margin-left: auto;
    margin-right: 12px;
    font-size: 9px;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 34px;
    height: 34px;
    place-content: center;
    border: 1.5px solid rgba(238, 148, 56, 0.45);
    border-radius: 6px;
    background: #ffffff;
    color: var(--ink);
  }

  .menu-toggle span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: currentColor;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 0;
  }

  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .about-section,
  .services-intro,
  .team-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-copy {
    max-width: 560px;
  }

  .about-copy p:first-child {
    font-size: 18px;
  }

  .services-intro {
    margin-bottom: 42px;
  }

  .services-intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 18px;
    margin-bottom: 35px;
  }

  .services-intro .section-kicker,
  .services-intro h2,
  .services-intro-copy {
    grid-column: 1;
  }

  .services-intro .section-kicker {
    grid-row: 1;
  }

  .services-intro h2 {
    grid-row: 2;
  }

  .services-intro-copy {
    grid-row: 3;
  }

  .services-intro h2 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .services-intro-copy {
    font-size: 15px;
  }

  .service-row {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 12px;
    min-height: 0;
    padding: 23px 0;
    align-items: start;
  }

  .service-number {
    padding-top: 2px;
    font-size: 27px;
  }

  .service-icon {
    display: none;
  }

  .service-lead {
    grid-column: 2;
    grid-row: 1;
  }

  .service-lead h3 {
    padding-right: 4px;
    font-size: 18px;
  }

  .service-lead p {
    font-size: 14.5px;
  }

  .service-points {
    grid-column: 2 / 4;
    grid-row: 2;
    gap: 5px;
    padding: 12px 0 0;
    font-size: 13px;
  }

  .service-points li {
    white-space: normal;
  }

  .service-open {
    grid-column: 3;
    grid-row: 1;
    width: 36px;
    height: 36px;
  }

  .portfolio-section h2 {
    font-size: clamp(30px, 8vw, 44px);
    max-width: 100%;
  }

  .portfolio-poster,
  .portfolio-card {
    width: clamp(260px, 75vw, 320px);
  }

  .portfolio-cta-btn {
    padding: 16px 32px;
    gap: 14px;
  }

  .detail-hero {
    min-height: 540px;
    padding-top: 125px;
    padding-bottom: 60px;
  }

  .detail-hero h1 {
    font-size: clamp(42px, 12vw, 68px);
  }

  .detail-hero>p:last-child:not(.section-kicker) {
    font-size: 15px;
  }

  .detail-people,
  .detail-solutions,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 25px 15px;
  }

  .detail-service {
    padding: 65px 0;
  }

  .detail-project {
    min-height: 230px;
  }

  .testimonials-section {
    padding-right: 0;
  }

  .testimonials-heading {
    align-items: start;
    flex-direction: column;
    padding-right: var(--page-gutter);
  }

  .testimonials-heading h2 {
    font-size: 42px;
  }

  .canvas-controls {
    align-self: stretch;
    justify-content: space-between;
  }

  .testimonial-canvas-box {
    margin-top: 33px;
  }

  .testimonial-quote {
    font-size: 13px;
  }

  .testimonial-ornament {
    top: 690px;
    left: 380px;
    width: 110px;
    height: 110px;
  }

  .team-list {
    grid-template-columns: 1fr;
  }

  .team-member {
    min-height: 90px;
  }

  .partners-section {
    min-height: 270px;
  }

  .partner-rule {
    margin-top: 45px;
  }

  .blog-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 35px;
  }

  .blog-row {
    grid-template-columns: 1fr auto;
    gap: 7px 14px;
    padding: 18px 0;
  }

  .blog-row .blog-meta:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .blog-row .blog-meta:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .blog-row h3 {
    grid-column: 1;
    grid-row: 3;
    padding-top: 5px;
    font-size: 15px;
  }

  .blog-row .text-link {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }

  .footer-info-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-info-nav {
    grid-template-columns: 1fr 1fr;
  }
}

/* Testimonials responsive slider card widths */
@media (max-width: 1100px) {
  .testimonial-card {
    flex: 0 0 calc((100% - (1 * 16px)) / 2);
  }
}

@media (max-width: 600px) {
  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonials-heading {
    flex-direction: column;
    gap: 16px;
  }

  .testi-nav-controls {
    align-self: flex-start;
  }
}



/* ── Full Portfolio Page (4-Column Layout & Cards) ──────────────── */
.portfolio-page-wrap {
  background: #ffffff;
  color: var(--ink);
  min-height: 80vh;
}

.portfolio-page-hero {
  padding: clamp(44px, 5.5vw, 72px) var(--page-gutter) clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--soft-orange-line);
  background: #ffffff;
}

.portfolio-hero-kicker {
  font: 600 10px/1 var(--mono);
  letter-spacing: .12em;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 14px;
  animation: kickerGlow 2.4s ease-in-out infinite;
}

.portfolio-page-hero h1 {
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 16px;
  max-width: 960px;
}

.portfolio-page-hero p {
  font-size: clamp(14px, 1.4vw, 17px);
  color: #555555;
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}

.portfolio-section-block {
  padding: clamp(32px, 4vw, 56px) var(--page-gutter) clamp(44px, 5.5vw, 72px);
  border-bottom: 1px solid var(--soft-orange-line);
}

.portfolio-sec-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.portfolio-sec-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #111111;
  margin: 0;
  letter-spacing: -0.01em;
}

.portfolio-sec-count {
  font: 600 10px/1 var(--mono);
  color: var(--orange);
  background: rgba(238, 148, 56, 0.1);
  border: 1px solid rgba(238, 148, 56, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 4-column responsive grid matching user's design reference */
.portfolio-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 1200px) {
  .portfolio-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .portfolio-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .portfolio-cards-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 240ms ease, box-shadow 240ms ease;
  position: relative;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 14px 32px rgba(238, 148, 56, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.portfolio-card:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
}

.pcard-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-thumb-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 340ms ease;
}

.portfolio-card:hover .pcard-thumb-art {
  transform: scale(1.04);
}

.pcard-thumb-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
  transition: transform 340ms ease;
  pointer-events: none;
}

.portfolio-card:hover .pcard-thumb-img {
  transform: scale(1.1);
}

.pcard-badge-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  font: 700 9px/1 var(--mono);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 2;
}

.pcard-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
}

.pcard-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111111;
  margin: 0;
  transition: color 200ms ease;
}

.portfolio-card:hover .pcard-title {
  color: var(--orange);
}

.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pcard-tag {
  font-family: 'Roboto', var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  color: #4a4a4a;
  background: #f4f4f4;
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 3.5px 8px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

/* ── Problem-Solving Services Page Styles ───────────────────────── */
.services-rescue-page {
  background: #ffffff;
  color: var(--ink);
}

.rescue-hero {
  padding: clamp(48px, 6vw, 76px) var(--page-gutter) clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--soft-orange-line);
}

.rescue-hero h1 {
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 16px;
  max-width: 980px;
}

.rescue-hero p {
  font-size: clamp(14px, 1.4vw, 17.5px);
  color: #555555;
  line-height: 1.6;
  max-width: 740px;
  margin: 0;
}

/* Triage metric strip */
.rescue-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: clamp(24px, 3vw, 36px) var(--page-gutter);
  background: #fbfbfb;
  border-bottom: 1px solid var(--soft-orange-line);
}

@media (max-width: 900px) {
  .rescue-metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rescue-metric-strip {
    grid-template-columns: 1fr;
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-left: 2px solid var(--orange);
}

.metric-val {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  color: #111111;
  line-height: 1;
}

.metric-lbl {
  font: 600 10.5px/1.4 var(--mono);
  color: #666666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Problem-solving grid */
.rescue-pillars-section {
  padding: clamp(40px, 5vw, 68px) var(--page-gutter);
  border-bottom: 1px solid var(--soft-orange-line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(24px, 3vw, 36px);
}

@media (max-width: 1080px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.pillar-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.pillar-num {
  font: 700 11px/1 var(--mono);
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.pillar-title {
  font-size: 19px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 12px;
  line-height: 1.25;
}

.pillar-blocker {
  background: #fff8f3;
  border-left: 2px solid var(--orange);
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}

.pillar-blocker-label {
  font: 700 9px/1 var(--mono);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.pillar-blocker-text {
  font-size: 12.5px;
  color: #444444;
  line-height: 1.45;
  margin: 0;
}

.pillar-solution-label {
  font: 700 9.5px/1 var(--mono);
  color: #888888;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.pillar-solution-text {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.pillar-tag {
  font: 500 10px/1 'Roboto', var(--sans);
  color: #555555;
  background: #f4f4f4;
  padding: 4px 7px;
  border-radius: 4px;
}

/* Comparison Table */
.comparison-section {
  padding: clamp(40px, 5vw, 68px) var(--page-gutter);
  border-bottom: 1px solid var(--soft-orange-line);
  background: #fafafa;
}

.comparison-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 10px;
  background: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 16px 20px;
  font: 700 11px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  background: #f5f5f5;
  color: #111111;
}

.comparison-table th.col-highlight {
  background: #fff4eb;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}

.comparison-table td {
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: #444444;
}

.comparison-table td.col-highlight {
  background: #fffbf8;
  font-weight: 600;
  color: #111111;
  border-left: 1px solid rgba(238, 148, 56, 0.2);
  border-right: 1px solid rgba(238, 148, 56, 0.2);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ── Authentic Senior Engineering About Page ────────────────────── */
.about-studio-page {
  background: #ffffff;
  color: var(--ink);
}

.about-manifesto-section {
  padding: clamp(40px, 5vw, 68px) var(--page-gutter);
  border-bottom: 1px solid var(--soft-orange-line);
}

.manifesto-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 24px;
}

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

.manifesto-lead {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
  margin: 0;
}

.manifesto-body {
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
  margin: 0;
}

/* Problem resolution protocol */
.protocol-section {
  padding: clamp(40px, 5vw, 68px) var(--page-gutter);
  border-bottom: 1px solid var(--soft-orange-line);
}

.protocol-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .protocol-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .protocol-cards-grid {
    grid-template-columns: 1fr;
  }
}

.protocol-card {
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 10px;
  position: relative;
  transition: border-color 200ms ease, transform 200ms ease;
}

.protocol-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.protocol-step-num {
  font: 800 24px/1 'Roboto', var(--sans);
  color: var(--orange);
  margin-bottom: 12px;
}

.protocol-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 8px;
}

.protocol-step-desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.55;
  margin: 0;
}

/* Leadership Grid */
.leadership-section {
  padding: clamp(40px, 5vw, 68px) var(--page-gutter);
  border-bottom: 1px solid var(--soft-orange-line);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

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

.leader-card {
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leader-avatar-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #111111;
  color: var(--orange);
  display: grid;
  place-items: center;
  font: 800 16px/1 'Roboto', var(--sans);
}

.leader-name {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.leader-role {
  font: 600 10.5px/1 var(--mono);
  color: var(--orange);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0;
}

.leader-bio {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive Enhancements for Small Screens & Lower-Size Devices ── */
@media (max-width: 860px) {
  .engineered-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px var(--page-gutter);
  }

  .bar-left {
    flex-wrap: wrap;
    gap: 16px;
  }

  .bar-right {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .bar-platforms {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 18px;
  }
}

@media (max-width: 580px) {
  .hero-headline {
    font-size: clamp(30px, 8.5vw, 48px);
  }

  .hero-banner-card {
    height: clamp(210px, 50vw, 290px);
  }

  .banner-index-label {
    top: clamp(16px, 2.2vw, 24px);
    right: clamp(14px, 2.5vw, 20px);
    bottom: auto;
    font-size: 9.5px;
  }

  .banner-explore-btn {
    padding: 10px 16px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .rescue-hero h1 {
    font-size: clamp(28px, 7.5vw, 42px);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .hero-btn-primary {
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
  }

  .hero-btn-secondary {
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pmodal-portrait-gallery {
    gap: 10px;
  }

  .pmodal-screen-title {
    font-size: 12px;
  }

  .pmodal-screen-caption {
    font-size: 9px;
  }

  .pmodal-meta-pills {
    gap: 6px;
  }

  .pmodal-pill {
    font-size: 10.5px;
    padding: 4px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .scroll-reveal,
  .scroll-reveal.is-revealed {
    opacity: 1 !important;
    transform: none !important;
  }

  .portfolio-cards-row {
    scroll-snap-type: none;
  }

  .hero-wave-canvas {
    animation: none !important;
  }
}