@charset "UTF-8";

/* ==========================================================================
   Variables & Reset (Quastels Inspired)
   ========================================================================== */
:root {
    /* Colors - British Racing Green & Cream Leather Inspired */
    --color-black: #01150e;
    /* Deep Green Black */
    --color-dark: #06261d;
    /* British Racing Green - McKinsey Replacement */
    --color-panel: #0e3a2e;
    /* Forest Green for cards */
    --color-white: #ffffff;
    --color-light-gray: #fcfbf9;
    /* Soft Cream for premium leather/paper feel */

    /* Accents */
    --color-gold: #a48e6c;
    /* Muted Antique Gold per Business Card */
    --color-green-accent: #114d3b;
    /* Highlight green */

    /* Functional */
    --color-text-body: #1e332d;
    /* Dark green-tinted charcoal */
    --color-text-heading: #06261d;
    /* Racing Green headings */

    --color-border-light: #e8ece9;
    /* Very light green-gray border */
    --color-border-dark: #2a5c4d;
    /* Forest border */

    /* Typography */
    /* Quastels uses geometric sans, we check user preference (Jost/Satoshi) + Mincho for elegance */
    --font-heading: "Shippori Mincho", "Yu Mincho", serif;
    --font-sans: "Jost", "Noto Sans JP", "Helvetica Neue", sans-serif;

    --font-size-base: 16px;
    --line-height-base: 1.8;

    /* Layout */
    --container-width: 1400px;
    /* Wider for modern feel */
    --header-height: 90px;
    --section-spacing: 140px;

    /* Animation */
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text-body);
    background-color: var(--color-white);
    /* White Background Scheme */
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    font-weight: 500;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   Image Backgrounds & Overlays
   ========================================================================== */
/* ==========================================================================
   Image Backgrounds & Overlays
   ========================================================================== */
.bg-image-overlay {
    position: relative;
    padding: var(--section-spacing) 0;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Helper for responsive breaks */
.mobile-only-br {
    display: none;
}

.section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optional Parallax-like fix */
}

/* Specific Adjustments for Images */
#about .section-bg img {
    object-position: center center;
    transform: scale(1.1);
    /* Slight zoom for impact */
}

#global .section-bg img {
    object-position: center top;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(5, 28, 44, 0.7);
    backdrop-filter: blur(0px);
}

/* Global specific darker overlay for readability */
.global-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(5, 28, 44, 0.7) 100%);
    backdrop-filter: blur(0px);
    /* Crisp view of the abstract background */
}


.relative-z {
    position: relative;
    z-index: 3;
}

/* ... existing background utilities ... */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    color: var(--color-white);
    /* Force white text for Hero */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    filter: grayscale(10%) brightness(0.9) contrast(1.1);
    /* Night city vibe */
    transition: transform 10s ease-out;
    /* Slow zoom for living feel */
}

.hero:hover .hero-bg img {
    transform: scale(1.05);
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Multi-layered green gradient for depth, vignette, and slight luxury feel */
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
        /* Soft warm light hit */
        radial-gradient(circle at 80% 20%, rgba(164, 142, 108, 0.05) 0%, transparent 40%),
        /* Faint gold/warm glow */
        radial-gradient(circle at center, transparent 30%, rgba(1, 15, 10, 0.95) 100%),
        /* Deep Forest vignette - removed blue tints */
        linear-gradient(135deg, rgba(6, 38, 29, 0.85) 0%, rgba(1, 15, 10, 0.98) 100%);
    /* British Racing Green - Enhanced for deep leather feel */
    z-index: 2;
}

/* Optical flare/glow effect */
.hero-overlay-dark::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(164, 142, 108, 0.12) 0%, transparent 70%);
    /* Faint gold glow */
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
    max-width: 100%;
}

/* ... hero content styles ... */

/* ==========================================================================
   Contact Form (Card Style)
   ========================================================================== */
.form-card {
    background-color: var(--color-white);
    padding: 60px;
    border-radius: 8px;
    /* Slight soft corner */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    /* Deep elegant shadow */
    color: var(--color-text-body);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Adjust format for dark footer context */

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    /* Dark text on white card */
}

.form-input,
.form-textarea {
    width: 100%;
    background-color: #f8f9fa;
    /* Very light gray input bg */
    border: 1px solid #e0e6ed;
    padding: 15px 20px;
    font-size: 1rem;
    color: var(--color-text-heading);
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 0;
    /* Handled by group */
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-dark);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(5, 28, 44, 0.05);
    /* Subtle focus ring */
}

.form-textarea {
    height: 150px;
    resize: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.required {
    color: var(--color-gold);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-light {
    background-color: var(--color-light-gray);
}

.bg-navy {
    background-color: var(--color-dark);
    color: #d0e1f0;
    /* Light text for navy bg */
}

/* Ensure text colors adapt */
.bg-navy h2,
.bg-navy h3,
.bg-navy p {
    color: var(--color-white);
}

.bg-navy p {
    color: #d0e1f0;
}

.text-dark-navy {
    color: var(--color-text-heading);
}

.text-white {
    color: var(--color-white) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Section Title defaults */
.section-title {
    font-size: 4rem;
    /* Huge Typography like Quastels */
    margin-bottom: 4rem;
    position: relative;
    letter-spacing: -0.02em;
    color: var(--color-text-heading);
}

/* Override for dark sections */
.bg-navy .section-title,
.bg-image-overlay .section-title {
    color: var(--color-white);
}

/* Specific adjustment for Global Reach title on PC to fit one line */
#global .section-title {
    font-size: 3rem;
    /* Reduced from default 4rem */
}

.highlight {
    color: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-sans);
}

/* Outline button needs to adapt to bg */
.btn-outline {
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-dark);
    background: var(--color-dark);
    color: var(--color-white);
}

/* Specific White Outline for Dark Sections */
.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    background: transparent;
}

.btn-outline-white:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-black);
}

.btn-text {
    color: var(--color-white);
    padding: 10px 0;
    border-bottom: 1px solid transparent;
}

.btn-text:hover {
    color: var(--color-gold);
}

.btn-text .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    border: none;
}

.btn-white:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(6, 38, 29, 0.9);
    /* Deep Racing Green Transparent */
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-family: var(--font-heading);
    /* Switch to Mincho for Japanese logo */
    font-size: 1.4rem;
    color: var(--color-white);
    font-weight: 500;
    letter-spacing: 0.05em;
    /* Narrower for Kanji */
}

.nav-menu {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-sans);
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--color-white);
}

.contact-link {
    color: var(--color-gold);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    gap: 8px;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 1px;
    background-color: var(--color-white);
}

/* Hamburger animation: transitions and active (X) state */
.menu-toggle span {
    transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.2s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    color: var(--color-white);
    /* Force white text for Hero */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Restored opacity */
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sophisticated deep green leather texture - Reduced blue */
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, rgba(6, 38, 29, 0.9) 0%, rgba(1, 15, 10, 1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-title {
    font-size: 6rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    color: var(--color-white);
    /* Improved readability on dark bg */
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 80px rgba(2, 11, 18, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 4rem;
    opacity: 0.95;
    font-family: var(--font-heading);
    border-left: 2px solid var(--color-gold);
    padding-left: 30px;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-lead-text {
    max-width: 700px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
}

.hero-buttons {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* High Contrast Contact Button */
.btn-gold-filled {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 1px solid var(--color-gold);
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.btn-gold-filled:hover {
    background-color: var(--color-white);
    color: var(--color-gold);
    border-color: var(--color-white);
}

/* ... existing hero styles ... */
/* ==========================================================================
   About Section (Light/Minimal)
   ========================================================================== */
.lead-text {
    font-size: 2rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 5rem;
    font-family: var(--font-heading);
    color: var(--color-text-heading);
}

/* Dark version lead text override */
.bg-navy .lead-text,
.bg-image-overlay .lead-text {
    color: var(--color-white);
}

.about-description {
    max-width: 900px;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text-body);
}

.about-description p {
    margin-bottom: 2rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    border-top: 1px solid var(--color-border-light);
    padding-top: 60px;
}

/* Visual Update for About Section */
.about-grid-visual {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-image {
    width: 100%;
    height: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(6, 38, 29, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-grid-visual:hover .about-image img {
    transform: scale(1.05);
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    /* Navy text */
    font-family: var(--font-heading);
}

.about-item p {
    font-size: 1rem;
    color: var(--color-text-body);
    opacity: 0.9;
    line-height: 1.8;
}

/* ==========================================================================
   Expertise Section (Cards on Light Gray)
   ========================================================================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    background-color: transparent;
    border: none;
    justify-content: center;
}

.expertise-card {
    background-color: var(--color-white);
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-gold);
}

.card-header {
    margin-bottom: 2.5rem;
}

.card-header .category {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-header h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text-heading);
    line-height: 1.2;
}

.expertise-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-light);
}

/* ==========================================================================
   Lawyer Section (Clean Profile)
   ========================================================================== */
.lawyer-profile-modern {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.image-frame {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-info-col {
    padding-top: 0;
}

.lawyer-name-modern {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-heading);
}

.lawyer-name-modern .en {
    display: block;
    font-size: 1.2rem;
    font-family: var(--font-sans);
    color: var(--color-gold);
    margin-top: 10px;
    letter-spacing: 0.1em;
}

.lawyer-titles {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--color-text-body);
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 2rem;
    display: block;
    font-weight: 400;
}

.lawyer-quote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--color-dark);
    margin-bottom: 3rem;
    position: relative;
    font-style: italic;
    padding-left: 20px;
    border-left: 4px solid var(--color-gold);
}

.lawyer-bio-detail p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--color-text-body);
}

.lawyer-career {
    margin-top: 3rem;
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.career-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: baseline;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border-light);
}

.career-item .org {
    font-weight: 600;
    color: var(--color-dark);
}

.career-item .desc {
    font-size: 0.95rem;
}

.lawyer-education {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--color-light-gray);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.edu-col h4 {
    font-size: 0.9rem;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
}

.edu-col p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* ==========================================================================
   Global & Contact
   ========================================================================== */
/* Global Section Refinements */
.global-map-container {
    margin: 40px auto 60px;
    max-width: 900px;
    opacity: 0.9;
    mix-blend-mode: screen;
    /* Blends nicely with dark background */
}

.global-map-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(164, 142, 108, 0.3));
    /* Gold glow */
}

.global-desc {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    max-width: 950px;
    margin: 0 auto 50px;
}

.global-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
}

.location-item h3 {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.location-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Global 2-Column Layout (Desktop) */
.global-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    text-align: left;
}

.global-content-wrapper .global-map-container {
    flex: 1;
    margin: 0;
    /* Reset generic margin */
    max-width: 100%;
}

.global-content-wrapper .global-text-col {
    flex: 1;
}

.global-content-wrapper .global-desc {
    text-align: left;
    margin: 0 0 40px 0;
    max-width: 100%;
}

.global-content-wrapper .global-locations-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.contact-lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-full-width {
    width: 100%;
    border: none;
    padding: 20px;
    background-color: var(--color-dark);
    color: white;
    transition: all 0.3s ease;
}

.btn-full-width:hover {
    background-color: var(--color-panel);
    transform: translateY(-2px);
}

.btn-full-width .btn-text {
    color: white;
    font-weight: 600;
}

.footer-content {
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.global-map-abstract {
    margin-top: 60px;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 0.2em;
}

.global-map-abstract .location {
    display: inline-block;
    padding: 0 20px;
}

.global-map-abstract .divider {
    color: rgba(255, 255, 255, 0.2);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.dark-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.dark-input:focus {
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile-specific utilities */
.mobile-br {
    display: none;
}

.mobile-break {
    display: inline;
}

.mobile-block {
    display: inline;
}

.pc-break {
    display: block;
}

/* ==========================================================================
   Animations (Fade Up)
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

/* Simple visible state for JS to toggle or default run */
.hero .fade-in-up {
    animation-play-state: running;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .about-grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid-visual {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        /* Show image first on mobile/tablet */
        max-height: 300px;
    }

    .lawyer-profile-modern {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .global-map-abstract {
        font-size: 1rem;
    }

    /* Global Section Stack */
    .global-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .global-text-col {
        text-align: center;
    }

    .global-content-wrapper .global-map-container {
        margin: 0 auto;
    }

    .global-content-wrapper .global-desc {
        text-align: center;
        margin: 0 auto 40px auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        /* Balanced padding for mobile */
        width: 100%;
        box-sizing: border-box;
    }

    .section {
        padding: 80px 0;
        /* Reduced vertical spacing for mobile */
    }

    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* When mobile menu is active, show it as an overlay panel */
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(6, 38, 29, 0.98), rgba(6, 38, 29, 0.98));
        flex-direction: column;
        gap: 10px;
        padding: 18px 20px 30px 20px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active .nav-link {
        color: var(--color-white);
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        text-transform: none;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        word-break: break-word;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .lawyer-profile-modern {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lawyer-image-col {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .image-frame {
        max-width: 280px;
        width: 100%;
    }

    .career-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 20px;
    }

    .career-item .org {
        font-size: 1.1rem;
    }

    .lawyer-education {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        /* Force single column on tablet/mobile */
        gap: 20px;
    }

    .lawyer-name-modern {
        font-size: 2.5rem;
        text-align: center;
    }

    .lawyer-name-modern .en {
        text-align: center;
    }

    .lawyer-titles {
        font-size: 1rem;
        text-align: center;
    }

    .lawyer-quote {
        font-size: 1.4rem;
        text-align: left;
        padding-left: 20px;
        border-left: 4px solid var(--color-gold);
        border-top: none;
        padding-top: 0;
    }

    .lead-text {
        font-size: 1.4rem;
    }

    .form-card {
        padding: 40px 20px;
        border-radius: 4px;
        width: 100%;
        box-sizing: border-box;
    }

    .global-map-abstract .location {
        display: block;
        padding: 10px 0;
    }

    .global-map-abstract .divider {
        display: none;
    }

    .mobile-br {
        display: inline;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .mobile-break {
        display: block;
        height: 0;
        overflow: hidden;
    }

    .mobile-block {
        display: block;
    }

    .pc-break {
        display: none;
    }

    #global .section-title {
        font-size: 1.8rem;
    }

    .mobile-only-br {
        display: inline;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding-left: 20px;
    }

    .btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }
}

/* Footer Mobile Reordering */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        order: 1;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .footer-right {
        order: 2;
    }

    .footer-left {
        order: 3;
        margin-top: 20px;
        font-size: 0.75rem;
        opacity: 0.8;
    }
}