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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #f5f0e6;
    background-color: #0a0e1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* === Skip Link === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #f5f0e6;
    color: #0a0e1a;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 500;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* === Typography === */
h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p {
    margin-bottom: 1.2em;
    max-width: 65ch;
}

a {
    color: #c9b896;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover, a:focus {
    color: #f5f0e6;
    outline: none;
}
a:focus-visible {
    outline: 2px solid #c9b896;
    outline-offset: 4px;
}

/* === Navigation === */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 184, 150, 0.1);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5f0e6;
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.7);
    padding: 0.5rem 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9b896;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: #f5f0e6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* === Main === */
main {
    padding-top: 70px;
}

/* === Blocks === */
.block {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Hero === */
.block-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.block-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.65);
    z-index: 1;
}
.block-hero .block-inner {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}
.block-hero h1 {
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.block-hero .hero-tagline {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(245, 240, 230, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.block-hero .hero-meta {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.6);
}

/* === Quote === */
.block-quote {
    padding: 8rem 2rem;
    text-align: center;
    background: #0f1525;
}
.block-quote blockquote {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    color: rgba(245, 240, 230, 0.9);
}
.block-quote blockquote::before {
    content: '\201C';
    display: block;
    font-size: 4rem;
    line-height: 1;
    color: rgba(201, 184, 150, 0.3);
    margin-bottom: 1rem;
}

/* === Text + Image === */
.block-text-image {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.block-text-image .block-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.block-text-image.image-left .block-inner {
    direction: rtl;
}
.block-text-image.image-left .block-inner > * {
    direction: ltr;
}
.block-text-image .block-image {
    position: relative;
    overflow: hidden;
}
.block-text-image .block-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.block-text-image:hover .block-image img {
    transform: scale(1.03);
}
.block-text-image h2 {
    margin-bottom: 1.5rem;
    color: #c9b896;
}
.block-text-image .block-body {
    font-size: 1.05rem;
    color: rgba(245, 240, 230, 0.8);
}

/* === Feature === */
.block-feature {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.block-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image, none);
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}
.block-feature .block-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.block-feature h2 {
    margin-bottom: 1.5rem;
    color: #c9b896;
}
.block-feature .block-body {
    font-size: 1.1rem;
    color: rgba(245, 240, 230, 0.8);
    line-height: 1.8;
}

/* === CTA === */
.block-cta {
    padding: 8rem 2rem;
    text-align: center;
    background: #0f1525;
}
.block-cta .block-inner {
    max-width: 600px;
    margin: 0 auto;
}
.block-cta h2 {
    margin-bottom: 1rem;
}
.block-cta .block-body {
    margin-bottom: 2.5rem;
    color: rgba(245, 240, 230, 0.7);
}
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid #c9b896;
    color: #c9b896;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    background: transparent;
    cursor: pointer;
}
.cta-button:hover,
.cta-button:focus {
    background: #c9b896;
    color: #0a0e1a;
    outline: none;
}
.cta-button:focus-visible {
    outline: 2px solid #f5f0e6;
    outline-offset: 4px;
}

/* === Founder === */
.block-founder {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.block-founder .block-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}
.block-founder .block-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(201, 184, 150, 0.2);
}
.block-founder .block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-founder h2 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.5);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}
.block-founder .founder-name {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.block-founder .founder-title {
    color: rgba(245, 240, 230, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.block-founder .founder-email {
    font-size: 0.9rem;
    color: #c9b896;
}
.block-founder .founder-bio {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: rgba(245, 240, 230, 0.75);
    line-height: 1.8;
    max-width: 600px;
}
.block-founder .founder-bio br + br {
    content: '';
    display: block;
    margin-top: 0.8em;
}

/* === Section Accent === */
.section-accent {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.5);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.section-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    background: #c9b896;
}

/* === Feature Grid === */
.block-feature-grid {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.block-feature-grid .block-intro {
    font-size: 1.1rem;
    color: rgba(245, 240, 230, 0.8);
    margin-bottom: 3rem;
    max-width: 800px;
}
.block-feature-grid .grid {
    display: grid;
    gap: 2rem;
}
.block-feature-grid .grid-2 { grid-template-columns: repeat(2, 1fr); }
.block-feature-grid .grid-3 { grid-template-columns: repeat(3, 1fr); }
.block-feature-grid .grid-4 { grid-template-columns: repeat(4, 1fr); }
.block-feature-grid .grid-card {
    background: rgba(15, 21, 37, 0.6);
    border: 1px solid rgba(201, 184, 150, 0.1);
    padding: 2.5rem;
    position: relative;
    border-left: 3px solid #c9b896;
}
.block-feature-grid .grid-card h3 {
    font-size: 1.3rem;
    color: #f5f0e6;
    margin-bottom: 1rem;
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-weight: 300;
}
.block-feature-grid .grid-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.block-feature-grid .grid-card li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: rgba(245, 240, 230, 0.7);
    line-height: 1.6;
}
.block-feature-grid .grid-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 1px;
    background: #c9b896;
}
.block-feature-grid .grid-card p {
    color: rgba(245, 240, 230, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === Stats === */
.block-stats {
    padding: 6rem 2rem;
    background: #0f1525;
    text-align: center;
}
.block-stats .block-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.block-stats .block-intro {
    font-size: 1.1rem;
    color: rgba(245, 240, 230, 0.8);
    margin-bottom: 3rem;
}
.block-stats .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}
.block-stats .stat-item {
    padding: 2rem;
    border: 1px solid rgba(201, 184, 150, 0.15);
}
.block-stats .stat-number {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #c9b896;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.block-stats .stat-label {
    font-size: 0.95rem;
    color: rgba(245, 240, 230, 0.8);
    line-height: 1.6;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    margin-bottom: 0.5rem;
}
.block-stats .stat-source {
    font-size: 0.75rem;
    color: rgba(245, 240, 230, 0.4);
    letter-spacing: 0.05em;
}

/* === Profiles === */
.block-profiles {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.block-profiles .block-intro {
    font-size: 1.1rem;
    color: rgba(245, 240, 230, 0.8);
    margin-bottom: 3rem;
}
.block-profiles .profiles-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.block-profiles .profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
}
.block-profiles .profile-image {
    width: 160px;
    height: 200px;
    overflow: hidden;
    border: 1px solid rgba(201, 184, 150, 0.15);
}
.block-profiles .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-profiles .profile-text h3 {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #f5f0e6;
    margin-bottom: 0.3rem;
}
.block-profiles .profile-role {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9b896;
    margin-bottom: 1.5rem;
}
.block-profiles .profile-bio {
    font-size: 0.95rem;
    color: rgba(245, 240, 230, 0.75);
    line-height: 1.8;
}

/* === Credentials === */
.block-credentials {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.block-credentials .block-intro {
    font-size: 1.1rem;
    color: rgba(245, 240, 230, 0.8);
    margin-bottom: 3rem;
}
.block-credentials .credentials-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.block-credentials .credential-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.block-credentials .credential-bar {
    width: 4px;
    min-height: 1.5em;
    background: #c9b896;
    flex-shrink: 0;
    margin-top: 0.3em;
}
.block-credentials .credential-text {
    flex: 1;
}
.block-credentials .credential-title {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(245, 240, 230, 0.9);
    margin-bottom: 0.2rem;
}
.block-credentials .credential-detail {
    font-size: 0.85rem;
    color: rgba(245, 240, 230, 0.5);
    letter-spacing: 0.05em;
}

/* === Contact CTA === */
.block-contact-cta {
    padding: 8rem 2rem;
    text-align: center;
    background: #0f1525;
}
.block-contact-cta .block-inner {
    max-width: 700px;
    margin: 0 auto;
}
.block-contact-cta h2 {
    font-family: Georgia, 'Times New Roman', 'Cambria', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgba(245, 240, 230, 0.95);
}
.block-contact-cta .block-body {
    font-size: 1.1rem;
    color: rgba(245, 240, 230, 0.7);
    margin-bottom: 2rem;
}
.block-contact-cta .contact-details {
    margin-bottom: 2.5rem;
}
.block-contact-cta .contact-line {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}
.block-contact-cta .contact-label {
    font-size: 0.85rem;
    color: rgba(245, 240, 230, 0.5);
}
.block-contact-cta .contact-value {
    font-size: 0.9rem;
    color: #c9b896;
}
.block-contact-cta .contact-line.single {
    justify-content: center;
    font-size: 1rem;
    color: rgba(245, 240, 230, 0.9);
    margin-bottom: 0.2rem;
}
.block-contact-cta .contact-line.single:nth-child(2) {
    font-size: 0.85rem;
    color: rgba(245, 240, 230, 0.6);
    margin-bottom: 1rem;
}
.block-contact-cta .contact-line.single:last-child {
    font-size: 0.85rem;
    color: #c9b896;
}

/* === Tablet === */
@media (max-width: 1024px) {
    .block-feature-grid .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .block-stats .stats-row { grid-template-columns: repeat(2, 1fr); }
    .block-profiles .profiles-row { grid-template-columns: 1fr; }
}

/* === Mobile === */
@media (max-width: 768px) {
    .block-feature-grid .grid,
    .block-feature-grid .grid-2,
    .block-feature-grid .grid-3,
    .block-feature-grid .grid-4,
    .block-stats .stats-row { grid-template-columns: 1fr; gap: 1rem; }
    .block-feature-grid .grid-card { padding: 1.5rem; }
    .block-feature-grid .grid-card h3 { font-size: 1.15rem; }
    .block-feature-grid .block-intro,
    .block-stats .block-intro,
    .block-profiles .block-intro,
    .block-credentials .block-intro { font-size: 1rem; margin-bottom: 2rem; }
    .block-stats .stat-item { padding: 1.5rem; }
    .block-stats .stat-number { font-size: clamp(2rem, 8vw, 3rem); }
    .block-profiles .profile-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.5rem; }
    .block-profiles .profile-image { width: 140px; height: 180px; }
    .block-credentials .credential-item { align-items: flex-start; }
    .block-contact-cta .contact-line { flex-direction: column; gap: 0.15rem; }
    .block-contact-cta h2 { font-size: clamp(1.4rem, 6vw, 2.2rem); }
    .block-founder .founder-bio { text-align: center; margin-left: auto; margin-right: auto; }
    .section-accent { font-size: 0.7rem; padding-left: 1rem; }
}

/* === Footer === */
.site-footer {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(201, 184, 150, 0.1);
    text-align: center;
    background: #070a12;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.footer-copyright {
    font-size: 0.85rem;
    color: rgba(245, 240, 230, 0.4);
    margin-bottom: 0.5rem;
}
.footer-email {
    font-size: 0.85rem;
    color: rgba(245, 240, 230, 0.5);
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-inner {
        padding: 0 1rem;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu li {
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 0.9rem;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .block-text-image .block-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .block-text-image.image-left .block-inner {
        direction: ltr;
    }

    .block-founder .block-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .block-hero,
    .block-quote,
    .block-text-image,
    .block-feature,
    .block-cta,
    .block-founder,
    .block-feature-grid,
    .block-stats,
    .block-profiles,
    .block-credentials,
    .block-contact-cta {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .block {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .block-text-image .block-image img {
        transition: none;
    }
}
