/* ============================
   MNTAL — Direction "Void"
   Luxe Contemplatif
   Fonts: Cormorant Garamond + Inter
   Palette: #000 / #FFF / #888
   ============================ */

/* --- Custom Properties --- */
:root {
  --bg: #FFFFFF;
  --bg-surface: #F7F7F5;
  --text: #000000;
  --text-muted: #888888;
  --line: #E0E0E0;
  --accent: #000000;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --cursor-color: #000;
  --transition-theme: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-surface: #111111;
  --text: #F0F0F0;
  --text-muted: #666666;
  --line: #1E1E1E;
  --accent: #FFFFFF;
  --nav-bg: rgba(10, 10, 10, 0.92);
  --cursor-color: #fff;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-theme), color var(--transition-theme);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cursor-color);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cursor-color);
  opacity: 0;
  transition: width 0.3s, height 0.3s, opacity 0.3s, transform 0.08s;
}

body:hover .cursor-outline {
  opacity: 0.5;
}

.cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
}

.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  opacity: 0.3;
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-outline { display: none; }
}

/* --- Loader --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--transition-theme), padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom-color: var(--line);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.25em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  transition: stroke var(--transition-theme);
}

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle {
  display: none;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
}

.menu-toggle .icon-close { display: none; }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.4s; }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 14rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 0.9;
  margin-right: -0.2em;
  opacity: 0;
  animation: heroTitleIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.hero-line {
  width: 0;
  height: 1px;
  background: var(--text);
  margin: 2.5rem auto;
  animation: heroLineGrow 1s cubic-bezier(0.4, 0, 0.2, 1) 1.5s forwards;
}

.hero-subtitle {
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 2.5s forwards;
}

.hero-scroll span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* Hero decorative elements */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  z-index: 1;
}

.hero-deco-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -150px;
  opacity: 0.3;
}

.hero-deco-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -80px;
  opacity: 0.2;
}

.hero-deco-3 {
  width: 1px;
  height: 200px;
  border: none;
  border-radius: 0;
  background: var(--line);
  top: 15%;
  left: 12%;
  opacity: 0.3;
  transform: rotate(25deg);
}

/* --- Marquee --- */
.marquee {
  padding: 2.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
  padding-right: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee-text .sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Section Utilities --- */
.section-padding {
  padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 5vw, 6rem);
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 800px;
}

.section-line {
  width: 60px;
  height: 1px;
  background: var(--text);
  margin: 3rem 0;
}

/* --- Philosophy --- */
.philosophy {
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.philosophy-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 540px;
  margin-top: 3rem;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.service-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s;
}

.service-item:last-child {
  border-right: none;
}

.service-item:hover {
  background: var(--bg-surface);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--line);
  line-height: 1;
  display: block;
  margin-bottom: 2rem;
  transition: color 0.4s;
}

.service-item:hover .service-num {
  color: var(--text-muted);
}

.service-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text);
  stroke-width: 1.2;
  fill: none;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.service-desc strong,
.philosophy-text strong,
.contact-text strong,
.step-desc strong {
  font-weight: 400;
  color: var(--text);
}

.service-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-bottom: 2px;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.service-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--text);
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.3s;
}

.service-item:hover .service-link svg {
  transform: translate(3px, -3px);
}

/* --- Method --- */
.method {
  background: var(--bg-surface);
  transition: background var(--transition-theme);
}

.method-header {
  max-width: 600px;
  margin-bottom: 5rem;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.method-step {
  padding: 2.5rem;
  position: relative;
}

.method-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.method-step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
  transform: translate(-50%, -50%);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--line);
  line-height: 1;
  display: block;
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonials {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
  min-height: 300px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.testimonial-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 2.5rem;
  opacity: 0.2;
}

.testimonial-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--text);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.testimonial-author {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.testimonial-author strong {
  color: var(--text);
  font-weight: 500;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.testimonial-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.testimonial-dot.active {
  background: var(--text);
  transform: scale(1.5);
}

/* --- Contact / CTA --- */
.contact {
  text-align: center;
  position: relative;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.contact-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.8rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
  transition: color 0.4s;
}

.btn-primary:hover span,
.btn-primary:hover svg {
  color: var(--text);
}

.btn-primary:hover svg {
  stroke: var(--text);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: var(--bg);
  stroke-width: 1.5;
  fill: none;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  stroke-width: 1.2;
  fill: none;
}

/* --- Footer --- */
.footer {
  padding: 3rem clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 1.2;
  fill: none;
  transition: stroke 0.3s;
}

.footer-socials a:hover svg {
  stroke: var(--text);
}

/* --- Scroll Reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="scale"] {
  transform: scale(0.95);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* --- Keyframes --- */
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLineGrow {
  from { width: 0; }
  to { width: 80px; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0% { opacity: 0; transform: translateY(-10px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Stats --- */
.stats {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition-theme);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 3.5rem clamp(1.5rem, 5vw, 6rem);
  width: 100%;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --- Responsive Line Break Utility --- */
.br {
  display: block;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* ===================================
   RESPONSIVE DESIGN
   1440+ : full desktop (default)
   1200  : small desktop
   1024  : tablet landscape
   768   : tablet portrait
   480   : mobile large
   360   : mobile small
   =================================== */

/* --- 1200px: Small Desktop --- */
@media (max-width: 1200px) {
  .nav {
    padding: 1.5rem 2.5rem;
  }

  .nav.scrolled {
    padding: 1rem 2.5rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item:nth-child(2) {
    border-right: none;
  }

  .service-item:last-child {
    grid-column: 1 / -1;
    border-right: none;
    max-width: 50%;
  }
}

/* --- 1024px: Tablet Landscape --- */
@media (max-width: 1024px) {
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-details {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .hero-deco-1 {
    width: 400px;
    height: 400px;
  }

  .hero-deco-3 {
    display: none;
  }

  .service-item:last-child {
    max-width: 100%;
  }
}

/* --- 768px: Tablet Portrait --- */
@media (max-width: 768px) {
  /* Nav */
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav.scrolled {
    padding: 0.8rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 0 1.5rem;
  }

  .hero-title {
    letter-spacing: 0.12em;
    margin-right: -0.12em;
  }

  .hero-deco-1 {
    width: 280px;
    height: 280px;
    right: -100px;
    top: -60px;
  }

  .hero-deco-2 {
    width: 180px;
    height: 180px;
    left: -70px;
  }

  /* Typography breaks */
  .br {
    display: inline;
  }

  .philosophy-quote {
    line-height: 1.35;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .service-item {
    border-right: none;
    padding: 2.5rem 1.5rem;
  }

  .service-item:last-child {
    max-width: 100%;
    grid-column: auto;
  }

  .service-num {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  /* Stats */
  .stats-grid {
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }

  .stat-item {
    min-width: 120px;
  }

  /* Method — vertical timeline */
  .method-header {
    margin-bottom: 3rem;
  }

  .method-steps {
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
    position: relative;
  }

  .method-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--line);
  }

  .method-step {
    padding: 0 0 3rem 2rem;
    position: relative;
  }

  .method-step:last-child {
    padding-bottom: 0;
  }

  .method-step::before {
    display: none;
  }

  .method-step::after {
    top: 6px;
    left: -1.5rem;
    transform: translate(-50%, 0);
  }

  .step-num {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }

  /* Testimonials */
  .testimonial-slider {
    min-height: 250px;
  }

  .testimonial-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2rem;
  }

  /* Contact */
  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
  }

  .contact-detail {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  /* Marquee slower on mobile */
  .marquee-track {
    animation-duration: 20s;
  }
}

/* --- 480px: Mobile Large --- */
@media (max-width: 480px) {
  .section-padding {
    padding: 4rem 1.2rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(3rem, 16vw, 5rem);
    letter-spacing: 0.08em;
    margin-right: -0.08em;
  }

  .hero-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .hero-scroll span {
    font-size: 0.6rem;
  }

  .hero-deco-1 {
    width: 200px;
    height: 200px;
    right: -80px;
    top: -40px;
  }

  .hero-deco-2 {
    width: 140px;
    height: 140px;
    left: -60px;
    bottom: -30px;
  }

  /* Philosophy */
  .philosophy {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .philosophy-quote {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .philosophy-text {
    font-size: 0.9rem;
    margin-top: 2rem;
  }

  .section-label {
    margin-bottom: 2rem;
    font-size: 0.65rem;
  }

  .section-line {
    width: 40px;
    margin: 2rem 0;
  }

  /* Services */
  .service-item {
    padding: 2rem 1.2rem;
  }

  .service-num {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
  }

  .service-title {
    font-size: 1.35rem;
  }

  .service-desc {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  /* Stats */
  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 1.2rem;
  }

  .stat-item {
    min-width: unset;
  }

  .stat-number {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  /* Method */
  .method-steps {
    padding-left: 1rem;
  }

  .method-step {
    padding-left: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .method-step::after {
    width: 6px;
    height: 6px;
    left: -1rem;
  }

  .step-num {
    font-size: 2.8rem;
  }

  .step-title {
    font-size: 1.2rem;
  }

  .step-desc {
    font-size: 0.8rem;
  }

  /* Testimonials */
  .testimonial-slider {
    min-height: 220px;
  }

  .testimonial-quote {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    margin-bottom: 2rem;
  }

  .testimonial-author {
    font-size: 0.75rem;
  }

  .testimonial-nav {
    margin-top: 2rem;
  }

  /* Contact */
  .contact-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .contact-text {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
  }

  .btn-primary {
    padding: 1rem 2rem;
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .contact-details {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }

  .contact-detail {
    font-size: 0.78rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 1.2rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .footer-nav a {
    font-size: 0.7rem;
  }

  .footer-copy {
    font-size: 0.65rem;
  }

  /* Marquee */
  .marquee {
    padding: 1.5rem 0;
  }

  .marquee-text {
    font-size: clamp(1rem, 4vw, 1.5rem);
    gap: 2rem;
    padding-right: 2rem;
  }

  .marquee-track {
    animation-duration: 15s;
  }
}

/* --- 360px: Mobile Small --- */
@media (max-width: 360px) {
  .nav {
    padding: 0.8rem 1rem;
  }

  .nav.scrolled {
    padding: 0.6rem 1rem;
  }

  .nav-logo {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
  }

  .section-padding {
    padding: 3.5rem 1rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 18vw, 4rem);
  }

  .philosophy-quote {
    font-size: 1.4rem;
  }

  .service-item {
    padding: 1.5rem 1rem;
  }

  .btn-primary {
    padding: 0.9rem 1.5rem;
    font-size: 0.7rem;
  }

  .mobile-menu a {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
}

/* --- Landscape Phone --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 6rem 2rem 4rem;
  }

  .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .hero-scroll {
    display: none;
  }

  .hero-deco {
    display: none;
  }

  .section-padding {
    padding: 3rem clamp(1.5rem, 5vw, 6rem);
  }

  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-steps::before {
    display: none;
  }

  .method-step {
    padding: 2rem;
  }

  .method-step::before {
    display: block;
  }

  .method-step::after {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
  }
}

/* --- Safe area for notched phones --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .mobile-menu {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .nav {
    padding-top: calc(1rem + env(safe-area-inset-top));
    padding-left: calc(1.5rem + env(safe-area-inset-left));
    padding-right: calc(1.5rem + env(safe-area-inset-right));
  }
}

/* --- Touch device optimizations --- */
@media (hover: none) and (pointer: coarse) {
  .service-item:hover {
    background: transparent;
  }

  .service-item:active {
    background: var(--bg-surface);
  }

  .service-link::after {
    transform: scaleX(1);
    opacity: 0.3;
  }

  .btn-primary:hover::before {
    transform: translateY(100%);
  }

  .btn-primary:active::before {
    transform: translateY(0);
  }

  /* Ensure minimum touch targets (44px) */
  .nav-links a,
  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .theme-toggle,
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .testimonial-dot {
    width: 12px;
    height: 12px;
  }

  .testimonial-dot.active {
    transform: scale(1.2);
  }

  .contact-detail {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
