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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ───────────────────────────────────── */
.label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-600);
    max-width: 560px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--teal-700);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-800);
    transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ── Header ───────────────────────────────────────── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s var(--ease-out);
}

#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo-icon {
    color: var(--teal-700);
    flex-shrink: 0;
}

#main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

#main-nav a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-600);
    position: relative;
    transition: color 0.25s var(--ease-out);
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width 0.3s var(--ease-out);
}

#main-nav a:hover,
#main-nav a.active {
    color: var(--teal-700);
}

#main-nav a:hover::after,
#main-nav a.active::after {
    width: 100%;
}

/* ── Mobile Nav ───────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.25) 50%,
        rgba(15, 23, 42, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--white);
    max-width: 720px;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    margin-bottom: 40px;
    font-weight: 300;
}

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

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

/* ── About ────────────────────────────────────────── */
.about {
    padding: 140px 0;
}

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

.about-text .lead {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

/* ── Thin line divider ────────────────────────────── */
.divider {
    width: 100%;
    height: 1px;
    background: var(--slate-200);
    margin: 0;
}

/* ── Sites ────────────────────────────────────────── */
.sites {
    padding: 120px 0;
    background: var(--slate-50);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .lead {
    margin: 0 auto;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.site-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    transition: all 0.4s var(--ease-out);
}

.site-card:hover {
    border-color: var(--teal-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.site-card-image {
    overflow: hidden;
    height: 260px;
}

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

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

.site-card-body {
    padding: 32px;
}

.site-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.site-card-body p {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 20px;
}

.site-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-features li {
    font-size: 0.82rem;
    color: var(--slate-500);
    padding-left: 16px;
    position: relative;
}

.site-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 1px;
    background: var(--teal-500);
}

.sites-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--slate-500);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

/* ── Area ─────────────────────────────────────────── */
.area {
    padding: 140px 0;
}

.area-content {
    max-width: 900px;
    margin: 0 auto;
}

.area-content .lead {
    margin-bottom: 64px;
    max-width: 680px;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.area-item {
    padding-top: 0;
}

.area-item svg {
    color: var(--teal-600);
    margin-bottom: 20px;
}

.area-item h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.area-item p {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.8;
}

/* ── Contact ──────────────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--slate-900);
    color: var(--white);
}

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

.contact .section-title {
    color: var(--white);
}

.contact .label {
    color: var(--teal-400);
}

.contact .lead {
    color: var(--slate-400);
    margin-bottom: 40px;
}

.contact-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--slate-300);
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-row svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--teal-500);
}

.contact-row a {
    color: var(--slate-300);
    transition: color 0.25s;
}

.contact-row a:hover {
    color: var(--teal-400);
}

/* ── Form ─────────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.optional {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    color: var(--slate-500);
    font-size: 0.7rem;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--slate-700);
    padding: 10px 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-600);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #f87171;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--teal-200);
    font-size: 0.9rem;
    margin-top: 8px;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--teal-400);
}

/* ── Footer ───────────────────────────────────────── */
#site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--slate-200);
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--slate-500);
    margin-top: 6px;
}

.footer-contact {
    display: flex;
    gap: 24px;
}

.footer-contact a {
    font-size: 0.82rem;
    color: var(--slate-500);
    transition: color 0.25s;
}

.footer-contact a:hover {
    color: var(--teal-600);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--slate-400);
}

/* ── Scroll Animations ────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid { gap: 48px; }
    .sites-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { gap: 56px; }
}

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

    #main-nav ul {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
    }

    #main-nav ul.open {
        transform: translateX(0);
    }

    #main-nav a {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .about { padding: 80px 0; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image img { height: 400px; }

    .sites { padding: 80px 0; }
    .sites-grid { grid-template-columns: 1fr; gap: 24px; }

    .area { padding: 80px 0; }
    .area-grid { grid-template-columns: 1fr; gap: 40px; }
    .area-content .lead { margin-bottom: 40px; }

    .contact { padding: 80px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 56px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero { min-height: 580px; }
    .hero-content { padding-top: 60px; }
    .site-card-body { padding: 24px; }
}
