:root {
    --bg: #fdfcf9;
    --bg-deep: #f4f1ea;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-muted: #e9e5dc;
    --text: #1a202c;
    --muted: #4a5568;
    --accent: #2c3e50;
    --accent-strong: #1a252f;
    --accent-soft: #e2e8f0;
    --gold: #d4af37;
    --gold-dark: #b5952f;
    --line: rgba(44, 62, 80, 0.12);
    --shadow: 0 8px 30px rgba(44, 62, 80, 0.06);
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;
    --container: min(1140px, calc(100% - 2rem));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* body decoration removed for minimalism */

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--line);
}

.nav-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.brand-copy strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-link {
    padding: 0.5rem 1.3rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.05);
}

/* Dropdown Submenu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--surface);
    min-width: 220px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    color: var(--text);
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-deep);
    color: var(--accent);
}

/* Nested Dropdown Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.submenu-toggle {
    width: 100%;
    padding: 0.7rem 1.2rem;
    background: none;
    border: none;
    text-align: left;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu-toggle:hover {
    background-color: var(--bg-deep);
    color: var(--accent);
}

.submenu-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--surface);
    min-width: 200px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 51;
    padding: 0.5rem 0;
}

.dropdown-submenu:hover .submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu:hover .submenu-arrow {
    transform: rotate(90deg);
}

.submenu-menu a {
    color: var(--text);
    padding: 0.4rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu-menu a:hover {
    background-color: var(--bg-deep);
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.3rem;
}

.mobile-toggle span {
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.hero {
    position: relative;
    padding: 10rem 0 8rem;
    background-image: url('img/shreedeoslider.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 37, 47, 0.9) 0%, rgba(44, 62, 80, 0.7) 100%);
    z-index: 1;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero .lead,
.hero .eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

.page-hero {
    padding: 8rem 0 5rem;
    position: relative;
}

.hero-grid,
.page-hero-grid,
.split-section,
.contact-layout,
.contact-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2rem;
    align-items: start;
}

.display-title,
.page-title,
.section-title,
.feature-card h3,
.glass-card h3,
.spotlight-card h3,
.tab-intro h2,
.timeline-item h3,
.card-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.display-title {
    margin: 0;
    font-size: clamp(3.5rem, 8vw, 6.8rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 12ch;
}

.page-title {
    margin: 0;
    font-size: clamp(2.95rem, 6vw, 5rem);
    line-height: 0.97;
    max-width: 12ch;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lead,
.section-intro,
.card-copy,
.tab-intro p {
    color: var(--muted);
    font-size: 1.05rem;
}

.lead {
    max-width: 60ch;
    margin: 1.35rem 0 0;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.pill-row.compact {
    margin-top: 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 28px rgba(26, 26, 26, 0.05);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.button-row,
.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.9rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #fff;
    background: var(--gold);
}

.button.primary:hover {
    background: var(--gold-dark);
    box-shadow: 0 8px 16px rgba(181, 149, 47, 0.2);
}

.button.secondary,
.button.ghost {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.hero .button.secondary,
.hero .button.ghost {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.button.secondary:hover,
.button.ghost:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff;
}

.hero .button.secondary:hover,
.hero .button.ghost:hover {
    border-color: #fff;
    background: #fff;
    color: var(--accent);
}

.hero-panel,
.glass-card,
.feature-card,
.spotlight-card,
.tab-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover,
.feature-card:hover,
.spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 0, 0, 0.15);
}

.hero-panel,
.glass-card,
.feature-card,
.tab-shell {
    border-radius: var(--radius-lg);
}

.hero-panel {
    padding: 1.25rem;
}

.portrait-panel {
    padding: 1.25rem;
    border-radius: 20px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
}

.portrait-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    background: var(--surface-muted);
    overflow: hidden;
}

.monogram {
    position: relative;
    color: var(--accent);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(4.2rem, 12vw, 6.6rem);
    line-height: 1;
    letter-spacing: 0.08em;
    text-indent: 0.08em;
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.portrait-note {
    margin: 1rem 0 0;
    color: rgba(26, 26, 26, 0.76);
    font-size: 0.96rem;
}

.detail-stack {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.detail-card {
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.detail-card.accent {
    background: var(--bg-deep);
}

.detail-card strong {
    display: block;
    font-size: 1rem;
    line-height: 1.55;
}

.detail-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
}

.metric-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
}

.metric-number {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.metric-copy {
    margin: 0;
    color: var(--muted);
}

.section {
    padding: 6.5rem 0;
}

.section-alt {
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.2rem;
}

.section-title {
    margin: 0;
    font-size: clamp(2.45rem, 5vw, 4.1rem);
    line-height: 0.98;
}

.section-intro {
    margin: 0;
}

.section-copy {
    max-width: 42rem;
}

.cards-grid {
    display: grid;
    gap: 1rem;
}

.cards-grid.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.two-up,
.field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.glass-card {
    padding: 1.5rem;
}

.feature-card h3,
.glass-card h3,
.card-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
}

.feature-card p,
.glass-card p,
.feature-card small,
.glass-card small {
    color: var(--muted);
}

.feature-card small,
.glass-card small {
    display: block;
    margin-top: 0.35rem;
}

/* Sleek Gallery Component */
.sleek-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sleek-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    padding: 0;
}

.sleek-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.sleek-card img {
    width: 100%;
    height: 450px !important;
    object-fit: cover !important;
    display: block;
    border-bottom: 3px solid var(--accent);
    border-radius: 0 !important;
}

.card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.6rem;
    padding: 0.3rem 0.7rem;
    margin-bottom: 0.95rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.stack-grid {
    display: grid;
    gap: 1rem;
}

/* Profile Cards - Horizontal Layout */
.profile-cards {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 0, 0, 0.15);
}

.profile-card-reverse {
    grid-template-columns: 1fr 1fr;
}

.profile-card-reverse .profile-content {
    order: 2;
}

.profile-card-reverse .profile-image {
    order: 1;
}

.profile-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0.5rem 0;
    font-size: 1.8rem;
    line-height: 1.2;
}

.profile-content p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0.75rem 0;
}

.profile-content small {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.profile-image {
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.02);
}

.profile-cta {
    text-align: center;
    margin-top: 2rem;
}

.top-gap {
    margin-top: 1rem;
}

.spotlight-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.5rem 1.7rem;
    margin-top: 1.6rem;
    border-radius: 28px;
}

.spotlight-card h3 {
    margin: 0;
    font-size: 2rem;
}

.summary-list {
    display: grid;
    gap: 1rem;
}

.summary-list div {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.summary-list small {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 800;
}

.summary-list strong {
    display: block;
    font-size: 1rem;
}

.tab-shell {
    padding: 1rem;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.tab-button {
    min-height: 3rem;
    padding: 0.72rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--muted);
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.tab-button:hover,
.tab-button.is-active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.tab-panel {
    display: none;
    padding: 1.4rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.88);
}

.tab-panel.is-active {
    display: block;
}

.tab-intro {
    margin-bottom: 1.4rem;
}

.tab-intro h2 {
    margin: 0;
    font-size: 2.4rem;
}

.tab-intro p {
    margin: 0.7rem 0 0;
    max-width: 56rem;
}

.timeline {
    position: relative;
    max-width: 48rem;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.45), rgba(26, 26, 26, 0.14));
}

.timeline-item {
    position: relative;
    margin-bottom: 1.6rem;
    padding: 0.1rem 0 0.1rem 1.6rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -0.02rem;
    top: 0.55rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent);
    box-shadow: none;
}

.timeline-period {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.timeline-item h3 {
    margin: 0;
    font-size: 1.95rem;
}

.timeline-item p {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

.clean-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clean-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-top: 0.75rem;
    color: var(--muted);
}

.clean-list li:first-child {
    margin-top: 0;
}

.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--muted);
}

.contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.field-grid {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.55rem;
}

.contact-form span {
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-deep);
    color: var(--text);
    transition: border-color 0.25s ease, background-color 0.25s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    background: #fff;
}

.form-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.form-status.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.form-status.is-error {
    color: #8b3a32;
}

.site-footer {
    padding: 1.7rem 0 2.2rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.62);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-title {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.footer-copy {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .cards-grid.four-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards-grid.three-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 880px) {
    .mobile-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1rem;
        left: 1rem;
        z-index: 5;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.8rem;
        border-radius: 26px;
        background: rgba(255, 252, 247, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
    }

    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown.is-expanded .dropdown-menu {
        display: block;
    }

    .submenu-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        margin-left: 1rem;
    }

    .dropdown-submenu.is-expanded .submenu-menu {
        display: block;
    }

    .hero-grid,
    .page-hero-grid,
    .split-section,
    .contact-layout,
    .contact-preview,
    .section-heading,
    .cards-grid.three-up,
    .cards-grid.two-up,
    .field-grid,
    .stat-strip,
    .footer-row {
        grid-template-columns: 1fr;
    }

    /* Profile cards responsive */
    .profile-card,
    .profile-card-reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-card-reverse .profile-content,
    .profile-card-reverse .profile-image {
        order: unset;
    }

    .profile-image img {
        height: 240px;
    }

    .spotlight-card,
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.25rem, 100%);
    }

    .nav-row {
        min-height: 76px;
    }

    .hero,
    .page-hero,
    .section {
        padding: 4.2rem 0;
    }

    .hero-panel,
    .glass-card,
    .feature-card,
    .tab-shell,
    .tab-panel {
        padding: 1.15rem;
    }

    .cards-grid.four-up,
    .cards-grid.three-up {
        grid-template-columns: 1fr;
    }

    .button,
    .tab-button {
        width: 100%;
    }

    .button-row,
    .form-actions {
        align-items: stretch;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-active {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.lightbox.is-active img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.lightbox-trigger:hover {
    transform: scale(1.02);
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
}/* Befor
e and After Comparison */
.before-after-section {
    margin-top: 3rem;
}

.before-after-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.before-after-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--line);
}

.before-after-title {
    margin: 0 0 1.5rem 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--text);
}

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

.comparison-side {
    text-align: center;
}

.comparison-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid;
}

.comparison-label.before {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border-color: #dc3545;
}

.comparison-label.after {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border-color: #28a745;
}

.comparison-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-image {
        height: 200px;
    }
}