/* ============================================================
   GETFIT — Dark-first local website
   Body background: #050505 (--black)
   Text: whitesmoke (#f5f5f5) (--white)
   ============================================================ */

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #050505;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { color: #f5f5f5; line-height: 1.1; font-weight: 700; }
h5 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(245,245,245,0.5); }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; }
p  { font-size: 0.95rem; line-height: 1.8; color: rgba(245,245,245,0.55); }

/* Display sizes for hero/headings */
.hero-text    { font-size: clamp(4rem, 15vw, 14rem); font-weight: 600; line-height: 0.92; letter-spacing: -0.04em; color: #f5f5f5; }
.display-xl   { font-size: clamp(4rem, 12vw, 11rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; color: #f5f5f5; }
.display-lg   { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; color: #f5f5f5; }
.cta-large    { font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; display: block; color: #f5f5f5; }
.services-title { font-size: clamp(3rem, 6vw, 6rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; color: #f5f5f5; margin-bottom: 2rem; }
.metrics-text { font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; display: block; color: #f5f5f5; }

.caps { text-transform: uppercase; }
.font-white { color: #f5f5f5; }
.outline-text { -webkit-text-stroke: 1.5px #f5f5f5; color: transparent; }
.flex { display: flex; align-items: center; gap: 1rem; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.section    { padding: clamp(3rem, 7vw, 6rem) 0; }
.space-page-top { height: 90px; }
.space-1rem { height: 1rem; }
.space-2rem { height: 2rem; }
.space-4rem { height: 4rem; }
.space-7rem { height: clamp(3rem, 7vw, 7rem); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #050505;
  border-bottom: 1px solid rgba(245,245,245,0.07);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Homepage: transparent over full-height dark hero (logo/links white already) */
.dark-hero .navbar {
  background: transparent;
  border-bottom-color: transparent;
}
/* After scrolling past hero on homepage */
.navbar.scrolled {
  background: #050505 !important;
  border-bottom-color: rgba(245,245,245,0.07) !important;
  box-shadow: 0 1px 30px rgba(0,0,0,0.6) !important;
}

.navbar-logo img, .nav-logo img { height: 42px; width: auto; }
.nav-menu { display: flex; gap: 2.5rem; align-items: center; list-style: none; }
.nav-link {
  font-size: 0.75rem; font-weight: 500; color: rgba(245,245,245,0.7);
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: #f5f5f5;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-link:hover { color: #f5f5f5; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: #f5f5f5; font-weight: 600; }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 24px; height: 1.5px; background: #f5f5f5; transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #050505; border-bottom: 1px solid rgba(245,245,245,0.08);
  padding: 1rem clamp(1.5rem,5vw,4rem); flex-direction: column; gap: 0; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 1rem 0; border-bottom: 1px solid rgba(245,245,245,0.07); color: rgba(245,245,245,0.7);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: #f5f5f5; }

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; background: #050505; overflow: hidden;
}
.hero-wrapper { padding-top: 72px; position: relative; z-index: 1; }
.hero-wrapper h5 { color: rgba(245,245,245,0.4); margin-bottom: 0.5rem; }
.hero-glow {
  position: absolute; top: 50%; right: -18vmax;
  width: 60vmax; height: 60vmax;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(245,245,245,0.06) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.hero-ring {
  position: absolute; top: 50%; right: -8vmax;
  width: 36vmax; height: 36vmax;
  transform: translateY(-50%);
  border: 1px solid rgba(245,245,245,0.09); border-radius: 50%;
  pointer-events: none;
  animation: ring-pulse 7s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50%      { transform: translateY(-50%) scale(1.07); opacity: 0.5; }
}
.hero-scroll-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid rgba(245,245,245,0.3); border-radius: 50%;
  margin-top: 2.5rem; transition: all 0.3s;
  animation: bob 2.8s ease-in-out infinite;
}
.hero-scroll-btn:hover { border-color: #f5f5f5; background: rgba(245,245,245,0.08); }
.hero-scroll-btn img { width: 20px; height: 20px; filter: brightness(10); transform: rotate(135deg); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ===== SERVICES ===== */
.services-flex { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.services-card {
  border-top: 1px solid rgba(245,245,245,0.1);
  padding: 2rem 0;
  margin-bottom: 0.5rem;
}
.services-title-flex { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.25rem; }
.services-icon {
  min-width: 6rem; max-width: 6rem;
  min-height: 6rem; max-height: 6rem;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.services-icon img { width: 100%; height: 100%; object-fit: cover; }
.services-card h4 { color: #f5f5f5; }

/* ===== WORKS GRID ===== */
.works-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.works-image-wrapper {
  position: relative; overflow: hidden; aspect-ratio: 4/3; border-radius: 4px;
}
.works-image-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.works-block:hover .works-image-wrapper img { transform: scale(1.05); }
.works-text-block { padding: 1rem 0 0.5rem; }
.works-text-block h3 { color: #f5f5f5; margin-bottom: 0.75rem; }
.works-flex { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.works-badge { border: 1px solid rgba(245,245,245,0.15); border-radius: 100px; padding: 0.25rem 0.85rem; }
.works-badge h5 { text-transform: none; letter-spacing: 0; font-size: 0.72rem; color: rgba(245,245,245,0.45); font-weight: 400; }
.works-link-wrapper { display: block; position: relative; }
.works-icon-wrapper {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,5,5,0.5); opacity: 0; transition: opacity 0.3s; border-radius: 4px;
}
.works-block:hover .works-icon-wrapper { opacity: 1; }
.works-hover { color: #f5f5f5; letter-spacing: 0.1em; }
.works-cta { display: flex; justify-content: center; }

/* Background override for explict dark sections (footer, works page) */
.background-black { background: #050505; }

/* ===== ABOUT HERO ===== */
.about-hero-flex { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.about-hero-block { overflow: hidden; }
.about-hero-wrapper h5 { margin-bottom: 0.5rem; }
.about-hero-wrapper p { max-width: 28rem; margin-top: 1.25rem; }
.about-hero-flex > img { width: 100%; border-radius: 6px; object-fit: cover; }

/* ===== METRICS ===== */
.metrics-wrapper {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(245,245,245,0.1);
  border-bottom: 1px solid rgba(245,245,245,0.1);
}
.metrics-block { padding: clamp(2rem, 4vw, 4rem) 2rem; text-align: center; border-right: 1px solid rgba(245,245,245,0.1); }
.metrics-block:last-child { border-right: none; }
.metrics-block p { color: rgba(245,245,245,0.4); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.5rem; }

/* ===== STORY ===== */
.story-title-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; margin-bottom: 3rem; }
.title-flex-wrapper h5 { margin-bottom: 0.75rem; }
.story-text-block h5 { margin-bottom: 0.5rem; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.image-absolute { width: 100%; border-radius: 6px; display: block; }

/* ===== REVIEWS ===== */
.reviews-slider { position: relative; overflow: hidden; }
.reviews-track { display: flex; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.reviews-slide {
  min-width: 100%; padding: 3rem 2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.75rem;
}
.reviews-slide > img:first-child { width: 36px; opacity: 0.35; }
.reviews-slide h4 { max-width: 650px; font-style: italic; font-weight: 400; line-height: 1.7; color: rgba(245,245,245,0.75); font-size: clamp(0.95rem, 1.5vw, 1.1rem); }
.reviews-image { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.review-name-block h5 { color: rgba(245,245,245,0.6); }
.reviews-controls { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.reviews-arrow {
  width: 48px; height: 48px; border: 1px solid rgba(245,245,245,0.2); border-radius: 50%;
  background: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(245,245,245,0.7); transition: all 0.25s;
}
.reviews-arrow:hover { background: #f5f5f5; color: #050505; border-color: #f5f5f5; }
.reviews-dots { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-top: 1.25rem; }
.reviews-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(245,245,245,0.2); border: none; cursor: pointer; transition: all 0.25s; padding: 0; }
.reviews-dot.active { background: #f5f5f5; transform: scale(1.4); }

/* ===== FAQ ===== */
.faq-wrapper { border-top: 1px solid rgba(245,245,245,0.1); max-width: 900px; }
.faq-dropdown { border-bottom: 1px solid rgba(245,245,245,0.1); }
.faq-toggle { width: 100%; background: none; border: none; text-align: left; cursor: pointer; padding: 1.5rem 0; }
.faq-flex { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.faq-question { font-size: 0.95rem; font-weight: 500; color: #f5f5f5; line-height: 1.4; }
.faq-icon-btn {
  width: 32px; height: 32px; border: 1px solid rgba(245,245,245,0.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.35s ease, background 0.25s, border-color 0.25s;
  font-size: 1.3rem; line-height: 1; color: rgba(245,245,245,0.7); font-weight: 300;
}
.faq-icon-btn.open { transform: rotate(45deg); background: #f5f5f5; color: #050505; border-color: #f5f5f5; }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1); }
.faq-answer.open { max-height: 400px; }
.faq-answer p { padding-bottom: 1.75rem; }

/* ===== TITLE FLEX ===== */
.title-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.title-flex h5 { max-width: 20rem; padding-bottom: 0.5rem; }

/* ===== CTA BLOCK ===== */
.cta-block {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid rgba(245,245,245,0.1); border-radius: 12px;
}
.arrow-image-small { width: 36px; height: 36px; opacity: 0.6; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 2.25rem;
  border: 1px solid rgba(245,245,245,0.4); border-radius: 100px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer; transition: all 0.3s; background: none; color: #f5f5f5;
}
.btn:hover { background: #f5f5f5; color: #050505; border-color: #f5f5f5; }

/* ===== FOOTER ===== */
.footer { background: #050505; border-top: 1px solid rgba(245,245,245,0.07); padding: clamp(3rem,5vw,5rem) 0 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; padding-bottom: 3rem; }
.footer-block { max-width: 280px; }
.footer-block img { height: 42px; width: auto; margin-bottom: 1.25rem; }
.footer-block p { color: rgba(245,245,245,0.35); font-size: 0.85rem; line-height: 1.7; }
.footer-right-flex { display: flex; gap: clamp(2rem, 5vw, 5rem); }
.footer-wrapper { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-wrapper h5 { color: rgba(245,245,245,0.5); margin-bottom: 0.75rem; }
.footer-link { color: rgba(245,245,245,0.45); font-size: 0.85rem; transition: color 0.2s; }
.footer-link:hover { color: #f5f5f5; }
.footer-line { border: none; border-top: 1px solid rgba(245,245,245,0.07); margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; gap: 1rem; }
.footer-bottom a { color: rgba(245,245,245,0.35); font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom a:hover { color: #f5f5f5; }
.footer-bottom img { width: 36px; height: auto; opacity: 0.6; }
.footer-bottom img:hover { opacity: 1; }

/* ===== FORM ===== */
.form-wrapper { max-width: 640px; }
.field-wrapper { margin-bottom: 1.75rem; }
.field-label { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; color: rgba(245,245,245,0.55); }
.text-field {
  width: 100%; padding: 1rem 1.25rem;
  border: 1px solid rgba(245,245,245,0.12); border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.95rem;
  color: #f5f5f5; background: rgba(245,245,245,0.04);
  transition: border-color 0.25s, background 0.25s; outline: none;
}
.text-field:focus { border-color: rgba(245,245,245,0.4); background: rgba(245,245,245,0.07); }
.text-field::placeholder { color: rgba(245,245,245,0.2); }
.message-area {
  width: 100%; padding: 1rem 1.25rem;
  border: 1px solid rgba(245,245,245,0.12); border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.95rem;
  color: #f5f5f5; background: rgba(245,245,245,0.04);
  transition: border-color 0.25s, background 0.25s; outline: none;
  resize: vertical; min-height: 160px;
}
.message-area:focus { border-color: rgba(245,245,245,0.4); background: rgba(245,245,245,0.07); }
.message-area::placeholder { color: rgba(245,245,245,0.2); }
.submit-btn {
  padding: 1rem 2.75rem;
  background: #f5f5f5; color: #050505;
  border: 1px solid #f5f5f5; border-radius: 100px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: all 0.3s;
}
.submit-btn:hover { background: transparent; color: #f5f5f5; }
.success-message { display: none; padding: 1rem 1.5rem; background: rgba(134,239,172,0.1); border: 1px solid rgba(134,239,172,0.3); border-radius: 6px; color: #86efac; font-size: 0.875rem; margin-top: 1rem; }
.error-message { display: none; padding: 1rem 1.5rem; background: rgba(252,165,165,0.1); border: 1px solid rgba(252,165,165,0.3); border-radius: 6px; color: #fca5a5; font-size: 0.875rem; margin-top: 1rem; }

/* ===== WORKS DETAIL ===== */
.works-title-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.flex-title h5 { margin-bottom: 0.5rem; }
.flex-title h3 { color: #f5f5f5; margin-bottom: 1.25rem; }
.works-description { max-width: 35rem; line-height: 1.8; }
.works-details-grid { display: flex; flex-direction: column; gap: 0.75rem; min-width: 180px; }
.works-details-info h5 { margin-bottom: 0.25rem; }
.works-details-info p { color: rgba(245,245,245,0.7); font-size: 0.9rem; font-weight: 500; }
.image-wrapper { border-radius: 8px; overflow: hidden; }
.image-parallax-curve { width: 100%; height: clamp(40vh, 55vh, 70vh); object-fit: cover; display: block; }
.works-rich-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: #f5f5f5; margin-bottom: 1.25rem; }
.works-rich-text h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #f5f5f5; margin: 2.5rem 0 1rem; }
.works-rich-text p { margin-bottom: 1.5rem; }
.works-rich-text ol { padding-left: 1.5rem; }
.works-rich-text li { margin-bottom: 1.25rem; line-height: 1.8; }
.works-rich-text strong { color: #f5f5f5; font-weight: 600; }

/* ===== MARQUEE ===== */
.marquee-wrapper { overflow: hidden; border-top: 1px solid rgba(245,245,245,0.07); border-bottom: 1px solid rgba(245,245,245,0.07); padding: 1.5rem 0; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 20s linear infinite; white-space: nowrap; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; color: #f5f5f5; }
.marquee-item.outline { -webkit-text-stroke: 1px rgba(245,245,245,0.4); color: transparent; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== PRIVACY POLICY ===== */
.privacy-content { max-width: 720px; }
.privacy-content h2 { font-size: 1.3rem; margin: 2.5rem 0 1rem; color: #f5f5f5; }
.privacy-content p { margin-bottom: 1rem; }
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content li { margin-bottom: 0.5rem; }

/* ===== ACCESSIBILITY ===== */
::selection { background: #f5f5f5; color: #050505; }
:focus-visible { outline: 2px solid rgba(245,245,245,0.75); outline-offset: 3px; border-radius: 2px; }

/* ===== ANIMATIONS =====
   Elements are visible by default.
   Initial hidden state only activates once JS adds 'js-ready' to <html>.
   If JS fails to load, content remains visible — no broken invisible page.
*/
.fade-in, .fade-left, .fade-right {
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
html.js-ready .fade-in   { opacity: 0; transform: translateY(24px); }
html.js-ready .fade-left  { opacity: 0; transform: translateX(-40px); }
html.js-ready .fade-right { opacity: 0; transform: translateX(40px); }
.fade-in.visible, .fade-left.visible, .fade-right.visible {
  opacity: 1 !important; transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  html.js-ready .fade-in, html.js-ready .fade-left, html.js-ready .fade-right {
    opacity: 1; transform: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html.js-ready .fade-left, html.js-ready .fade-right { transform: translateY(24px); }
}
@media (max-width: 991px) {
  .nav-menu { display: none; }
  .burger { display: flex; }
  .services-flex { grid-template-columns: 1fr; }
  .about-hero-flex { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-title-wrapper { grid-template-columns: 1fr; }
  .metrics-wrapper { grid-template-columns: 1fr; }
  .metrics-block { border-right: none; border-bottom: 1px solid rgba(245,245,245,0.1); }
  .metrics-block:last-child { border-bottom: none; }
  .footer-top { flex-direction: column; }
  .footer-right-flex { flex-direction: column; gap: 2rem; }
  .works-title-grid { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .section { padding: clamp(2rem, 5vw, 3rem) 0; }
  .works-wrapper { grid-template-columns: 1fr; }
  .title-flex { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .space-7rem { height: 3rem; }
  .space-4rem { height: 2rem; }
  .marquee-item { font-size: clamp(1.5rem, 8vw, 2.5rem); }
}
@media (max-width: 479px) {
  .services-icon { min-width: 4.5rem; max-width: 4.5rem; min-height: 4.5rem; max-height: 4.5rem; }
}

.brand-wordmark {
  display: inline-block; color: #f5f5f5; font-size: 1.15rem; font-weight: 800;
  letter-spacing: .16em; line-height: 1; transition: color .25s ease;
}
a:hover > .brand-wordmark { color: #d7ff43; }
.hero-visual {
  position: absolute; z-index: 0; right: 0; top: 8%; width: 49%; height: 78%;
  pointer-events: none; opacity: 1; isolation: isolate;
}
.hero-visual::before {
  content: ''; position: absolute; inset: 9% 2% 3% 5%; z-index: -1;
  border: 1px solid rgba(245,245,245,.07); border-radius: 50%;
  background: radial-gradient(circle at 58% 45%, rgba(215,255,67,.1), transparent 54%);
}
.hero-visual::after {
  content: ''; position: absolute; left: 8%; right: 1%; bottom: 5%; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(215,255,67,.65), transparent);
}
.hero-canvas { display: block; width: 100%; height: 100%; }
.runner-fallback {
  position: absolute; inset: 12% 8%; overflow: hidden;
}
.runner-fallback img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual.three-ready .runner-fallback { display: none; }
.hero-visual-tag, .hero-visual-stat {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: .22rem;
  color: rgba(245,245,245,.48); font-size: .61rem; line-height: 1.2;
  letter-spacing: .15em; text-transform: uppercase;
}
.hero-visual-tag { top: 14%; left: 5%; padding-left: .8rem; border-left: 2px solid #d7ff43; }
.hero-visual-stat { right: 3%; bottom: 9%; text-align: right; }
.hero-visual-tag strong, .hero-visual-stat strong { color: #f5f5f5; font-size: .7rem; font-weight: 700; }
.hero-text { font-size: 112px; letter-spacing: 0; }
.hero-bottom { max-width: 48%; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-section { min-height: 720px; height: 92svh; max-height: 980px; }
.hero-section > .container { width: 100%; }
@media (min-width: 1440px) {
  .hero-text { font-size: 144px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-text { font-size: 88px; }
  .hero-actions { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .hero-section { height: auto; min-height: 0; max-height: none; display: block; }
  .hero-wrapper { padding-top: 100px; padding-bottom: 28px; }
  .hero-text { font-size: 64px; }
  .hero-kicker { font-size: .65rem; letter-spacing: 0; }
  .hero-visual { width: 100%; height: 260px; right: 0; top: 264px; }
  .hero-visual::before { inset: 3% 8%; }
  .hero-visual-tag { top: 6%; left: 8%; }
  .hero-visual-stat { right: 8%; bottom: 7%; }
  .hero-bottom { max-width: 100%; margin-top: 280px; }
  .hero-scroll-btn { display: none; }
}
@media (max-width: 359px) {
  .hero-text { font-size: 54px; }
  .hero-visual { top: 228px; }
}

/* ===== 2026 POLISH LAYER ===== */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.outline-text { -webkit-text-stroke-color: #d7ff43; }
.nav-menu li:last-child .nav-link { border: 1px solid rgba(215,255,67,.45); border-radius: 999px; padding: .7rem 1.15rem; color: #d7ff43; }
.nav-menu li:last-child .nav-link::after { display: none; }
.nav-menu li:last-child .nav-link:hover { background: #d7ff43; color: #050505; border-color: #d7ff43; }
.hero-kicker { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.25rem; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; color: rgba(245,245,245,.6); }
.hero-kicker span { width: 2rem; height: 2px; background: #d7ff43; }
.hero-bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 1.5rem; margin-top: 2rem; max-width: 48%; }
.hero-bottom p { max-width: 34rem; font-size: clamp(1rem,1.5vw,1.18rem); color: rgba(245,245,245,.68); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.text-link { font-size: .76rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid rgba(245,245,245,.35); padding-bottom: .25rem; transition: color .25s, border-color .25s; }
.text-link:hover { color: #d7ff43; border-color: #d7ff43; }
.hero-scroll-btn span { font-size: 1.3rem; color: #d7ff43; }
.works-block { transition: transform .35s ease; }
.works-block:hover { transform: translateY(-6px); }
.metrics-text { color: #d7ff43; }
.btn-accent { background: #d7ff43; border-color: #d7ff43; color: #050505; }
.btn-accent:hover { background: #f5f5f5; border-color: #f5f5f5; transform: translateY(-2px); }
.form-note { margin-top: .9rem; font-size: .8rem; color: rgba(245,245,245,.38); }
.model-credit { color: rgba(245,245,245,.22) !important; font-size: .68rem !important; }
.model-credit:hover { color: rgba(245,245,245,.55) !important; }
::selection { background: #d7ff43; color: #050505; }
:focus-visible { outline-color: #d7ff43; }

@media (max-width: 767px) {
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 100%; margin-top: 280px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-scroll-btn { width: 46px; height: 46px; margin-top: 1.75rem; }
}
