/* ===========================
   DESIGN TOKENS
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Inter:wght@300;400;500&family=Nunito+Sans:wght@300;400;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --white: #FFFFFF;
  --black: #0D0D0D;
  --cream: #F5F3EF;
  --gray-light: #E8E6E1;
  --gray-mid: #9A9A9A;
  --gray-dark: #3A3A3A;
  --accent: #111;
  --font-h: 'Jost', sans-serif;
  --font-b: 'Inter', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-height: 65px;
  --header-height-mobile: 52px;
  --home-hero-height: clamp(400px, 52vh, 560px);
}

/* ===========================
   RESET & BASE
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-b);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-h);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.75rem, 6vw, 5.625rem);
  /* 60px–90px */
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3.125rem);
  /* 30px–50px */
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  /* ~19px–28px */
}

p {
  line-height: 1.75;
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  /* 15px–18px */
  color: var(--gray-dark);
  font-weight: 300;
}

.section-label {
  font-family: var(--font-h);
  font-size: 0.75rem;
  /* 12px */
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.2rem;
}

/* ===========================
   LAYOUT UTILITIES
=========================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-pad {
  padding: 120px 0;
}

.section-pad-sm {
  padding: 80px 0;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid currentColor;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 0;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn span {
  position: relative;
  z-index: 1;
  transition: color 0.35s var(--ease);
}

.btn-dark {
  color: var(--black);
}

.btn-dark:hover span {
  color: var(--white);
}

.btn-light {
  color: var(--white);
}

.btn-light:hover span {
  color: var(--black);
}

.btn-accent {
  color: var(--accent);
}

/* Arrow icon */
.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease), color 0.35s var(--ease);
}

.btn-dark.btn-arrow:hover::after {
  color: var(--white);
  transform: translateX(4px);
}

/* ===========================
   TOP BAR — hero state (left aligned logo)
=========================== */
#top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 40px;
  pointer-events: none;
  transition: opacity 0.15s var(--ease);
}

#top-bar.hidden {
  opacity: 0;
  pointer-events: none;
}

.site-logo {
  font-family: var(--font-b);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--white);
  pointer-events: all;
  transition: color 0.4s;
  line-height: 1;
  text-decoration: none;
}

.site-logo strong {
  font-weight: 700;
}

.site-logo span {
  font-weight: 400;
}

/* Logo Images */
.logo-img {
  height: 64px;
  width: auto;
  display: block;
}

/* .logo-img--hero { filter: brightness(0); } Removed to show natural logo colors */

.logo-img--footer {
  height: 120px;
}

.logo-img--sticky {
  height: 56px;
}

/* Circle button — floats over hero, hides when sticky header appears */
.circle-btn {
  position: fixed;
  top: 26px;
  right: 40px;
  z-index: 1002;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, opacity 0.15s;
  pointer-events: all;
  display: none !important;
  align-items: center;
  justify-content: center;
}

.circle-btn:hover {
  border-color: var(--white);
  transform: scale(1.1);
}

.circle-btn.dark {
  border-color: rgba(0, 0, 0, 0.45);
}

.circle-btn.dark:hover {
  border-color: var(--black);
}

/* Hide floating circle when sticky bar is visible (sticky bar has its own) */
.circle-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===========================
   STICKY HEADER — unified across all pages
   Layout: [Logo LEFT] [Nav LEFT] [Circle RIGHT]
=========================== */
#sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0 48px;
  height: var(--header-height);
  /* Slide-up/slide-down + fade transition */
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), border-color 0.3s var(--ease);
  pointer-events: all;
}

/* Hide bottom border when at the very top of the page */
#sticky-header.nav-at-top {
  border-bottom-color: transparent;
}

/* Hidden state — used by JS on home & about pages at page-top */
#sticky-header.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Sticky logo (left) */
.sticky-logo {
  font-family: var(--font-h);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--black);
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 24px;
}


.sticky-logo strong {
  font-weight: 700;
}

.sticky-logo span {
  font-weight: 300;
}

/* Sticky nav — sits left, directly after logo separator */
.sticky-nav {
  display: flex;
  align-items: center;
  gap: 0;
  pointer-events: all;
}

.sticky-nav li {
  display: flex;
  align-items: center;
  /* No divider lines */
}

/* Remove all pipe separators */
.sticky-nav li::before {
  display: none;
}

.sticky-nav li a {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.55);
  padding: 0 26px;
  transition: color 0.25s var(--ease);
  text-transform: lowercase;
  white-space: nowrap;
  line-height: var(--header-height);
  display: block;
  position: relative;
}

/* Indicator on the left (vertical line drawn bottom to top) */
.sticky-nav li a::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  margin-top: -8px;
  width: 1.5px;
  height: 16px;
  background-color: var(--black);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-nav li.active a::before,
.sticky-nav li a:hover::before {
  transform: scaleY(1);
}

/* Remove old ::after indicator */
.sticky-nav li a::after {
  display: none;
}

.sticky-nav li.active a {
  color: var(--black);
  font-weight: 500;
}

.sticky-nav li a:hover {
  color: var(--black);
}

/* Main content offset below fixed header (inner pages) */
.main-below-header {
  padding-top: calc(var(--header-height) + 52px);
}

/* Circle button — right slot, matches reference image */
.sticky-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.35);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s, transform 0.3s;
  display: none !important;
  /* hidden everywhere */
  align-items: center;
  justify-content: center;
}

.sticky-circle:hover {
  border-color: var(--black);
  transform: scale(1.1);
}

/* Sticky Action Button (Right) — kept for pages that use it */
.sticky-btn {
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
  display: inline-block;
  line-height: 1;
}

.sticky-btn:hover {
  background: transparent;
  color: var(--black);
}

@media (max-width: 600px) {
  .sticky-btn {
    display: none;
  }
}

/* ===========================
   HERO SLIDER
/* ===========================
   HERO SPLIT SCREEN
=========================== */
#hero.split-view {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  overflow: hidden;
  background: var(--black);
}

.split-half {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.split-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}

.split-half:hover .split-bg {
  filter: grayscale(100%);
}

.filter-dark {
  filter: brightness(0.6) grayscale(50%);
}

.split-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.4s ease;
}

.split-overlay.dark {
  background: rgba(0, 0, 0, 0.4);
}

.split-half:hover .split-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.vert-text {
  position: absolute;
  top: 50%;
  font-family: var(--font-b);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s var(--ease);
}

.vert-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.vert-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.vert-left {
  left: 40px;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
}

.vert-right {
  right: 40px;
  top: 50%;
  transform: translate(50%, -50%) rotate(90deg);
  transform-origin: center center;
}



.center-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 100;
  pointer-events: none;
}

.center-logo-img {
  max-width: 280px;
  height: auto;
  display: block;
  /* Meadow Mist 936 (#EAEAD8) color filter */
  filter: brightness(0) invert(92%) sepia(10%) saturate(400%) hue-rotate(30deg);
  opacity: 1;
}

.hero-topleft-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  pointer-events: all;
}

.hero-topleft-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(92%) sepia(10%) saturate(400%) hue-rotate(30deg);
}

@media (max-width: 768px) {
  .hero-topleft-brand {
    display: none;
  }
}

@media (max-width: 900px) {
  #hero.split-view {
    flex-direction: column;
  }
}



/* ===========================
   ABOUT / INTRO
=========================== */
#about {
  background: var(--white) url('../images/sketch-bg.png') no-repeat 65% center;
  background-size: 45%;
  overflow: hidden;
  padding: 80px 0;
}

/* Make the about section fill full screen width like the reference site */
#about .container {
  max-width: 100%;
  width: 100%;
  padding: 0 6vw;
}

.new-about-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}

.new-about-text {
  flex: 1;
  z-index: 2;
  padding-right: 20px;
}

.about-slideshow {
  flex: 0 0 433px;
  width: 433px;
  height: 217px;
  position: relative;
  z-index: 3;
  margin-right: 0;
  margin-top: 0;
  overflow: hidden;
}

/* Zoomed out (90%–50%): viewport CSS pixels grow, use larger fixed size */
@media (min-width: 1800px) {
  .about-slideshow {
    flex: 0 0 558px;
    width: 558px;
    height: 280px;
  }
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background: transparent;
  will-change: opacity;
}

.about-slide.active {
  opacity: 1;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.new-section-label {
  font-family: var(--font-b);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  margin-bottom: 1.2rem;
}

.new-about-heading {
  font-family: var(--font-b);
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
  max-width: 100%;
}

.new-read-more {
  font-family: var(--font-b);
  font-size: 0.85rem;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-transform: lowercase;
  opacity: 0.8;
}

.new-about-bottom {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.new-about-links {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.new-about-links a {
  font-family: var(--font-b);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 6px;
  letter-spacing: -0.01em;
}

.new-about-col {
  flex: 1;
}

.new-about-col h3 {
  font-family: var(--font-b);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.new-about-col p {
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.6;
  font-weight: 400;
  max-width: 320px;
}

/* ===========================
   SERVICES (VERTICAL TABS)
=========================== */
#services {
  background: var(--white);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 70px;
}

.services-header h2 {
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.services-tabs {
  display: flex;
  flex-direction: column;
}

.tab-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
  cursor: pointer;
  transition: all 0.3s;
}

.tab-item:first-child {
  border-top: 1px solid var(--gray-light);
}

.tab-num {
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  padding-top: 4px;
  transition: color 0.3s;
}

.tab-title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 300;
  transition: color 0.3s;
}

.tab-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--gray-light);
  transition: all 0.3s;
  padding-top: 3px;
}

.tab-item.active .tab-num,
.tab-item:hover .tab-num {
  color: var(--accent);
}

.tab-item.active .tab-title,
.tab-item:hover .tab-title {
  color: var(--black);
}

.tab-item.active .tab-arrow {
  color: var(--accent);
  transform: translateX(6px);
}

.services-panel {
  position: sticky;
  top: 120px;
}

.panel-content {
  display: none;
  animation: fadeSlideUp 0.5s var(--ease);
}

.panel-content.active {
  display: block;
}

.panel-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 32px;
}

.panel-img img {
  transition: transform 0.6s var(--ease);
}

.panel-img:hover img {
  transform: scale(1.04);
}

.panel-content h3 {
  margin-bottom: 1rem;
}

.panel-content p {
  color: var(--gray-dark);
  max-width: 440px;
}

/* ===========================
   PROJECTS (OUR WORK SLIDER)
=========================== */
#projects {
  background: #000000;
  padding: 100px 0;
  overflow: hidden;
  isolation: isolate;
  position: relative;
  z-index: 1;
}

.our-work-container {
  display: flex;
  align-items: stretch;
  height: 65vh;
  min-height: 500px;
  max-height: 700px;
  max-width: 100%;
}

.our-work-left {
  flex: 0 0 28%;
  padding: 0 40px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.our-work-label {
  font-family: var(--font-b);
  font-size: 0.75rem;
  /* 12px */
  letter-spacing: 0.18em;
  color: #bbb;
  text-transform: uppercase;
  margin-top: 40px;
}

.our-work-info {
  margin-top: auto;
  margin-bottom: auto;
}

.our-work-title {
  font-family: var(--font-b);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  /* 40px–60px */
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  opacity: 1;
  transition: opacity 0.28s ease;
  will-change: opacity;
}

.our-work-cat {
  font-family: var(--font-b);
  font-size: 0.75rem;
  /* 12px */
  letter-spacing: 0.22em;
  color: #bbb;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.28s ease;
  will-change: opacity;
}

.our-work-right {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-left: 0;
  display: flex;
  flex-direction: column;
}

.our-work-swiper {
  width: 100%;
  height: calc(100% - 60px);
}

.our-work-slide {
  width: 75%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}


.our-work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.our-work-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 60px;
  gap: 30px;
  padding-right: 28%;
}

.our-work-nav button {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-b);
  opacity: 0.8;
  transition: opacity 0.3s;
  letter-spacing: -2px;
  /* To make arrows look longer if they are just characters */
}

.our-work-nav button:hover {
  opacity: 1;
}

/* ===========================
   HORIZONTAL ACCORDION SERVICES
=========================== */
.accordion-section {
  background: var(--white);
  padding: 130px 0 247px 0;
}

.accordion-section::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--gray-light);
  margin-bottom: 68px;
}

.acc-container {
  display: flex;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  height: 403px;
  align-items: flex-end;
}

.acc-item {
  display: flex;
  flex: 0 0 100px;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  background: var(--white);
  align-items: flex-end;
}

.acc-item.active {
  flex: 1;
}

.acc-header {
  width: 100px;
  min-width: 100px;
  height: 403px;
  min-height: 403px;
  max-height: 403px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 0 0;
  cursor: pointer;
  background: var(--white);
  transition: background 0.3s;
  position: relative;
}

.acc-header:hover {
  background: transparent;
}

/* Remove the old header line logic to replace with title underline */
.acc-header::before {
  display: none;
}

.acc-icon {
  font-family: var(--font-b);
  font-size: 1.6rem;
  color: #333;
  font-weight: 300;
  transition: opacity 0.3s;
}

.acc-item.active .acc-icon {
  opacity: 0;
}

.acc-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: 'DM Sans', sans-serif;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--black);
  white-space: nowrap;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 20px 0;
  text-transform: capitalize;
  position: relative;
}

.acc-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: -12px;
  width: 1px;
  height: 0;
  background-color: var(--black);
  transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.acc-header:hover .acc-title::after {
  height: 100%;
}

/* If active, keep the line visible */
.acc-item.active .acc-title::after {
  height: 100%;
}

.acc-content {
  display: flex;
  flex: 1;
  opacity: 0;
  min-width: 0;
  transition: opacity 0.4s ease 0.2s;
  pointer-events: none;
}

.acc-item.active .acc-content {
  opacity: 1;
  pointer-events: auto;
}

.acc-img-wrap {
  flex: 0 0 209px;
  width: 209px;
  height: 403px;
  min-width: 209px;
  max-width: 209px;
  min-height: 403px;
  max-height: 403px;
  overflow: hidden;
  align-self: flex-end;
}

.acc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc-text-wrap {
  flex: 1;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.acc-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 2.0rem;
  color: #333;
  cursor: pointer;
  font-weight: 300;
  font-family: var(--font-b);
}

.acc-text-wrap p {
  font-family: var(--font-b);
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.acc-text-wrap .read-more {
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--black);
  text-decoration: none;
  align-self: flex-start;
  padding-bottom: 4px;
  position: relative;
  display: inline-block;
}

.acc-text-wrap .read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0, 1);
}

.acc-text-wrap .read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

@media (max-width: 900px) {
  .our-work-container {
    flex-direction: column;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .our-work-left {
    flex: none;
    padding: 0 40px;
    margin-bottom: 40px;
  }

  .our-work-label {
    margin-top: 0;
    margin-bottom: 20px;
    display: block;
  }

  .our-work-right {
    padding-left: 0;
    height: auto;
  }

  .our-work-swiper {
    height: 306px;
  }

  .our-work-slide {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 306px !important;
    flex-shrink: 0 !important;
  }

  .our-work-slide img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* ===========================
   TEAM SECTION
=========================== */
#team {
  background: #E4E7D5;
  padding: 120px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* Each row height = 1 column width = 100vw / 5 = 20vw */
  grid-auto-rows: 20vw;
  gap: 0;
}

/* Hiroshi-style: fade-in + slide-up animation base state */
.team-cell {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-cell.slide-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays — cascade left to right, row by row */
.team-cell:nth-child(1) {
  transition-delay: 0.00s;
}

.team-cell:nth-child(2) {
  transition-delay: 0.12s;
}

.team-cell:nth-child(3) {
  transition-delay: 0.24s;
}

.team-cell:nth-child(4) {
  transition-delay: 0.36s;
}

.team-cell:nth-child(5) {
  transition-delay: 0.48s;
}

.team-cell:nth-child(6) {
  transition-delay: 0.10s;
}

.team-cell:nth-child(7) {
  transition-delay: 0.22s;
}

.team-cell:nth-child(8) {
  transition-delay: 0.34s;
}

.team-cell:nth-child(9) {
  transition-delay: 0.46s;
}

.team-cell:nth-child(10) {
  transition-delay: 0.58s;
}

/* Photo cells — square frames, image fills entirely, face centered */
.team-cell.team-photo {
  background: #1a1a1a;
  overflow: hidden;
  position: relative;
}

.team-cell.team-photo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  filter: grayscale(100%);
  position: absolute;
  top: 0;
  left: 0;
}

.team-cell.team-photo:hover img {
  filter: grayscale(60%) contrast(1.05);
}

/* Info cells — cream background with name / role / social */
.team-cell.team-info {
  background: #E4E7D5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.team-name {
  font-family: var(--font-b);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 400;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.2;
}

.team-role {
  font-family: var(--font-b);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

.team-role-accent {
  color: var(--black);
  /* terracotta / rust accent matching reference */
  font-weight: 500;
}

.team-role-plain {
  color: #777;
  font-weight: 400;
}

/* Social icons row */
.team-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #333;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.team-social-icon svg {
  width: 100%;
  height: 100%;
}

.team-social-icon:hover {
  color: var(--black);
  transform: translateY(-2px);
}

/* Jobs panel — spans both rows in column 5 */
.team-cell.team-jobs {
  background: #E4E7D5;
  grid-column: 5 / 6;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

/* Thin right border accent (visible in ref image) */
.team-cell.team-jobs::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--black);
}

.team-jobs-link {
  font-family: var(--font-b);
  font-size: 0.85rem;
  color: #333;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(0, 0, 0, 0.35);
  transition: color 0.25s, text-decoration-color 0.25s;
}

.team-jobs-link:hover {
  color: var(--black);
  text-decoration-color: var(--black);
}

/* Empty offset cell — matches Hiroshi's row-2 shift */
.team-cell.team-empty {
  background: #E4E7D5;
}

/* Responsive: checkerboard 2-column on tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    overflow: hidden;
  }
  
  .team-cell {
    grid-column: unset !important;
    grid-row: unset !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto !important;
  }

  .team-cell.team-photo {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    background: transparent !important;
  }
  .team-cell.team-photo img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
    filter: grayscale(100%);
  }

  .team-cell.team-info {
    aspect-ratio: unset;
    min-height: unset;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .team-cell.team-jobs {
    grid-column: 1 / -1 !important;
    aspect-ratio: unset;
    min-height: 180px;
    padding: 40px;
  }
  .team-cell.team-jobs::after {
    display: none;
  }

  .team-cell.team-empty,
  .team-cell:nth-child(9) {
    display: none !important;
  }

  .team-cell:nth-child(1) { order: 1; }
  .team-cell:nth-child(2) { order: 2; }
  .team-cell:nth-child(4) { order: 3; }
  .team-cell:nth-child(3) { order: 4; }
  .team-cell:nth-child(7) { order: 5; }
  .team-cell:nth-child(8) { order: 6; }
  .team-cell:nth-child(5) { order: 7; }
}

/* Responsive: stack to single-col on mobile */
@media (max-width: 768px) {
  .team-grid {
    display: block;   /* drop grid entirely — simple vertical stack */
    width: 100%;
    overflow: hidden;
  }

  /* Reset all grid placement so cells flow naturally */
  .team-cell {
    grid-column: unset !important;
    grid-row: unset !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* -------------------------------------------------------
     PHOTO CELLS: Fit image naturally without borders or cutouts
  ------------------------------------------------------- */
  .team-cell.team-photo {
    position: relative !important;
    width: 100% !important;
    max-width: 444px !important;
    height: auto !important; /* Let height adjust to image to prevent cutouts & borders */
    margin: 0 auto; /* Center horizontally */
    overflow: hidden !important;
    background: transparent !important; /* Remove black borders */
  }

  /* Image: Natural flow, full width, preserve aspect ratio */
  .team-cell.team-photo img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
    filter: grayscale(100%);
  }

  /* Info cells — comfortable padding, auto height */
  .team-cell.team-info {
    aspect-ratio: unset;
    min-height: unset;
    padding: 28px 24px 36px;
  }

  /* Jobs cell — full-width, centred, generous height */
  .team-cell.team-jobs {
    aspect-ratio: unset;
    min-height: 180px;
    grid-column: unset;
    grid-row: unset;
    padding: 48px 32px;
  }

  .team-cell.team-jobs::after {
    display: none;
  }

  /* Hide empty offset cell — not needed in stacked layout */
  .team-cell.team-empty,
  .team-cell:nth-child(9) {
    display: none;
  }

  /* Larger name & role text for readability on mobile */
  .team-name {
    font-size: 1.25rem !important;
    margin-bottom: 6px;
  }

  .team-role {
    font-size: 0.72rem !important;
    letter-spacing: 0.14em;
  }

  .team-jobs-link {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }
}

/* ===========================
   QUOTE BANNER SECTION
=========================== */
#quote-banner {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0) 70%),
    url('../../Project%20images/WIN_Facility6.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 618px;
  min-height: 618px;
  max-height: 618px;
  width: 100%;  /* was 1361px — caused horizontal overflow on mobile */
  display: flex;
  align-items: flex-end;
  padding: 0 0 70px 0;
  overflow: hidden;
}

.quote-banner-content {
  width: 100%;
  max-width: none;
  padding: 0;
}

.quote-banner-content.container {
  padding: 0 48px;
}

.quote-banner-content h2 {
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 30px;
  font-weight: 400;
  max-width: 800px;
  line-height: 42px;
  margin: 0;
  padding: 0;
  letter-spacing: 0.01em;
}

/* Hiroshi main-home proportions: compact hero + team visible above fold */


body.home-page #quote-banner {
  height: 618px;
  min-height: 618px;
  max-height: 618px;
  width: 100%;  /* was 1361px — caused horizontal overflow on mobile */
}

body.home-page #team {
  padding-top: 168px;
  padding-bottom: 168px;
}


body.home-page .team-cell.team-info {
  padding: 28px 32px;
}

body.home-page .team-name {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  margin-bottom: 4px;
}

body.home-page .team-role {
  font-size: 0.625rem;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  #quote-banner {
    height: 549px;
    min-height: 549px;
    max-height: 549px;
    width: 100%; /* overflow fix */
  }

  .quote-banner-content.container {
    padding: 0 28px;
  }

  .quote-banner-content h2 {
    font-size: 30px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
    font-style: normal;
    margin-top: 120px;
    max-width: none;
  }

  /* Reduce section padding on mobile so team stays compact */
  body.home-page #team {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* These are now block elements, height auto is default — kept for safety */
  body.home-page .team-cell.team-photo,
  body.home-page .team-cell.team-info,
  body.home-page .team-cell.team-empty {
    height: auto;
  }
}

/* ===========================
   TESTIMONIALS
=========================== */
#testimonials {
  background: var(--white);
}

.testimonials-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-inner .section-label {
  justify-content: center;
  display: flex;
}

.testimonial-text {
  font-family: var(--font-h);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  /* 20px–28px */
  font-weight: 300;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.testimonial-author {
  font-family: var(--font-h);
  color: var(--black);
  font-size: 0.8125rem;
  /* 13px */
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.testimonial-role {
  color: var(--gray-mid);
  font-size: 0.75rem;
  /* 12px */
  margin-top: 4px;
}

.test-pagination {
  margin-top: 40px;
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.test-pagination .swiper-pagination-bullet {
  width: 25px;
  height: 2px;
  background: var(--gray-mid);
  opacity: 0.5;
  border-radius: 0;
  margin: 0 !important;
  transition: background 0.3s, width 0.3s, opacity 0.3s;
}

.test-pagination .swiper-pagination-bullet-active {
  width: 45px;
  background: var(--black);
  opacity: 1;
}

/* ===========================
   REFERENCE JOURNAL SECTION
=========================== */
#ref-journal {
  background: #EDE8E2;
  padding: 80px 0 120px;
}

/* Container with less padding for larger image feel */
#ref-journal .container {
  max-width: 1400px;
  padding: 0 40px;
}

/* Remove header styles as it's being removed from HTML */


/* 4-column grid with smaller gaps */
.ref-journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 16px;
}

.ref-journal-card {
  display: flex;
  flex-direction: column;
}

.ref-journal-img-wrap {
  margin-bottom: 15px;
  overflow: hidden;
}

.ref-journal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.ref-journal-card:hover .ref-journal-img-wrap img {
  transform: scale(1.04);
}

/* Post content */
.ref-journal-title {
  font-family: var(--font-b);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 12px;
  max-width: 95%;
  letter-spacing: -0.01em;
}

.ref-journal-meta {
  font-family: var(--font-b);
  font-size: 0.68rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ref-journal-meta-sep {
  margin: 0 10px;
  color: #aaa;
  font-weight: 300;
}

.ref-journal-meta span:last-child {
  width: 100%;
  margin-top: 6px;
}

/* Specific heights for the asymmetric look — making them taller/larger */
.ref-journal-card:nth-child(1) .ref-journal-img-wrap {
  aspect-ratio: 1.4 / 1;
}

.ref-journal-card:nth-child(2) .ref-journal-img-wrap {
  aspect-ratio: 0.8 / 1;
}

.ref-journal-card:nth-child(3) .ref-journal-img-wrap {
  aspect-ratio: 1.4 / 1;
}

.ref-journal-card:nth-child(4) .ref-journal-img-wrap {
  aspect-ratio: 0.8 / 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .ref-journal-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* Mobile dimensions for images (flow naturally) */
  .ref-journal-card .ref-journal-img-wrap {
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: unset !important;
    margin: 0 0 20px 0;
  }

  /* Ensure the image fills the 446x344 box perfectly */
  .ref-journal-card .ref-journal-img-wrap img {
    filter: none; /* Remove monochrome look */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .ref-journal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .ref-journal-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
}
/* ===========================
   CTA BANNER
=========================== */
#cta-banner {
  background: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
}

/* Overlay removed for white background */
#cta-banner::before {
  display: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: var(--black);
  margin-bottom: 1rem;
}

.cta-inner p {
  color: var(--gray-dark);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ===========================
   FOOTER
=========================== */
#footer {
  background: #FFFFFF;
  border-top: 1px solid #ebebeb;
}

.hs-footer-inner {
  width: 100%;
  padding: 70px 80px 50px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hs-footer-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
  margin-top: -40px;
  /* Align top of logo with top of column labels */
}

.hs-footer-cols {
  display: flex;
  gap: 80px;
}

.hs-footer-col {
  min-width: 120px;
}

.hs-footer-col-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 20px;
}

.hs-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hs-footer-col ul li a {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: opacity 0.25s;
}

.hs-footer-col ul li a:hover {
  opacity: 0.6;
}

.hs-footer-col address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hs-footer-col address span,
.hs-footer-col address a {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: opacity 0.25s;
}

.hs-footer-col address a:hover {
  opacity: 0.6;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25D366 !important;
  font-weight: 500;
  transition: opacity 0.25s !important;
}

.footer-whatsapp i {
  font-size: 16px;
}

.footer-whatsapp:hover {
  opacity: 0.75 !important;
}

.hs-footer-bottom {
  border-top: 1px solid #ebebeb;
  padding: 18px 80px;
}

.hs-footer-bottom p {
  font-family: var(--font-b);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .hs-footer-inner {
    flex-direction: column;
    padding: 60px 50px 40px;
    gap: 50px;
  }

  .hs-footer-bottom {
    padding: 18px 50px;
  }
}

@media (max-width: 768px) {
  .hs-footer-inner {
    padding: 40px 30px;
    gap: 40px;
  }

  .hs-footer-cols {
    flex-direction: column;
    gap: 32px;
  }

  .hs-footer-bottom {
    padding: 18px 30px;
  }
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.stagger.visible>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.stagger.visible>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   BACK TO TOP
=========================== */
#back-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

#back-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-4px);
}

#back-top:hover {
  transform: translateY(-8px);
}

/* ===========================
   HAMBURGER MENU BUTTON
=========================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s var(--ease);
}

@media (max-width: 768px) {
  /* Show hamburger on ALL pages at mobile widths */
  .hamburger-btn {
    display: flex;
    margin-left: auto; /* push it to the right of the header */
  }

  /* Hide desktop nav links on mobile for ALL pages */
  #sticky-header .sticky-nav {
    display: none !important;
  }

  /* Tighten header padding on mobile and enforce clickability */
  #sticky-header {
    padding: 0 20px;
    pointer-events: auto !important;
  }

  /* Reduce logo margin so it doesn't eat header space */
  .sticky-logo {
    margin-right: 0;
  }
}

/* ===========================
   MOBILE NAV OVERLAY
=========================== */
#mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}

#mobile-nav.open {
  transform: translateX(0);
}

#mobile-nav a {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
}

#mobile-nav a:hover,
#mobile-nav a.active {
  color: var(--accent);
}

#mobile-nav a.active {
  font-weight: 500;
}

#mobile-nav-close {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  .container {
    padding: 0 40px;
  }

  .about-grid {
    gap: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  #side-nav {
    display: none;
  }

  #top-bar {
    justify-content: flex-start;
    padding: 22px 20px;
  }

  .circle-btn {
    top: 20px;
    right: 20px;
  }

  .hero-caption {
    right: 20px;
    bottom: 90px;
  }

  .hero-pagination {
    left: 20px;
    bottom: 60px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-panel {
    position: static;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card.featured {
    grid-row: span 1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-pad {
    padding: 80px 0;
  }

  .container {
    padding: 0 30px;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.4rem;
  }

  .about-badge {
    width: 120px;
    height: 120px;
    right: -15px;
    bottom: -15px;
  }

  .about-badge .num {
    font-size: 2rem;
  }

  .hero-caption {
    right: 16px;
  }

  .hero-caption-title {
    font-size: 1.2rem;
  }
}

/* ===========================
   SHOP PAGE STYLES
=========================== */
.shop-breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 40px;
  text-transform: capitalize;
}

.shop-breadcrumb a {
  color: var(--black);
  transition: color 0.3s;
}

.shop-breadcrumb a:hover {
  color: var(--accent);
}

.shop-breadcrumb .sep {
  margin: 0 10px;
  color: var(--gray-light);
}

.shop-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* Sidebar */
.shop-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.widget-title {
  font-family: var(--font-b);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-list li a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  transition: opacity 0.3s;
}

.widget-list li a:hover {
  opacity: 0.6;
}

.widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-pill {
  font-size: 0.75rem;
  border: 1px solid var(--gray-light);
  padding: 6px 12px;
  color: var(--gray-dark);
  transition: all 0.3s;
}

.tag-pill:hover {
  border-color: var(--black);
  color: var(--black);
}

.price-slider-placeholder {
  width: 100%;
  padding-top: 10px;
}

.slider-track {
  width: 100%;
  height: 10px;
  background: var(--gray-light);
  border-radius: 5px;
  position: relative;
  max-width: 100px;
}

.widget-search .shop-search {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 5px;
}

.widget-search input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.75rem;
  font-family: var(--font-b);
  letter-spacing: 0.08em;
  padding: 5px 0;
  outline: none;
}

.widget-search button {
  position: absolute;
  right: 0;
  color: var(--black);
  cursor: pointer;
}

.sidebar-banner {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  aspect-ratio: 3/4;
}

.sidebar-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 20px;
}

.banner-overlay h4 {
  font-family: var(--font-b);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 15px;
}

.banner-link {
  font-size: 0.8rem;
  text-transform: lowercase;
  border-bottom: 1px solid var(--white);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.banner-link:hover {
  opacity: 0.7;
}

/* Main Content */
.shop-content {
  flex: 1;
}

.shop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid transparent;
}

.result-count {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  text-transform: uppercase;
}

.sort-dropdown select {
  font-size: 0.8rem;
  font-family: var(--font-b);
  border: none;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  outline: none;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--cream);
  margin-bottom: 20px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.sale-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  z-index: 2;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 2;
}

.add-to-cart {
  font-size: 0.85rem;
  font-family: var(--font-b);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  text-transform: lowercase;
}

.product-image:hover img {
  transform: scale(1.05);
}

.product-image:hover .product-overlay {
  opacity: 1;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-title {
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 400;
}

.product-price {
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--gray-mid);
  text-align: right;
}

.product-price del {
  opacity: 0.6;
  margin-right: 5px;
  text-decoration: line-through;
}

.shop-pagination {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.pagination-links {
  display: flex;
  gap: 20px;
}

.page-num {
  font-size: 0.9rem;
  color: var(--gray-mid);
  transition: color 0.3s;
}

.page-num.active,
.page-num:hover {
  color: var(--black);
}

.page-next {
  color: var(--black);
  display: flex;
  align-items: center;
  margin-left: 20px;
}

@media (max-width: 900px) {
  .shop-layout {
    flex-direction: column;
  }

  .shop-sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .sidebar-widget {
    margin-bottom: 0;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-pagination {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   SINGLE PRODUCT PAGE
=========================== */
.product-single-container {
  display: flex;
  gap: 50px;
  margin-bottom: 80px;
  align-items: flex-start;
}

.product-gallery {
  flex: 0 0 55%;
  max-width: 55%;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80px;
  flex-shrink: 0;
}

.product-thumbnails img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.product-thumbnails img.active,
.product-thumbnails img:hover {
  opacity: 1;
}

.product-main-image {
  flex: 1;
  min-width: 0;
  background: var(--cream);
  aspect-ratio: 4/5;
  overflow: hidden;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-summary {
  flex: 0 0 45%;
  max-width: 45%;
  min-width: 0;
  padding-top: 10px;
  box-sizing: border-box;
}


.product-single-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.product-single-price {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

/* ── New price row ───────────────────────── */
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.ppr-original {
  font-family: var(--font-b);
  font-size: 1.15rem;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 300;
}

.ppr-sale {
  font-family: var(--font-b);
  font-size: 1.25rem;
  color: var(--black);
  font-weight: 500;
}


.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.8rem;
}

.product-rating .stars {
  letter-spacing: 2px;
}

.product-rating .review-count {
  color: var(--gray-mid);
}

.product-short-desc {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

.product-cart-form {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  align-items: stretch;
}

/* ── Quantity wrap ───────────────────────── */
.qty-wrap {
  display: flex;
  border: 1px solid #ccc;
  height: 52px;
  width: 110px;
  flex-shrink: 0;
  overflow: hidden;
}

.qty-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-size: 1.05rem;
  color: var(--black);
  border-right: 1px solid #ccc;
  user-select: none;
  min-width: 0;
}

.qty-controls {
  display: flex;
  flex-direction: column;
  width: 38px;
  flex-shrink: 0;
}

.qty-ctrl-btn {
  flex: 1;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1;
  transition: background 0.2s;
}

.qty-ctrl-btn:first-child {
  border-bottom: 1px solid #ccc;
}

.qty-ctrl-btn:hover {
  background: #f5f5f5;
}

/* ── Add to Cart button ─────────────────── */
.add-to-cart-btn {
  flex: 1;
  height: 52px;
  padding: 0 30px;
  background: #111;
  color: #fff;
  border: none;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.add-to-cart-btn:hover {
  opacity: 0.8;
}

/* ── Key Specs ───────────────────────────── */
.product-key-specs {
  margin-bottom: 30px;
}
.key-specs-title {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-light);
}
.key-specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 60px;
}
.spec-item svg {
  width: 28px;
  height: 28px;
  color: #666;
  margin-bottom: 6px;
}
.spec-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}
.spec-label {
  font-size: 0.75rem;
  color: #666;
  text-transform: capitalize;
}

/* ── Plan Customization Box ──────────────── */
.plan-customize-box {
  background: var(--cream);
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 22px 24px;
  margin-bottom: 30px;
}

.pcb-title {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
  text-align: center;
}

.pcb-desc {
  font-family: var(--font-b);
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 18px;
}

.pcb-btn {
  display: block;
  width: 100%;
  background: #5b6bbf;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s;
}

.pcb-btn:hover {
  background: #4a5aad;
}

.product-meta {
  border-top: 1px solid var(--gray-light);
  padding-top: 30px;
  margin-bottom: 30px;
}

.meta-row {
  display: flex;
  margin-bottom: 15px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.meta-label {
  width: 100px;
  color: var(--gray-dark);
}

.meta-value {
  color: var(--black);
  text-transform: uppercase;
}

.product-share {
  margin-top: 20px;
}

.product-share a {
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-light);
  border-radius: 50%;
  transition: all 0.3s;
}

.product-share a:hover {
  border-color: var(--black);
}

/* Tabs */
.product-tabs-section {
  margin-bottom: 80px;
}

.product-tabs-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 40px;
}

.tab-link {
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--gray-mid);
  background: none;
  border: none;
  padding-bottom: 20px;
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
}

.tab-link.active,
.tab-link:hover {
  color: var(--black);
}

.tab-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.tab-link.active::after {
  transform: scaleX(1);
}

.product-tabs-content {
  max-width: 900px;
  margin: 0 auto;
}

.tab-pane {
  display: none;
  animation: fadein 0.5s;
}

.tab-pane.active {
  display: block;
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tab-pane p {
  color: var(--gray-dark);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Additional Information tab rich content */
.addl-info-content {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 30px;
}
.addl-info-content h2,
.addl-info-content h3,
.addl-info-content h4 {
  font-family: var(--font-h);
  font-weight: 500;
  color: var(--black);
  margin: 20px 0 8px;
}
.addl-info-content ul,
.addl-info-content ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.addl-info-content li { margin-bottom: 6px; }
.addl-info-content a { color: var(--black); text-decoration: underline; }
.addl-info-content strong { color: var(--black); }

/* Additional Info image grid */
.addl-info-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.addl-info-img-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}
.addl-info-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.addl-info-img-item:hover img { transform: scale(1.04); }


/* Related Products */
.related-products-section {
  padding-top: 60px;
  border-top: 1px solid var(--gray-light);
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.related-header h2 {
  font-size: 1.8rem;
}

.related-nav button {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  color: var(--gray-mid);
  transition: color 0.3s;
}

.related-nav button:hover {
  color: var(--black);
}

@media (max-width: 900px) {
  .product-single-container {
    flex-direction: column;
  }

  .product-gallery {
    flex: none;
    max-width: 100%;
    width: 100%;
    flex-direction: column-reverse;
  }

  .product-summary {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .product-thumbnails {
    flex-direction: row;
    width: 100%;
  }

  .product-thumbnails img {
    width: 80px;
  }

  .product-cart-form {
    flex-wrap: wrap;
  }

  .add-to-cart-btn {
    flex: 1 1 100%;
  }

  .product-tabs-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .tab-link::after {
    display: none;
  }
}


/* ===================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   Hiroshi reference patterns — all pages
   Breakpoints: 1024 / 900 / 768 / 600 / 480px
=================================================== */

/* ── GLOBAL OVERFLOW LOCK ─── */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }
  img {
    max-width: 100%;
  }
}

/* ── TABLET (≤ 1024px) ─── */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  /* Sticky header tablet adjustments */
  #sticky-header {
    padding: 0 32px;
  }

  /* Footer */
  .hs-footer-inner {
    flex-direction: column;
    padding: 60px 50px 40px;
    gap: 50px;
  }

  .hs-footer-bottom {
    padding: 18px 50px;
  }

  /* About page tablet */
  .hs-intro-inner {
    grid-template-columns: 1fr;
    padding: 0 50px;
    gap: 40px;
  }

  .hs-approach-inner {
    padding: 0 50px;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hs-team-grid {
    padding: 0 50px;
    grid-template-columns: 1fr;
  }

  .hs-stats-inner {
    padding: 0 50px;
  }

  .hs-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 50px;
  }

  .hs-founders-inner {
    grid-template-columns: 1fr;
    padding: 0 50px;
    gap: 40px;
  }
}

/* ── LARGE MOBILE + TABLET (≤ 900px) ─── */
@media (max-width: 900px) {
  /* About section — stack image above text */
  #about {
    padding: 60px 0;
    background-size: 80%;
  }

  .new-about-top {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 36px;
  }

  .new-about-text {
    padding-right: 0;
  }

  .about-slideshow {
    order: -1;
    flex: none;
    width: 100%;
    height: 260px;
  }

  .new-about-bottom {
    flex-direction: column;
    gap: 32px;
  }

  .new-about-links {
    flex: none;
  }

  /* Projects slider */
  .our-work-container {
    flex-direction: column;
    height: auto;
    min-height: unset;
    max-height: unset;
  }

  .our-work-left {
    flex: none;
    padding: 0 40px;
    margin-bottom: 32px;
  }

  .our-work-label {
    margin-top: 0;
    margin-bottom: 20px;
    display: block;
  }

  .our-work-slide {
    width: 90%;
  }

  /* Quote banner */
  #quote-banner {
    height: 549px;
    min-height: 549px;
    max-height: 549px;
    width: 100%; /* overflow fix */
  }

  .quote-banner-content.container {
    padding: 0 28px;
  }

  .quote-banner-content h2 {
    font-size: 30px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
    font-style: normal;
    margin-top: 120px;
    max-width: none;
  }

  /* Team grid — 2 columns */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  body.home-page .team-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .team-cell.team-jobs {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: unset;
    min-height: 120px;
  }

  body.home-page .team-cell.team-jobs {
    grid-column: 1 / -1;
    min-height: 100px;
    height: auto;
  }

  .team-cell.team-empty {
    display: none;
  }

  body.home-page .team-cell.team-empty {
    display: none;
  }

  .team-cell.team-info {
    aspect-ratio: unset;
    min-height: 160px;
    padding: 24px 20px;
  }

  body.home-page .team-cell.team-photo,
  body.home-page .team-cell.team-info {
    height: auto;
    min-height: 140px;
    aspect-ratio: unset;
  }

  /* Section padding */
  .section-pad {
    padding: 80px 0;
  }

  .container {
    padding: 0 30px;
  }
}

/* ── MOBILE (≤ 768px) ─── */
@media (max-width: 768px) {
  /* Sticky header — hamburger only */
  #sticky-header {
    padding: 0 20px;
    height: var(--header-height-mobile);
  }

  .sticky-nav {
    display: none !important;
  }

  #sticky-header .hamburger-btn {
    display: flex;
    margin-left: auto;
  }

  .logo-img--sticky {
    height: 40px;
  }

  .main-below-header {
    padding-top: calc(var(--header-height-mobile) + 40px);
  }

  .sticky-circle {
    display: none !important;
  }

  /* Hero split — stack vertically */
  #hero.split-view {
    flex-direction: column;
    min-height: 100svh;
  }

  .vert-text {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .vert-left {
    left: 50%;
    top: 18px !important;
    bottom: auto;
    transform: translateX(-50%) rotate(0deg) !important;
    transform-origin: center center !important;
  }

  .vert-right {
    right: auto !important;
    left: 50%;
    top: auto !important;
    bottom: 18px;
    transform: translateX(-50%) rotate(0deg) !important;
    transform-origin: center center !important;
  }

  .center-logo-img {
    max-width: 160px;
  }

  /* Projects — compact */
  #projects {
    padding: 60px 0;
  }

  .our-work-left {
    padding: 0 24px;
    margin-bottom: 24px;
  }

  .our-work-right {
    min-height: 260px;
  }

  .our-work-swiper {
    height: 220px;
  }

  .our-work-slide {
    width: 82%;
  }

  .our-work-nav {
    padding-right: 5%;
  }

  /* Services accordion — vertical stacked */
  .accordion-section {
    padding: 60px 0;
  }

  .acc-container {
    flex-direction: column;
    height: auto;
    width: 95%;
    gap: 2px;
  }

  .acc-item {
    flex: none !important;
    flex-direction: column;
    width: 100%;
  }

  .acc-item.active {
    flex: none !important;
  }

  .acc-header {
    width: 100%;
    min-width: unset;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-light);
  }

  .acc-title {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    font-size: 1.2rem;
    padding: 0;
    flex: none;
  }

  .acc-title::after {
    display: none;
  }

  .acc-icon {
    font-size: 1.4rem;
    order: 2;
  }

  .acc-content {
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    pointer-events: none;
  }

  .acc-item.active .acc-content {
    max-height: 700px;
    opacity: 1;
    pointer-events: auto;
  }

  .acc-img-wrap {
    flex: none;
    height: 220px;
    width: 100%;
  }

  .acc-text-wrap {
    padding: 28px 20px;
  }

  .acc-close {
    top: 16px;
    right: 16px;
  }

  /* Team grid responsive */
  #team {
    padding: 60px 0 40px;
  }

  .team-cell.team-photo {
    aspect-ratio: 1 / 1;
  }

  /* Journal */
  #ref-journal {
    padding: 60px 0 80px;
  }

  #ref-journal .container {
    padding: 0 20px;
  }

  .ref-journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 12px;
  }

  /* CTA */
  #cta-banner {
    padding: 80px 0;
  }

  .cta-inner h2 {
    font-size: 1.8rem;
  }

  /* Footer */
  .hs-footer-inner {
    padding: 40px 24px;
    gap: 40px;
    flex-direction: column;
  }

  .hs-footer-cols {
    flex-direction: column;
    gap: 28px;
  }

  .hs-footer-bottom {
    padding: 18px 24px;
  }

  /* About page */
  .hs-hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hs-hero-footer {
    left: 24px;
    bottom: 40px;
  }

  .hs-approach-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 32px;
  }

  .hs-founders-inner {
    display: flex;
    flex-direction: column-reverse;
    padding: 60px 24px;
    gap: 40px;
  }

  .hs-founder-photo {
    width: 204px;
    height: 346px;
    flex: 0 0 auto;
  }

  .hs-founders-photos {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .hs-team-grid {
    padding: 0 24px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hs-team-card {
    height: auto;
    min-height: 160px;
  }

  .hs-tc-photo {
    flex: 0 0 140px;
  }

  .hs-tc-info {
    padding: 20px 18px;
  }

  .hs-cta-inner {
    flex-direction: column;
    padding: 0 24px;
    gap: 24px;
    text-align: center;
  }

  .hs-gallery-item {
    flex: 0 0 280px;
    height: 260px;
  }

  .hs-gallery-slider {
    height: 260px;
  }

  .hs-gallery-item.active {
    flex: 0 0 280px;
  }

  .hs-stats-inner {
    flex-wrap: wrap;
    padding: 20px 24px;
    gap: 0;
  }

  .hs-stat-item {
    flex: 0 0 45%;
    padding: 16px 12px 16px 0;
  }

  .hs-stat-divider {
    display: none;
  }

  .hs-banner-content {
    padding: 0 24px 40px;
  }

  .hs-quote-inner {
    padding: 0 24px;
  }

  /* Blog page */
  .post-title {
    font-size: 1.8rem;
  }

  .quote-container {
    flex-direction: column;
  }

  .author-img {
    width: 100%;
  }

  .quote-text-wrap {
    padding: 32px 24px;
  }

  .post-list-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-thumb {
    width: 100%;
  }

  /* Contact page */
  .ct-page-title {
    padding-top: calc(var(--header-height-mobile) + 40px);
  }

  .ct-page-title-inner,
  .ct-body-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ct-info-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Shop page */
  .shop-layout {
    flex-direction: column;
  }

  .shop-sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-pagination {
    width: 100%;
  }
}

/* ── SMALL MOBILE (≤ 600px) ─── */
@media (max-width: 600px) {
  /* Testimonials */
  #testimonials {
    padding: 60px 0;
  }

  .testimonials-inner {
    padding: 0 8px;
  }

  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.55;
  }

  /* Blog */
  .post-title {
    font-size: 1.6rem;
  }

  .quote-text {
    font-size: 1.2rem;
  }

  .post-list-content {
    padding: 24px 20px;
  }

  /* Team — stack to 1 col */
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-cell.team-photo,
  .team-cell.team-info {
    aspect-ratio: unset;
    min-height: 180px;
  }

  /* Product single */
  .product-single-title {
    font-size: 1.8rem;
  }

  .product-cart-form {
    flex-wrap: wrap;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 0 20px;
    justify-content: center;
  }

  .product-tabs-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .tab-link::after {
    display: none;
  }
}

/* ── EXTRA SMALL MOBILE (≤ 480px) ─── */
@media (max-width: 480px) {
  /* Container + section padding */
  .container {
    padding: 0 20px;
  }

  .section-pad {
    padding: 60px 0;
  }

  /* About heading */
  .about-slideshow {
    height: 200px;
  }

  .new-about-heading {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  /* Quote banner */
  #quote-banner {
    height: 549px;
    min-height: 549px;
    max-height: 549px;
    width: 100%; /* overflow fix */
  }

  .quote-banner-content.container {
    padding: 0 20px;
  }

  .quote-banner-content h2 {
    font-size: 30px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
    font-style: normal;
    margin-top: 120px;
    max-width: none;
  }

  /* Team */
  #team {
    padding: 60px 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-cell.team-info {
    padding: 24px 20px;
    min-height: 160px;
  }

  /* Journal */
  .ref-journal-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  #cta-banner {
    padding: 60px 0;
  }

  .cta-inner h2 {
    font-size: 1.6rem;
  }

  .cta-inner p {
    font-size: 0.9rem;
  }

  /* Footer */
  .logo-img--footer {
    height: 100px;
  }

  /* Shop */
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .shop-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Projects filter */
  .pj-filters-inner {
    gap: 12px;
    padding: 24px 16px 16px;
  }

  .pj-filter-btn,
  .pj-type-btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Contact */
  .ct-page-title {
    padding: 48px 0 20px;
  }

  .ct-title {
    font-size: 2.2rem !important;
  }

  .ct-body-inner {
    padding: 0 20px;
    gap: 36px;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* About page */
  .hs-hero {
    min-height: 100svh;
  }

  .hs-hero-title {
    font-size: 1.6rem;
  }

  .hs-hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hs-hero-footer {
    left: 20px;
    bottom: 28px;
  }

  .hs-intro-inner {
    padding: 0 20px;
    gap: 24px;
  }

  .hs-intro-heading {
    font-size: 1.5rem;
  }

  .hs-approach-inner {
    padding: 0 20px;
    gap: 28px;
  }

  .hs-gallery-item,
  .hs-gallery-item.active {
    flex: 0 0 260px;
    height: 320px;
  }

  .hs-gallery-slider {
    height: 320px;
  }

  .hs-gallery-wrapper {
    padding: 0 16px;
  }

  .hs-gallery-controls {
    padding: 0 16px;
  }

  .hs-quote-inner {
    padding: 0 20px;
  }

  .hs-quote-text {
    font-size: 1rem;
  }

  .hs-banner-content {
    padding: 0 20px 32px;
  }

  .hs-banner-quote {
    font-size: 1.1rem;
  }

  .hs-stats-inner {
    padding: 20px;
  }

  .hs-stat-item {
    flex: 0 0 100%;
    padding: 12px 0;
  }

  .hs-founders-inner {
    padding: 40px 20px;
    gap: 28px;
  }

  .hs-founders-heading {
    font-size: 1.8rem;
  }

  .hs-founder-photo {
    height: 200px;
  }

  .hs-founders-photos {
    grid-template-columns: 1fr 1fr;
  }

  .hs-team-grid {
    padding: 0 20px;
  }

  .hs-team-card {
    flex-direction: column;
    height: auto;
  }

  .hs-tc-photo {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .hs-tc-info {
    padding: 18px 16px;
  }

  .hs-tc-name {
    font-size: 1.1rem;
  }

  .hs-cta-inner {
    padding: 0 20px;
    gap: 20px;
  }

  .hs-cta-text {
    font-size: 0.9rem;
  }

  /* Blog small mobile */
  .blog-main-layout {
    padding-bottom: 60px;
  }

  .post-item {
    margin-bottom: 48px;
  }

  .post-title {
    font-size: 1.4rem;
  }

  .quote-text {
    font-size: 1.05rem;
  }

  .quote-text-wrap {
    padding: 24px 16px;
  }

  .post-thumb {
    max-height: 200px;
    overflow: hidden;
  }

  .post-list-content {
    padding: 20px 16px;
  }

  /* Product single small mobile */
  .product-single-container {
    flex-direction: column;
  }

  .product-gallery {
    flex-direction: column-reverse;
  }

  .product-thumbnails {
    flex-direction: row;
    width: 100%;
  }

  .product-thumbnails img {
    width: 80px;
  }
}

/* ===================================================
   HOME PAGE — 67% ZOOM PORTRAIT LAYOUT
   Compact Hiroshi / L-ARCHITECTS proportions in portrait.
   Sizing & positions only — no content changes.
=================================================== */
@media (orientation: portrait) and (min-width: 1025px) {
  body.home-page {
    --home-hero-height: clamp(300px, 38vh, 420px);
    --header-height: 56px;
  }

  /* Header — logo left, menu right (reference) */
  body.home-page #sticky-header {
    padding: 0 28px;
    height: var(--header-height);
  }

  body.home-page .logo-img--sticky {
    height: 44px;
  }


  body.home-page .sticky-nav {
    display: none !important;
  }

  body.home-page .hamburger-btn {
    display: flex;
    margin-left: auto;
  }

  /* Hero — compact stacked split, not full viewport */
  body.home-page #hero.split-view {
    height: clamp(360px, 48vh, 500px);
    min-height: 0;
    flex-direction: column;
  }

  body.home-page .split-half {
    flex: 1;
    min-height: 0;
  }

  body.home-page .center-logo-img {
    max-width: 150px;
  }

  body.home-page .vert-text {
    font-size: 0.8rem;
  }

  /* About — image above heading, centered */
  body.home-page #about {
    padding: 56px 0 48px;
    background-size: 55%;
    background-position: 50% 85%;
  }

  body.home-page .new-about-top {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
  }

  body.home-page .about-slideshow {
    order: -1;
    flex: none;
    width: 82%;
    max-width: 480px;
    height: clamp(190px, 26vw, 260px);
    margin: 0 auto;
  }

  body.home-page .new-about-text {
    width: 100%;
    padding-right: 0;
  }

  body.home-page .new-section-label {
    font-size: 0.6rem;
    margin-bottom: 0.9rem;
  }

  body.home-page .new-about-heading {
    font-size: clamp(1.3rem, 4.2vw, 1.75rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    max-width: 100%;
  }

  body.home-page .new-read-more {
    font-size: 0.78rem;
  }

  body.home-page .new-about-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px 20px;
  }

  body.home-page .new-about-links {
    flex: 1 1 100%;
    gap: 14px;
  }

  body.home-page .new-about-links a {
    font-size: 0.92rem;
  }

  body.home-page .new-about-col {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  body.home-page .new-about-col h3 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
  }

  body.home-page .new-about-col p {
    font-size: 0.95rem;
    max-width: 100%;
    line-height: 1.6;
  }

  /* Projects — compact dark band */
  body.home-page #projects {
    padding: 52px 0;
  }

  body.home-page .our-work-container {
    height: 384px;
    min-height: unset;
    max-height: unset;
  }

  body.home-page .our-work-left {
    flex: 0 0 30%;
    padding: 0 24px 0 32px;
  }

  body.home-page .our-work-label {
    font-size: 0.65rem;
    margin-top: 16px;
  }

  body.home-page .our-work-title {
    font-size: clamp(1.45rem, 3.8vw, 2rem);
  }

  body.home-page .our-work-cat {
    font-size: 0.65rem;
  }

  body.home-page .our-work-swiper {
    height: 324px;
  }

  body.home-page .our-work-slide {
    width: 562px;
    height: 324px;
  }

  body.home-page .our-work-slide img {
    width: 562px;
    height: 324px;
    object-fit: cover;
  }

  /* Services — keep horizontal accordion (reference layout) */
  body.home-page .accordion-section {
    padding: 52px 0;
  }

  body.home-page .acc-container {
    flex-direction: row;
    height: clamp(340px, 42vh, 460px);
    width: 94%;
  }

  body.home-page .acc-item {
    flex: 0 0 68px !important;
    flex-direction: row;
    width: auto;
  }

  body.home-page .acc-item.active {
    flex: 1 !important;
  }

  body.home-page .acc-header {
    width: 68px;
    min-width: 68px;
    height: 100%;
    min-height: unset;
    max-height: unset;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: none;
  }

  body.home-page .acc-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    padding: 0 0 20px 0;
  }

  body.home-page .acc-title::after {
    display: block;
  }

  body.home-page .acc-icon {
    font-size: 1.2rem;
  }

  body.home-page .acc-content {
    flex-direction: row;
    max-height: none;
    opacity: 0;
    overflow: hidden;
  }

  body.home-page .acc-item.active .acc-content {
    max-height: none;
    opacity: 1;
  }

  body.home-page .acc-img-wrap {
    flex: 0 0 209px;
    width: 209px;
    height: 403px;
    min-width: 209px;
    max-width: 209px;
    min-height: 403px;
    max-height: 403px;
  }

  body.home-page .acc-text-wrap {
    padding: 28px 32px;
  }

  body.home-page .acc-text-wrap p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  body.home-page .acc-close {
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
  }

  /* Quote banner — compact hero band */
  body.home-page #quote-banner {
    height: 549px;
    min-height: 549px;
    max-height: 549px;
    width: 100%;
  }

  body.home-page .quote-banner-content.container {
    padding: 0 32px;
  }

  body.home-page .quote-banner-content h2 {
    font-size: 30px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
    font-style: normal;
    margin-top: 120px;
    max-width: none;
  }

  /* Team — compact checkerboard grid */
  body.home-page #team {
    padding-top: 168px;
    padding-bottom: 168px;
  }

  body.home-page .team-grid {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 180px 180px;
  }

  body.home-page .team-cell.team-photo,
  body.home-page .team-cell.team-info,
  body.home-page .team-cell.team-empty {
    height: 180px;
    aspect-ratio: unset;
  }

  body.home-page .team-cell.team-jobs {
    min-height: 360px;
    height: auto;
  }

  body.home-page .team-cell.team-info {
    padding: 22px 24px;
  }

  body.home-page .team-name {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    margin-bottom: 3px;
  }

  body.home-page .team-role {
    font-size: 0.58rem;
    margin-bottom: 0;
  }

  body.home-page .team-jobs-link {
    font-size: 0.75rem;
  }

  /* Testimonials */
  body.home-page #testimonials.section-pad {
    padding: 56px 0;
  }

  body.home-page .testimonial-text {
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    margin-bottom: 1.5rem;
    line-height: 1.55;
  }

  body.home-page .testimonial-author {
    font-size: 0.72rem;
  }

  body.home-page .test-pagination {
    margin-top: 28px;
  }

  /* Journal — 2×2 grid, tight gaps */
  body.home-page #ref-journal {
    padding: 52px 0 68px;
  }

  body.home-page #ref-journal .container {
    padding: 0 28px;
  }

  body.home-page .ref-journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 12px;
  }

  body.home-page .ref-journal-title {
    font-size: 0.92rem;
    margin-bottom: 8px;
  }

  body.home-page .ref-journal-meta {
    font-size: 0.6rem;
  }

  /* CTA */
  body.home-page #cta-banner {
    padding: 64px 0;
  }

  body.home-page .cta-inner h2 {
    font-size: clamp(1.4rem, 3.8vw, 1.85rem);
    margin-bottom: 0.75rem;
  }

  body.home-page .cta-inner p {
    font-size: 0.88rem;
    margin-bottom: 1.75rem;
  }

  body.home-page .btn {
    padding: 12px 28px;
    font-size: 0.72rem;
  }

  /* Footer */
  body.home-page .footer-inner {
    padding: 0 32px;
  }

  body.home-page .footer-body {
    padding: 52px 0 36px;
    gap: 36px;
  }

  body.home-page .logo-img--footer {
    height: 96px;
  }

  body.home-page .footer-cols {
    gap: 36px;
  }

  body.home-page .footer-col-label {
    font-size: 0.6rem;
    margin-bottom: 16px;
  }

  body.home-page .footer-col ul li a,
  body.home-page .footer-col address a {
    font-size: 0.82rem;
  }

  /* Global section spacing */
  body.home-page .section-pad {
    padding: 56px 0;
  }

  body.home-page .container {
    padding: 0 32px;
  }
}

/* Portrait + narrow: 2-col team checkerboard */
@media (orientation: portrait) and (max-width: 900px) {
  body.home-page .team-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  body.home-page .team-cell.team-jobs {
    grid-column: 1 / -1;
    min-height: 120px;
    aspect-ratio: unset;
  }

  body.home-page .team-cell.team-empty {
    display: none;
  }

  body.home-page .team-cell.team-photo {
    height: 350px;
    min-height: 350px;
  }

  body.home-page .team-cell.team-info {
    height: auto;
    min-height: auto;
    padding: 24px 20px 40px;
  }
}

/* Portrait + very narrow refinements */
@media (orientation: portrait) and (max-width: 600px) {
  body.home-page .our-work-container {
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body.home-page .our-work-left {
    flex: none;
    padding: 0 24px;
    margin-bottom: 20px;
  }

  body.home-page .our-work-right {
    min-height: 220px;
  }

  body.home-page .our-work-swiper {
    height: 200px;
  }

  body.home-page .our-work-slide {
    width: 82%;
  }

  body.home-page .new-about-col {
    flex: 1 1 100%;
  }

  /* Switch to vertical stacked accordion on narrow phones */
  body.home-page .acc-container {
    flex-direction: column;
    height: auto;
    width: 100%;
    gap: 0;
    padding: 0 16px;
    box-sizing: border-box;
  }

  body.home-page .acc-item {
    flex: none !important;
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid var(--gray-light);
  }

  body.home-page .acc-item.active {
    flex: none !important;
  }

  body.home-page .acc-header {
    width: 100%;
    min-width: unset;
    height: auto;
    min-height: unset;
    max-height: unset;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 18px 16px;
    border-bottom: none;
  }

  body.home-page .acc-title {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    font-size: 1.1rem;
    flex: none;
    padding: 0;
  }

  body.home-page .acc-title::after {
    display: none;
  }

  body.home-page .acc-icon {
    font-size: 1.3rem;
    order: 2;
    opacity: 1 !important;
  }

  body.home-page .acc-content {
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    pointer-events: none;
  }

  body.home-page .acc-item.active .acc-content {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  body.home-page .acc-img-wrap {
    flex: none;
    width: 100%;
    height: 200px;
    min-width: unset;
    max-width: unset;
    min-height: unset;
    max-height: unset;
  }

  body.home-page .acc-text-wrap {
    padding: 20px 16px;
  }

  body.home-page .team-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .team-cell.team-photo {
    height: 300px;
    min-height: 300px;
  }
  
  body.home-page .team-cell.team-info {
    height: auto;
    min-height: auto;
    padding: 20px 16px 36px;
  }

  body.home-page .quote-banner-content h2 {
    font-size: 30px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
    font-style: normal;
    margin-top: 120px;
    max-width: none;
  }
}

@media (orientation: portrait) and (max-width: 480px) {

  body.home-page .container,
  body.home-page #ref-journal .container,
  body.home-page .footer-inner {
    padding: 0 20px;
  }

  body.home-page #sticky-header {
    padding: 0 20px;
  }

  body.home-page .about-slideshow {
    width: 90%;
    height: 190px;
  }

  body.home-page .ref-journal-grid {
    gap: 28px 10px;
  }
}

/* =============================================================
   GLOBAL INNER-PAGE MOBILE RESPONSIVENESS
   These rules apply to ALL pages at ≤768px while leaving the
   desktop view (>768px) untouched.
============================================================= */

@media (max-width: 768px) {

  /* ── GENERAL ── */
  .container {
    padding: 0 20px;
  }

  .section-pad {
    padding: 60px 0;
  }

  /* ── FOOTER ── */
  .hs-footer-inner {
    flex-direction: column;
    padding: 40px 20px 28px;
    gap: 32px;
  }

  .hs-footer-cols {
    flex-direction: column;
    gap: 28px;
  }

  .hs-footer-bottom {
    padding: 16px 20px;
  }

  .logo-img--footer {
    height: 80px;
  }

  /* ── CTA BANNER ── */
  #cta-banner {
    padding: 60px 0;
  }

  .cta-inner h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* ── SERVICES HERO (services.html) ── */
  .services-hero-title {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  /* ── SERVICES GRID ── */
  .srv-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .srv-card--wide {
    grid-column: span 1;
  }

  .srv-intl-grid {
    grid-template-columns: 1fr;
  }

  .srv-intl-featured {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .srv-intl-featured--reverse {
    direction: ltr;
  }

  .srv-section-header {
    padding: 0 20px;
    margin-bottom: 36px;
  }

  .srv-intl-layout {
    padding: 0 20px;
  }

  .services-divider {
    padding: 0 20px;
  }

  .services-section {
    padding: 60px 0;
  }

  .services-section--international {
    padding-top: 40px;
  }

  /* ── ABOUT PAGE SECTIONS ── */
  .hs-intro {
    padding-top: 100px;
    padding-bottom: 30px;
  }

  .hs-intro-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 24px;
  }

  .hs-intro-img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .hs-approach-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 28px;
  }

  .hs-approach {
    padding-bottom: 60px;
  }

  .hs-gallery {
    padding: 40px 16px;
  }

  .hs-gallery-item,
  .hs-gallery-item.active {
    flex: 0 0 260px;
    height: 300px;
  }

  .hs-gallery-slider {
    height: 300px;
  }

  .hs-quote {
    padding: 60px 0;
  }

  .hs-quote-inner {
    padding: 0 20px;
  }

  .hs-quote-text {
    font-size: 1.05rem;
  }

  .hs-banner {
    height: 320px;
  }

  .hs-banner-content {
    padding: 0 20px 32px;
  }

  .hs-banner-quote {
    font-size: 1.1rem;
  }

  .hs-stats-inner {
    flex-wrap: wrap;
    padding: 20px;
  }

  .hs-stat-item {
    flex: 0 0 45%;
    padding: 12px 0;
  }

  .hs-stat-divider {
    display: none;
  }

  .hs-founders {
    padding: 60px 0;
  }

  .hs-founders-inner {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 20px;
    gap: 28px;
  }

  .hs-founders-heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hs-founder-photo {
    width: 204px;
    height: 346px;
    flex: 0 0 auto;
  }

  .hs-founders-photos {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .hs-team {
    padding: 60px 0;
  }

  .hs-team-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 0;
  }

  .hs-team-card {
    flex-direction: column;
    height: auto;
  }

  .hs-tc-photo {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .hs-tc-info {
    padding: 16px 20px;
  }

  .hs-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    gap: 20px;
  }

  /* ── CONTACT PAGE ── */
  .ct-page-title {
    padding-top: calc(var(--header-height-mobile) + 40px);
  }

  .ct-page-title-inner,
  .ct-body-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ct-body-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ct-info-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ct-title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  /* ── PROJECTS PAGE ── */
  .pj-filters-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px;
  }

  .pj-filter-btn,
  .pj-type-btn {
    font-size: 0.72rem;
  }

  /* ── BLOG PAGE ── */
  .blog-layout-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    display: none; /* hide sidebar on mobile for blog */
  }

  .breadcrumb-container {
    padding-top: calc(var(--header-height) + 10px);
  }

  /* ── SHOP PAGE ── */
  .shop-layout {
    flex-direction: column;
  }

  .shop-sidebar {
    width: 100%;
  }

  .sidebar-banner {
    aspect-ratio: 16 / 6;
    margin-top: 20px;
  }

  /* ── TESTIMONIALS ── */
  .testimonial-text {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  /* ── REF JOURNAL (home page section) ── */
  .ref-journal-grid {
    grid-template-columns: 1fr;
  }

  /* ── BACK TO TOP ── */
  #back-top {
    bottom: 20px;
    right: 20px;
  }
}

/* Very narrow phones */
@media (max-width: 420px) {
  .sticky-logo .logo-img--sticky {
    height: 36px;
  }

  #sticky-header {
    height: var(--header-height-mobile);
  }

  .hs-stat-item {
    flex: 0 0 100%;
  }

  .hs-founders-photos {
    grid-template-columns: 1fr;
  }

  .hs-founder-photo {
    height: 260px;
  }

  .services-hero-title {
    font-size: 2.2rem;
  }
}

/* ===========================
   FOOTER RESPONSIVE OVERRIDES
=========================== */
@media (max-width: 1024px) {
  .hs-footer-inner {
    display: flex !important;
  }
  .hs-footer-cols {
    display: flex !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .hs-footer-cols {
    flex-direction: column !important;
    gap: 32px !important;
  }
}

/* ===================================================
   RESPONSIVE GAP-FILLERS
   Fill remaining holes across all breakpoints.
   IMAGE SIZES / STYLING NOT CHANGED.
=================================================== */

/* ── STICKY NAV: shrink font + padding on 1024–769px so items never overflow ── */
@media (max-width: 1024px) and (min-width: 769px) {
  .sticky-nav li a {
    font-size: 14px;
    padding: 0 14px;
  }
  #sticky-header {
    padding: 0 24px;
  }
}

/* ── ABOUT SLIDESHOW: never wider than its container ── */
@media (max-width: 1100px) and (min-width: 901px) {
  .about-slideshow {
    flex: 0 0 360px;
    width: 360px;
    height: 180px;
  }
}

/* ── ABOUT SECTION col max-width unclamped on narrow ── */
@media (max-width: 900px) {
  .new-about-col p {
    max-width: 100%;
  }
}

/* ── ACCORDION mid-tablet (769–900px): keep vertical stacked ── */
@media (max-width: 900px) and (min-width: 769px) {
  .acc-container {
    flex-direction: column;
    height: auto;
    width: 95%;
    gap: 2px;
  }
  .acc-item {
    flex: none !important;
    flex-direction: column;
    width: 100%;
  }
  .acc-item.active {
    flex: none !important;
  }
  .acc-header {
    width: 100%;
    min-width: unset;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-light);
    height: auto;
    min-height: unset;
    max-height: unset;
  }
  .acc-title {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    font-size: 1.2rem;
    padding: 0;
    flex: none;
  }
  .acc-title::after {
    display: none;
  }
  .acc-icon {
    font-size: 1.4rem;
    order: 2;
  }
  .acc-content {
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    pointer-events: none;
  }
  .acc-item.active .acc-content {
    max-height: 700px;
    opacity: 1;
    pointer-events: auto;
  }
  .acc-img-wrap {
    flex: none;
    height: 220px;
    width: 100%;
    min-width: unset;
    max-width: unset;
    min-height: unset;
    max-height: unset;
  }
  .acc-text-wrap {
    padding: 28px 20px;
  }
  .acc-close {
    top: 16px;
    right: 16px;
  }
}

/* ── OUR WORK NAV: remove the fixed 28% padding on non-large screens ── */
@media (max-width: 1100px) {
  .our-work-nav {
    padding-right: 8%;
  }
}

/* ── ABOUT INTRO inner grid: don't lock second column to 606px ── */
@media (max-width: 1100px) and (min-width: 1025px) {
  .hs-intro-inner {
    grid-template-columns: 1fr 460px;
    gap: 60px;
  }
  .hs-intro-img-wrap {
    width: 460px;
    height: auto;
    aspect-ratio: 2 / 1;
  }
}

/* ── FOUNDERS inner: fix right panel overflow on 1025–1200px ── */
@media (max-width: 1200px) and (min-width: 1025px) {
  .hs-founders-inner {
    padding: 0 60px;
    gap: 50px;
  }
}

/* ── CONTAINER: ensure side padding never causes x-overflow ── */
@media (max-width: 480px) {
  .container,
  #ref-journal .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── HERO SPLIT: center-brand logo on extra-small phones ── */
@media (max-width: 380px) {
  .center-logo-img {
    max-width: 120px;
  }
  .vert-text {
    font-size: 0.72rem;
  }
}

/* ── STICKY NAV: no horizontal scroll on very narrow ── */
@media (max-width: 420px) {
  #sticky-header {
    padding: 0 16px;
  }
  .logo-img--sticky {
    height: 36px;
  }
}

/* ── QUOTE BANNER: scale text on very small phones ── */
@media (max-width: 380px) {
  .quote-banner-content h2 {
    font-size: 22px !important;
    margin-top: 80px !important;
  }
}

/* ── PROJECTS PAGE: ensure filter bar wraps on mobile ── */
@media (max-width: 600px) {
  .pj-filters-inner {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .pj-cta-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── BLOG: quote text-wrap padding on small phones ── */
@media (max-width: 380px) {
  .quote-text-wrap {
    padding: 20px 14px;
  }
  .quote-text {
    font-size: 1rem;
  }
}

/* ── SHOP SINGLE PRODUCT: qty + add-to-cart stack on narrow ── */
@media (max-width: 420px) {
  .product-cart-form {
    flex-wrap: wrap;
    gap: 12px;
  }
  .add-to-cart-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── CONTACT MAP: taller on mobile for better usability ── */
@media (max-width: 600px) {
  .ct-map-embed iframe {
    height: 280px;
  }
}

/* ── FOOTER: very narrow logo sizing ── */
@media (max-width: 380px) {
  .logo-img--footer {
    height: 72px;
  }
}

/* ── SERVICES HERO: avoid text spilling off-screen ── */
@media (max-width: 380px) {
  .services-hero-title {
    font-size: 2rem !important;
  }
  .services-hero {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── ABOUT PAGE HERO: content offset below mobile header ── */
@media (max-width: 600px) {
  .hs-hero-content {
    padding-top: calc(var(--header-height-mobile) + 20px);
  }
}

/* ── GENERAL: Prevent any child from causing overflow ── */
@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Exception: full-width images should still span full width */
  img {
    max-width: 100% !important;
  }
  /* Our work slide images stay at defined fixed sizes set per-element */
  .our-work-slide img,
  .acc-img-wrap img,
  .team-cell.team-photo img,
  .hs-founder-photo img,
  .hs-tc-photo img,
  .hs-gallery-item img,
  .hs-intro-img-wrap img,
  .about-slide img,
  .split-bg,
  .pj-card-img img,
  .pj-gallery-item img,
  .product-image img,
  .product-main-image img,
  .product-thumbnails img,
  .panel-img img,
  .ref-journal-img-wrap img,
  .sidebar-banner img {
    max-width: none !important;
  }
}

/* ===================================================
   HOME PAGE — COMPREHENSIVE WIDTH-BASED RESPONSIVE
   Works on ANY screen size + orientation.
   Sections: Hero · About · Projects · Accordion ·
   Quote Banner · Team · Testimonials · Journal · CTA
   IMAGE SIZES / VISUAL STYLES NOT CHANGED.
=================================================== */

/* ── LARGE TABLET / SMALL DESKTOP (≤ 1280px) ── */
@media (max-width: 1280px) {
  body.home-page #about .container {
    padding: 0 4vw;
  }
  body.home-page .new-about-top {
    gap: 40px;
  }
  body.home-page .about-slideshow {
    flex: 0 0 380px;
    width: 380px;
    height: 190px;
  }
  body.home-page .our-work-left {
    flex: 0 0 30%;
    padding: 0 32px 0 48px;
  }
  body.home-page .ref-journal-grid {
    gap: 40px 14px;
  }
}

/* ── TABLET (≤ 1100px) ── */
@media (max-width: 1100px) {
  body.home-page #about .container {
    padding: 0 3.5vw;
  }
  body.home-page .new-about-top {
    gap: 32px;
  }
  body.home-page .about-slideshow {
    flex: 0 0 340px;
    width: 340px;
    height: 170px;
  }
  body.home-page .new-about-heading {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
  }
  body.home-page .our-work-container {
    height: 56vh;
    min-height: 420px;
    max-height: 600px;
  }
  body.home-page .our-work-left {
    flex: 0 0 32%;
    padding: 0 28px 0 40px;
  }
  body.home-page .our-work-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  body.home-page .accordion-section {
    padding: 80px 0 180px;
  }
  body.home-page .acc-container {
    width: 92%;
  }
  body.home-page .acc-title {
    font-size: 32px;
  }
  body.home-page .acc-text-wrap {
    padding: 40px 50px;
  }
  body.home-page .ref-journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 14px;
  }
  body.home-page .hs-footer-inner {
    padding: 60px 50px 40px;
  }
}

/* ── MID TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
  body.home-page #sticky-header {
    padding: 0 24px;
  }
  body.home-page .sticky-nav li a {
    font-size: 14px;
    padding: 0 14px;
  }
  body.home-page #hero.split-view {
    min-height: 60vh;
  }
  body.home-page #about {
    padding: 60px 0;
    background-size: 60%;
    background-position: 60% center;
  }
  body.home-page #about .container {
    padding: 0 40px;
  }
  body.home-page .new-about-top {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
  }
  body.home-page .new-about-text {
    padding-right: 0;
    width: 100%;
  }
  body.home-page .about-slideshow {
    order: -1;
    flex: none;
    width: 100%;
    max-width: 520px;
    height: 260px;
    margin: 0 auto;
  }
  body.home-page .new-about-bottom {
    gap: 32px;
  }
  body.home-page .new-about-links a {
    font-size: 1rem;
  }
  body.home-page .new-about-col p {
    max-width: 100%;
  }
  body.home-page #projects {
    padding: 70px 0;
  }
  body.home-page .our-work-container {
    flex-direction: column;
    height: auto;
    min-height: unset;
    max-height: unset;
  }
  body.home-page .our-work-left {
    flex: none;
    padding: 0 40px;
    margin-bottom: 28px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  body.home-page .our-work-label {
    margin-top: 0;
    margin-bottom: 0;
  }
  body.home-page .our-work-info {
    margin: 0;
    text-align: right;
  }
  body.home-page .our-work-title {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  }
  body.home-page .our-work-swiper {
    height: 300px;
  }
  body.home-page .our-work-slide {
    width: 480px !important;
    height: 300px !important;
  }
  body.home-page .our-work-slide img {
    width: 480px !important;
    height: 300px !important;
    object-fit: cover;
  }
  body.home-page .our-work-nav {
    padding-right: 5%;
    height: 52px;
  }
  body.home-page .accordion-section {
    padding: 70px 0 120px;
  }
  body.home-page .accordion-section::before {
    margin-bottom: 50px;
  }
  body.home-page .acc-container {
    flex-direction: column;
    height: auto;
    width: 92%;
    gap: 2px;
  }
  body.home-page .acc-item {
    flex: none !important;
    flex-direction: column;
    width: 100%;
  }
  body.home-page .acc-item.active {
    flex: none !important;
  }
  body.home-page .acc-header {
    width: 100%;
    min-width: unset;
    height: auto;
    min-height: unset;
    max-height: unset;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-light);
  }
  body.home-page .acc-title {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    font-size: 1.4rem;
    padding: 0;
    flex: none;
  }
  body.home-page .acc-title::after {
    display: none;
  }
  body.home-page .acc-icon {
    font-size: 1.5rem;
    order: 2;
    opacity: 1 !important;
  }
  body.home-page .acc-content {
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    pointer-events: none;
  }
  body.home-page .acc-item.active .acc-content {
    max-height: 700px;
    opacity: 1;
    pointer-events: auto;
  }
  body.home-page .acc-img-wrap {
    flex: none;
    width: 100%;
    height: 260px;
    min-width: unset;
    max-width: unset;
    min-height: unset;
    max-height: unset;
  }
  body.home-page .acc-text-wrap {
    padding: 32px 24px;
  }
  body.home-page .acc-close {
    top: 20px;
    right: 20px;
    font-size: 1.6rem;
  }
  body.home-page .acc-text-wrap p {
    max-width: 100%;
  }
  body.home-page .quote-banner-content.container {
    padding: 0 40px;
  }
  body.home-page #team {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  body.home-page .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  body.home-page .team-cell.team-photo,
  body.home-page .team-cell.team-info,
  body.home-page .team-cell.team-empty {
    height: auto;
    min-height: unset;
    aspect-ratio: unset;
  }
  body.home-page .team-cell.team-photo {
    position: relative;
    overflow: hidden;
  }
  body.home-page .team-cell.team-photo img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  body.home-page .team-cell.team-jobs {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 120px;
    height: auto;
  }
  body.home-page .team-cell.team-empty,
  body.home-page .team-cell:nth-child(9) {
    display: none;
  }
  body.home-page .team-cell:nth-child(1) { order: 1; }
  body.home-page .team-cell:nth-child(2) { order: 2; }
  body.home-page .team-cell:nth-child(4) { order: 3; }
  body.home-page .team-cell:nth-child(3) { order: 4; }
  body.home-page .team-cell:nth-child(7) { order: 5; }
  body.home-page .team-cell:nth-child(8) { order: 6; }
  body.home-page .team-cell:nth-child(5) { order: 7; }
  body.home-page .team-name {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
  }
  body.home-page #ref-journal {
    padding: 60px 0 80px;
  }
  body.home-page #ref-journal .container {
    padding: 0 40px;
  }
  body.home-page .ref-journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 14px;
  }
  body.home-page #cta-banner {
    padding: 80px 0;
  }
}

/* ── SMALL TABLET / LARGE PHONE (≤ 900px) ── */
@media (max-width: 900px) {
  body.home-page .about-slideshow {
    height: 220px;
    max-width: 100%;
  }
  body.home-page .new-about-bottom {
    flex-direction: column;
    gap: 28px;
  }
  body.home-page .new-about-links {
    flex: none;
    width: 100%;
  }
  body.home-page .new-about-col {
    flex: none;
    width: 100%;
  }
  body.home-page .our-work-left {
    padding: 0 28px;
  }
  body.home-page .our-work-swiper {
    height: 280px;
  }
  body.home-page .our-work-slide {
    width: 420px !important;
    height: 280px !important;
  }
  body.home-page .our-work-slide img {
    width: 420px !important;
    height: 280px !important;
    object-fit: cover;
  }
  body.home-page .team-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  body.home-page .team-cell.team-photo {
    height: 320px;
    min-height: 320px;
    aspect-ratio: unset;
  }
  body.home-page .team-cell.team-info {
    height: auto;
    min-height: auto;
    padding: 24px 20px 36px;
  }
  body.home-page .team-cell.team-jobs {
    grid-column: 1 / -1;
    min-height: 100px;
  }
  body.home-page .team-cell.team-empty {
    display: none;
  }
  body.home-page .ref-journal-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  body.home-page .ref-journal-card .ref-journal-img-wrap {
    max-width: 100%;
    height: auto;
    aspect-ratio: unset !important;
  }
}

/* ── MOBILE (≤ 768px) ── */
@media (max-width: 768px) {
  body.home-page #sticky-header {
    padding: 0 20px;
    height: var(--header-height-mobile);
  }
  body.home-page .sticky-nav {
    display: none !important;
  }
  body.home-page .hamburger-btn {
    display: flex;
    margin-left: auto;
  }
  body.home-page .logo-img--sticky {
    height: 40px;
  }
  body.home-page #hero.split-view {
    flex-direction: column;
    height: 100svh;
    min-height: 100svh;
  }
  body.home-page .center-logo-img {
    max-width: 180px;
  }
  body.home-page .vert-left {
    left: 50%;
    top: 18px !important;
    bottom: auto;
    transform: translateX(-50%) rotate(0deg) !important;
    transform-origin: center center !important;
  }
  body.home-page .vert-right {
    right: auto !important;
    left: 50%;
    top: auto !important;
    bottom: 18px;
    transform: translateX(-50%) rotate(0deg) !important;
    transform-origin: center center !important;
  }
  body.home-page .vert-text {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }
  body.home-page #about {
    padding: 52px 0 44px;
    background-size: 80%;
    background-position: 50% 85%;
  }
  body.home-page #about .container {
    padding: 0 24px;
  }
  body.home-page .new-about-heading {
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }
  body.home-page .about-slideshow {
    width: 100%;
    height: 200px;
    max-width: 480px;
  }
  body.home-page #projects {
    padding: 52px 0;
  }
  body.home-page .our-work-left {
    padding: 0 24px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  body.home-page .our-work-info {
    margin: 0;
    text-align: left;
  }
  body.home-page .our-work-label {
    margin-bottom: 16px;
  }
  body.home-page .our-work-right {
    min-height: 240px;
  }
  body.home-page .our-work-swiper {
    height: 240px;
  }
  body.home-page .our-work-slide {
    width: 82% !important;
    height: 240px !important;
  }
  body.home-page .our-work-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  body.home-page .our-work-nav {
    padding-right: 5%;
    height: 48px;
    gap: 20px;
  }
  body.home-page .our-work-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
  body.home-page .accordion-section {
    padding: 52px 0 80px;
  }
  body.home-page .accordion-section::before {
    margin-bottom: 40px;
  }
  body.home-page .acc-container {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  body.home-page .acc-header {
    padding: 16px 18px;
  }
  body.home-page .acc-title {
    font-size: 1.2rem;
  }
  body.home-page .acc-img-wrap {
    height: 200px;
  }
  body.home-page .acc-text-wrap {
    padding: 24px 16px;
  }
  body.home-page .acc-text-wrap p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  body.home-page #quote-banner {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
  }
  body.home-page .quote-banner-content.container {
    padding: 0 24px;
  }
  body.home-page .quote-banner-content h2 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    margin-top: 60px;
    max-width: none;
    font-weight: 300;
    line-height: 1.5;
  }
  body.home-page #team {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  body.home-page .team-grid {
    display: block;
  }
  body.home-page .team-cell {
    width: 100%;
    max-width: 100%;
  }
  body.home-page .team-cell.team-photo {
    height: 280px;
    min-height: 280px;
  }
  body.home-page .team-cell.team-info {
    padding: 24px 20px 32px;
    min-height: unset;
    height: auto;
  }
  body.home-page .team-cell.team-jobs {
    min-height: 120px;
    padding: 40px 24px;
  }
  body.home-page .team-cell.team-jobs::after {
    display: none;
  }
  body.home-page .team-cell.team-empty {
    display: none;
  }
  body.home-page .team-name {
    font-size: 1.15rem;
  }
  body.home-page .team-role {
    font-size: 0.7rem;
  }
  body.home-page #testimonials.section-pad {
    padding: 52px 0;
  }
  body.home-page .testimonial-text {
    font-size: clamp(1rem, 4vw, 1.35rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  body.home-page #ref-journal {
    padding: 52px 0 68px;
  }
  body.home-page #ref-journal .container {
    padding: 0 20px;
  }
  body.home-page .ref-journal-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  body.home-page .ref-journal-card .ref-journal-img-wrap {
    height: auto;
    max-width: 100%;
    aspect-ratio: unset !important;
  }
  body.home-page .ref-journal-title {
    font-size: 1rem;
  }
  body.home-page #cta-banner {
    padding: 60px 0;
  }
  body.home-page .cta-inner h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  body.home-page .cta-inner p {
    font-size: 0.9rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  body.home-page .btn {
    padding: 13px 28px;
    font-size: 0.75rem;
  }
  body.home-page .hs-footer-inner {
    padding: 40px 20px 28px;
    gap: 32px;
    flex-direction: column;
  }
  body.home-page .hs-footer-cols {
    flex-direction: column;
    gap: 28px;
  }
  body.home-page .hs-footer-bottom {
    padding: 16px 20px;
  }
  body.home-page .logo-img--footer {
    height: 90px;
  }
  body.home-page .section-pad {
    padding: 52px 0;
  }
  body.home-page .container {
    padding: 0 20px;
  }
}

/* ── SMALL MOBILE (≤ 600px) ── */
@media (max-width: 600px) {
  body.home-page .new-about-top {
    gap: 24px;
  }
  body.home-page .about-slideshow {
    height: 180px;
  }
  body.home-page .new-about-heading {
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }
  body.home-page .new-about-links a {
    font-size: 0.95rem;
  }
  body.home-page .our-work-swiper {
    height: 220px;
  }
  body.home-page .our-work-slide {
    width: 85% !important;
    height: 220px !important;
  }
  body.home-page .our-work-slide img {
    height: 220px !important;
  }
  body.home-page #quote-banner {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }
  body.home-page .quote-banner-content h2 {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    margin-top: 40px;
  }
  body.home-page .team-cell.team-photo {
    height: 260px;
    min-height: 260px;
  }
  body.home-page .ref-journal-card .ref-journal-img-wrap {
    height: 200px;
  }
  body.home-page .testimonials-inner {
    padding: 0 4px;
  }
  body.home-page .testimonial-text {
    font-size: clamp(0.95rem, 4.5vw, 1.2rem);
  }
  body.home-page #cta-banner {
    padding: 48px 0;
  }
}

/* ── EXTRA SMALL MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  body.home-page #about .container {
    padding: 0 16px;
  }
  body.home-page .new-section-label {
    font-size: 0.6rem;
    margin-bottom: 0.9rem;
  }
  body.home-page .new-about-heading {
    font-size: clamp(1.15rem, 6vw, 1.5rem);
  }
  body.home-page .about-slideshow {
    height: 160px;
  }
  body.home-page .our-work-left {
    padding: 0 16px;
  }
  body.home-page .our-work-swiper {
    height: 200px;
  }
  body.home-page .our-work-slide {
    width: 90% !important;
    height: 200px !important;
  }
  body.home-page .our-work-slide img {
    height: 200px !important;
  }
  body.home-page .our-work-title {
    font-size: 1.4rem;
  }
  body.home-page .acc-container {
    padding: 0 12px;
  }
  body.home-page .acc-title {
    font-size: 1.05rem;
  }
  body.home-page .acc-text-wrap {
    padding: 20px 14px;
  }
  body.home-page #quote-banner {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }
  body.home-page .quote-banner-content h2 {
    font-size: clamp(0.9rem, 4vw, 1.15rem);
    margin-top: 32px;
    line-height: 1.55;
  }
  body.home-page .team-cell.team-photo {
    height: 240px;
    min-height: 240px;
  }
  body.home-page .team-cell.team-info {
    padding: 20px 16px 28px;
  }
  body.home-page .team-name {
    font-size: 1.05rem;
  }
  body.home-page .ref-journal-card .ref-journal-img-wrap {
    height: 180px;
  }
  body.home-page .ref-journal-title {
    font-size: 0.92rem;
  }
  body.home-page #ref-journal .container {
    padding: 0 16px;
  }
  body.home-page #cta-banner {
    padding: 40px 0;
  }
  body.home-page .cta-inner h2 {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }
  body.home-page .cta-inner p {
    font-size: 0.85rem;
  }
  body.home-page .container {
    padding: 0 16px;
  }
  body.home-page .section-pad {
    padding: 44px 0;
  }
  body.home-page .logo-img--footer {
    height: 76px;
  }
}

/* ── VERY SMALL MOBILE (≤ 380px) ── */
@media (max-width: 380px) {
  body.home-page #sticky-header {
    padding: 0 14px;
  }
  body.home-page .logo-img--sticky {
    height: 34px;
  }
  body.home-page .center-logo-img {
    max-width: 130px;
  }
  body.home-page .vert-text {
    font-size: 0.7rem;
  }
  body.home-page .new-about-heading {
    font-size: clamp(1.05rem, 6vw, 1.35rem);
  }
  body.home-page .about-slideshow {
    height: 140px;
  }
  body.home-page .our-work-swiper {
    height: 180px;
  }
  body.home-page .our-work-slide {
    height: 180px !important;
  }
  body.home-page .our-work-slide img {
    height: 180px !important;
  }
  body.home-page .acc-title {
    font-size: 0.95rem;
  }
  body.home-page #quote-banner {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
  }
  body.home-page .quote-banner-content h2 {
    font-size: 0.85rem;
    margin-top: 20px;
  }
  body.home-page .team-cell.team-photo {
    height: 200px;
    min-height: 200px;
  }
  body.home-page .ref-journal-card .ref-journal-img-wrap {
    height: 160px;
  }
  body.home-page .cta-inner h2 {
    font-size: 1.25rem;
  }
  body.home-page .btn {
    padding: 11px 20px;
    font-size: 0.7rem;
  }
  body.home-page .hs-footer-inner {
    padding: 32px 14px 24px;
  }
  body.home-page .hs-footer-bottom {
    padding: 14px 14px;
  }
  body.home-page .logo-img--footer {
    height: 64px;
  }
}

/* =============================================================
   HOME PAGE — FINAL RESPONSIVE POLISH
   Targeting remaining gaps comparing to the Hiroshi reference.
   Does NOT change desktop (>1024px) sizing or styling.
============================================================= */

/* ── GLOBAL OVERFLOW PROTECTION for home page ── */
body.home-page {
  overflow-x: hidden;
}

/* ── HERO: proper stacking on mobile, each half exactly 50% ── */
@media (max-width: 768px) {
  body.home-page .split-half {
    flex: 1 0 50%;
    min-height: 0;
  }
}

/* ── ABOUT: center slideshow on narrow screens ── */
@media (max-width: 768px) {
  body.home-page .about-slideshow {
    margin-left: auto;
    margin-right: auto;
  }

  body.home-page .new-about-top {
    align-items: stretch;
  }
}

/* ── ABOUT BOTTOM: stack vertically on 600px and below ── */
@media (max-width: 600px) {
  body.home-page .new-about-bottom {
    flex-direction: column;
    gap: 24px;
  }

  body.home-page .new-about-links,
  body.home-page .new-about-col {
    flex: none;
    width: 100%;
  }

  body.home-page .new-about-col p {
    max-width: 100%;
  }
}

/* ── PROJECTS: safeguard min-height for swiper container on smallest screens ── */
@media (max-width: 480px) {
  body.home-page .our-work-right {
    min-height: 200px;
  }
}

/* ── ACCORDION: hide the top border divider line on mobile ── */
@media (max-width: 768px) {
  body.home-page .accordion-section::before {
    display: none;
  }

  body.home-page .accordion-section {
    padding-top: 40px;
  }

  /* Ensure accordion icon is always visible at mobile sizes */
  body.home-page .acc-item .acc-icon {
    opacity: 1 !important;
  }
}

/* ── JOURNAL: 2-column grid in landscape orientation on mobile ── */
@media (max-width: 768px) and (orientation: landscape) {
  body.home-page .ref-journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }
}

/* ── TEAM GRID: Single column stack for mobile ── */
@media (max-width: 768px) {
  body.home-page .team-grid {
    display: block !important;
  }
  body.home-page .team-cell {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }
  body.home-page .team-cell.team-photo {
    position: relative;
    overflow: hidden;
    height: auto !important;
  }

  body.home-page .team-cell.team-photo img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
}

/* ── ACCORDION ICON: visible at all tablet sizes (not hidden by active state) ── */
@media (max-width: 1024px) {
  body.home-page .acc-item .acc-icon {
    opacity: 1 !important;
  }
}

/* ── BACK TO TOP: keep accessible above mobile browser nav bars ── */
@media (max-width: 768px) {
  #back-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ── VERY NARROW PHONES (≤360px) ── */
@media (max-width: 360px) {
  body.home-page .container,
  body.home-page #ref-journal .container,
  body.home-page #about .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.home-page #sticky-header {
    padding: 0 12px;
  }

  body.home-page .new-about-heading {
    font-size: 1rem;
  }

  body.home-page .cta-inner h2 {
    font-size: 1.1rem;
  }

  body.home-page .quote-banner-content h2 {
    font-size: 0.8rem !important;
    margin-top: 16px !important;
    line-height: 1.5;
  }

  body.home-page #quote-banner {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }

  body.home-page .vert-text {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  body.home-page .testimonials-inner {
    padding: 0;
  }

  body.home-page .testimonial-text {
    font-size: 0.9rem;
  }

  body.home-page .testimonial-author {
    font-size: 0.68rem;
  }

  body.home-page .ref-journal-card .ref-journal-img-wrap {
    height: 140px;
  }

  body.home-page .ref-journal-title {
    font-size: 0.85rem;
  }

  body.home-page .logo-img--footer {
    height: 56px;
  }

  body.home-page .hs-footer-inner {
    padding: 28px 12px 20px;
  }
}

/* ── OVERRIDE FOR MOBILE QUOTE BANNER TO MATCH REFERENCE IMAGE ── */
@media (max-width: 768px) {
  #quote-banner,
  body.home-page #quote-banner {
    height: 545px !important;
    min-height: 545px !important;
    max-height: 545px !important;
  }
  
  .quote-banner-content h2,
  body.home-page .quote-banner-content h2 {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 35px !important;
    margin-top: 140px !important;
  }
}
