/* ═══════════════════════════════════════════════════════════════════
   GANBARU — Master Brand Stylesheet (Static MPA) · v2 faithful port
   Brand Book v2.1 · Dark Master Grid
   SECTION 1 = the React app's CSS, ported verbatim (incl. service/ws
   hover systems, press dropdown, hamburger, mobile rules).
   SECTION 2 = React inline styles converted 1:1 to classes.
   ═══════════════════════════════════════════════════════════════════ */

/* ── SECTION 1: Brand base (verbatim) ── */

    @import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&display=swap');

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: #0D0D0D;
      font-family: 'Assistant', sans-serif;
      direction: rtl;
    }

    .logo-font {
      font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
      letter-spacing: -0.06em;
      font-weight: 500;
    }

    /* Nav links — larger + sweep underline + soft red halo on hover */
    .nav-link {
      transition:
        color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        letter-spacing 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        text-shadow 0.35s ease;
      color: #A3A3A3;
      font-family: 'Assistant', sans-serif;
      font-weight: 500;
      font-size: 1.15rem;
      cursor: pointer;
      text-decoration: none;
      position: relative;
      padding: 6px 4px 10px 4px;
      letter-spacing: 0.005em;
      display: inline-block;
    }
    /* Soft red halo behind the link — radial gradient that scales in on hover */
    .nav-link::before {
      content: "";
      position: absolute;
      inset: -6px -14px;
      background: radial-gradient(ellipse at center, rgba(231,76,60,0.18) 0%, rgba(231,76,60,0.08) 40%, transparent 70%);
      opacity: 0;
      transform: scale(0.7);
      transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
      z-index: -1;
      border-radius: 8px;
      filter: blur(6px);
    }
    .nav-link::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      height: 1.5px;
      background: linear-gradient(to left, transparent 5%, #E74C3C 30%, #E74C3C 70%, transparent 95%);
      transform: scaleX(0);
      transform-origin: right center;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 0 10px rgba(231,76,60,0.5);
    }
    .nav-link:hover {
      color: #ffffff;
      letter-spacing: 0.035em;
      transform: translateY(-2px);
      text-shadow: 0 0 16px rgba(231,76,60,0.3);
    }
    .nav-link:hover::before {
      opacity: 1;
      transform: scale(1);
    }
    .nav-link:hover::after {
      transform: scaleX(1);
    }


    /* ─── Press section: 3D cubes with subtle breathing animation ─── */
    .press-cube {
      position: relative;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -1px 0 rgba(0,0,0,0.35),
        0 6px 22px rgba(0,0,0,0.4),
        0 0 0 0 rgba(231,76,60,0);
      animation: pressCubeBreathe 4.5s ease-in-out infinite;
      will-change: transform, box-shadow;
    }
    @keyframes pressCubeBreathe {
      0%, 100% {
        box-shadow:
          inset 0 1px 0 rgba(255,255,255,0.04),
          inset 0 -1px 0 rgba(0,0,0,0.35),
          0 6px 22px rgba(0,0,0,0.4),
          0 0 0 1px rgba(231,76,60,0.06);
      }
      50% {
        box-shadow:
          inset 0 1px 0 rgba(255,255,255,0.07),
          inset 0 -1px 0 rgba(0,0,0,0.35),
          0 8px 28px rgba(0,0,0,0.5),
          0 0 22px rgba(231,76,60,0.12);
      }
    }
    /* Stagger the breathing so the cubes don't pulse in sync */
    .press-grid > .press-item:nth-child(1) .press-cube { animation-delay: 0s; }
    .press-grid > .press-item:nth-child(2) .press-cube { animation-delay: 1.1s; }
    .press-grid > .press-item:nth-child(3) .press-cube { animation-delay: 2.2s; }
    .press-grid > .press-item:nth-child(4) .press-cube { animation-delay: 3.3s; }
    /* Hover: pause breathing, lift, scale slightly, intensify glow */
    .press-item:hover .press-cube {
      animation-play-state: paused;
      transform: translateY(-8px) scale(1.04);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.4),
        0 18px 40px rgba(0,0,0,0.55),
        0 0 32px rgba(231,76,60,0.3),
        0 0 0 1px rgba(231,76,60,0.4) !important;
    }

    /* ─── View transition: clean fade + upward slide on every view change ─── */
    /* When currentView changes, the main content wrapper remounts (via key)
       and runs this entrance animation. Subtle, fast, professional. */
    .view-content {
      animation: viewEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }
    @keyframes viewEnter {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .view-content { animation: none; }
    }

    /* Letter hover glow */
    .logo-letter {
      display: inline-block;
      transition: all 0.2s ease;
      cursor: default;
      color: #FFFFFF;
    }
    .logo-letter:hover {
      color: #E74C3C;
      transform: scale(1.25);
      text-shadow: 0 0 20px rgba(231,76,60,0.9), 0 0 40px rgba(231,76,60,0.6), 0 0 60px rgba(231,76,60,0.4);
    }

    /* Press dropdown — opens DIRECTLY ON its own cube, anchored exactly to
       the cube's boundaries (no overflow on sides). Matches cube's border-radius
       so it visually replaces the cube. If link count exceeds the cube's natural
       height, the dropdown extends downward (capped at 400px max with internal scroll). */
    .press-item {
      position: relative;
    }
    .press-dropdown {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      min-height: 100%;
      max-height: 400px;
      overflow-y: auto;
      background: rgba(13,13,13,0.97);
      backdrop-filter: blur(28px) saturate(140%);
      -webkit-backdrop-filter: blur(28px) saturate(140%);
      border: 1px solid rgba(231,76,60,0.32);
      border-radius: 16px;
      padding: 0;
      box-shadow:
        0 20px 48px rgba(0,0,0,0.6),
        0 4px 12px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.04);
      opacity: 0;
      visibility: hidden;
      transform: scale(0.94);
      transform-origin: center center;
      transition:
        opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.3s;
      z-index: 200;
    }
    /* Open state — full opacity, settled scale with overshoot easing */
    .press-dropdown.is-open {
      opacity: 1;
      visibility: visible;
      transform: scale(1);
      transition:
        opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0s linear 0s;
    }
    /* Custom slim scrollbar inside the dropdown */
    .press-dropdown::-webkit-scrollbar { width: 6px; }
    .press-dropdown::-webkit-scrollbar-track { background: transparent; }
    .press-dropdown::-webkit-scrollbar-thumb { background: rgba(231,76,60,0.25); border-radius: 3px; }
    .press-dropdown::-webkit-scrollbar-thumb:hover { background: rgba(231,76,60,0.5); }

    /* Social icon glow */
    .social-icon {
      transition: all 0.25s ease;
      color: #A3A3A3;
    }
    .social-icon:hover {
      color: #E74C3C;
      filter: drop-shadow(0 0 8px rgba(231,76,60,0.8));
    }

    /* ─── Accessibility: brand-colored focus ring for keyboard navigation ─── */
    /* Override the default browser focus outline. Sharp 2px crimson with 4px offset,
       only shown for keyboard users (focus-visible), respects brand identity. */
    *:focus { outline: none; }
    *:focus-visible {
      outline: 2px solid #E74C3C;
      outline-offset: 4px;
      border-radius: 1px;
    }
    /* CTA button keeps a slightly larger offset so the ring sits clear of the inset border */
    .cta-btn:focus-visible {
      outline-offset: 6px;
    }

    /* ─── Custom scrollbar — immersive dark theme, Ganbaru crimson on grip ─── */
    /* WebKit (Chrome, Safari, Edge) */
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #050505;
    }
    ::-webkit-scrollbar-thumb {
      background: #1a1a1a;
      border-radius: 0;
      transition: background 0.2s ease-out;
    }
    ::-webkit-scrollbar-thumb:hover,
    ::-webkit-scrollbar-thumb:active {
      background: #E74C3C;
    }
    ::-webkit-scrollbar-corner { background: #050505; }
    /* Firefox */
    html { scrollbar-width: thin; scrollbar-color: #1a1a1a #050505; }

    /* ─── Typography line-length — heavy-user cognitive load reduction ─── */
    /* Wide desktop screens cause eye fatigue when paragraphs stretch edge-to-edge.
       Cap primary content paragraphs to ~75ch (≈800px). Specific exceptions
       (form labels, footer columns, hero stat labels) retain their own widths
       via more specific selectors or inline styles. */
    section p,
    .page-section p {
      max-width: 75ch;
    }

    /* ─── Smooth, controlled scrolling — "high-end machine" feel ─── */
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
    }

    /* ─── Hero "Out of the Dark" entrance ─── */
    /* Staggered reveal on initial home page load. Red elements illuminate FIRST
       (faint, then settle), then text emerges from below with heavy ease-out.
       Adds tension and presents the brand as monolithic emerging from shadow. */
    .hero-reveal {
      opacity: 0;
      will-change: opacity, transform;
    }
    .hero-reveal.is-red {
      animation: heroIlluminate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }
    .hero-reveal.is-text {
      transform: translateY(24px);
      animation: heroEmerge 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes heroIlluminate {
      0%   { opacity: 0; filter: brightness(0.4); }
      50%  { opacity: 0.5; filter: brightness(0.7); }
      100% { opacity: 1; filter: brightness(1); }
    }
    @keyframes heroEmerge {
      0%   { opacity: 0; transform: translateY(24px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    /* Stagger via inline animation-delay (set per element in JSX) */
    @media (prefers-reduced-motion: reduce) {
      .hero-reveal, .hero-reveal.is-red, .hero-reveal.is-text {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
      }
    }

    /* CTA button — "Industrial Switch" — matte black with thin red border,
       no background change on hover, sharp 0.15s transitions, engraved feel */
    .cta-btn {
      background: #0D0D0D;
      color: #ffffff;
      border: 1px solid #E74C3C;
      font-family: 'Assistant', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      padding: 14px 32px;
      border-radius: 2px;
      cursor: pointer;
      letter-spacing: 1.5px;
      position: relative;
      overflow: hidden;
      transition:
        box-shadow 0.15s ease-out,
        border-color 0.15s ease-out,
        color 0.15s ease-out;
    }
    /* Engraved/pressed shadow on hover — feels like a precise industrial switch being seated */
    .cta-btn:hover {
      box-shadow:
        inset 0 0 0 1px #E74C3C,
        inset 0 1px 0 rgba(0,0,0,0.6),
        0 0 14px rgba(231,76,60,0.22);
      border-color: #E74C3C;
      color: #ffffff;
    }
    /* If the button has a trailing arrow (e.g., "קבע פגישה ←"), shift it sharply on hover */
    .cta-btn .cta-arrow,
    .cta-btn::after { transition: transform 0.15s ease-out; }
    /* Active/pressed state — slight inset for tactile feedback */
    .cta-btn:active {
      box-shadow:
        inset 0 0 0 1px #E74C3C,
        inset 0 2px 6px rgba(0,0,0,0.5);
      transform: none;
    }

    /* Form inputs */
    .form-input {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 4px;
      color: #fff;
      font-family: 'Assistant', sans-serif;
      font-size: 0.95rem;
      padding: 12px 16px;
      width: 100%;
      outline: none;
      transition: border-color 0.2s;
      text-align: right;
    }
    .form-input:focus {
      border-color: rgba(231,76,60,0.5);
    }
    .form-input::placeholder { color: #555; }

    /* Text selection — "halo glow" matching the logo letter hover effect.
       The text itself turns crimson with a soft red glow that fades outward
       (via text-shadow). NO background tint — the glow is the only indicator. */
    ::selection {
      background: transparent;
      color: #E74C3C;
      text-shadow:
        0 0 14px rgba(231,76,60,0.85),
        0 0 28px rgba(231,76,60,0.45);
    }
    ::-moz-selection {
      background: transparent;
      color: #E74C3C;
      text-shadow:
        0 0 14px rgba(231,76,60,0.85),
        0 0 28px rgba(231,76,60,0.45);
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: #0D0D0D; }
    ::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

    

    /* Article card */
    .article-card {
      background: linear-gradient(135deg, rgba(26,26,26,0.8), rgba(13,13,13,0.9));
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 8px;
      padding: 28px;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .article-card:hover {
      border-color: rgba(231,76,60,0.3);
      transform: translateY(-3px);
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }
    .article-card:hover .article-card-img {
      transform: scale(1.05);
    }

    /* Section transitions */
    .page-section {
      animation: fadeIn 0.4s ease;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Mobile nav */
    @media (max-width: 768px) {
      .desktop-nav { display: none !important; }
      .mobile-nav-btn { display: block; }
      .hero-grid { grid-template-columns: 1fr !important; }
      .press-grid { grid-template-columns: 1fr !important; }
      .contact-grid { grid-template-columns: 1fr !important; }
    }
    @media (min-width: 769px) {
      .mobile-nav-btn { display: none !important; }
    }

    /* ─── Comprehensive mobile responsive overlay (≤768px) ─── */
    @media (max-width: 768px) {
      /* Prevent horizontal scroll from any rogue element */
      body, html { overflow-x: hidden !important; }

      /* Section padding reduction — desktop 120px/60px → mobile 56px/18px */
      section {
        padding: 56px 18px !important;
      }

      /* Detail page outer wrapper — sub-pages use .page-section */
      .page-section {
        padding: 0 !important;
      }
      .page-section > div {
        padding: 56px 18px !important;
        max-width: 100% !important;
      }
      .page-section > div > div {
        max-width: 100% !important;
      }

      /* Force single column for ALL multi-column grids (inline-styled ones too) */
      [style*="grid-template-columns: 1fr 1fr"],
      [style*="grid-template-columns: 1fr 1fr 1fr"],
      [style*="grid-template-columns: repeat(2"],
      [style*="grid-template-columns: repeat(3"],
      [style*="grid-template-columns: repeat(auto-fit"],
      [style*="grid-template-columns: repeat(auto-fill"] {
        grid-template-columns: 1fr !important;
      }
      /* Specific override: keep the inner footer nav (services + content lists) as 2-col on mobile */
      .footer-cols > div:nth-child(2)[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 18px !important;
      }

      /* Detail page hero — shrink height (was 340px) */
      [style*="height: \"340px\""],
      [style*='height:"340px"'] {
        height: 240px !important;
      }
      /* Hero image teaser on case study row — was 220px */
      [style*="height: \"220px\""],
      [style*='height:"220px"'] {
        height: 180px !important;
      }
      /* Hero overlay text positioning — pull inwards from 40px to 18px */
      [style*='right: "40px"'][style*='left: "40px"'] {
        right: 18px !important;
        left: 18px !important;
        bottom: 18px !important;
      }
      [style*='right: "32px"'][style*='left: "32px"'] {
        right: 16px !important;
        left: 16px !important;
        bottom: 16px !important;
      }

      /* Cards — tighten padding */
      .article-card { padding: 0 !important; }
      .service-card { padding: 28px 22px !important; min-height: auto !important; }
      .ws-card { padding: 28px 22px !important; min-height: auto !important; }
      .ws-custom-card { padding: 28px 22px !important; min-height: auto !important; }
      .service-custom-card { padding: 28px 22px !important; min-height: auto !important; }

      /* Hide the "100% התאמה אישית" stat on mobile per request — leaves 4 strengths */
      .stat-mobile-hide { display: none !important; }

      /* ─── Scroll-center highlight on mobile ─────────────────────────────
         As the user scrolls through service / workshop cards, the one closest
         to the center of the viewport gets .is-centered. A subtle red halo +
         border tint elevates it for the moment, then fades as the user moves
         on. The class is toggled by an IntersectionObserver in GanbaruApp. */
      .service-card.is-centered,
      .ws-card.is-centered,
      .service-custom-card.is-centered,
      .ws-custom-card.is-centered {
        border-color: rgba(231,76,60,0.32) !important;
        box-shadow:
          0 0 28px 2px rgba(231,76,60,0.16),
          0 0 0 1px rgba(231,76,60,0.22) !important;
        transform: scale(1.012);
        transition:
          border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
          box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
          transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
      }

      /* ─── Case studies teaser on mobile ─────────────────────────────────
         All cards (including the "featured" one) collapse to compact size:
         220px image height, compact body padding, line-clamp on essences. */
      .case-teaser-card-featured > div:first-of-type {
        height: 220px !important;
      }
      .case-teaser-card-featured > div:nth-of-type(2) {
        padding: 14px 20px 12px !important;
        gap: 8px !important;
      }
      .case-teaser-card-featured > div:nth-of-type(2) > div:first-of-type {
        gap: 8px !important;
      }
      /* Essence paragraphs clamped to 3 lines so every card stays compact */
      .case-teaser-card p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
      }
      /* Featured title shrinks to compact size */
      .case-teaser-card-featured img + div + div div[style*="fontWeight: 800"] {
        font-size: 1.05rem !important;
      }
      /* Images start in grayscale on mobile; turn color when the card centers
         the viewport (.is-in-view added by the same IO that handles cards above) */
      .case-teaser-img {
        filter: grayscale(1) brightness(0.78) !important;
        transition: filter 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
      }
      .case-teaser-card.is-in-view .case-teaser-img {
        filter: grayscale(0) brightness(0.95) !important;
      }

      /* ─── Article detail hero on mobile ─────────────────────────────────
         Title shifted down so it half-overlaps the image, half drops below.
         Image stays 16:9 (matches the grid-card teaser proportions). */
      .article-hero-wrapper {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
        margin-bottom: 64px !important;
      }
      .article-hero-image-frame {
        overflow: hidden;
        border-radius: 12px;
        aspect-ratio: 16 / 9;
        position: relative;
      }
      .article-hero-title-overlay {
        bottom: -50px !important;
        right: 8px !important;
        left: 8px !important;
      }
      /* Body extends to match the hero's outer margins on mobile */
      .article-body-container {
        max-width: 100% !important;
        margin: 0 !important;
      }

      /* Press cube spacing */
      .press-cube { padding: 28px 20px !important; min-height: 130px !important; }

      /* CTA button bigger tap target */
      .cta-btn {
        padding: 14px 26px !important;
        font-size: 1.08rem !important;
      }

      /* FAQ accordion — reduce padding so content has more room */
      /* Reduce padding-right on body sections containing bullets, sections etc.
         These currently use paddingRight: 32-36px to indent under the red bar */
      [style*='padding-right: "36px"'] { padding-right: 0 !important; }
      [style*='paddingRight: "36px"'] { padding-right: 0 !important; }
      [style*='padding-right: "32px"'] { padding-right: 0 !important; }
      [style*='paddingRight: "32px"'] { padding-right: 0 !important; }

      /* Workshop meta strip — wrap chips */
      [style*='display: "flex"'][style*='flex-wrap: "wrap"'] {
        gap: 8px !important;
      }

      /* Body text container max-width override (inner 780px wrapper in articles) */
      [style*='max-width: "780px"'] { max-width: 100% !important; }
      [style*='maxWidth: "780px"'] { max-width: 100% !important; }
      [style*='max-width: "820px"'] { max-width: 100% !important; }
      [style*='maxWidth: "820px"'] { max-width: 100% !important; }
      [style*='max-width: "1100px"'] { max-width: 100% !important; }
      [style*='maxWidth: "1100px"'] { max-width: 100% !important; }
      [style*='max-width: "1200px"'] { max-width: 100% !important; }
      [style*='maxWidth: "1200px"'] { max-width: 100% !important; }

      /* Nav links smaller in mobile menu */
      .nav-link { font-size: 1.02rem !important; }

      /* Hero home-page wordmark — shrink from clamp(5rem, 10vw, 9rem) to fit narrow screens */
      .logo-font {
        font-size: clamp(2.8rem, 13vw, 4.5rem) !important;
      }
      /* Kanji watermark behind the wordmark — shrink proportionally */
      [style*='clamp(96px, 14.4vw, 176px)'] {
        font-size: clamp(60px, 18vw, 110px) !important;
      }
      /* Hero number that often appears huge */
      [style*='font-size: "80px"'] {
        font-size: 56px !important;
      }

      /* ─── Mobile hamburger ─── */
      .mobile-nav-btn {
        display: flex !important;
        transition: border-color 0.25s ease, background 0.25s ease;
      }
      .mobile-nav-btn:hover { border-color: rgba(231,76,60,0.5) !important; }
      .hamburger-bars {
        display: inline-block;
        position: relative;
        width: 20px;
        height: 14px;
      }
      .hamburger-bars > span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #fff;
        border-radius: 1px;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background 0.25s ease;
        transform-origin: center center;
      }
      .hamburger-bars > span:nth-child(1) { top: 0; }
      .hamburger-bars > span:nth-child(2) { top: 6px; }
      .hamburger-bars > span:nth-child(3) { top: 12px; }
      .hamburger-bars.is-open > span { background: #E74C3C; }
      .hamburger-bars.is-open > span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
      }
      .hamburger-bars.is-open > span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
      }
      .hamburger-bars.is-open > span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
      }

      /* ─── Mobile header reorder: hamburger on RIGHT, logo on LEFT ─── */
      header {
        flex-direction: row-reverse !important;
        padding: 0 18px !important;
      }

      /* ─── Logo letters auto-pulse on mobile (softer "Silent Master" glow) ─── */
      /* Cycles every 3.2s, a wave of red flashes through G-a-n-b-a-r-u in sequence */
      .logo-letter {
        animation: ganLogoPulseMobile 3.2s ease-in-out infinite;
      }
      .logo-letter:nth-child(1) { animation-delay: 0s; }
      .logo-letter:nth-child(2) { animation-delay: 0.13s; }
      .logo-letter:nth-child(3) { animation-delay: 0.26s; }
      .logo-letter:nth-child(4) { animation-delay: 0.39s; }
      .logo-letter:nth-child(5) { animation-delay: 0.52s; }
      .logo-letter:nth-child(6) { animation-delay: 0.65s; }
      .logo-letter:nth-child(7) { animation-delay: 0.78s; }
      @keyframes ganLogoPulseMobile {
        0%, 100% {
          color: #ffffff;
          transform: scale(1);
          text-shadow: none;
        }
        6%, 13% {
          color: #E74C3C;
          transform: scale(1.1);
          text-shadow: 0 0 10px rgba(231,76,60,0.5), 0 0 18px rgba(231,76,60,0.22);
        }
      }

      /* ─── Mobile typography: bump prominent home section headlines ─── */
      /* Hero H1 — bigger on mobile for impact */
      .hero-title {
        font-size: clamp(2.3rem, 9vw, 2.8rem) !important;
        line-height: 1.18 !important;
      }
      /* Hero subtitle "מחלקת השיווק שלך במיקור חוץ" — smaller, supporting the H1 */
      .hero-tagline {
        font-size: clamp(1.05rem, 3.5vw, 1.4rem) !important;
        line-height: 1.4 !important;
      }
      /* Section H2 headlines: "ערך אמיתי. מדיד. מתמשך.", "ידע שנשאר בחברה שלך", "Ganbaru בתקשורת", "תיאום פגישת אבחון אסטרטגית" */
      .services-headline,
      .workshops-headline,
      .press-headline,
      .contact-headline {
        font-size: clamp(1.85rem, 7vw, 2.4rem) !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
      }

      /* ─── Service / Workshop card mobile preview (no hover available) ─── */
      /* Show the desc-on-hover content by default on mobile, since there's no mouseover */
      .service-card .service-desc,
      .ws-card .ws-desc {
        color: #888 !important;
        opacity: 1 !important;
      }
      .service-card .service-title,
      .ws-card .ws-title {
        color: #ffffff !important;
      }
      /* Make the "תגלה עוד" / "לפרטים נוספים" indicator always visible on mobile */
      .service-card .service-cta,
      .ws-card .ws-cta {
        opacity: 1 !important;
      }
      /* Show ember crack as visible by default on mobile */
      .service-card .service-ember,
      .ws-card .ws-ember {
        opacity: 0.7 !important;
      }

      /* ─── Footer: compact single-column layout on mobile ─── */
      /* Override the desktop 1fr 2fr 1fr grid completely */
      .footer-cols {
        display: flex !important;
        flex-direction: column !important;
        gap: 36px !important;
        text-align: center !important;
        margin-bottom: 36px !important;
      }
      .footer-cols > div { text-align: center !important; }
      /* Inner footer nav (services + content) — stay 2-col but centered */
      .footer-cols > div > div[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
        text-align: center !important;
      }
      .footer-cols > div > div[style*="grid-template-columns"] > div {
        text-align: center !important;
      }
      /* Header logo + tagline */
      .footer-cols .logo-font {
        font-size: 1.8rem !important;
        text-align: center !important;
      }
      .footer-tagline {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        margin-bottom: 16px !important;
      }
      /* Nav titles smaller */
      .footer-col-title {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        letter-spacing: 0.04em !important;
      }
      .footer-col-link {
        font-size: 0.95rem !important;
        padding: 4px 0 !important;
      }
      /* Hide the big 80px kanji watermark in the right column on mobile — saves vertical space */
      .footer-cols > div:last-child [style*='font-size: "80px"'] {
        display: none !important;
      }
      /* Footer outer padding */
      footer {
        padding: 48px 18px 28px !important;
      }
      /* Footer kanji-bg (the giant background watermark on left/right) — hide on mobile */
      .kanji-bg {
        display: none !important;
      }

      /* ─── Mobile scroll-reveal: slightly stronger lift for visibility on small screens ─── */
      .reveal-section {
        transform: translateY(60px) !important;
        transition:
          opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
          transform 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
      }
      .reveal-section.is-visible {
        transform: translateY(0) !important;
      }
      /* Slightly thicker sweep line on mobile so it's more visible */
      .reveal-section::before {
        height: 1.5px !important;
        background: linear-gradient(to left, transparent 6%, rgba(231,76,60,0.65) 50%, transparent 94%) !important;
      }

      /* Section taglines and small headers — reduce letter-spacing for readability */
      [style*='letter-spacing: "0.15em"'] { letter-spacing: 0.1em !important; }

      /* Intro animation — slightly smaller on mobile */
      /* The wordmark uses clamp(3.5rem, 9vw, 7rem) — floor of 3.5rem (56px) might overflow on 360px screens */
      /* No fix needed: clamp does its job */
    }

    /* Extra-narrow phones (≤400px) — tighten further */
    @media (max-width: 400px) {
      section { padding: 48px 14px !important; }
      .page-section > div { padding: 48px 14px !important; }
      .service-card, .ws-card, .ws-custom-card { padding: 24px 18px !important; }
    }

    /* Case studies teaser grid — collapse to single column on mobile */
    @media (max-width: 768px) {
      .case-teaser-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
      }
      /* Release the fixed desktop heights — let mobile cards size to content */
      .case-teaser-card {
        height: auto !important;
        min-height: 0 !important;
      }
      .case-teaser-card > div:first-of-type {
        height: 220px !important;
      }
    }

    /* ─── Case teaser image: grayscale by default, gentle fade to color on hover ─── */
    /* Base brightness for all devices — keeps the title overlay readable */
    .case-teaser-img {
      filter: brightness(0.78);
      transition: filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    /* Desktop only (real hover): start in monochrome, soft 0.7s fade to color on hover */
    @media (hover: hover) {
      .case-teaser-img {
        filter: grayscale(1) brightness(0.78);
      }
      .case-teaser-card:hover .case-teaser-img {
        filter: grayscale(0) brightness(0.95);
      }
      /* CTA arrow shifts slightly when the card is hovered — RTL forward arrow ← moves left */
      .case-teaser-card:hover .case-cta-arrow {
        transform: translateX(-4px);
      }
    }

    /* ════════════════════════════════════════════════════════════════════
       ── MOBILE UX LAYER — additive, wrapped strictly in mobile queries ──
       ════════════════════════════════════════════════════════════════════
       1. "Mechanical Tap" — kill sticky hover on touch devices, replace with
          sharp :active feedback (0.1s industrial switch feel).
       2. Touch targets — min 48×48px hit areas on every interactive element.
       3. Scroll stability — strict overflow-x:hidden + faster IO reveal.
       4. Thumb-zone CTA — sticky bottom "צור קשר" full-width bar.
       Desktop CSS is NOT modified. All rules below live inside
       @media (hover: none) or @media (max-width: 768px).
       ════════════════════════════════════════════════════════════════════ */

    /* ─── 1. Mechanical Tap: kill sticky hover on touch, add :active feedback ─── */
    @media (hover: none) {
      /* Reset desktop hover states so they don't stick after tap.
         Each one is restored to its non-hover ground state. */
      .cta-btn:hover {
        box-shadow: none;
        border-color: #E74C3C;
        color: #ffffff;
      }
      .service-card:hover {
        box-shadow: none;
      }
      .service-card:hover .service-title {
        text-shadow: none;
      }
      .service-card:hover .service-ember {
        background: transparent;
        box-shadow: none;
      }
      .service-card:hover .service-ember-glow {
        background: transparent;
        opacity: 0;
      }
      .service-card:hover .service-desc {
        opacity: 1;       /* keep description visible on mobile (no hover to reveal) */
        transform: translateY(0);
      }
      .article-card:hover {
        border-color: rgba(255,255,255,0.07);
        transform: none;
        box-shadow: none;
      }
      .article-card:hover .article-card-img {
        transform: none;
      }
      .nav-link:hover {
        background: transparent;
      }
      .social-icon:hover {
        color: #A3A3A3;
        filter: none;
      }
      .press-link:hover {
        background: transparent;
        color: #A3A3A3;
        border-right-color: transparent;
      }

      /* ─── :active states — instantaneous physical feedback (0.1s) ─── */
      /* CTA button: matte black gets one shade deeper + sharp red border flash */
      .cta-btn:active {
        background: #050505 !important;
        box-shadow:
          inset 0 0 0 1px #E74C3C,
          inset 0 2px 8px rgba(0,0,0,0.7) !important;
        transition: all 0.1s ease-out !important;
      }
      /* Service card: red border flashes on tap, ember lights up */
      .service-card:active {
        border-color: #E74C3C !important;
        background: linear-gradient(135deg, rgba(231,76,60,0.06), rgba(13,13,13,0.95)) !important;
        transition: all 0.1s ease-out !important;
      }
      .service-card:active .service-ember {
        background: linear-gradient(90deg, transparent 0%, #E74C3C 40%, #c0392b 60%, transparent 100%) !important;
        box-shadow: 0 0 14px 2px rgba(231,76,60,0.45) !important;
        transition: all 0.1s ease-out !important;
      }
      /* Workshop card same pattern */
      .ws-card:active,
      .ws-custom-card:active {
        border-color: #E74C3C !important;
        background: linear-gradient(135deg, rgba(231,76,60,0.06), rgba(13,13,13,0.95)) !important;
        transition: all 0.1s ease-out !important;
      }
      /* Article card: sharp border + slight darken */
      .article-card:active {
        border-color: rgba(231,76,60,0.5) !important;
        background: #050505 !important;
        transition: all 0.1s ease-out !important;
      }
      /* Press cube: red border flash */
      .press-cube:active {
        border-color: rgba(231,76,60,0.4) !important;
        transition: all 0.1s ease-out !important;
      }
      /* Nav links and press-link tap feedback */
      .nav-link:active,
      .press-link:active {
        color: #E74C3C !important;
        transition: color 0.1s ease-out !important;
      }
      /* Social icons */
      .social-icon:active {
        color: #E74C3C !important;
        transition: color 0.1s ease-out !important;
      }
    }

    /* ─── 2. Touch target optimization (≥48×48px) + 16px paragraph minimum ─── */
    @media (max-width: 768px) {
      /* All interactive elements get a minimum tappable area */
      button,
      a,
      .nav-link,
      .social-icon,
      .press-link,
      .faq-item,
      .mobile-nav-btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
      }
      /* Hamburger explicit size */
      .mobile-nav-btn {
        width: 48px !important;
        height: 48px !important;
      }
      /* Footer compact links may need bigger touch area without disturbing layout */
      footer a {
        padding: 6px 0;
      }
      /* CTA buttons get generous tap padding */
      .cta-btn {
        min-height: 52px;
        padding: 14px 26px !important;
        font-size: 1.08rem !important;  /* 17.3px — above 16px floor */
      }
      /* Paragraphs in primary content: enforce a 1rem (16px) floor.
         Inline styles using rem-based fontSize ≥1rem are unaffected
         (max() picks the larger value). Smaller declarations get bumped. */
      section p,
      .page-section p {
        font-size: max(1rem, 1em) !important;
        line-height: 1.65 !important;
      }
    }

    /* ─── 3. Scroll stability: overflow-x hidden + faster IO reveal ─── */
    @media (max-width: 768px) {
      html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
      }
      /* Faster reveal on mobile GPUs — 0.6s instead of 0.9s. Wrapped in
         this media query so desktop's 0.9s is untouched. */
      .reveal-section {
        transition:
          opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
          transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
      }
    }

    /* ─── 4. Thumb-zone sticky CTA — "צור קשר" bottom bar (mobile only) ─── */
    /* Hidden by default (desktop never sees it) */
    .mobile-bottom-cta {
      display: none;
    }
    @media (max-width: 768px) {
      .mobile-bottom-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        align-items: center;
        justify-content: center;
        background: #0D0D0D;
        color: #ffffff;
        border: none;
        border-top: 1px solid #E74C3C;
        padding: 14px 24px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        font-family: 'Assistant', sans-serif;
        font-weight: 700;
        font-size: 1.05rem;
        letter-spacing: 1.5px;
        z-index: 400;
        cursor: pointer;
        min-height: 52px;
        box-shadow: 0 -8px 24px rgba(0,0,0,0.55);
        transition: background 0.1s ease-out, border-color 0.1s ease-out;
      }
      .mobile-bottom-cta:active {
        background: #050505 !important;
        border-top-color: #E74C3C !important;
        box-shadow: 0 -8px 24px rgba(231,76,60,0.18), inset 0 1px 0 rgba(231,76,60,0.4) !important;
      }
      /* Ensure page content isn't hidden behind the sticky bar */
      body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
      }
      /* Hide the sticky bar when the mobile menu is open (avoid covering its CTAs) */
      body.mobile-menu-open .mobile-bottom-cta {
        opacity: 0;
        pointer-events: none;
      }
    }

    /* Letter hover glow */

    .press-link {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 10px 16px;
      color: #A3A3A3;
      font-family: 'Assistant', sans-serif;
      font-size: 0.82rem;
      text-decoration: none;
      transition: all 0.2s;
      border-right: 2px solid transparent;
      direction: rtl;
      text-align: right;
    }
    .press-link:hover {
      color: #E74C3C;
      border-right-color: #E74C3C;
      background: rgba(231,76,60,0.05);
    }
    .press-link .arrow {
      color: #E74C3C;
      flex-shrink: 0;
      font-size: 0.75rem;
      margin-top: 2px;
      opacity: 0.7;
    }
    .press-link:hover .arrow { opacity: 1; }

    .kanji-bg {
      position: absolute;
      font-size: 224px;
      color: rgba(255,255,255,0.045);
      pointer-events: none;
      user-select: none;
      font-family: serif;
      line-height: 1;
      right: -20px;
      bottom: -40px;
    }
  


        @keyframes ganIntroPulse {
          0%, 100% { transform: scale(1); filter: brightness(1); }
          50%      { transform: scale(1.08); filter: brightness(1.3); }
        }
      


            @keyframes slideIn {
              from { opacity: 0; transform: translateY(-50%) translateX(-12px); }
              to   { opacity: 1; transform: translateY(-50%) translateX(0); }
            }
          


        .service-card {
          transition:
            background 0.4s ease,
            border-color 0.15s ease-out;
        }
        .service-card:hover {
          /* No jump. No scale. Just a heavier seat: subtle inset shadow + slightly stronger border. */
          box-shadow: 0 0 0 1px rgba(231,76,60,0.18), inset 0 -1px 0 rgba(0,0,0,0.4);
        }
        .service-num {
          transition: color 0.15s ease-out, opacity 0.15s ease-out;
        }
        .service-title {
          transition: color 0.15s ease-out, text-shadow 0.15s ease-out;
        }
        .service-card:hover .service-title {
          text-shadow: 0 0 14px rgba(231,76,60,0.25);
        }
        /* Description: still revealed on hover (content reveal — slower is fine for legibility) */
        .service-desc {
          opacity: 0;
          transform: translateY(8px);
          transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s,
                      transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
        }
        .service-card:hover .service-desc {
          opacity: 1;
          transform: translateY(0);
        }
        /* The illumination — a sharp red line lights up at the bottom edge */
        .service-ember {
          position: absolute;
          bottom: 0; left: 0; right: 0;
          height: 2px;
          background: transparent;
          transition: background 0.15s ease-out, box-shadow 0.15s ease-out;
          pointer-events: none;
        }
        .service-card:hover .service-ember {
          background: linear-gradient(90deg, transparent 0%, #E74C3C 40%, #c0392b 60%, transparent 100%);
          box-shadow: 0 0 14px 2px rgba(231,76,60,0.45), 0 0 32px 6px rgba(231,76,60,0.15);
        }
        .service-ember-glow {
          position: absolute;
          bottom: 0; left: 10%; right: 10%;
          height: 1px;
          background: transparent;
          filter: blur(8px);
          transition: background 0.15s ease-out, opacity 0.15s ease-out;
          pointer-events: none;
          opacity: 0;
        }
        .service-card:hover .service-ember-glow {
          background: #E74C3C;
          opacity: 0.8;
        }
        /* No watermark — title is the default presence */
        .service-watermark {
          position: absolute;
          bottom: -10px;
          left: -8px;
          font-family: 'Cormorant Garamond', serif;
          font-size: 7rem;
          font-weight: 600;
          color: rgba(255,255,255,0.04);
          line-height: 1;
          pointer-events: none;
          user-select: none;
          transition: color 0.4s ease;
          letter-spacing: -0.05em;
        }
        .service-card:hover .service-watermark {
          color: rgba(255,255,255,0.0);
        }
        .service-cta {
          opacity: 0;
          transform: translateX(8px);
          transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
        }
        .service-card:hover .service-cta {
          opacity: 1;
          transform: translateX(0);
        }
      


        .ws-card {
          transform: perspective(600px) translateZ(0px);
          transition:
            transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
            box-shadow 0.55s cubic-bezier(0.23, 1, 0.32, 1),
            background 0.4s ease,
            border-color 0.4s ease;
        }
        .ws-card:hover {
          transform: perspective(600px) translateZ(-6px);
        }
        .ws-title {
          transition: color 0.4s ease, text-shadow 0.4s ease;
        }
        .ws-desc {
          transition: color 0.4s ease;
        }
        .ws-ember {
          position: absolute;
          bottom: 0; left: 0; right: 0;
          height: 2px;
          background: transparent;
          transition: background 0.5s ease, box-shadow 0.5s ease;
          pointer-events: none;
        }
        .ws-card:hover .ws-ember {
          background: linear-gradient(90deg, transparent 0%, #E74C3C 40%, #c0392b 60%, transparent 100%);
          box-shadow: 0 0 18px 3px rgba(231,76,60,0.55), 0 0 40px 8px rgba(231,76,60,0.2);
        }
        .ws-watermark {
          position: absolute;
          bottom: -10px;
          left: -8px;
          font-family: 'Cormorant Garamond', serif;
          font-size: 7rem;
          font-weight: 600;
          color: rgba(255,255,255,0.04);
          pointer-events: none;
          user-select: none;
          transition: color 0.4s ease;
          line-height: 1;
          letter-spacing: -0.05em;
        }
        .ws-card:hover .ws-watermark {
          color: rgba(255,255,255,0.0);
        }
        .ws-cta {
          opacity: 0;
          transform: translateX(8px);
          transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
        }
        .ws-card:hover .ws-cta {
          opacity: 1;
          transform: translateX(0);
        }
        .ws-custom-card {
          transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
        }
        .ws-custom-card:hover {
          transform: perspective(600px) translateZ(-4px);
          box-shadow: 0 0 0 1px rgba(231,76,60,0.5), 0 8px 32px rgba(231,76,60,0.15);
        }
      

/* ── SECTION 2: Static layer — faithful 1:1 conversion ── */

/* ── Reset & base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0D0D0D;
  min-height: 100vh;
  color: #fff;
  font-family: 'Assistant', sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { padding-top: 68px; }            /* SPA: view-content paddingTop 68px */

/* ── Header — exact SPA values: solid #0D0D0D, 68px, hide-on-scroll ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: #0D0D0D;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0 40px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-logo { font-size: 1.5rem; cursor: pointer; letter-spacing: -0.05em; direction: ltr; unicode-bidi: embed; }
.header-logo span { color: #fff; }
.header-logo .dot { color: #E74C3C; }
.desktop-nav { display: flex; gap: 36px; align-items: center; }
.nav-link { color: #A3A3A3; }
.nav-link.is-active { color: #E74C3C; }
.header-cta { font-size: 1.16rem; padding: 10px 24px; }

/* ── Mobile menu panel ── */
.mobile-menu-panel {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 490;
  background: rgba(13,13,13,0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 18px 24px 26px;
  display: none;
  flex-direction: column; gap: 4px;
}
.mobile-menu-panel.is-open { display: flex; animation: fadeIn 0.25s ease; }
.mobile-menu-panel a {
  color: #A3A3A3; font-size: 1.2rem; font-weight: 600;
  padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,0.04);
  min-height: 44px; display: flex; align-items: center;
}
.mobile-menu-panel a.is-active, .mobile-menu-panel a:active { color: #E74C3C; }

/* ── Scroll reveal (ScrollReveal wrapper port) ── */
.reveal-section {
  position: relative;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-section::before {
  content: ""; position: absolute; top: 0; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(to left, transparent 8%, rgba(231,76,60,0.5) 50%, transparent 92%);
  opacity: 0; transition: opacity 0.9s ease 0.2s;
  z-index: 2;
}
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.reveal-section.is-visible::before { opacity: 1; }

/* ── HERO — exact SPA values ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 80px 60px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0D0D0D 0%, #0D0D0D 60%, #1c1c1c 100%);
}
.ambient-glow { position: absolute; pointer-events: none; }
.hero-glow-a { top: 20%; left: 30%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(231,76,60,0.04) 0%, transparent 70%); filter: blur(120px); }
.hero-glow-b { bottom: 10%; right: 10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(231,76,60,0.03) 0%, transparent 70%); filter: blur(100px); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: 1400px; margin: 0 auto; width: 100%; align-items: center;
}
.hero-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; color: #fff; }
.hero-title .dot { color: #E74C3C; }
.hero-tagline { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 600; line-height: 1.3; margin-bottom: 24px; color: #D9D9D9; }
.hero-lede { font-size: 1.22rem; color: #A3A3A3; line-height: 1.7; margin-bottom: 48px; max-width: 480px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ctas .cta-btn { font-size: 1.16rem; }
.btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  color: #A3A3A3; font-family: 'Assistant', sans-serif;
  font-size: 1.16rem; font-weight: 600; padding: 14px 32px;
  border-radius: 4px; cursor: pointer; transition: all 0.25s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(231,76,60,0.4); color: #fff; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 32px 40px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-size: 1.8rem; font-weight: 800; color: #E74C3C; }
.hero-stat span { display: block; font-size: 0.78rem; color: #A3A3A3; margin-top: 4px; }
.hero-brandmark { text-align: center; position: relative; }
.hero-kanji {
  font-size: clamp(96px, 14.4vw, 176px); color: rgba(255,255,255,0.055);
  font-family: serif; line-height: 1; position: absolute;
  inset-inline: 0; pointer-events: none; user-select: none; margin-top: -30px;
}
.hero-wordmark {
  font-size: clamp(5rem, 10vw, 9rem); letter-spacing: -0.03em;
  position: relative; line-height: 1.1; direction: ltr; unicode-bidi: embed;
}
.hero-wordmark .logo-letter { color: #fff; display: inline-block; }
.hero-wordmark .logo-letter.dot { color: #E74C3C; }
.hero-motto {
  color: #E74C3C; font-size: 1.16rem; letter-spacing: 0.25em;
  margin-top: 16px; font-family: 'Assistant', sans-serif;
  font-weight: 700; direction: ltr; opacity: 0.9;
}

/* ── Section headers — SPA style: right-aligned (RTL start), not centered ── */
.sec-head { margin-bottom: 64px; }
.sec-head-80 { margin-bottom: 80px; }
.sec-tag { color: #E74C3C; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 16px; }
.sec-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: #fff; }
.sec-title-lg { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.2; }
.sec-title .dot, .sec-title-lg .dot { color: #E74C3C; }
.inner-1200 { max-width: 1200px; margin: 0 auto; position: relative; }

/* ── SERVICES — section + grid exactly as SPA ── */
.services-section {
  padding: 120px 60px;
  background: linear-gradient(180deg, #0D0D0D 0%, #0a0a0a 50%, #0D0D0D 100%);
  position: relative;
}
.services-section .services-headline { max-width: 500px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.04);
}
.service-card {
  background: linear-gradient(160deg, #1c1c1c 0%, #0f0f0f 100%);
  padding: 15px 40px 14px;
  cursor: pointer; position: relative; overflow: hidden;
  min-height: 65px;
  display: block;
}
.service-card:hover {
  background: linear-gradient(170deg, #1c1c1c 0%, #0e0e0e 100%);
}
.service-card-content {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: inherit;
}
.service-num { color: rgba(255,255,255,0.1); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 14px; }
.service-card:hover .service-num { color: rgba(231,76,60,0.7); }
.service-title { color: rgba(255,255,255,0.72); font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; line-height: 1.2; text-align: center; }
.service-card:hover .service-title { color: #FFFFFF; }
.service-tagline {
  color: rgba(255,255,255,0.38); font-size: 0.95rem; line-height: 1.5;
  text-align: center; margin-bottom: 4px; letter-spacing: 0.01em;
  transition: color 0.4s ease, opacity 0.4s ease;
}
.service-card:hover .service-tagline { color: rgba(255,255,255,0.45); opacity: 0; }
.service-desc { color: rgba(255,255,255,0.38); font-size: 1.16rem; line-height: 1.7; text-align: center; max-width: 240px; }
.service-card:hover .service-desc { color: #888; }
.service-cta { margin-top: 20px; color: #E74C3C; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.service-custom-card {
  background: linear-gradient(135deg, rgba(231,76,60,0.07), rgba(10,10,10,0.98));
  border: 1px solid rgba(231,76,60,0.2);
  padding: 15px 40px 14px;
  cursor: pointer; position: relative; overflow: hidden;
  min-height: 65px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.service-custom-card h3 { color: #fff; font-weight: 800; font-size: 1.27rem; margin-bottom: 6px; }
.service-custom-card p { color: #E74C3C; font-size: 0.75rem; font-weight: 700; margin: 0; letter-spacing: 0.02em; }

/* ── WORKSHOPS — section + grid exactly as SPA ── */
.workshops-section {
  padding: 120px 60px;
  background: linear-gradient(180deg, #1c1c1c, #0a0a0a);
}
.workshops-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: rgba(255,255,255,0.04);
}
.ws-card {
  background: linear-gradient(160deg, #1c1c1c 0%, #0f0f0f 100%);
  padding: 34px 40px;
  cursor: pointer; position: relative; overflow: hidden;
  min-height: 140px;
  display: block;
}
.ws-card:hover {
  background: linear-gradient(170deg, #1c1c1c 0%, #0e0e0e 100%);
  box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.8), 0 8px 32px rgba(0,0,0,0.4);
}
.ws-card-content {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.ws-pill {
  background: rgba(231,76,60,0.1); color: rgba(231,76,60,0.5);
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px;
  border-radius: 40px; display: inline-block; margin-bottom: 18px;
  transition: color 0.4s ease;
}
.ws-card:hover .ws-pill { color: #E74C3C; }
.ws-title { color: rgba(255,255,255,0.75); font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; text-align: center; }
.ws-card:hover .ws-title { color: #FFFFFF; text-shadow: 0 0 28px rgba(255,255,255,0.2); }
.ws-tagline {
  color: rgba(255,255,255,0.38); font-size: 0.95rem; line-height: 1.5;
  text-align: center; margin-bottom: 4px; letter-spacing: 0.01em;
  transition: opacity 0.35s ease;
}
.ws-card:hover .ws-tagline { opacity: 0; }
.ws-desc { color: rgba(255,255,255,0.35); font-size: 1rem; line-height: 1.75; text-align: center; max-width: 300px; }
.ws-card:hover .ws-desc { color: #888; }
.ws-cta { margin-top: 20px; color: #E74C3C; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.ws-custom-card {
  background: linear-gradient(135deg, rgba(231,76,60,0.07), rgba(10,10,10,0.98));
  border: 1px solid rgba(231,76,60,0.2);
  padding: 34px 40px;
  cursor: pointer; position: relative; overflow: hidden;
  min-height: 140px;
  display: block;
}
.ws-custom-pill {
  background: rgba(231,76,60,0.15); color: #E74C3C;
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 40px;
  display: inline-block; margin-bottom: 16px;
}
.ws-custom-card h3 { color: #fff; font-weight: 700; font-size: 1.22rem; margin-bottom: 12px; }
.ws-custom-card .ws-custom-desc { color: #888; font-size: 1.1rem; line-height: 1.7; }
.ws-custom-card .ws-custom-cta { margin-top: 20px; color: #E74C3C; font-size: 0.82rem; font-weight: 700; }

/* ── CASE STUDIES HOME TEASER — 50/50 featured + stack, exact SPA ── */
.cases-section {
  padding: 120px 60px;
  background: linear-gradient(180deg, #0D0D0D, #1c1c1c);
  position: relative;
}
.case-teaser-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; align-items: stretch;
}
.case-teaser-stack { display: flex; flex-direction: column; gap: 24px; }
.case-teaser-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, rgba(26,26,26,0.8), rgba(13,13,13,0.95));
  cursor: pointer;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.case-teaser-card:hover {
  border-color: rgba(231,76,60,0.32);
  box-shadow: 0 0 0 1px rgba(231,76,60,0.12);
}
.case-teaser-card-featured { height: 884px; }
.case-teaser-card-compact { height: 430px; }
.case-img-wrap { width: 100%; overflow: hidden; position: relative; flex-shrink: 0; }
.case-teaser-card-featured .case-img-wrap { height: 460px; }
.case-teaser-card-compact .case-img-wrap { height: 230px; }
.case-teaser-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.case-img-scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(13,13,13,0.94) 100%); }
.case-img-caption { position: absolute; }
.case-teaser-card-featured .case-img-caption { bottom: 24px; right: 28px; left: 28px; }
.case-teaser-card-compact .case-img-caption { bottom: 16px; right: 20px; left: 20px; }
.case-tag { color: #E74C3C; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 6px; }
.case-title { color: #fff; font-weight: 800; line-height: 1.25; }
.case-teaser-card-featured .case-title { font-size: 1.3rem; }
.case-teaser-card-compact .case-title { font-size: 1.05rem; }
.case-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.case-teaser-card-featured .case-body { padding: 28px 32px 22px; }
.case-teaser-card-compact .case-body { padding: 14px 20px 12px; }
.case-essences { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.case-teaser-card-featured .case-essences { gap: 18px; }
.case-teaser-card-compact .case-essences { gap: 8px; }
.essence-block { min-height: 0; overflow: hidden; }
.essence-head { display: flex; align-items: center; gap: 8px; }
.case-teaser-card-featured .essence-head { margin-bottom: 10px; }
.case-teaser-card-compact .essence-head { margin-bottom: 5px; }
.essence-tick { display: inline-block; width: 3px; background: #E74C3C; border-radius: 2px; }
.case-teaser-card-featured .essence-tick { height: 14px; }
.case-teaser-card-compact .essence-tick { height: 11px; }
.essence-label { color: #E74C3C; font-weight: 700; letter-spacing: 0.12em; }
.case-teaser-card-featured .essence-label { font-size: 0.78rem; }
.case-teaser-card-compact .essence-label { font-size: 0.7rem; }
.essence-text { color: #A3A3A3; margin: 0; }
.case-teaser-card-featured .essence-text { font-size: 1.02rem; line-height: 1.6; }
.case-teaser-card-compact .essence-text { font-size: 0.88rem; line-height: 1.45; }
.case-cta-link {
  border-top: 1px solid rgba(231,76,60,0.18);
  color: #E74C3C; font-weight: 700; letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.case-teaser-card-featured .case-cta-link { margin-top: 20px; padding-top: 16px; font-size: 0.9rem; }
.case-teaser-card-compact .case-cta-link { margin-top: 10px; padding-top: 10px; font-size: 0.78rem; }
.case-cta-arrow { transition: transform 0.18s ease-out; display: inline-block; }
.case-teaser-card:hover .case-cta-arrow { transform: translateX(-4px); }

/* ── PRESS — right-aligned header, exact grid ── */
.press-section {
  padding: 120px 60px;
  background: linear-gradient(135deg, #0D0D0D, #1c1c1c);
  position: relative;
}
.press-headline-row { margin-bottom: 80px; }
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.press-cube {
  padding: 34px 24px; min-height: 150px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  cursor: pointer; transition: border 0.4s ease, background 0.4s ease;
  text-align: center;
}
.press-item:hover .press-cube, .press-item.is-active .press-cube {
  border-color: rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(231,76,60,0.04));
}
.press-pub { font-size: 1.4rem; font-weight: 800; color: #A3A3A3; transition: color 0.3s; margin-bottom: 8px; line-height: 1.3; }
.press-item:hover .press-pub, .press-item.is-active .press-pub { color: #fff; }
.press-count { color: #555; font-size: 0.78rem; }
.press-dd-head { padding: 20px 20px 12px; text-align: center; border-bottom: 1px solid rgba(231,76,60,0.15); }
.press-dd-pub { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; line-height: 1.2; }
.press-dd-count { color: #E74C3C; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; }
.press-dd-list { padding: 8px 0; }

/* ── CONTACT — approved v1 design (form + calendar) ── */
.contact-section {
  padding: 120px 60px;
  background: linear-gradient(180deg, #0D0D0D, #1c1c1c);
  position: relative;
}
.contact-glow { left: 20%; top: 30%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(231,76,60,0.05) 0%, transparent 70%); filter: blur(100px); }
.contact-head { text-align: center; margin-bottom: 80px; }
.contact-sub { color: #A3A3A3; font-size: 1.16rem; max-width: 500px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.contact-col { display: flex; flex-direction: column; }
.contact-col-title {
  color: #fff; font-weight: 700; margin-bottom: 32px; font-size: 1.27rem;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.red-tick { display: inline-block; width: 3px; height: 18px; background: #E74C3C; border-radius: 2px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.contact-form textarea { resize: none; flex: 1; min-height: 160px; }
.pill-label { color: #777; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 10px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pill {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: #A3A3A3; border-radius: 40px; padding: 7px 16px;
  font-size: 0.82rem; font-family: 'Assistant', sans-serif; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease; min-height: 34px;
}
.svc-pill:hover { border-color: rgba(231,76,60,0.4); color: #fff; }
.svc-pill.is-selected { background: rgba(231,76,60,0.15); border-color: #E74C3C; color: #E74C3C; }
.form-success {
  background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3);
  border-radius: 4px; padding: 14px; text-align: center;
  color: #E74C3C; font-weight: 600;
}
.form-error {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px; padding: 14px; text-align: center;
  color: #D9D9D9; font-weight: 600; font-size: 0.95rem;
}
[hidden] { display: none !important; }

/* ── Ganbaru Calendar (Calendly launcher) ── */
.gcal {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 22px; flex: 1; display: flex; flex-direction: column;
}
.gcal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gcal-month { color: #fff; font-weight: 700; font-size: 1.05rem; }
.gcal-nav {
  background: transparent; border: 1px solid rgba(255,255,255,0.12); color: #A3A3A3;
  border-radius: 6px; width: 36px; height: 36px; cursor: pointer; font-size: 1rem;
  transition: all 0.2s;
}
.gcal-nav:hover:not(:disabled) { border-color: rgba(231,76,60,0.5); color: #E74C3C; }
.gcal-nav:disabled { opacity: 0.3; cursor: default; }
.gcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.gcal-dow { color: #777; font-size: 0.72rem; font-weight: 700; text-align: center; padding: 6px 0; }
.gcal-day {
  background: rgba(255,255,255,0.03); border: 1px solid transparent; color: #D9D9D9;
  border-radius: 6px; aspect-ratio: 1; cursor: pointer; font-family: 'Assistant', sans-serif;
  font-size: 0.9rem; font-weight: 600; transition: all 0.18s;
}
.gcal-day:hover:not(:disabled) { border-color: #E74C3C; color: #E74C3C; background: rgba(231,76,60,0.08); }
.gcal-day:disabled { opacity: 0.22; cursor: default; }
.gcal-day.is-today { border-color: rgba(231,76,60,0.45); }
.gcal-hint { color: #777; font-size: 0.85rem; margin-top: 14px; text-align: center; }

/* ── FOOTER — exact SPA values ── */
.site-footer {
  background: #080808; border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 60px 40px; position: relative; overflow: hidden;
}
.footer-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.footer-cols { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand { text-align: right; }
.footer-logo { font-size: 2rem; margin-bottom: 10px; direction: ltr; unicode-bidi: embed; text-align: right; }
.footer-logo .dot { color: #E74C3C; }
.footer-tagline { color: #555; font-size: 1.16rem; line-height: 1.7; margin-bottom: 20px; text-align: right; }
.footer-social { display: flex; gap: 16px; justify-content: center; align-items: center; }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-col-title { color: #fff; font-weight: 700; font-size: 1.16rem; margin-bottom: 20px; letter-spacing: 0.05em; }
.footer-col-link {
  display: inline-block; color: #666; font-size: 1.16rem;
  transition: all 0.2s; cursor: pointer;
}
.footer-col-item { margin-bottom: 12px; }
.footer-col-link:hover { color: #E74C3C; transform: scale(1.05); filter: drop-shadow(0 0 6px rgba(231,76,60,0.6)); }
.footer-kanji-col { text-align: center; }
.footer-kanji { font-size: 80px; color: rgba(255,255,255,0.04); font-family: serif; line-height: 1; margin-bottom: 20px; user-select: none; }
.footer-legal { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer-legal a { color: #888; font-size: 0.82rem; font-weight: 600; transition: all 0.2s; }
.footer-legal a:hover { color: #E74C3C; filter: drop-shadow(0 0 6px rgba(231,76,60,0.5)); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.04); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { color: #888; font-size: 1.16rem; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-section { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Responsive — matches the SPA's mobile behavior ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .site-header { padding: 0 18px; }
  .desktop-nav { display: none !important; }
  .mobile-nav-btn { display: flex !important; }
  .hero { padding: 100px 20px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-brandmark { order: -1; }
  .services-section, .workshops-section, .cases-section, .press-section, .contact-section { padding: 80px 20px; }
  .services-grid, .workshops-grid { grid-template-columns: 1fr; }
  .case-teaser-grid { grid-template-columns: 1fr; }
  .case-teaser-card-featured { height: auto; min-height: 0; }
  .case-teaser-card-compact { height: auto; min-height: 0; }
  .case-teaser-card-featured .case-img-wrap { height: 230px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 44px; }
  .site-footer { padding: 48px 18px 28px; }
}

/* Anchor offset for the fixed header */
section[id] { scroll-margin-top: 68px; }

/* ═══ INTRO ANIMATION — "The Quiet Master's Signature" (faithful port) ═══
   300ms letters cascade LTR · 1200ms red dot seal · 1500ms underline RTL ·
   2000ms fade · 2400ms removed. Skippable (click/Esc). */
#gan-intro {
  position: fixed; inset: 0; z-index: 99999;
  background: #0D0D0D;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
#gan-intro.gi-phase4 { opacity: 0; pointer-events: none; cursor: default; }
.gi-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(231,76,60,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none; filter: blur(60px);
}
#gan-intro.gi-phase2 .gi-glow { opacity: 1; }
#gan-intro.gi-phase4 .gi-glow { opacity: 0; }
.gi-word {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 400; letter-spacing: 0.01em; line-height: 1;
  display: flex; align-items: baseline;
}
.gi-l {
  color: #ffffff; opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}
#gan-intro.gi-phase1 .gi-l { opacity: 1; transform: translateY(0); }
.gi-l:nth-child(1) { transition-delay: 0s; }
.gi-l:nth-child(2) { transition-delay: 0.08s; }
.gi-l:nth-child(3) { transition-delay: 0.16s; }
.gi-l:nth-child(4) { transition-delay: 0.24s; }
.gi-l:nth-child(5) { transition-delay: 0.32s; }
.gi-l:nth-child(6) { transition-delay: 0.4s; }
.gi-l:nth-child(7) { transition-delay: 0.48s; }
.gi-dot {
  color: #E74C3C; opacity: 0; transform: scale(0.2);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block; margin-left: 0.03em;
  text-shadow: 0 0 24px rgba(231,76,60,0.4);
}
#gan-intro.gi-phase2 .gi-dot {
  opacity: 1; transform: scale(1);
  animation: ganIntroPulse 1.8s ease-in-out infinite 0.6s;
}
#gan-intro.gi-phase4 .gi-dot { animation: none; }
.gi-underline {
  position: absolute; bottom: -0.18em; right: 0;
  height: 1.5px;
  background: linear-gradient(to left, #E74C3C, rgba(231,76,60,0.4));
  width: 0%; opacity: 0;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
#gan-intro.gi-phase3 .gi-underline {
  width: 100%; opacity: 1;
  box-shadow: 0 0 12px rgba(231,76,60,0.6);
}
.gi-skip {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: #3a3a3a; font-size: 0.65rem; letter-spacing: 0.2em;
  font-family: 'Assistant', sans-serif; font-weight: 600;
  opacity: 0; transition: opacity 0.6s ease 0.4s;
  pointer-events: none; text-transform: uppercase;
}
#gan-intro.gi-phase1 .gi-skip { opacity: 1; }
#gan-intro.gi-phase4 .gi-skip { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  #gan-intro .gi-l, #gan-intro .gi-dot { transition: none; }
}

/* ═══ Calendar refinements ═══ */
/* Numbers dead-center in each cell */
.gcal-day {
  display: flex; align-items: center; justify-content: center;
  padding: 0; line-height: 1;
}
/* Today — quiet red emphasis, per the brand's restraint */
.gcal-day.is-today {
  background: rgba(231,76,60,0.12);
  border-color: rgba(231,76,60,0.55);
  color: #E74C3C;
  font-weight: 700;
}
.gcal-day.is-today:hover:not(:disabled) { background: rgba(231,76,60,0.18); }

/* ═══ INNER PAGES — shared components (faithful ports) ═══ */
.detail-wrap { max-width: 1100px; margin: 0 auto; padding: 80px 60px; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 80px 60px; }
.page-dark { background: #0D0D0D; min-height: 100vh; }
.back-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.1);
  color: #A3A3A3; font-family: 'Assistant', sans-serif;
  padding: 8px 16px; border-radius: 4px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-size: 1.16rem;
  margin-bottom: 40px; transition: all 0.2s;
}
.back-btn:hover { border-color: rgba(231,76,60,0.4); color: #fff; }

/* Detail hero: 340px image with title overlay */
.detail-hero { width: 100%; height: 340px; border-radius: 12px; overflow: hidden; margin-bottom: 40px; position: relative; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: brightness(0.8); }
.detail-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(13,13,13,0.85) 100%); }
.detail-hero-caption { position: absolute; bottom: 32px; right: 40px; left: 40px; }
.detail-hero-tag { color: #E74C3C; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 8px; }
.detail-hero-title { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; margin: 0; }

.tagline-band {
  background: rgba(231,76,60,0.06); border: 1px solid rgba(231,76,60,0.15);
  border-radius: 8px; padding: 24px 28px; margin-bottom: 32px;
}
.tagline-band p { color: #E74C3C; font-weight: 700; font-size: 1.16rem; margin: 0; }
.detail-intro { color: #A3A3A3; line-height: 1.9; font-size: 1.16rem; margin-bottom: 48px; }

.red-dash-h {
  color: #fff; font-weight: 700; font-size: 1.16rem;
  display: flex; align-items: center; gap: 12px;
}
.red-dash-h::before { content: ""; display: inline-block; width: 24px; height: 2px; background: #E74C3C; flex-shrink: 0; }
.detail-block { margin-bottom: 36px; }
.detail-block h3 { margin-bottom: 14px; }
.detail-block p { color: #9A9A9A; line-height: 1.85; font-size: 1.1rem; margin: 0; padding-right: 32px; }

.bullets { padding-right: 36px; margin-bottom: 48px; }
.bullet-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.bullet-row .check { color: #E74C3C; margin-top: 4px; flex-shrink: 0; font-weight: 700; }
.bullet-row span:last-child { color: #9A9A9A; font-size: 1.1rem; line-height: 1.7; }

/* Meta strip (workshops) */
.meta-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.meta-chip { padding: 10px 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; }
.meta-chip .m-label { color: #555; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 4px; }
.meta-chip .m-value { color: #C0C0C0; font-size: 1.16rem; font-weight: 600; }

/* Modules grid (workshops) */
.modules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 48px; }
.module-card { padding: 20px 22px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; }
.module-card .m-num { color: #E74C3C; font-size: 0.72rem; font-weight: 700; margin-bottom: 8px; }
.module-card h3 { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.module-card p { color: #888; font-size: 1.16rem; line-height: 1.7; margin: 0; }

/* CTA boxes */
.cta-box {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 36px; text-align: center;
}
.cta-box p { color: #fff; font-weight: 700; font-size: 1.22rem; margin-bottom: 20px; }
.cta-box .cta-sub { color: #A3A3A3; font-size: 1.05rem; font-weight: 400; margin: -12px 0 24px; }
.cta-box-red {
  background: rgba(231,76,60,0.05); border: 1px solid rgba(231,76,60,0.15);
  border-radius: 8px; padding: 40px; text-align: center; margin-top: 56px;
}
.cta-box-red p { color: #fff; font-weight: 700; font-size: 1.27rem; margin-bottom: 16px; }

/* FAQ accordion (faithful port of FAQAccordion) */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.faq-item::after {
  content: ""; position: absolute; bottom: 0; right: 0;
  height: 1px; background: #E74C3C; width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open::after { width: 100%; box-shadow: 0 0 8px rgba(231,76,60,0.6); }
.faq-q {
  width: 100%; background: transparent; border: none;
  padding: 28px 0; display: flex; align-items: flex-start;
  gap: 20px; cursor: pointer; text-align: right;
}
.faq-num {
  color: #333; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  min-width: 28px; margin-top: 3px; transition: color 0.3s;
  font-family: 'Assistant', sans-serif; flex-shrink: 0;
}
.faq-item.is-open .faq-num { color: #E74C3C; }
.faq-q-text {
  color: #C0C0C0; font-size: 1.16rem; font-weight: 500; line-height: 1.5; flex: 1;
  transition: color 0.3s; font-family: 'Assistant', sans-serif;
}
.faq-item.is-open .faq-q-text { color: #fff; font-weight: 700; }
.faq-plus {
  flex-shrink: 0; width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 2px; color: #555; font-size: 1.16rem; line-height: 1;
}
.faq-item.is-open .faq-plus {
  border-color: #E74C3C; transform: rotate(45deg);
  background: rgba(231,76,60,0.12); color: #E74C3C;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.is-open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding-right: 48px; padding-bottom: 28px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  display: flex; gap: 20px; align-items: stretch;
}
.faq-item.is-open .faq-a-inner {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}
.faq-a-bar { width: 2px; background: linear-gradient(180deg, #E74C3C, transparent); flex-shrink: 0; border-radius: 1px; margin-top: 2px; }
.faq-a-inner p { color: #888; line-height: 1.85; font-size: 1.16rem; font-family: 'Assistant', sans-serif; margin: 0; }

/* Articles hub grid + cards */
.hub-head { display: flex; align-items: center; gap: 16px; margin-bottom: 64px; }
.hub-head .back-btn { margin-bottom: 0; }
.hub-tag { color: #E74C3C; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; }
.hub-title { color: #fff; font-size: 2rem; font-weight: 800; margin-top: 4px; }
.hub-title .dot { color: #E74C3C; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card {
  display: block; padding: 0; overflow: hidden;
  background: linear-gradient(135deg, rgba(26,26,26,0.8), rgba(13,13,13,0.95));
  border: 1px solid rgba(255,255,255,0.07); border-radius: 12px;
  cursor: pointer; transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.article-card:hover { border-color: rgba(231,76,60,0.32); box-shadow: 0 0 0 1px rgba(231,76,60,0.12); }
.ac-img-wrap { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.ac-img-wrap.h200 { aspect-ratio: auto; height: 200px; }
.ac-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.5s ease; }
.article-card:hover .ac-img { transform: scale(1.04); }
.ac-img-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, rgba(13,13,13,0.85)); }
.ac-body { padding: 20px 24px 24px; }
.ac-meta { display: flex; gap: 8px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.ac-pill { background: rgba(231,76,60,0.1); color: #E74C3C; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 40px; }
.ac-pill.cs { background: rgba(231,76,60,0.12); font-size: 0.68rem; letter-spacing: 0.05em; }
.ac-dot { color: #555; font-size: 0.75rem; }
.ac-read { color: #555; font-size: 0.75rem; }
.ac-title { color: #fff; font-weight: 700; font-size: 1.16rem; margin-bottom: 10px; line-height: 1.4; }
.ac-excerpt { color: #A3A3A3; font-size: 0.875rem; line-height: 1.7; margin-bottom: 18px; }
.ac-footer { display: flex; justify-content: space-between; align-items: center; }
.ac-date { color: #555; font-size: 0.75rem; }
.ac-more { color: #E74C3C; font-size: 0.8rem; font-weight: 700; }

/* Article detail body */
.article-hero-wrapper { width: 100%; margin-bottom: 32px; position: relative; }
.article-hero-image-frame { width: 100%; aspect-ratio: 16 / 9; max-height: 440px; border-radius: 12px; overflow: hidden; position: relative; }
.article-hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: brightness(0.8); }
.article-hero-title-overlay { position: absolute; bottom: 32px; right: 40px; left: 40px; z-index: 2; }
.article-hero-title-overlay h1 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; margin: 0; }
.art-meta { display: flex; gap: 12px; margin-bottom: 40px; align-items: center; flex-wrap: wrap; color: #666; font-size: 0.8rem; }
.art-meta .sep { color: #444; }
.article-body-container { max-width: 780px; margin: 0 auto; }
.art-intro {
  color: #C0C0C0; font-size: 1.27rem; line-height: 1.85; margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 40px; font-weight: 400;
}
.art-h2 {
  color: #fff; font-size: 1.35rem; font-weight: 800;
  margin-top: 48px; margin-bottom: 20px; line-height: 1.3;
  display: flex; align-items: center; gap: 14px;
}
.art-h2::before { content: ""; display: inline-block; width: 28px; height: 3px; background: #E74C3C; border-radius: 2px; flex-shrink: 0; }
.art-p { color: #A3A3A3; line-height: 1.9; font-size: 1.16rem; margin-bottom: 22px; }
.art-quote {
  margin: 40px 0; padding: 24px 28px;
  border-right: 4px solid #E74C3C; background: rgba(231,76,60,0.05);
  border-radius: 0 8px 8px 0;
}
.art-quote p { color: #fff; font-size: 1.27rem; font-weight: 600; line-height: 1.7; font-style: italic; margin: 0; }
.author-block {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(231,76,60,0.15); border: 1px solid rgba(231,76,60,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.27rem; flex-shrink: 0; color: #fff;
}
.author-name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.author-name-suffix { color: #fff; font-weight: 700; font-size: 1.05rem; }
a.author-name, a.author-avatar { transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
a.author-name:hover { color: #E74C3C; }
a.author-avatar:hover { background: rgba(231,76,60,0.28); border-color: rgba(231,76,60,0.6); }
.author-role { color: #555; font-size: 0.78rem; margin-top: 2px; }

/* Case study detail */
.cs-tags { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.cs-tag-red { background: rgba(231,76,60,0.12); color: #E74C3C; font-size: 0.72rem; font-weight: 700; padding: 5px 14px; border-radius: 40px; }
.cs-tag-gray { background: rgba(255,255,255,0.06); color: #A3A3A3; font-size: 0.72rem; font-weight: 600; padding: 5px 14px; border-radius: 40px; }
.cs-tag-dim { background: rgba(255,255,255,0.04); color: #666; font-size: 0.72rem; padding: 5px 14px; border-radius: 40px; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.cs-panel { padding: 28px 32px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; }
.cs-panel-label { color: #E74C3C; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 12px; text-transform: uppercase; }
.cs-panel p { color: #A3A3A3; font-size: 1.16rem; line-height: 1.85; margin: 0; white-space: pre-line; }
.cs-panel-full { margin-bottom: 24px; }
.cs-result { padding: 28px 32px; background: rgba(231,76,60,0.06); border: 1px solid rgba(231,76,60,0.2); border-radius: 10px; margin-bottom: 24px; }
.cs-result p { color: #fff; font-size: 1.16rem; font-weight: 600; line-height: 1.8; margin: 0; white-space: pre-line; }
.cs-quote { margin: 0; padding: 24px 28px; border-right: 4px solid #E74C3C; background: rgba(231,76,60,0.03); border-radius: 0 8px 8px 0; }
.cs-quote p { color: #fff; font-size: 1.22rem; font-weight: 600; line-height: 1.7; font-style: italic; margin: 0; }

/* About page */
.about-hero-strip { padding: 120px 60px 80px; background: linear-gradient(135deg, #0D0D0D 0%, #1c1c1c 100%); position: relative; overflow: hidden; }
.about-hero-glow { left: 30%; top: 30%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(231,76,60,0.05) 0%, transparent 70%); filter: blur(100px); }
.about-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.about-portrait-frame { width: 100%; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.about-portrait-frame img { width: 100%; height: auto; display: block; filter: brightness(0.92) contrast(1.05); }
.about-portrait-bar { position: absolute; bottom: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, transparent, #E74C3C); }
.name-card { margin-top: 20px; padding: 20px 24px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; }
.name-card .nc-name { color: #fff; font-weight: 800; font-size: 1.27rem; margin-bottom: 4px; }
.name-card .nc-role { color: #E74C3C; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 12px; }
.name-card .nc-hr { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 12px; }
.nc-stats { display: flex; flex-direction: column; gap: 6px; }
.nc-stat { display: flex; justify-content: space-between; align-items: center; }
.nc-stat span:first-child { color: #777; font-size: 0.8rem; }
.nc-stat span:last-child { color: #E74C3C; font-weight: 700; font-size: 1.1rem; }
.about-h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 10px; }
.about-h1 .dot { color: #E74C3C; }
.about-sub { color: #A3A3A3; font-size: 1.22rem; font-weight: 400; margin-bottom: 40px; }
.about-p { color: #9A9A9A; line-height: 1.9; margin-bottom: 22px; font-size: 1.22rem; }
.about-quote { border-right: 3px solid #E74C3C; padding-right: 24px; }
.about-quote .q-text { color: #fff; font-size: 1.22rem; font-weight: 600; line-height: 1.7; font-style: italic; }
.about-quote .q-author { color: #E74C3C; font-size: 1.16rem; margin-top: 12px; font-weight: 700; }
.values-strip { padding: 80px 60px; background: #0a0a0a; }
.values-tag { color: #E74C3C; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 40px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 32px; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); transition: border-color 0.2s; }
.value-card:hover { border-color: rgba(231,76,60,0.2); }
.value-kanji { font-size: 2.8rem; color: rgba(255,255,255,0.1); font-family: serif; margin-bottom: 16px; line-height: 1; }
.value-title { color: #fff; font-weight: 700; margin-bottom: 10px; font-size: 1.16rem; }
.value-desc { color: #666; font-size: 1.16rem; line-height: 1.8; }
.faq-section-strip { padding: 120px 60px; background: linear-gradient(180deg, #0D0D0D, #0a0a0a); position: relative; overflow: hidden; }
.faq-inner { max-width: 820px; margin: 0 auto; }
.cta-strip { padding: 60px; text-align: center; background: #0D0D0D; }
.cta-strip .cs-line1 { color: #fff; font-weight: 700; font-size: 1.27rem; margin-bottom: 8px; }
.cta-strip .cs-line2 { color: #A3A3A3; font-size: 1.05rem; margin-bottom: 24px; }

/* Legal pages */
.legal-head { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.legal-tag { color: #E74C3C; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 12px; }
.legal-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.2; }
.legal-meta { color: #777; font-size: 0.82rem; margin-bottom: 40px; }
.legal-sec { margin-bottom: 44px; }
.legal-sec h2 { color: #fff; font-weight: 700; font-size: 1.22rem; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.legal-sec h2::before { content: ""; display: inline-block; width: 24px; height: 2px; background: #E74C3C; flex-shrink: 0; }
.legal-sec .legal-body { color: #9A9A9A; font-size: 1.16rem; line-height: 1.9; white-space: pre-line; padding-right: 36px; }
.legal-email { margin-top: 12px; }
.legal-email a { color: #E74C3C; font-weight: 600; border-bottom: 1px solid rgba(231,76,60,0.3); padding-bottom: 2px; transition: border-color 0.2s; }
.legal-email a:hover { border-bottom-color: #E74C3C; }
.a11y-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 52px; }
.a11y-feature { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 24px; transition: border-color 0.2s; }
.a11y-feature:hover { border-color: rgba(231,76,60,0.25); }
.a11y-feature .f-icon { font-size: 1.6rem; margin-bottom: 12px; }
.a11y-feature .f-title { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.a11y-feature .f-desc { color: #7A7A7A; font-size: 0.83rem; line-height: 1.8; }
.legal-contact-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 28px 32px; }
.legal-intro-band { background: rgba(231,76,60,0.06); border: 1px solid rgba(231,76,60,0.15); border-radius: 8px; padding: 28px 32px; margin-bottom: 48px; }
.legal-intro-band p { color: #C0C0C0; line-height: 1.9; font-size: 1.1rem; margin: 0; }

/* 404 */
.nf-wrap {
  min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 80px 24px;
  background: linear-gradient(135deg, #0D0D0D 0%, #0D0D0D 60%, #1c1c1c 100%);
  text-align: center;
}
.nf-kanji {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-size: clamp(220px, 40vw, 460px); color: rgba(255,255,255,0.03);
  font-family: serif; line-height: 1; pointer-events: none; user-select: none;
}
.nf-code {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: #fff;
  letter-spacing: -0.02em; direction: ltr;
}
.nf-code .dot { color: #E74C3C; }
.nf-title { color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; margin: 28px 0 10px; }
.nf-sub { color: #A3A3A3; font-size: 1.16rem; line-height: 1.8; max-width: 440px; margin: 0 auto 40px; }
.nf-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══ Accessibility widget (floating, injected by main.js) ═══ */
.a11y-btn {
  position: fixed; left: 18px; bottom: 18px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  background: #E74C3C; color: #fff; border: none; cursor: pointer;
  font-size: 1.35rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.a11y-btn:hover { transform: scale(1.06); box-shadow: 0 8px 26px rgba(231,76,60,0.35); }
.a11y-panel {
  position: fixed; left: 18px; bottom: 76px; z-index: 800;
  width: 280px; max-height: 70vh; overflow-y: auto;
  background: rgba(16,16,16,0.98); border: 1px solid rgba(231,76,60,0.3);
  border-radius: 12px; padding: 18px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.6);
  display: none;
}
.a11y-panel.is-open { display: block; animation: fadeIn 0.2s ease; }
.a11y-panel h3 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
.a11y-group { margin-bottom: 14px; }
.a11y-group-label { color: #777; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 8px; }
.a11y-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.a11y-size-btn {
  padding: 8px 4px; flex: 1; min-width: 38px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12);
  color: #A3A3A3; border-radius: 6px; cursor: pointer;
  font-family: 'Assistant', sans-serif; font-size: 0.78rem; font-weight: 700;
  transition: all 0.15s;
}
.a11y-size-btn.is-active { background: rgba(231,76,60,0.15); border-color: #E74C3C; color: #E74C3C; }
.a11y-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; margin-bottom: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  color: #C0C0C0; border-radius: 8px; cursor: pointer;
  font-family: 'Assistant', sans-serif; font-size: 0.88rem; font-weight: 600;
  transition: all 0.15s; text-align: right;
}
.a11y-toggle .dot-ind { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: background 0.15s; flex-shrink: 0; }
.a11y-toggle.is-on { border-color: #E74C3C; color: #fff; }
.a11y-toggle.is-on .dot-ind { background: #E74C3C; box-shadow: 0 0 8px rgba(231,76,60,0.7); }
.a11y-reset {
  width: 100%; padding: 10px; margin-top: 6px;
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  color: #A3A3A3; border-radius: 8px; cursor: pointer;
  font-family: 'Assistant', sans-serif; font-size: 0.85rem; font-weight: 700;
}
.a11y-reset:hover { border-color: rgba(231,76,60,0.5); color: #fff; }

/* Inner-page responsive */
@media (max-width: 860px) {
  .detail-wrap, .legal-wrap { padding: 48px 20px; }
  .modules-grid, .cs-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-hero-strip, .values-strip, .faq-section-strip { padding: 64px 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .hub-head { flex-direction: column; align-items: flex-start; }
}

/* ═══ Floating utility buttons — a11y + cookies (bottom-left stack) ═══ */
.a11y-btn {
  left: 18px; bottom: 18px;
  background: linear-gradient(145deg, #E74C3C, #C0392B);
}
.a11y-btn svg { width: 26px; height: 26px; display: block; }
.cookie-btn {
  position: fixed; left: 76px; bottom: 18px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  background: #161616; color: #E8B26A;
  border: 1px solid rgba(255,255,255,0.12); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cookie-btn:hover { transform: scale(1.06); border-color: rgba(231,76,60,0.5); }
.cookie-btn svg { width: 24px; height: 24px; display: block; }

/* ═══ Cookie consent banner ═══ */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 900;
  max-width: 680px; margin: 0 auto;
  background: rgba(16,16,16,0.98);
  border: 1px solid rgba(231,76,60,0.3); border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.65);
  animation: fadeIn 0.35s ease;
}
.cookie-banner h3 { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.cookie-banner h3 svg { width: 20px; height: 20px; color: #E8B26A; flex-shrink: 0; }
.cookie-banner p { color: #A3A3A3; font-size: 0.92rem; line-height: 1.7; margin-bottom: 16px; }
.cookie-banner p a { color: #E74C3C; font-weight: 600; border-bottom: 1px solid rgba(231,76,60,0.3); }
.cookie-banner p a:hover { border-bottom-color: #E74C3C; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-accept { font-size: 0.95rem; padding: 11px 26px; }
.cookie-essentials {
  background: transparent; border: 1px solid rgba(255,255,255,0.18);
  color: #C0C0C0; font-family: 'Assistant', sans-serif;
  font-size: 0.95rem; font-weight: 600; padding: 11px 22px;
  border-radius: 2px; cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px;
}
.cookie-essentials:hover { border-color: rgba(231,76,60,0.45); color: #fff; }

/* ═══ Cookie preferences panel (floating) ═══ */
.cookie-panel {
  position: fixed; left: 18px; bottom: 76px; z-index: 800;
  width: 300px; background: rgba(16,16,16,0.98);
  border: 1px solid rgba(231,76,60,0.3); border-radius: 12px;
  padding: 18px; box-shadow: 0 20px 48px rgba(0,0,0,0.6);
  display: none;
}
.cookie-panel.is-open { display: block; animation: fadeIn 0.2s ease; }
.cookie-panel h3 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 12px; }
.cookie-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
.cookie-row .cr-info { flex: 1; }
.cookie-row .cr-title { color: #fff; font-size: 0.88rem; font-weight: 700; }
.cookie-row .cr-desc { color: #777; font-size: 0.72rem; margin-top: 2px; line-height: 1.5; }
.cookie-row .cr-always { color: #E74C3C; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.cookie-switch {
  position: relative; width: 40px; height: 22px; flex-shrink: 0;
  background: rgba(255,255,255,0.12); border: none; border-radius: 20px;
  cursor: pointer; transition: background 0.2s;
}
.cookie-switch::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #888; transition: transform 0.2s, background 0.2s;
}
.cookie-switch.is-on { background: rgba(231,76,60,0.35); }
.cookie-switch.is-on::after { transform: translateX(-18px); background: #E74C3C; box-shadow: 0 0 8px rgba(231,76,60,0.7); }
.cookie-panel-link { display: block; color: #A3A3A3; font-size: 0.78rem; margin: 10px 2px 12px; }
.cookie-panel-link:hover { color: #E74C3C; }
.cookie-save { width: 100%; font-size: 0.9rem; padding: 10px; }

/* Cookies page table */
.cookie-table { width: 100%; border-collapse: collapse; margin: 20px 0 8px; font-size: 0.92rem; }
.cookie-table th {
  color: #E74C3C; font-weight: 700; text-align: right; padding: 10px 12px;
  border-bottom: 1px solid rgba(231,76,60,0.3); font-size: 0.8rem; letter-spacing: 0.05em;
}
.cookie-table td { color: #9A9A9A; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); line-height: 1.6; vertical-align: top; }
.cookie-table td:first-child { color: #C0C0C0; font-weight: 600; direction: ltr; text-align: right; font-family: monospace, 'Assistant'; font-size: 0.85rem; }
@media (max-width: 640px) {
  .cookie-table { font-size: 0.8rem; }
  .cookie-table th, .cookie-table td { padding: 8px 6px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
}


/* Wide symmetric CTA under the home case-studies teaser */
.wide-cta {
  display: block; width: 100%; text-align: center;
  margin-top: 28px; padding: 18px 32px; font-size: 1.16rem;
}

/* ═══ Hamburger fix — kill the UA default gray button, 3 red bars on transparent ═══ */
.mobile-nav-btn {
  background: transparent !important;
  border: none !important;
  outline: none;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  cursor: pointer;
  align-items: center !important;
  justify-content: center !important;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-btn:hover,
.mobile-nav-btn:active,
.mobile-nav-btn:focus {
  background: transparent !important;
  border: none !important;
}
.mobile-nav-btn:focus-visible {
  outline: 2px solid rgba(231,76,60,0.6);
  outline-offset: 4px;
  border-radius: 6px;
}
.hamburger-bars > span { background: #E74C3C !important; }

/* ═══ FAQ refinements ═══ */
/* Desktop: tighter rows — less air above/below each question */
.faq-q { padding: 15px 0; }
.faq-a-inner { padding-bottom: 18px; }
.faq-item.is-open .faq-a { max-height: 640px; }

/* Mobile: the global touch-target rule turns .faq-item/.faq-q into
   inline-flex, which collapses the question to half a row (RTL: text
   crushed to the right, left side empty). Restore proper block/flex
   layout so the question spans the full row. */
@media (max-width: 768px) {
  .faq-item {
    display: block !important;
    width: 100%;
  }
  .faq-q {
    display: flex !important;
    width: 100% !important;
    align-items: flex-start !important;
    min-height: 48px;
    padding: 14px 0;
    gap: 12px;
  }
  .faq-q-text { flex: 1 1 auto; min-width: 0; }
  .faq-a { display: block; }
  .faq-a-inner { padding-right: 40px; }
}

/* ═══ Hub grids — gray-to-color hover (matches the homepage language) ═══ */
.gray-cards .ac-img {
  filter: grayscale(100%) brightness(0.82);
  transition: filter 0.45s ease, transform 0.5s ease;
}
.gray-cards .article-card:hover .ac-img { filter: none; }
/* Mobile: colorize when the card is scroll-centered (observer already runs) */
@media (max-width: 860px) {
  .gray-cards .article-card.is-in-view .ac-img { filter: none; }
}

/* Workshops hub: two tiles per row on desktop */
.grid-2col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-2col { grid-template-columns: 1fr; } }

/* ═══ Custom-package tile (the sixth/fourth cube) ═══ */
.custom-hub-card {
  background: linear-gradient(135deg, rgba(231,76,60,0.07), rgba(10,10,10,0.98));
  border-color: rgba(231,76,60,0.22);
}
.custom-hub-card:hover {
  border-color: rgba(231,76,60,0.5);
  box-shadow: 0 0 0 1px rgba(231,76,60,0.2), 0 12px 40px rgba(0,0,0,0.4);
}
.custom-card-visual {
  width: 100%; height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #161616 0%, #0c0c0c 100%);
  overflow: hidden;
}
.custom-card-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 65%, rgba(231,76,60,0.10) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.45s ease;
}
.custom-hub-card:hover .custom-card-visual::after { opacity: 1; }
.cc-kanji {
  font-family: serif; font-size: 88px; line-height: 1;
  color: rgba(255,255,255,0.10); user-select: none;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}
.custom-hub-card:hover .cc-kanji {
  color: rgba(231,76,60,0.55);
  text-shadow: 0 0 32px rgba(231,76,60,0.35);
}
.custom-hub-card .ac-more { font-weight: 800; }

/* ═══ About → Ran Harel bio page affordance ═══ */
a.about-portrait-frame { display: block; cursor: pointer; }
/* Grayscale by default, full colour on hover — same language as the hub grids */
a.about-portrait-frame img {
  filter: grayscale(100%) brightness(0.85);
  transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
a.about-portrait-frame:hover img {
  filter: grayscale(0%) brightness(1) contrast(1.05);
  transform: scale(1.03);
}
/* No hover on touch devices: show it in colour */
@media (hover: none) {
  a.about-portrait-frame img { filter: none; }
}
.bio-link-hint {
  position: absolute; bottom: 14px; right: 16px; z-index: 2;
  color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  background: rgba(231,76,60,0.92); padding: 7px 14px; border-radius: 40px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
a.about-portrait-frame:hover .bio-link-hint { opacity: 1; transform: translateY(0); }
a.nc-name {
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.25s ease;
}
a.nc-name:hover { color: #E74C3C; }
.nc-arrow {
  color: #E74C3C; font-size: 0.9rem;
  opacity: 0; transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
a.nc-name:hover .nc-arrow { opacity: 1; transform: translateX(0); }
/* Mobile: the hint is always visible (no hover) */
@media (max-width: 860px) {
  .bio-link-hint { opacity: 1; transform: none; }
  .nc-arrow { opacity: 1; transform: none; }
}

/* ═══ In-copy internal links (SEO anchors inside articles & case studies) ═══ */
.art-p a, .art-intro a, .cs-panel p a, .cs-result p a {
  color: #E74C3C;
  font-weight: 600;
  border-bottom: 1px solid rgba(231,76,60,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.art-p a:hover, .art-intro a:hover, .cs-panel p a:hover, .cs-result p a:hover {
  border-bottom-color: #E74C3C;
  color: #ff6b58;
}

/* ═══ Branded page transition — the "seal curtain" ═══
   Slides up over the page before navigating, so arriving at the
   thank-you page feels like one continuous gesture. */
.gan-curtain {
  position: fixed; inset: 0; z-index: 99998;
  background: linear-gradient(180deg, #0D0D0D 0%, #131313 100%);
  transform: translateY(101%);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.gan-curtain::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to left, transparent 8%, #E74C3C 50%, transparent 92%);
  box-shadow: 0 0 20px rgba(231,76,60,0.85);
}
.gan-curtain.is-in { transform: translateY(0); }
.gan-curtain .gc-mark {
  font-family: serif; font-size: 68px; color: rgba(231,76,60,0.9);
  opacity: 0; transform: scale(0.55); user-select: none;
  transition: opacity 0.35s ease 0.28s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s;
}
.gan-curtain.is-in .gc-mark { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .gan-curtain { transition-duration: 0.15s; }
  .gan-curtain .gc-mark { transition: none; opacity: 1; transform: none; }
}

/* ═══ Press logos — replace publisher text with the real mark, muted → bright ═══
   Logos are pre-processed to pure white ink on transparent (see /images/press-*.png),
   so opacity alone gives the same muted-gray → white transition already used for
   .press-pub text — no color ever leaks in, keeping the row visually quiet. */
.press-logo {
  max-width: 132px; max-height: 38px;
  width: auto; height: auto;
  object-fit: contain;
  display: block; margin: 0 auto 14px;
  opacity: 0.6;
  transition: opacity 0.35s ease;
}
.press-item:hover .press-logo,
.press-item.is-active .press-logo { opacity: 1; }
/* This mark is a compact badge (~1.6:1) rather than a wide wordmark, so the
   shared max-height left it looking visibly smaller than its neighbours.
   +80% brings its footprint to visual parity with the wordmark logos. */
.press-logo-shivuk { max-width: 238px; max-height: 68px; }
@media (max-width: 860px) {
  .press-logo { max-width: 112px; max-height: 34px; margin-bottom: 12px; }
  .press-logo-shivuk { max-width: 202px; max-height: 61px; }
}

/* ═══ Phone / WhatsApp — shared contact affordances ═══ */
.footer-phone {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  color: #888; font-size: 0.95rem; font-weight: 700; direction: ltr;
  margin-bottom: 18px; transition: color 0.25s ease;
}
.footer-phone:hover { color: #E74C3C; }
.footer-phone svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Contact page: direct line, above the form/calendar grid */
.contact-direct {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin: 28px 0 8px;
}
.contact-direct-label { color: #666; font-size: 0.92rem; }
.contact-direct-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* Same visual family as .cta-btn / .btn-ghost — no external brand colors,
   same 2px / 4px sharp-corner radius, same weight and palette. */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 9px;
  background: #0D0D0D; border: 1px solid #E74C3C;
  color: #fff; font-family: 'Assistant', sans-serif; font-weight: 700;
  font-size: 1rem; padding: 14px 28px; border-radius: 2px;
  letter-spacing: 0.5px; cursor: pointer;
  transition: box-shadow 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.btn-whatsapp:hover { border-color: #ff6b58; box-shadow: 0 0 0 1px rgba(231,76,60,0.15); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-tel {
  display: inline-flex; align-items: center; gap: 9px; direction: ltr;
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  color: #A3A3A3; font-family: 'Assistant', sans-serif; font-weight: 600;
  font-size: 1rem; padding: 14px 28px; border-radius: 4px; cursor: pointer;
  transition: all 0.25s;
}
.btn-tel:hover { border-color: rgba(231,76,60,0.4); color: #fff; }
.btn-tel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

@media (max-width: 860px) {
  .contact-direct { flex-direction: column; gap: 10px; margin: 20px 0 4px; }
}

/* ═══ Case study "tip" callout — a distinct value-add, not part of the narrative ═══ */
.cs-tip {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 8px; margin-bottom: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.09);
  border-right: 3px solid #E74C3C;
  border-radius: 10px;
}
.cs-tip-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(231,76,60,0.12); border: 1px solid rgba(231,76,60,0.32);
  display: flex; align-items: center; justify-content: center; color: #E74C3C;
}
.cs-tip-icon svg { width: 19px; height: 19px; }
.cs-tip-body { flex: 1; }
.cs-tip-body .cs-panel-label { margin-bottom: 10px; }
.cs-tip-body p { color: #C0C0C0; font-size: 1.08rem; line-height: 1.85; margin: 0; }
@media (max-width: 700px) {
  .cs-tip { padding: 22px 20px; gap: 14px; }
}
