/* ─── Reset & Base ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --midnight: #0A2540;
    --midnight-light: #1A3A5C;
    --mint: #5EEAD4;
    --mint-light: #99F6E4;
    --mint-dark: #2DD4BF;
    --cream: #F8FAFB;
    --warm-white: #FDFCFC;
    --off-white: #F1F5F7;
    --line: rgba(10, 37, 64, 0.08);
    --line-strong: rgba(10, 37, 64, 0.15);
    --text-primary: #0A2540;
    --text-secondary: #3D5A74;
    --text-muted: #7A9BB5;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--warm-white);
    overflow-x: hidden;
}

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--midnight);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 200;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── Typography ─── */
.section-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.8rem 1.75rem;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--mint);
    color: var(--midnight);
    border-color: var(--mint);
}
.btn--primary:hover {
    background: var(--mint-dark);
    border-color: var(--mint-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(94, 234, 212, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--midnight);
    border-color: var(--line-strong);
}
.btn--ghost:hover {
    border-color: var(--midnight);
    background: rgba(10, 37, 64, 0.04);
}

.btn--outline {
    background: transparent;
    color: var(--midnight);
    border-color: var(--line-strong);
}
.btn--outline:hover {
    border-color: var(--midnight);
    background: rgba(10, 37, 64, 0.04);
}

.btn--sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
}

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 252, 252, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.35s var(--ease-smooth);
}

.site-header.scrolled {
    box-shadow: 0 1px 30px rgba(10, 37, 64, 0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.logo--light {
    color: #fff;
}

.logo-mark {
    color: var(--midnight);
}

.logo--light .logo-mark {
    color: var(--mint);
}

.logo-text {
    letter-spacing: 0.01em;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

.nav-list a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.25s var(--ease-smooth);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint-dark);
    transition: width 0.35s var(--ease-out);
}

.nav-list a:hover {
    color: var(--text-primary);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    position: relative;
    margin-left: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out);
    position: absolute;
    left: 9px;
}

.hamburger { top: 16px; }
.hamburger::before { content: ''; top: -6px; }
.hamburger::after { content: ''; top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--midnight);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 37, 64, 0.88) 0%,
        rgba(10, 37, 64, 0.72) 50%,
        rgba(10, 37, 64, 0.60) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 2rem;
    padding-top: 5rem;
}

.hero-divider {
    width: 48px;
    height: 1px;
    background: var(--mint);
    margin: 0 auto 2rem;
}

.hero-greeting {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--mint);
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.12;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

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

.hero-actions .btn--primary {
    background: var(--mint);
    color: var(--midnight);
    border-color: var(--mint);
}
.hero-actions .btn--primary:hover {
    background: var(--mint-light);
    border-color: var(--mint-light);
}

.hero-actions .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.hero-actions .btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: scroll-bob 2.5s ease-in-out infinite;
}

@keyframes scroll-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Services ─── */
.services {
    padding: 8rem 0;
    background: var(--warm-white);
}

.services .section-label,
.services .section-title,
.services .section-subtitle {
    text-align: center;
}

.services .section-subtitle {
    margin: 0 auto 4rem;
}

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

.service-card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.08);
    border-color: transparent;
}

.service-img {
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-img img {
    transform: scale(1.04);
}

.service-body {
    padding: 2rem;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--mint);
}

/* ─── Philosophy ─── */
.philosophy {
    padding: 8rem 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text .section-title {
    max-width: none;
}

.philosophy-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.philosophy-visual {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 7 / 9;
}

.philosophy-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── About ─── */
.about {
    padding: 8rem 0;
    background: var(--warm-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 7 / 8.5;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text .section-title {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.signature {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--midnight);
    letter-spacing: 0.02em;
}

/* ─── Gallery ─── */
.gallery {
    padding: 8rem 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
}

.gallery .section-label,
.gallery .section-title,
.gallery .section-subtitle {
    text-align: center;
}

.gallery .section-subtitle {
    margin: 0 auto 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

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

/* ─── Contact ─── */
.contact {
    padding: 8rem 0;
    background: var(--midnight);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact .section-label {
    color: var(--mint);
}

.contact .section-title {
    color: #fff;
}

.contact-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--mint);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.3rem;
}

.contact-item a,
.contact-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    transition: color 0.25s;
}

.contact-item a:hover {
    color: var(--mint);
}

/* ─── Form ─── */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
}

.optional {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.25s var(--ease-smooth);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: rgba(94, 234, 212, 0.06);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--midnight);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    color: var(--mint);
    margin-bottom: 1rem;
}

.form-success p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Footer ─── */
.site-footer {
    background: #061A2C;
    color: rgba(255, 255, 255, 0.5);
    padding: 4rem 0 2.5rem;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    max-width: 320px;
    line-height: 1.6;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s;
}

.footer-bottom a:hover {
    color: var(--mint);
}

/* ─── Mobile Nav Overlay ─── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(253, 252, 252, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
}

.nav-overlay.active {
    display: flex;
}

.nav-overlay .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.nav-overlay .nav-list a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .philosophy-grid,
    .about-grid,
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .header-actions .btn--outline {
        display: none;
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .services {
        padding: 5rem 0;
    }

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

    .philosophy,
    .about,
    .gallery,
    .contact {
        padding: 5rem 0;
    }

    .philosophy-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .philosophy-visual,
    .about-visual {
        aspect-ratio: 4 / 3;
    }

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

    .footer-top {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .header-inner {
        padding: 0 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .contact-form-wrap {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}
