/* Compiled on 2026-08-11T11:42:23.524Z */

/* --- File: 00-theme.css --- */
/* --- THEME SYSTEM --- */
/* 
 * THEME TOGGLE:
 * To switch between themes, edit the <body> tag in sections/head.html.
 * 
 * Dark theme (current):  <body>
 * Light theme (new):     <body class="light-theme">
 * 
 * All colors across the site are driven by the CSS variables below.
 */

/* ===== DARK THEME (DEFAULT / CURRENT) ===== */
:root {
    /* Backgrounds */
    --bg-primary: #2e2d2d;
    --bg-secondary: rgba(255, 255, 255, 0.05);
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-nav: rgba(58, 53, 50, 0.9);
    --bg-footer: #222;
    --bg-overlay: rgba(0, 0, 0, 0.75);
    --bg-hero-text: rgba(0, 0, 0, 0.3);
    --bg-hero-hover: rgba(140, 132, 114, 0.2);
    --bg-input: rgba(255, 255, 255, 0.03);
    --bg-input-focus: rgba(255, 255, 255, 0.08);
    --bg-modal: rgba(20, 18, 16, 0.98);
    --bg-modal-right: rgba(0, 0, 0, 0.2);
    --bg-card-info: rgba(0, 0, 0, 0.35);
    --bg-card-info-hover: rgba(0, 0, 0, 0.55);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --bg-label: rgba(0, 0, 0, 0.7);
    --bg-toast: rgba(0, 0, 0, 0.6);
    --bg-pro-tip: rgba(140, 132, 114, 0.15);
    --bg-success: rgba(140, 132, 114, 0.1);
    --bg-contact: rgba(0, 0, 0, 0.2);
    --bg-highlight: #000;

    /* Text */
    --text-primary: #F2EFE9;
    --text-secondary: rgba(242, 239, 233, 0.55);
    --text-muted: rgba(242, 239, 233, 0.7);
    --text-inverse: #000;
    --text-on-accent: #000;
    --text-card-title: #fff;
    --text-card-body: #fff;
    --text-footer-heading: #fff;
    --text-success: #ffe1e1;

    /* Accent */
    --accent-color: #8C8472;
    --accent-soft: rgba(140, 132, 114, 0.15);
    --accent-border: rgba(140, 132, 114, 0.35);
    --accent-border-hover: rgba(140, 132, 114, 0.6);
    --accent-glow: rgba(140, 132, 114, 0.5);
    --accent-glow-soft: rgba(140, 132, 114, 0.12);
    --accent-glow-faint: rgba(140, 132, 114, 0.05);

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-soft: rgba(255, 255, 255, 0.05);
    --border-color-faint: rgba(255, 255, 255, 0.12);
    --border-color-strong: rgba(255, 255, 255, 0.15);
    --border-color-accent: rgba(140, 132, 114, 0.4);

    /* Effects */
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-color-strong: rgba(0, 0, 0, 0.8);
    --shadow-color-soft: rgba(0, 0, 0, 0.3);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    --text-shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.5);
    --text-shadow-accent: 0 0 10px rgba(140, 132, 114, 0.5);
    --text-shadow-accent-soft: 0 0 10px rgba(140, 132, 114, 0.3);

    /* Logo */
    --logo-filter: brightness(0) invert(1);

    /* Grid lines */
    --grid-line: rgba(255, 255, 255, 0.03);

    /* Shapes */
    --shape-border: rgba(140, 132, 114, 0.15);

    /* Glow card */
    --glow-white: rgba(255, 255, 255, 0.35);
    --glow-white-soft: rgba(255, 255, 255, 0.2);

    /* Discount */
    --discount-color: #f0d060;
    --discount-glow: rgba(240, 208, 96, 0.3);

    /* Placeholder */
    --placeholder-color: #888;
}

/* ===== LIGHT THEME (WHITE / ARCHITECTURAL) ===== */
body.light-theme {
    /* Backgrounds */
    --bg-primary: #F5F4F0;
    --bg-secondary: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-nav: rgba(255, 255, 255, 0.92);
    --bg-footer: #E8E6E1;
    --bg-overlay: rgba(255, 255, 255, 0.85);
    --bg-hero-text: rgba(255, 255, 255, 0.75);
    --bg-hero-hover: rgba(140, 132, 114, 0.15);
    --bg-input: rgba(0, 0, 0, 0.03);
    --bg-input-focus: rgba(0, 0, 0, 0.06);
    --bg-modal: rgba(250, 249, 246, 0.98);
    --bg-modal-right: rgba(0, 0, 0, 0.03);
    --bg-card-info: rgba(255, 255, 255, 0.9);
    --bg-card-info-hover: rgba(255, 255, 255, 1);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-label: rgba(255, 255, 255, 0.9);
    --bg-toast: rgba(255, 255, 255, 0.9);
    --bg-pro-tip: rgba(140, 132, 114, 0.1);
    --bg-success: rgba(140, 132, 114, 0.08);
    --bg-contact: rgba(0, 0, 0, 0.02);
    --bg-highlight: #E8E6E1;

    /* Text */
    --text-primary: #8a4e00;
    --text-secondary: rgba(26, 26, 26, 0.55);
    --text-muted: rgba(26, 26, 26, 0.7);
    --text-inverse: #fff;
    --text-on-accent: #fff;
    --text-card-title: #1A1A1A;
    --text-card-body: #1A1A1A;
    --text-footer-heading: #1A1A1A;
    --text-success: #2d5a27;

    /* Accent */
    --accent-color: #8C8472;
    --accent-soft: rgba(140, 132, 114, 0.1);
    --accent-border: rgba(140, 132, 114, 0.4);
    --accent-border-hover: rgba(140, 132, 114, 0.7);
    --accent-glow: rgba(140, 132, 114, 0.4);
    --accent-glow-soft: rgba(140, 132, 114, 0.1);
    --accent-glow-faint: rgba(140, 132, 114, 0.04);

    /* Borders */
    --border-color: rgba(0, 0, 0, 0.1);
    --border-color-soft: rgba(0, 0, 0, 0.05);
    --border-color-faint: rgba(0, 0, 0, 0.12);
    --border-color-strong: rgba(0, 0, 0, 0.15);
    --border-color-accent: rgba(140, 132, 114, 0.4);

    /* Effects */
    --shadow-color: rgba(0, 0, 0, 0.15);
    --shadow-color-strong: rgba(0, 0, 0, 0.25);
    --shadow-color-soft: rgba(0, 0, 0, 0.1);
    --text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    --text-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.1);
    --text-shadow-accent: 0 0 10px rgba(140, 132, 114, 0.2);
    --text-shadow-accent-soft: 0 0 10px rgba(140, 132, 114, 0.15);

    /* Logo */
    --logo-filter: none;

    /* Grid lines */
    --grid-line: rgba(0, 0, 0, 0.03);

    /* Shapes */
    --shape-border: rgba(140, 132, 114, 0.2);

    /* Glow card */
    --glow-white: rgba(0, 0, 0, 0.15);
    --glow-white-soft: rgba(0, 0, 0, 0.08);

    /* Discount */
    --discount-color: #8a6d1a;
    --discount-glow: rgba(138, 109, 26, 0.2);

    /* Placeholder */
    --placeholder-color: #999;
}

/* --- File: 01-variables.css --- */
/* --- GLOBAL & AMBIENT BACKGROUND --- */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
html {
    scroll-behavior: smooth;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}
body.modal-open {
    overflow: hidden;
}
h1, h2, h3, h4 { font-weight: 300; letter-spacing: 12px; text-transform: uppercase; transition: color 0.5s ease; }
h1 { font-size: clamp(3rem, 10vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2rem, 6vw, 4rem); }
.serif { font-family: 'Playfair Display', serif; text-transform: none; letter-spacing: normal; }
a { color: var(--text-primary); text-decoration: none; }

/* Elegant Geometric Background Elements */
.bg-lines {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}
.floating-shape {
    position: fixed; border: 1px solid var(--shape-border); z-index: -1;
    pointer-events: none; animation: slowRotate 40s infinite linear;
}
.shape-1 { width: 40vw; height: 40vw; top: -10%; left: -10%; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.shape-2 { width: 30vw; height: 30vw; bottom: 10%; right: 5%; border-radius: 50%; }
@keyframes slowRotate {
    from { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(2vw, 2vh); }
    to { transform: rotate(360deg) translate(0, 0); }
}

/* --- SCROLL ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Staggered Hero Animation */
.hero-content h1 {
    opacity: 0;
    transform: translateY(40px);
    animation: heroStagger 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}
.hero-content p {
    opacity: 0;
    transform: translateY(30px);
    animation: heroStagger 1s cubic-bezier(0.25, 1, 0.5, 1) 0.7s forwards;
}
@keyframes heroStagger {
    to { opacity: 1; transform: translateY(0); }
}

/* --- File: 02-navigation.css --- */
/* --- NAVIGATION --- */
nav {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 1.5rem 5%; z-index: 100; transition: all 0.3s;
}
nav.scrolled { background: var(--bg-nav); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.logo { position: relative; display: flex; align-items: center; }
.logo img { height: 60px; width: auto; filter: var(--logo-filter); transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; gap: 2rem; font-size: 0.8rem; font-weight: 500; }
.nav-links a { position: relative; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-color); }
.btn-primary {
    border: 1px solid var(--text-primary); padding: 0.8rem 1.5rem; border-radius: 50px;
    text-transform: uppercase; font-size: 0.8rem; cursor: pointer; background: transparent;
    color: var(--text-primary); transition: all 0.3s; font-family: 'Montserrat';
}
.btn-primary:hover { background: var(--text-primary); color: var(--text-inverse); }
.btn-cta {
    background: var(--accent-color);
    color: var(--text-on-accent);
    border: 1px solid var(--accent-color);
    font-weight: 700;
}
.btn-cta:hover { background: var(--text-primary); border-color: var(--text-primary); color: var(--text-inverse); }

/* --- File: 03-hero.css --- */
/* --- HERO SECTION --- */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: url('../assets/Various/Landing.webp') center/cover;
    filter: brightness(0.45) saturate(1.1);
    animation: kenburns 30s infinite alternate linear;
}
@keyframes kenburns { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }
.hero-content { text-align: center; z-index: 1; }
.hero h1 { 
    font-size: 4.5rem; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    position: relative;
    display: inline-block;
}
.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1s;
}
.hero h1.active::after {
    width: 80%;
}
.hero-content .reveal {
    transition-delay: 1.2s;
}
.reveal-underline {
    position: relative;
    display: inline-block;
}
.reveal-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1s;
}
.reveal-underline.active::after {
    width: 80%;
}
.hero p { 
    font-size: 1.3rem; 
    letter-spacing: 5px; 
    font-weight: 400; 
    background: var(--bg-hero-text);
    padding: 0.5rem 2rem;
    backdrop-filter: blur(5px);
    border-left: 2px solid var(--accent-color);
    display: inline-block;
    margin-top: 1rem;
    text-shadow: var(--text-shadow);
    transition: all 0.8s ease;
}
.hero:hover p {
    background: var(--bg-hero-hover);
    letter-spacing: 7px;
}

/* --- File: 04-sections.css --- */
/* --- LAYOUT UTILS --- */
section { padding: 8rem 10%; position: relative; scroll-margin-top: 50px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* --- STUDIO & WORKFLOW --- */
#workflow {
    min-height: calc(100vh - 100px);
}
.mask-arch { border-top-left-radius: 500px; border-top-right-radius: 500px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--border-color);}
.mask-quarter { border-top-left-radius: 100%; overflow: hidden; aspect-ratio: 1; width: 80%; margin-left: auto; border: 1px solid var(--border-color);}
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.img-wrapper:hover img { transform: scale(1.05); }
.text-content h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.text-content .serif { font-size: 1.5rem; margin-bottom: 2rem; opacity: 0.9; line-height: 1.4;}
.text-content p { margin-bottom: 1.5rem; opacity: 0.8; font-weight: 300; }

/* Badges */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; text-align: center; }
.badge-circle { width: 70px; height: 70px; border: 2px solid var(--accent-color); border-radius: 50%; margin: 0 auto 1rem; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; background: var(--bg-secondary); transition: 0.3s; color: var(--accent-color); }
.badge-circle:hover { background: var(--accent-color); color: var(--text-on-accent); transform: translateY(-5px); box-shadow: 0 10px 25px var(--shadow-color-soft); }
.badge-text { font-size: 0.7rem; font-weight: 600; }

/* --- File: 05-highlights.css --- */
/* --- HIGHLIGHTS (STICKY SCROLL JACKING) --- */
.highlights-wrapper { height: 250vh; position: relative; scroll-margin-top: 100px; }
.highlights-sticky {
    position: sticky; top: 100px; height: calc(100vh - 100px); width: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; overflow: hidden;
}
.highlights-sticky h2 { margin-bottom: 2rem; z-index: 10; text-shadow: var(--text-shadow-soft); }
.hl-container { position: relative; width: 80%; height: 70vh; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px var(--shadow-color); background: var(--bg-highlight); }
.hl-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: translateY(40px); filter: blur(20px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.hl-img.revealed {
    opacity: 1; transform: translateY(0); filter: blur(0);
}
.hl-label {
    position: absolute; bottom: 30px; left: 30px; background: var(--bg-label);
    padding: 1rem 2rem; border-radius: 10px; backdrop-filter: blur(10px); z-index: 20;
    opacity: 0; transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.15s,
                transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.15s;
}
.hl-label.revealed {
    opacity: 1; transform: translateY(0);
}
.hl-label h3 { font-size: 1.2rem; margin: 0; }
.hl-label p { font-size: 0.9rem; color: var(--accent-color); margin: 0; }

/* --- File: 06-portfolio.css --- */
/* --- PORTFOLIO --- */
#portfolio {
    padding-left: 4%;
    padding-right: 4%;
}
.portfolio-header { text-align: center; margin-bottom: 4rem; position: relative; }
.portfolio-sheet-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid var(--accent-border);
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}
.portfolio-header p { opacity: 0.8; font-weight: 300; max-width: 600px; margin: 1rem auto; }

/* Architectural asymmetric grid — 12-column editorial rhythm */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* Card base — sharp corners, hairline border, technical-drawing aesthetic */
.port-card {
    position: relative;
    grid-column: span 4;
    aspect-ratio: 3 / 2;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-faint);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, background-color 0.4s ease;
}

/* Size variants — controlled via "size" field in projects.json */
.port-size-large { grid-column: span 7; aspect-ratio: 16 / 10; }
.port-size-medium { grid-column: span 5; aspect-ratio: 4 / 3; }
.port-size-small { grid-column: span 4; aspect-ratio: 3 / 2; }
.port-size-wide { grid-column: span 12; aspect-ratio: 21 / 9; }

/* Corner registration ticks — blueprint drafting marks */
.port-tick {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--accent-color);
    border-style: solid;
    border-width: 0;
    opacity: 0.5;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.tick-tl { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.tick-tr { top: 8px; right: 8px; border-top-width: 1px; border-right-width: 1px; }
.tick-bl { bottom: 8px; left: 8px; border-bottom-width: 1px; border-left-width: 1px; }
.tick-br { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }

/* Index number — drawing sheet reference */
.port-index {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent-color);
    opacity: 0.7;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Media area */
.port-card-media {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.port-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.port-card:hover .port-card-media img {
    transform: scale(1.06);
}

/* Title block — architectural drawing info bar */
.port-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-top: 1px solid var(--border-color-faint);
    background: var(--bg-card-info);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.port-card-title h3 {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.4s ease;
}
.port-card-title p {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.port-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color-strong);
    color: var(--accent-color);
    font-size: 0.75rem;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.port-card:hover .port-arrow {
    background: var(--accent-color);
    color: var(--text-on-accent);
    border-color: var(--accent-color);
    transform: translateX(3px);
}

/* Hover state — border brightens, ticks intensify */
.port-card:hover {
    border-color: var(--accent-border-hover);
    background: var(--bg-card-hover);
}
.port-card:hover .port-tick {
    opacity: 1;
}
.port-card:hover .port-index {
    opacity: 1;
}
.port-card:hover .port-card-info {
    background: var(--bg-card-info-hover);
    border-color: var(--border-color-accent);
}
.port-card:hover .port-card-title h3 {
    color: var(--accent-color);
}

/* --- ADVANCED PORTFOLIO MODAL - NON-FULLSCREEN --- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 999;
    display: none;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal-overlay.open { display: block; }
.modal-wrapper {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-wrapper.open { opacity: 1; pointer-events: all; }
.modal {
    background: var(--bg-modal);
    border-radius: 20px;
    width: 92vw;
    max-width: 1500px;
    height: 80vh;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 80px var(--shadow-color-strong), 0 0 0 1px var(--border-color-soft);
    position: relative;
    border: 1px solid var(--border-color-soft);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}
.modal-wrapper.open .modal {
    transform: scale(1) translateY(0);
}
.modal-left { 
    flex: 2; overflow-x: auto; overflow-y: hidden; padding: 2rem;
    display: flex; align-items: center; gap: 3rem;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    transition: opacity 0.4s ease;
}
.modal-left::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.modal-left:active { cursor: grabbing; }

/* --- DRAG TO SCROLL TOAST --- */
.drag-toast {
    position: absolute;
    bottom: 15px;
    left: 40%; /* Centers perfectly horizontally within the modal-left area (flex: 2 / 3 of modal width) */
    transform: translateX(-50%);
    background: var(--bg-toast);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 10px 30px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-wrapper.open .drag-toast {
    opacity: 1;
    visibility: visible;
}

.drag-toast i {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.drag-toast span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    white-space: nowrap;
}

.modal-img-wrapper {
    flex-shrink: 0;
    height: 60vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-color);
    will-change: transform, filter, opacity;
}
.modal-img-wrapper img {
    height: 100%;
    width: auto;
    display: block;
    border-radius: 0;
    object-fit: contain;
}
.modal-right { 
    flex: 0 0 320px; padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center;
    border-left: 1px solid var(--border-color-soft); position: relative;
    background: var(--bg-modal-right);
}
.modal-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.modal-header {
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}
#modal-description {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--border-color-soft);
}
#modal-description::-webkit-scrollbar {
    width: 6px;
}
#modal-description::-webkit-scrollbar-track {
    background: var(--border-color-soft);
    border-radius: 3px;
}
#modal-description::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}
.close-btn {
    position: absolute; top: 1.2rem; right: 1.2rem; width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.5rem; cursor: pointer; background: var(--bg-secondary); border: 1px solid var(--border-color-faint);
    color: var(--text-primary); transition: all 0.3s; display: flex; align-items: center; justify-content: center;
}
.close-btn:hover { background: var(--accent-color); color: var(--text-on-accent); transform: rotate(90deg); }

/* --- File: 07-pricing.css --- */
/* --- PRICING --- */
.pricing { text-align: center; }
.pricing-intro { max-width: 900px; margin: 0 auto 3rem; font-weight: 300; opacity: 0.8; font-size: 1.1rem; line-height: 1.8; }
.pricing-intro a { color: var(--accent-color); text-decoration: underline; transition: opacity 0.3s; }
.pricing-intro a:hover { opacity: 0.7; }
.toggle-container { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.toggle-btn { padding: 1rem 2.5rem; background: transparent; border: 1px solid var(--accent-color); color: var(--text-primary); border-radius: 50px; cursor: pointer; transition: 0.3s; font-family: 'Montserrat'; font-weight: 600; letter-spacing: 1px;}
.toggle-btn i { margin-right: 8px; }
.toggle-btn.active { background: var(--accent-color); color: var(--text-on-accent); }
.discount-highlight {
    color: var(--discount-color);
    font-weight: 800;
    text-shadow: 0 0 20px var(--discount-glow);
}
.pro-tip { background: var(--bg-pro-tip); border-left: 4px solid var(--accent-color); padding: 1.5rem; text-align: left; max-width: 1000px; margin: 0 auto 3rem; font-size: 0.95rem; border-radius: 0 10px 10px 0; }

.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.price-card { background: var(--bg-card); padding: 3rem; border-radius: 15px; text-align: left; position: relative; border: 1px solid var(--border-color-soft); transition: border-color 0.3s; }
.badge-discount { position: absolute; top: 25px; right: -35px; background: var(--accent-color); color: var(--text-on-accent); padding: 5px 40px; transform: rotate(45deg); font-size: 0.8rem; font-weight: bold; letter-spacing: 1px;}
.price-card h3 { font-size: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-bottom: 1rem; color: var(--text-card-title); text-shadow: var(--text-shadow-accent);}
.price-val { font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.price-val span { font-size: 1.2rem; font-weight: 400; opacity: 0.7; }
.price-card ul { list-style: none; opacity: 0.9; font-weight: 300; }
.price-card li { margin-bottom: 1rem; display: flex; gap: 10px; line-height: 1.4; }
.price-card li::before { content: '✓'; color: var(--accent-color); font-weight: bold;}
.price-card li { color: var(--text-card-body); font-weight: 400; }

/* Shared timeline card */
.timeline-shared {
    background: var(--bg-card);
    border-radius: 15px;
    border-top: 4px solid var(--accent-color);
    border-bottom: 1px solid var(--border-color-soft);
    border-left: 1px solid var(--border-color-soft);
    border-right: 1px solid var(--border-color-soft);
    padding: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}
.timeline-item h4 { margin-bottom: 1rem; font-size: 1.2rem; color: var(--text-card-title); text-shadow: var(--text-shadow-accent-soft); }
.timeline-item:first-child { border-right: 1px solid var(--border-color-soft); padding-right: 2rem; }
.timeline-item p { opacity: 0.9; font-weight: 400; color: var(--text-card-body); }

/* --- File: 08-testimonials.css --- */
/* --- TESTIMONIALS (STICKY HORIZONTAL SCROLL) --- */
.testimonials-wrapper { height: 250vh; position: relative; scroll-margin-top: 100px; }
.testimonials-sticky {
    position: sticky; top: 100px; height: calc(100vh - 100px); width: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; overflow: hidden;
}
.testimonials { overflow: hidden; padding-bottom: 3rem; cursor: grab; }
.testimonials:active { cursor: grabbing; }
.test-header { text-align: center; margin-bottom: 3rem; }
.test-track { display: flex; gap: 2rem; padding: 0 15%; width: max-content; transition: transform 0.1s ease-out; }
.quote-card { width: 450px; background: var(--bg-card); padding: 3rem; border-radius: 15px; border: 1px solid var(--border-color-soft); user-select: none; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.quote-card i.fa-quote-left { font-size: 2rem; color: var(--accent-color); opacity: 0.3; margin-bottom: 1rem; }
.quote-card p { font-size: 1.2rem; margin-bottom: 2rem; font-style: italic; pointer-events: none; line-height: 1.8; }
.quote-card span { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: var(--accent-color); text-transform: uppercase; pointer-events: none; }

/* --- GLOW CARD (Animated Border Gradient) --- */
.glow-card {
    --border-angle: 0deg;
    position: relative;
}
.glow-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle),
        transparent 0%,
        transparent 60%,
        var(--accent-glow) 72%,
        var(--glow-white) 82%,
        var(--accent-glow) 92%,
        var(--glow-white-soft) 97%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}
.glow-card:hover::before {
    opacity: 1;
    animation: glowRotate 3s linear infinite;
}
.glow-card:hover {
    box-shadow: 0 0 20px var(--accent-glow-soft), 0 0 40px var(--accent-glow-faint);
}
@keyframes glowRotate {
    to { --border-angle: 360deg; }
}

/* --- File: 09-contact-footer.css --- */
/* --- CONTACT FORM --- */
.contact { background-color: var(--bg-contact); text-align: center; border-top: 1px solid var(--border-color-soft); }
.contact p { opacity: 0.8; font-weight: 300; margin-bottom: 3rem; }
form { max-width: 750px; margin: 0 auto; text-align: left; }
.form-row { display: flex; gap: 2rem; margin-bottom: 1.5rem; }
.input-group { flex: 1; display: flex; flex-direction: column; }
label { font-size: 0.85rem; margin-bottom: 0.6rem; letter-spacing: 1px; font-weight: 500; color: var(--accent-color); }
input, textarea { background: var(--bg-input); border: 1px solid var(--border-color); padding: 1.2rem; color: var(--text-primary); border-radius: 8px; font-family: 'Montserrat'; width: 100%; transition: all 0.3s; }
input:focus, textarea:focus { outline: none; border-color: var(--accent-color); background: var(--bg-input-focus); }
.subtext { font-size: 0.75rem; opacity: 0.5; margin-top: 0.5rem; font-weight: 300; }
.submit-btn { width: 100%; background: var(--text-primary); color: var(--text-inverse); padding: 1.2rem; border: none; font-weight: 700; font-size: 1rem; letter-spacing: 2px; cursor: pointer; border-radius: 8px; margin-top: 1.5rem; transition: 0.3s; }
.submit-btn:hover { background: var(--accent-color); color: var(--text-on-accent); }
.submit-btn i { margin-right: 8px; }
.success-message { text-align: center; color: var(--accent-color); display: none; padding: 4rem; border: 1px solid var(--accent-color); border-radius: 8px; background: var(--bg-success); }

/* --- FOOTER --- */
footer { padding: 5rem 10% 2rem; border-top: 1px solid var(--border-color-soft); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; font-size: 0.9rem; background-color: var(--bg-footer); }
.footer-col h4 { margin-bottom: 1.5rem; color: var(--text-footer-heading); font-size: 1.1rem; border-bottom: 1px solid var(--accent-color); display: inline-block; padding-bottom: 5px; }
.footer-col p { opacity: 0.7; margin-bottom: 0.8rem; font-weight: 300; }
.copyright { grid-column: span 3; text-align: center; margin-top: 4rem; opacity: 0.4; font-size: 0.8rem; border-top: 1px solid var(--border-color-soft); padding-top: 2rem; font-weight: 300; }
.social-link { cursor: pointer; }

/* --- File: 10-responsive.css --- */
/* --- RESPONSIVE / MOBILE STYLES --- */
/* Hamburger hidden on desktop */
.hamburger { display: none; }
/* Mobile-only CTA button hidden on desktop */
.btn-cta-mobile { display: none; }
/* These override desktop styles only on smaller screens. Desktop remains untouched. */

/* === TABLETS & SMALL LAPTOPS (max-width: 1024px) === */
@media (max-width: 1024px) {
    section { padding: 5rem 6%; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .portfolio-grid { grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
    .port-size-large { grid-column: span 6; aspect-ratio: 16 / 9; }
    .port-size-medium { grid-column: span 6; aspect-ratio: 16 / 9; }
    .port-size-small { grid-column: span 3; aspect-ratio: 3 / 2; }
    .port-size-wide { grid-column: span 6; aspect-ratio: 16 / 9; }
    .pricing-cards { grid-template-columns: 1fr; max-width: 600px; }
    .timeline-shared { grid-template-columns: 1fr; gap: 1.5rem; }
    .timeline-item:first-child { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border-color-soft); padding-bottom: 1.5rem; }
    footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .badges { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .hl-container { width: 90%; height: 50vh; }
    .test-track { padding: 0 5%; }
    .quote-card { width: 350px; }
    .modal { flex-direction: column; height: 90vh; width: 95vw; }
    .modal-left { flex: none; height: 50vh; padding: 1rem; }
    .modal-img-wrapper { height: 40vh; }
    .modal-right { flex: none; border-left: none; border-top: 1px solid var(--border-color-soft); padding: 1.5rem; }
    .drag-toast { left: 50%; }
    .mask-arch { border-top-left-radius: 250px; border-top-right-radius: 250px; }
    .mask-quarter { width: 100%; margin-left: 0; }
    .hero h1 { font-size: 3.5rem; }
    .hero p { font-size: 1rem; letter-spacing: 3px; }
    .text-content h2 { font-size: 2rem; }
    .text-content .serif { font-size: 1.2rem; }
    .price-val { font-size: 2.8rem; }
    .badge-discount { right: -20px; padding: 5px 30px; font-size: 0.7rem; }
    .form-row { flex-direction: column; gap: 1rem; }
    .shape-1, .shape-2 { display: none; }
}

/* === MOBILE (max-width: 768px) === */
@media (max-width: 768px) {
    section { padding: 4rem 5%; }
    h1 { font-size: clamp(2.2rem, 8vw, 3rem) !important; }
    h2 { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
    .hero { height: 90vh; }
    .hero h1 { font-size: 2.5rem !important; }
    .hero p { font-size: 0.85rem; letter-spacing: 2px; padding: 0.4rem 1rem; }
    .hero:hover p { letter-spacing: 3px; }

    /* --- Navigation: Hamburger Menu --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        font-size: 1rem;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 200;
        border-left: 1px solid var(--border-color-soft);
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1.1rem; letter-spacing: 3px; }
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 300;
        background: transparent;
        border: none;
        gap: 5px;
        position: relative;
    }
    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    nav .btn-cta { display: none; }
    .nav-links .btn-cta-mobile {
        display: inline-block;
        margin-top: 1rem;
    }

    /* --- Grids to single column --- */
    .portfolio-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .port-size-large, .port-size-medium, .port-size-small, .port-size-wide { grid-column: span 1; aspect-ratio: 16 / 10; }
    .pricing-cards { gap: 1.5rem; }
    footer { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-col h4 { display: block; text-align: center; }
    .copyright { grid-column: span 1; }
    .badges { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .badge-circle { width: 60px; height: 60px; font-size: 1.4rem; }

    /* --- Highlights: disable sticky scroll-jacking on mobile --- */
    .highlights-wrapper { height: auto; }
    .highlights-sticky {
        position: relative;
        top: 0;
        height: auto;
        padding: 2rem 0;
    }
    .hl-container { width: 100%; height: 40vh; border-radius: 12px; }
    .hl-label { bottom: 15px; left: 15px; padding: 0.7rem 1.2rem; }
    .hl-label h3 { font-size: 1rem; }
    .hl-label p { font-size: 0.8rem; }

    /* --- Testimonials: disable sticky scroll-jacking on mobile --- */
    .testimonials-wrapper { height: auto; }
    .testimonials-sticky {
        position: relative;
        top: 0;
        height: auto;
        padding: 2rem 0;
    }
    .test-track { padding: 0 5%; gap: 1rem; }
    .quote-card { width: 280px; padding: 2rem; }
    .quote-card p { font-size: 1rem; }

    /* --- Modal: full vertical stack --- */
    .modal { flex-direction: column; height: 85vh; width: 96vw; border-radius: 12px; }
    .modal-left { flex: none; height: 40vh; padding: 0.8rem; gap: 1.5rem; }
    .modal-img-wrapper { height: 30vh; }
    .modal-right { flex: 1; border-left: none; border-top: 1px solid var(--border-color-soft); padding: 1.2rem; min-height: 0; overflow: hidden; }
    .modal-content-wrapper { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
    .modal-right h2 { font-size: 1.3rem !important; }
    #modal-description { flex: 1; overflow-y: auto; min-height: 0; }
    .close-btn { top: 0.8rem; right: 0.8rem; width: 34px; height: 34px; font-size: 1.2rem; z-index: 1001; }
    .drag-toast { display: none; }

    /* --- Studio / Workflow images --- */
    .mask-arch { border-top-left-radius: 150px; border-top-right-radius: 150px; }
    .mask-quarter { border-top-left-radius: 50%; }

    /* --- Pricing --- */
    .price-card { padding: 2rem; }
    .price-val { font-size: 2.2rem; }
    .badge-discount { right: -15px; padding: 4px 25px; font-size: 0.65rem; }
    .toggle-btn { padding: 0.8rem 1.5rem; font-size: 0.85rem; }
    .pricing-intro { font-size: 0.95rem; }

    /* --- Contact --- */
    form { max-width: 100%; }
    input, textarea { padding: 1rem; }

    /* --- Text content --- */
    .text-content h2 { font-size: 1.6rem; }
    .text-content .serif { font-size: 1.1rem; }
    .text-content p { font-size: 0.9rem; }

    /* --- Floating shapes hidden on mobile --- */
    .shape-1, .shape-2 { display: none; }
}

/* === SMALL MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
    section { padding: 3rem 4%; }
    .hero { height: 85vh; }
    .hero h1 { font-size: 2rem !important; }
    .hero p { font-size: 0.75rem; letter-spacing: 1px; padding: 0.3rem 0.8rem; }
    .hl-container { height: 30vh; }
    .quote-card { width: 240px; padding: 1.5rem; }
    .quote-card p { font-size: 0.9rem; }
    .modal { height: 80vh; }
    .modal-left { height: 35vh; }
    .modal-img-wrapper { height: 25vh; }
    .badges { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .badge-circle { width: 50px; height: 50px; font-size: 1.2rem; }
    .price-card { padding: 1.5rem; }
    .price-val { font-size: 1.8rem; }
    .nav-links { width: 85%; }
}

