/* ============================================================
   BeyondWork — Near-future × Law Book × Refined
   Glassmorphism · Geometric Grid · Glow · Particles · Serif Accents
   ============================================================ */

/* --- Custom Properties --- */
:root {
    --color-bg:         #080c16;
    --color-bg-deep:    #050810;
    --color-bg-alt:     #0c1120;
    --color-surface:    rgba(12, 17, 35, 0.65);
    --color-surface-solid: #0f1630;
    --color-glass:      rgba(12, 22, 45, 0.75);
    --color-glass-border: rgba(180, 160, 110, 0.1);
    --color-border:     rgba(60, 55, 80, 0.25);
    --color-border-glow: rgba(200, 175, 100, 0.25);

    --color-text:       #c8d4e8;
    --color-text-bright:#e6e9f0;
    --color-text-muted: #a0b4cc;

    --color-accent:     #c9a84c;
    --color-accent-2:   #8a7530;
    --color-accent-bright: #e8cb6a;
    --color-cyan:       #4a9eaf;
    --color-cyan-bright:#6ec7d8;
    --color-gold:       #c9a84c;
    --color-gold-light: #e8cb6a;
    --color-glow-gold:  rgba(201, 168, 76, 0.1);
    --color-glow-cyan:  rgba(74, 158, 175, 0.08);

    --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Inter', 'Noto Sans JP', system-ui, -apple-system, sans-serif;

    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  2rem;
    --space-xl:  3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    --max-width: 1100px;
    --header-h:  68px;

    --radius:    6px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0, 0.15, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
ul, ol { list-style: none; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-bright); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
    font-family: inherit; font-size: inherit; color: inherit;
    border: none; outline: none; background: none;
}

/* --- Particle Canvas (behind everything) --- */
#particle-canvas {
    position: fixed; inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* --- Geometric Background Pattern (law book grid lines) --- */
.hex-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(201,168,76,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* --- Light Streak Overlay --- */
.light-streaks {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    overflow: hidden;
}
.light-streaks::before,
.light-streaks::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 200vh;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
    opacity: 0.5;
    animation: lightStreak 14s ease-in-out infinite;
}
.light-streaks::before { left: 18%; animation-delay: 0s; }
.light-streaks::after  { left: 78%; animation-delay: 7s; }
@keyframes lightStreak {
    0%, 100% { transform: translateY(-100vh); opacity: 0; }
    30%      { opacity: 0.5; }
    50%      { opacity: 0.25; }
    70%      { opacity: 0.5; }
    100%     { transform: translateY(100vh); opacity: 0; }
}

/* --- 3D Perspective Container --- */
.perspective-wrap {
    perspective: 1200px;
    perspective-origin: 50% 40%;
}

/* --- Main Content Wrapper --- */
.page-content {
    position: relative;
    z-index: 1;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(8, 12, 22, 0.85);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: rgba(8, 12, 22, 0.96);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(201, 168, 76, 0.06);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

/* Logo */
.site-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--color-text-bright);
    white-space: nowrap;
}
.logo-mark {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
    border-radius: 4px;
    color: var(--color-bg); font-weight: 700; font-size: 12px;
    letter-spacing: -0.5px;
    font-family: var(--font-serif);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}
.logo-mark::after {
    content: '';
    position: absolute; inset: -2px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
    border-radius: 6px;
    z-index: -1;
    opacity: 0.25;
    filter: blur(8px);
}
.logo-text {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    font-family: var(--font-serif);
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: var(--space-lg); align-items: center; }
.main-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
}
.main-nav a::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-cyan));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}
.main-nav a:hover,
.main-nav li.current a {
    color: var(--color-accent-bright);
}
.main-nav a:hover::after,
.main-nav li.current a::after {
    transform: scaleX(1);
}

/* Language Switch */
.lang-switch {
    font-size: 0.76rem;
    padding: 5px 14px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 3px;
    color: var(--color-text-muted);
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.lang-switch::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--color-glow-gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.lang-switch:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.lang-switch:hover::before { opacity: 1; }

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-toggle span {
    display: block; width: 22px; height: 1.5px;
    background: var(--color-accent); transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: rgba(8, 12, 22, 0.97);
        backdrop-filter: blur(24px);
        padding: var(--space-xl) var(--space-lg);
        transform: translateX(100%);
        opacity: 0; pointer-events: none;
        transition: all var(--transition);
    }
    .main-nav.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
    .main-nav ul { flex-direction: column; gap: var(--space-lg); }
    .main-nav a { font-size: 1.1rem; }
    .header-inner { padding: 0 var(--space-md); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + var(--space-2xl)) var(--space-lg) var(--space-3xl);
    position: relative;
    overflow: hidden;
}

/* Multi-layer hero background — photo base */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1920&q=80');
    background-size: cover;
    background-position: center;
    -webkit-filter: brightness(0.6) saturate(0.7) hue-rotate(200deg);
    filter: brightness(0.6) saturate(0.7) hue-rotate(200deg);
    pointer-events: none;
    z-index: 0;
}

/* Hero gradient overlay — dark × blue unification */
.hero-overlay {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(4, 8, 20, 0.4) 0%,
        rgba(8, 16, 40, 0.3) 50%,
        rgba(4, 8, 20, 0.4) 100%
    );
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 8, 15, 0.3) 0%,
        rgba(4, 8, 15, 0.2) 50%,
        rgba(4, 8, 15, 0.7) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Hero scale/balance texture (law book inspired grid) */
.hero-texture {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.12;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(201,168,76,0.3) 59px, rgba(201,168,76,0.3) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(201,168,76,0.15) 59px, rgba(201,168,76,0.15) 60px);
    background-size: 60px 60px;
    animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Floating geometric accents - law/scale motifs */
.hero-geo {
    position: absolute; z-index: 0; pointer-events: none;
}
.hero-geo-1 {
    top: 15%; left: 8%;
    width: 100px; height: 100px;
    border: 1px solid rgba(201, 168, 76, 0.5);
    border-radius: 2px;
    transform: rotate(45deg);
    animation: floatSlow 10s ease-in-out infinite;
}
.hero-geo-2 {
    bottom: 25%; right: 10%;
    width: 70px; height: 70px;
    border: 1px solid rgba(201, 168, 76, 0.5);
    border-radius: 50%;
    animation: floatSlow 12s ease-in-out infinite reverse;
}
.hero-geo-3 {
    top: 55%; left: 5%;
    width: 50px; height: 50px;
    border: 1px solid rgba(201, 168, 76, 0.5);
    animation: floatSlow 14s ease-in-out infinite;
}
.hero-geo-4 {
    top: 20%; right: 15%;
    width: 120px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
    animation: floatSlow 8s ease-in-out infinite;
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(-15px); opacity: 0.6; }
}

/* ============================================================
   GEO-LINES — Hero section only (law/balance motifs)
   ============================================================ */
.hero .geo-lines {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    overflow: hidden;
}

/* Hexagons */
.hero .geo-hex {
    position: absolute;
    border: 1px solid rgba(201, 168, 76, 0.6);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.4));
}
.hero .geo-hex-sm { width: 58px;  height: 50px; }
.hero .geo-hex-md { width: 96px;  height: 83px; }
.hero .geo-hex-lg { width: 154px; height: 133px; }
.hero .geo-hex-a {
    top: 7%; right: 7%;
    animation: geoFloat 18s ease-in-out infinite;
}
.hero .geo-hex-b {
    bottom: 32%; left: 4%;
    border-color: rgba(201, 168, 76, 0.6);
    animation: geoFloat 14s ease-in-out infinite reverse;
    animation-delay: -5s;
}
.hero .geo-hex-c {
    top: 48%; right: 20%;
    animation: geoFloat 22s ease-in-out infinite;
    animation-delay: -9s;
}

/* Diagonal sweep lines */
.hero .geo-sweep {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), transparent);
    transform-origin: left center;
    filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.4));
}
.hero .geo-sweep-a {
    width: 520px; top: 28%;
    animation: geoSweep 22s linear infinite;
    transform: rotate(-18deg);
}
.hero .geo-sweep-b {
    width: 400px; top: 64%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), transparent);
    animation: geoSweep 30s linear infinite;
    animation-delay: -15s;
    transform: rotate(-12deg);
}

/* Vertical accent lines */
.hero .geo-vline {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.6), transparent);
    filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.4));
    animation: geoFloat 20s ease-in-out infinite;
}
.hero .geo-vline-a { height: 180px; top: 5%;  left: 20%; animation-delay: -3s; }
.hero .geo-vline-b { height: 120px; top: 55%; right: 35%; animation-delay: -11s; }

/* Balance scale / 天秤 motif */
.hero .geo-scale-bar {
    position: absolute;
    top: 20%; left: 10%;
    width: 88px; height: 1px;
    background: rgba(201, 168, 76, 0.6);
    filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.4));
    animation: geoBalance 9s ease-in-out infinite;
    transform-origin: center;
}
.hero .geo-scale-bar::before,
.hero .geo-scale-bar::after {
    content: '';
    position: absolute; top: 0;
    width: 1px; height: 22px;
    background: rgba(201, 168, 76, 0.6);
}
.hero .geo-scale-bar::before { left: 0; }
.hero .geo-scale-bar::after  { right: 0; }

/* Geo keyframes */
@keyframes geoFloat {
    0%, 100% { transform: translateY(0);     opacity: 1; }
    50%      { transform: translateY(-18px); opacity: 1; }
}
@keyframes geoSweep {
    0%   { left: -600px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 120%;  opacity: 0; }
}
@keyframes geoBalance {
    0%, 100% { transform: rotate(-4deg); }
    50%      { transform: rotate(4deg); }
}

/* Hero decorative line (legal rule line) */
.hero-rule {
    width: 80px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 0 auto var(--space-lg);
    opacity: 0.6;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}
.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.03em;
    color: var(--color-text-bright);
    margin-bottom: var(--space-md);
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
    max-width: 100%;
    text-shadow:
        0 0 60px rgba(201, 168, 76, 0.1),
        0 0 120px rgba(201, 168, 76, 0.03);
}
.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-serif);
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 2;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glow CTA Button */
.btn-glow,
.hero-cta {
    display: inline-block;
    padding: 15px 44px;
    background: transparent;
    color: var(--color-accent-bright);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--color-accent);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    z-index: 1;
    font-family: var(--font-serif);
}
.btn-glow::before,
.hero-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(138, 117, 48, 0.08));
    opacity: 0;
    transition: opacity var(--transition);
}
.btn-glow::after,
.hero-cta::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
    pointer-events: none;
}
.btn-glow:hover,
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.15), 0 0 1px rgba(201, 168, 76, 0.4);
    color: var(--color-gold-light);
    border-color: var(--color-gold-light);
}
.btn-glow:hover::before,
.hero-cta:hover::before { opacity: 1; }

/* Outline button variant */
.btn-outline {
    display: inline-block;
    padding: 13px 34px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 400;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    text-transform: uppercase;
    font-family: var(--font-serif);
}
.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}
.section--alt {
    background: var(--color-bg-alt);
}
.section--alt::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.12), transparent);
}
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Section heading - law book inspired with serif font */
.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--color-text-bright);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: var(--space-md);
    animation: glowPulse 4s ease-in-out infinite;
}
.section-heading::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 50px; height: 1px;
    background: var(--color-accent);
}
.section-heading--center { text-align: center; }
.section-heading--center::after { left: 50%; transform: translateX(-50%); }

/* Intro text */
.intro-text {
    font-size: 1.2rem;
    line-height: 2.2;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
}
.intro-text--center { margin: 0 auto; text-align: center; }

/* ============================================================
   ABOUT PROFILE — 代表者写真 + テキスト横並びレイアウト
   ============================================================ */
.about-profile {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}
.about-profile-img {
    width: 200px;
    height: 240px;
    border-radius: 50% / 42%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 2px solid rgba(201,168,76,0.5);
}
.about-profile-text {
    flex: 1;
    min-width: 0;
}
.about-profile + .category-label,
.about-profile + .category-label + .philosophy-grid,
.about-profile-below .philosophy-grid {
    margin-left: 0;
    width: 100%;
}
@media (max-width: 768px) {
    .about-profile {
        flex-direction: column;
        align-items: center;
    }
    .about-profile-img {
        margin-bottom: var(--space-md);
    }
}

/* ============================================================
   ACCORDION — サービスカテゴリ開閉
   ============================================================ */
.accordion-item {
    margin-bottom: 1.5rem;
}
.accordion-trigger {
    background: linear-gradient(135deg, rgba(8,20,50,0.8), rgba(12,28,65,0.6));
    border: 1px solid rgba(74,158,255,0.2);
    border-left: 3px solid var(--color-accent);
    border-radius: 4px;
    padding: 1.4rem 2rem;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}
.accordion-trigger:hover {
    background: linear-gradient(135deg, rgba(12,30,70,0.9), rgba(16,38,85,0.7));
    border-color: rgba(74,158,255,0.5);
    border-left-color: var(--color-accent-bright);
    box-shadow: 0 4px 24px rgba(74,158,255,0.12), inset 0 0 20px rgba(74,158,255,0.03);
    transform: translateX(4px);
}
.accordion-trigger-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.accordion-cat-label {
    font-family: var(--font-serif);
    font-size: 0.72rem;
    color: var(--color-accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.2rem;
}
.accordion-trigger-title {
    font-size: 1.2rem;
    color: var(--color-text-bright);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.accordion-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-md);
}
.accordion-trigger[aria-expanded="true"] .accordion-arrow {
    transform: rotate(180deg);
    background: rgba(201,168,76,0.1);
}
.accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-body.open {
    max-height: 3000px;
}

/* ============================================================
   GLASS CARD (Glassmorphism with legal refinement)
   ============================================================ */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.glass-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
}
.glass-card:hover {
    border-color: var(--color-border-glow);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(201, 168, 76, 0.05);
    transform: translateY(-4px);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.category-label {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    display: flex; align-items: center; gap: 16px;
}
.category-label::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--color-accent);
}
.category-desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: 0.92rem;
    line-height: 1.9;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}
.service-card {
    background: var(--color-glass);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex; flex-direction: column;
    position: relative;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
    z-index: 1;
}
.service-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(74,158,255,0.4), rgba(201,168,76,0.3), transparent);
    background-size: 200% 100%;
    animation: borderFlow 3s linear infinite;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.service-card:hover {
    border-color: var(--color-border-glow);
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(201, 168, 76, 0.05);
}
.service-card:hover::after { opacity: 1; }

.service-card a {
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column; height: 100%;
    position: relative; z-index: 1;
}
.service-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-deep);
    position: relative;
}
.service-card-img::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(8,12,22,0.7), transparent);
    pointer-events: none;
}
.service-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition);
    filter: brightness(0.8) saturate(0.85) sepia(0.1);
}
.service-card:hover .service-card-img img {
    transform: scale(1.06);
    filter: brightness(0.95) saturate(1) sepia(0.05);
}
.service-card-body {
    padding: var(--space-lg);
    flex: 1; display: flex; flex-direction: column;
}
.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.2rem; font-weight: 600;
    color: var(--color-text-bright);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}
.service-card-price {
    font-size: 0.86rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: 0.06em;
    font-family: var(--font-serif);
}
.service-card-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   PHILOSOPHY SECTION
   ============================================================ */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}
.philosophy-item {
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.philosophy-item::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent 80%);
}
.philosophy-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(74,158,255,0.4), rgba(201,168,76,0.3), transparent);
    background-size: 200% 100%;
    animation: borderFlow 3s linear infinite;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.philosophy-item:hover { transform: translateY(-3px); }
.philosophy-item:hover::after { opacity: 1; }

.philosophy-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.12);
    line-height: 1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}
.philosophy-title {
    font-family: var(--font-serif);
    font-size: 1.25rem; font-weight: 600;
    color: var(--color-gold-light);
    margin-bottom: var(--space-md);
    letter-spacing: 0.06em;
    position: relative;
}
.philosophy-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    position: relative;
}

/* ============================================================
   FACEBOOK EMBED
   ============================================================ */
.facebook-section .fb-page { display: flex; justify-content: center; }

/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-cta-section {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}
.contact-cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(201, 168, 76, 0.05), transparent);
    pointer-events: none;
}
.contact-cta-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--color-text-bright);
    margin-bottom: var(--space-md);
    position: relative;
    letter-spacing: 0.04em;
}
.contact-cta-sub {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    position: relative;
}
.contact-info-inline {
    display: flex; gap: var(--space-xl);
    justify-content: center; flex-wrap: wrap;
    margin-top: var(--space-lg);
    font-size: 0.88rem;
    color: var(--color-text-muted);
    position: relative;
}
.contact-info-inline a { color: var(--color-accent); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-section { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: var(--space-lg); }
.form-label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--color-text-bright);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--font-serif);
}
.form-label .required {
    font-size: 0.72rem; color: var(--color-accent);
    margin-left: var(--space-xs); font-weight: 400;
    text-transform: none;
}
.form-label .optional {
    font-size: 0.72rem; color: var(--color-text-muted);
    margin-left: var(--space-xs); font-weight: 400;
    text-transform: none;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(12, 17, 35, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-radius: 3px;
    color: var(--color-text-bright);
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08), 0 0 16px rgba(201, 168, 76, 0.04);
}
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ff5252;
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.1);
}
.form-error-text {
    font-size: 0.78rem; color: #ff5252;
    margin-top: var(--space-xs);
}
.form-textarea { min-height: 180px; resize: vertical; }
.form-select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%235e6a85'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}

.form-radio-group {
    display: flex; gap: var(--space-lg); margin-top: var(--space-sm);
}
.form-radio-group label {
    display: flex; align-items: center; gap: var(--space-sm);
    cursor: pointer; font-size: 0.9rem;
}
.form-radio-group input[type="radio"] {
    width: 18px; height: 18px; accent-color: var(--color-accent);
}

.form-checkbox {
    display: flex; align-items: flex-start; gap: var(--space-sm);
    cursor: pointer; font-size: 0.84rem;
    color: var(--color-text-muted); line-height: 1.6;
}
.form-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px;
    accent-color: var(--color-accent); flex-shrink: 0;
}

.form-submit-btn {
    display: inline-block;
    padding: 15px 56px;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent-bright);
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-serif);
    position: relative; overflow: hidden;
}
.form-submit-btn::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.12), transparent);
    transition: left 0.6s ease;
}
.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.12);
    background: rgba(201, 168, 76, 0.08);
}
.form-submit-btn:hover::after { left: 120%; }
.form-submit-btn:disabled {
    opacity: 0.4; cursor: not-allowed;
    transform: none; box-shadow: none;
}

/* Conditional visa fields */
.visa-fields { display: none; }
.visa-fields.visible { display: block; }

/* Honeypot */
.ohnohoney { position: absolute; left: -9999px; opacity: 0; }

/* Form Result Messages */
.form-result {
    padding: var(--space-xl);
    border-radius: var(--radius);
    text-align: center;
    backdrop-filter: blur(12px);
}
.form-result--success {
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
}
.form-result--error {
    background: rgba(255, 82, 82, 0.06);
    border: 1px solid rgba(255, 82, 82, 0.2);
}
.form-result h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-bright);
}

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.service-detail { padding-top: calc(var(--header-h) + var(--space-2xl)); }
.service-detail-header { margin-bottom: var(--space-xl); }
.service-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text-bright);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.03em;
}
.service-detail-price {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 600;
}
.service-detail-price-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.service-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    border: 1px solid var(--color-glass-border);
}
.service-detail-text {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}
.service-detail-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xl);
    font-size: 0.9rem;
}
.service-detail-nav a { color: var(--color-text-muted); }
.service-detail-nav a:hover { color: var(--color-accent); }
.service-detail-cta { text-align: center; margin-top: var(--space-xl); }

/* ============================================================
   CONTACT INFO BAR
   ============================================================ */
.contact-info-bar {
    display: flex; gap: var(--space-xl); flex-wrap: wrap;
    padding: var(--space-xl);
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius);
    margin-bottom: var(--space-2xl);
}
.contact-info-bar dt {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: #8a9ab8;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 2px;
}
.contact-info-bar dd {
    font-size: 1.1rem;
    color: var(--color-text-bright);
}
.contact-info-bar dd a { color: var(--color-accent); }

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.privacy-policy-section {
    padding: var(--space-xl);
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius);
    margin-top: var(--space-xl);
    display: none;
}
.privacy-policy-section:target,
.privacy-policy-section.visible { display: block; }
.privacy-policy-section h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-text-bright);
    margin-bottom: var(--space-md);
}
.privacy-policy-section p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-bg-deep);
    border-top: 1px solid var(--color-glass-border);
    position: relative;
    background-image:
        linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.site-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.35;
}

/* Footer inner layout: brand left, contact right */
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: flex;
    gap: var(--space-2xl);
    align-items: flex-start;
    flex-wrap: wrap;
}

/* --- Left: Brand block --- */
.footer-brand {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
}
.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.6rem; font-weight: 600;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block; margin-bottom: var(--space-sm);
}
.footer-office-name {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}
.footer-tagline {
    font-size: 0.88rem;
    color: rgba(201,168,76,0.6);
    letter-spacing: 0.05em;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}
.footer-cta-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(201,168,76,0.45);
    color: var(--color-accent);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    border-radius: 2px;
    transition: all var(--transition);
    font-family: var(--font-serif);
    text-transform: uppercase;
}
.footer-cta-btn:hover {
    background: rgba(201,168,76,0.08);
    border-color: var(--color-accent);
    color: var(--color-accent-bright);
    transform: translateY(-1px);
}

/* --- Right: Contact info grid --- */
.footer-contact {
    flex: 1;
    min-width: 280px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-xl);
    align-content: start;
}
.footer-contact-item {
    position: relative;
    padding-left: 0.9rem;
}
.footer-contact-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 2px; height: 0.8em;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-2));
    opacity: 0.75;
}
.footer-contact-label {
    display: block;
    font-size: 0.63rem;
    color: var(--color-accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    font-family: var(--font-serif);
    opacity: 0.85;
}
.footer-contact-value {
    display: block;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.footer-contact-item > small {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}
.footer-contact-item a {
    color: var(--color-text);
    font-size: 1rem;
    transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--color-accent-bright); }

/* Copyright bar */
.footer-copyright {
    border-top: 1px solid rgba(201,168,76,0.08);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
}
.footer-copyright p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; gap: var(--space-xl); }
    .footer-brand { flex: none; width: 100%; }
    .footer-contact { grid-template-columns: 1fr; width: 100%; gap: var(--space-md); }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.25, 0, 0.15, 1), transform 0.8s cubic-bezier(0.25, 0, 0.15, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.8s cubic-bezier(0.25, 0, 0.15, 1), transform 0.8s cubic-bezier(0.25, 0, 0.15, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.8s cubic-bezier(0.25, 0, 0.15, 1), transform 0.8s cubic-bezier(0.25, 0, 0.15, 1);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.scale-in {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 3D tilt reveal */
.tilt-in {
    opacity: 0;
    transform: perspective(800px) rotateX(8deg) translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.25, 0, 0.15, 1), transform 0.9s cubic-bezier(0.25, 0, 0.15, 1);
}
.tilt-in.visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0) translateY(0);
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================================
   CUSTOM CURSOR GLOW (applied via JS)
   ============================================================ */
.cursor-glow {
    position: fixed;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ============================================================
   ANIMATION KEYFRAMES
   ============================================================ */
@keyframes borderFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes shimmer {
    0%   { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(74, 158, 255, 0.3); }
    50%       { text-shadow: 0 0 40px rgba(74, 158, 255, 0.6), 0 0 80px rgba(74, 158, 255, 0.2); }
}

/* ============================================================
   MOBILE — Layout & Visibility Enhancements (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* --- Hero layout --- */
    .hero { padding: 100px 1.2rem 60px; }
    .hero-content { max-width: 100%; padding: 0 1.2rem; }
    .hero-tagline { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: var(--space-sm); }

    /* --- Hero photo background (::before) — force visible on mobile --- */
    .hero::before {
        display: block !important;
        background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1920&q=80') !important;
        background-size: cover !important;
        background-position: center !important;
        -webkit-filter: brightness(0.6) saturate(0.7) hue-rotate(200deg) !important;
        filter: brightness(0.6) saturate(0.7) hue-rotate(200deg) !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* --- Particle canvas --- */
    #particle-canvas {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }

    /* --- Global background grid (.hex-bg) --- */
    .hex-bg {
        display: block !important;
        opacity: 0.25 !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }

    /* --- Light streak lines --- */
    .light-streaks {
        display: block !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .light-streaks::before,
    .light-streaks::after {
        display: block !important;
        opacity: 0.5 !important;
    }

    /* --- Hero geometric overlay --- */
    .hero .geo-lines {
        display: block !important;
    }
    .hero .geo-hex,
    .hero .geo-sweep,
    .hero .geo-vline,
    .hero .geo-scale-bar {
        display: block !important;
    }

    /* --- Sections --- */
    .section { padding: 4rem 1.2rem; }
    .section-heading { font-size: clamp(1.5rem, 6vw, 2rem); }
    .service-card-title { font-size: 1.2rem; }
    .category-label { font-size: 1rem; }

    /* --- Grids → single column --- */
    .service-grid { grid-template-columns: 1fr; gap: 1rem; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* --- Reduce top spacing --- */
    .section-inner > .fade-in + .fade-in { margin-top: var(--space-xl); }

    /* --- Card borders and glow visible on mobile --- */
    .service-card,
    .philosophy-item,
    .glass-card {
        border: 1px solid rgba(180, 160, 110, 0.22) !important;
    }
    .service-card::before,
    .philosophy-item::before {
        display: block !important;
    }
}

/* ============================================================
   DESKTOP — Geo-lines opacity boost (min-width: 769px)
   ============================================================ */
@media (min-width: 769px) {
    .hero .geo-hex,
    .hero .geo-sweep,
    .hero .geo-vline,
    .hero .geo-scale-bar { opacity: 0.6 !important; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header, .nav-toggle, .lang-switch,
    .hero::before, .hero::after, .hero-texture,
    .hero-geo, .hex-bg, .light-streaks, #particle-canvas,
    .cursor-glow { display: none; }
    body { color: #000; background: #fff; }
    .hero { min-height: auto; padding: 2rem; }
    .glass-card, .service-card, .philosophy-item {
        background: #f8f6f0; border: 1px solid #d4c9a8;
        backdrop-filter: none;
    }
}
