:root {
    color-scheme: light;
    --green-900: #0a2518;
    --green-800: #123622;
    --green-700: #1b4a30;
    --green-600: #2e7d32;
    --green-500: #4caf50;
    --green-400: #66bb6a;
    --green-300: #a5d6a7;
    --green-200: #c8e6c9;
    --gold-300: #d8c6a0;
    --gold-200: #e6d7bb;
    --sand-100: #f6f4ef;
    --sand-200: #efe9df;
    --ink-900: #0b0d0c;
    --ink-700: #1c1f1d;
    --ink-500: #3d443f;
    --line: rgba(16, 44, 30, 0.12);
    --glass: rgba(255, 255, 255, 0.16);
    --shadow-soft: 0 20px 60px rgba(9, 26, 17, 0.18);
    --shadow-deep: 0 40px 80px rgba(6, 20, 12, 0.28);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
    color: var(--ink-900);
    background: var(--sand-100);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-shell {
    position: fixed;
    inset: -10%;
    z-index: -5;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 10%, rgba(76, 175, 80, 0.2), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(102, 187, 106, 0.2), transparent 55%),
        linear-gradient(180deg, rgba(246, 244, 239, 0.9) 0%, rgba(232, 245, 233, 0.98) 100%);
    animation: ambientShift 16s ease-in-out infinite;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(16, 44, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 44, 30, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.35;
}

.bg-grain {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="3"/></filter><rect width="240" height="240" filter="url(%23n)" opacity="0.07"/></svg>');
    mix-blend-mode: multiply;
}

@keyframes ambientShift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(2%, -2%, 0) scale(1.03); }
}

.container {
    width: min(1220px, 92vw);
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(246, 244, 239, 0.82);
    border-bottom: 1px solid rgba(16, 44, 30, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: var(--green-800);
}

.brand-logo {
    width: auto;
    height: 38px;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(6, 20, 12, 0.12);
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 18px rgba(76, 175, 80, 0.6);
    animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-700);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-800);
    background: rgba(76, 175, 80, 0.16);
    box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.2);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(76, 175, 80, 0.4);
    padding: 0.5rem 1.2rem;
    color: var(--green-800);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--ink-700);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(6, 16, 11, 0.92);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 2000;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu a {
    color: #f5f3ee;
    font-size: 1.6rem;
    text-decoration: none;
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 0.12rem;
}

main {
    padding-top: 110px;
}

section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.scene {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
    filter: blur(3px);
    transition: opacity 1.1s ease, transform 1.1s ease, filter 1.1s ease;
}

.scene.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.gallery-trigger {
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(76, 175, 80, 0.14);
    color: var(--green-800);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.75rem;
    margin-bottom: 1.6rem;
    border: 1px solid rgba(76, 175, 80, 0.28);
    box-shadow: inset 0 0 20px rgba(76, 175, 80, 0.16);
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.05;
    color: var(--green-900);
    margin-bottom: 1.4rem;
}

.hero h1 span {
    display: block;
    background: linear-gradient(120deg, var(--green-500), var(--green-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 0.85em;
    letter-spacing: 0.1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--ink-500);
    max-width: 520px;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    border-radius: var(--radius-pill);
    padding: 0.9rem 2.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.6) 50%, transparent 80%);
    transform: translateX(-130%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    color: #fff;
    box-shadow: 0 18px 35px rgba(27, 94, 32, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s ease;
}

.btn-primary:hover::after {
    transform: translateX(120%);
}

.btn-secondary {
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: var(--green-800);
    background: rgba(255, 255, 255, 0.7);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px rgba(27, 94, 32, 0.25);
}

.btn:hover::before {
    transform: translateX(130%);
    opacity: 1;
}

.hero-visual {
    position: relative;
    height: 520px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    background-color: rgba(9, 26, 17, 0.2);
    background-image:
        linear-gradient(135deg, rgba(9, 26, 17, 0.2), rgba(76, 175, 80, 0.3)),
        var(--hero-image, none);
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><defs><pattern id="p" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 0H40V40" fill="none" stroke="rgba(255,255,255,0.14)" stroke-width="1"/><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="200" height="200" fill="url(%23p)"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    animation: panelShift 14s ease-in-out infinite;
}

@keyframes panelShift {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

.hero-visual .frame {
    position: absolute;
    inset: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.12);
}

.hero-visual .frame::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.35),
        0 0 30px rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.hero-visual .light-sweep {
    position: absolute;
    inset: -20% 0 0 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.6s ease;
}

@keyframes sweep {
    0%, 100% { transform: translateX(-120%); }
    50% { transform: translateX(120%); }
}

.hero-visual .labels {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: grid;
    gap: 0.7rem;
}

.hero-visual .label {
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    color: var(--green-800);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-visual .chip {
    position: absolute;
    left: 24px;
    top: 24px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(12, 38, 25, 0.75);
    color: #f6f4ef;
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    transition: transform 0.35s ease;
}

.hero-visual:hover {
    box-shadow: 0 50px 90px rgba(6, 20, 12, 0.35);
}

.hero-visual:hover .light-sweep {
    opacity: 0.75;
    transform: translateX(120%);
}

.hero-visual:hover .light-sweep {
    animation-duration: 3.5s;
}

.hero-visual:hover .label {
    transform: translateX(-6px) translateY(-4px);
    box-shadow: 0 18px 40px rgba(6, 20, 12, 0.25);
}

.hero-visual:hover .chip {
    transform: translateY(-6px);
}

.section-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--green-900);
    margin-bottom: 0.8rem;
    letter-spacing: 0.08rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--ink-500);
    max-width: 720px;
}

.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(76, 175, 80, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    transform-style: preserve-3d;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: -20% 0 0 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.8) 50%, transparent 75%);
    transform: translateX(-140%);
    opacity: 0.8;
    transition: transform 0.6s ease;
    z-index: 0;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(76, 175, 80, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 45px 90px rgba(6, 20, 12, 0.3);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    transform: translateX(140%);
}

.service-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--green-700);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--green-900);
}

.service-card p {
    color: var(--ink-500);
}

.service-swatch {
    margin-top: 2rem;
    height: 140px;
    border-radius: 18px;
    background-color: rgba(15, 35, 23, 0.18);
    background-image:
        linear-gradient(145deg, rgba(76, 175, 80, 0.16), rgba(15, 35, 23, 0.18)),
        var(--swatch-image, none);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.55s ease, box-shadow 0.55s ease, background-size 0.9s ease;
}

.service-swatch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
}

.service-card:hover .service-swatch::after {
    transform: translateX(120%);
}

.service-card:hover .service-swatch {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 35px rgba(6, 20, 12, 0.2);
}

.portfolio-wall {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.6rem;
}

.portfolio-piece {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 260px;
    background-color: rgba(12, 26, 18, 0.3);
    background-image: var(--piece-image, none);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.portfolio-piece::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 55%),
        linear-gradient(135deg, rgba(76, 175, 80, 0.35), rgba(6, 20, 12, 0.4));
    transform: scale(1);
    transition: transform 0.6s ease, filter 0.6s ease;
    z-index: 0;
}

.portfolio-piece::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
    transform: translateX(-140%);
    transition: transform 0.9s ease;
    z-index: 0;
}

.portfolio-piece:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 45px 90px rgba(6, 20, 12, 0.35);
}

.portfolio-piece:hover::after {
    transform: translateX(140%);
}

.portfolio-piece:hover::before {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.portfolio-piece .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 16, 11, 0.82) 100%);
    color: #fff;
    transform: translateY(28px);
    opacity: 0.85;
    transition: transform 0.45s ease, opacity 0.45s ease;
    z-index: 1;
}

.portfolio-piece h4 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
}

.portfolio-piece span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.portfolio-piece:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-piece.large { grid-column: span 7; }
.portfolio-piece.medium { grid-column: span 5; }
.portfolio-piece.small { grid-column: span 4; }

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.about-panel {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    padding: 2.8rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(76, 175, 80, 0.18);
}

.about-panel h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
    color: var(--green-900);
}

.about-panel p {
    color: var(--ink-500);
    margin-bottom: 1.2rem;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 420px;
    background-color: rgba(10, 30, 20, 0.35);
    background-image:
        linear-gradient(145deg, rgba(76, 175, 80, 0.22), rgba(10, 30, 20, 0.35)),
        var(--about-image, none);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-deep);
}

.about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
    pointer-events: none;
}

.stats {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    border-radius: 22px;
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(76, 175, 80, 0.2);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.stat-card:nth-child(even) {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.95), rgba(76, 175, 80, 0.75));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f6f4ef;
}

.stat-card span {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    color: var(--green-700);
}

.stat-card:nth-child(even) span {
    color: #f6f4ef;
}

.stat-card small {
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.75rem;
    color: var(--ink-500);
}

.stat-card:nth-child(even) small {
    color: rgba(246, 244, 239, 0.85);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(16, 44, 30, 0.08);
    color: var(--ink-500);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    color: var(--green-600);
}

.form-shell {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.08), rgba(255, 255, 255, 0.95));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(76, 175, 80, 0.18);
    position: relative;
    overflow: hidden;
}

.form-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: inherit;
    pointer-events: none;
}

.form-group {
    margin-bottom: 1.6rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--green-800);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 44, 30, 0.2);
    background: #fff;
    color: var(--ink-900);
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.submit-btn {
    width: 100%;
    border: none;
    border-radius: var(--radius-pill);
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(27, 94, 32, 0.25);
}

footer {
    padding: 2.5rem 0 3rem;
    background: #0d1f16;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(76, 175, 80, 0.2);
}

/* ===========================================
   LIGHTBOX GALLERY - LUXURIOUS REDESIGN
   =========================================== */

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 16, 11, 0.92);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 3000;
}

.lightbox::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.08), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.05), transparent 50%);
    pointer-events: none;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-panel {
    position: relative;
    width: min(92vw, 1000px);
    max-height: 90vh;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(15, 35, 25, 0.98), rgba(8, 22, 15, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 50px 100px rgba(6, 20, 12, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open .lightbox-panel {
    transform: scale(1) translateY(0);
}

/* Inner frame decoration */
.lightbox-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    pointer-events: none;
    z-index: 3;
}

.lightbox-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 72vh;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.15) 100%),
        radial-gradient(ellipse at center, rgba(20, 45, 30, 1), rgba(10, 25, 18, 1));
}

/* Subtle pattern overlay */
.lightbox-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 20px 20px;
    pointer-events: none;
}

.lightbox-image {
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    background: #0a1a12;
    position: relative;
    z-index: 1;
}

.lightbox-video {
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    display: none;
    border-radius: 12px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    background: #0a1a12;
    position: relative;
    z-index: 1;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem 1.4rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: #f6f4ef;
}

.lightbox-count {
    font-size: 0.8rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: rgba(246, 244, 239, 0.5);
    font-weight: 500;
}

/* Luxurious Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    color: #f6f4ef;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.lightbox-close:active {
    transform: scale(0.95) rotate(90deg);
}

/* Luxurious Navigation Buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(10px);
    color: #f6f4ef;
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-50%);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-nav:hover {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0.15));
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow:
        0 8px 30px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev:hover {
    transform: translateY(-50%) scale(1.1) translateX(-4px);
}

.lightbox-nav.next:hover {
    transform: translateY(-50%) scale(1.1) translateX(4px);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox.single .lightbox-nav {
    opacity: 0;
    pointer-events: none;
}

/* Progress indicator dots */
.lightbox-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 2rem 1.2rem;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.lightbox-dot.active {
    background: var(--green-500);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.5);
    transform: scale(1.2);
}

body.lightbox-open {
    overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lightbox-panel {
        width: 96vw;
        max-height: 94vh;
        border-radius: 20px;
    }

    .lightbox-media {
        padding: 16px;
        min-height: 200px;
    }

    .lightbox-image,
    .lightbox-video {
        max-height: 60vh;
        border-radius: 8px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .lightbox-nav.prev { left: 12px; }
    .lightbox-nav.next { right: 12px; }

    .lightbox-close {
        width: 42px;
        height: 42px;
        top: 14px;
        right: 14px;
    }

    .lightbox-meta {
        padding: 1rem 1.2rem;
    }

    .lightbox-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .hero-visual { height: 420px; }

    .portfolio-piece.large,
    .portfolio-piece.medium,
    .portfolio-piece.small { grid-column: span 12; }
}

@media (max-width: 820px) {
    .nav-links,
    .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    section { padding: 90px 0; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .hero-visual { height: 320px; }
    .form-shell,
    .contact-card { padding: 1.8rem; }
    .lightbox-panel { width: 92vw; }
}

/* ===========================================
   PERSONALITY ENHANCEMENTS
   =========================================== */

/* Hero Entrance - DRAMATIC VERSION */
.hero-badge {
    opacity: 0;
    transform: translateX(-40px) scale(0.9);
    filter: blur(4px);
}

.hero h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotateX(-40deg) scale(0.8);
    transform-origin: center bottom;
    filter: blur(6px);
}

.hero h1 span .word {
    transform: translateY(60px) scale(0.85);
    filter: blur(4px);
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
}

.hero-actions {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(3px);
}

.hero-visual {
    opacity: 0;
    transform: scale(1.15) translateY(40px) rotateY(-5deg);
    filter: blur(8px) brightness(1.2);
}

/* Triggered states */
.hero.in-view .hero-badge {
    animation: badgeReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero.in-view h1 .word {
    animation: wordReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero.in-view .hero-subtitle {
    animation: fadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero.in-view .hero-actions {
    animation: actionsReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero.in-view .hero-visual {
    animation: heroVisualReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes badgeReveal {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes actionsReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroVisualReveal {
    0% {
        opacity: 0;
        transform: scale(1.15) translateY(40px) rotateY(-5deg);
        filter: blur(8px) brightness(1.2);
    }
    60% {
        opacity: 1;
        filter: blur(0) brightness(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateY(0);
        filter: blur(0) brightness(1);
    }
}

/* Section Title Word Animation */
.section-title.reveal {
    /* Override base reveal - let words handle animation */
    opacity: 1;
    transform: none;
}

.section-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    filter: blur(4px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.section-title.in-view .word {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Stagger delays for words */
.section-title .word:nth-child(1) { transition-delay: 0s; }
.section-title .word:nth-child(2) { transition-delay: 0.08s; }
.section-title .word:nth-child(3) { transition-delay: 0.16s; }
.section-title .word:nth-child(4) { transition-delay: 0.24s; }
.section-title .word:nth-child(5) { transition-delay: 0.32s; }
.section-title .word:nth-child(6) { transition-delay: 0.4s; }

/* ===========================================
   MOBILE TAP FEEDBACK
   =========================================== */

/* Buttons - tap feedback */
.btn:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

.btn-primary:active {
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3);
}

/* Nav links - tap feedback */
.nav-links a:active,
.mobile-menu a:active {
    transform: scale(0.95);
    transition-duration: 0.1s;
}

/* Cards - tap feedback for mobile */
.service-card:active,
.portfolio-piece:active,
.stat-card:active {
    transform: translateY(-4px) scale(0.98);
    transition-duration: 0.15s;
}

/* Contact items - tap feedback */
.contact-item:active {
    background: rgba(76, 175, 80, 0.08);
    border-radius: 12px;
}

/* Submit button - tap feedback */
.submit-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.3);
    transition-duration: 0.1s;
}

/* ===========================================
   SCROLL-LINKED PARALLAX
   =========================================== */

/* Stat cards float animation - handled by JS */
.stat-card {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* ===========================================
   ENHANCED MOBILE MENU
   =========================================== */

.mobile-menu a {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.25s; }

.mobile-menu a:active {
    color: var(--green-400);
}

/* Mobile toggle animation */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===========================================
   PORTFOLIO OVERLAY - ALWAYS VISIBLE ON MOBILE
   =========================================== */

@media (max-width: 820px) {
    .portfolio-piece .overlay {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(180deg, transparent 30%, rgba(6, 16, 11, 0.9) 100%);
    }
}

/* ===========================================
   REDUCED MOTION
   =========================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-badge,
    .hero h1 .word,
    .hero-subtitle,
    .hero-actions,
    .hero-visual,
    .section-title .word {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
