/* =============================================================================
   RESET & BASE STYLES
   ============================================================================= */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0c1729;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 1.25rem;
}

/* =============================================================================
   CONTAINER
   ============================================================================= */

.container {
    max-width: 520px;
    margin: 0 auto;
}

/* =============================================================================
   EDITORIAL MASTHEAD
   ============================================================================= */

.masthead {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
    align-items: start;
}

.masthead-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
}

/* Photo placeholder - remove when adding real image */
.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1a2942 0%, #0c1729 100%);
    border: 1px solid rgba(232, 90, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    color: #E85A33;
    letter-spacing: -0.02em;
}

/* Real image styling */
.masthead-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.masthead-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* =============================================================================
   TYPOGRAPHY - EDITORIAL TITLE
   ============================================================================= */

.title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.25rem, 7vw, 3.25rem);
    font-weight: 800;
    font-style: italic;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.title-first {
    display: block;
}

.title-last {
    display: block;
    color: #E85A33;
}

.subtitle {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* =============================================================================
   SOCIAL ICONS - INTEGRATED
   ============================================================================= */

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.social-icon:hover,
.social-icon:focus {
    color: #E85A33;
    border-color: rgba(232, 90, 51, 0.4);
    transform: translateY(-1px);
}

.social-icon:focus {
    outline: 2px solid #E85A33;
    outline-offset: 2px;
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

/* =============================================================================
   TAGLINE
   ============================================================================= */

.tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
    max-width: 28em;
}

/* =============================================================================
   PRIMARY CTAs - HIGH CONTRAST
   ============================================================================= */

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.cta-primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background-color: #E85A33;
    color: #0c1729;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cta-primary:hover::before,
.cta-primary:focus::before {
    opacity: 1;
}

.cta-primary:hover,
.cta-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 90, 51, 0.4);
}

.cta-primary:focus {
    outline: 2px solid #E85A33;
    outline-offset: 4px;
}

.cta-primary:active {
    transform: translateY(0);
}

/* Secondary color variant */
.cta-secondary-color {
    background-color: #ffffff;
    color: #0c1729;
}

.cta-secondary-color:hover,
.cta-secondary-color:focus {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.cta-label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.cta-meta {
    font-size: 0.8125rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
}

/* =============================================================================
   SECONDARY NAVIGATION
   ============================================================================= */

.secondary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

.secondary-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.secondary-link:hover,
.secondary-link:focus {
    color: #E85A33;
}

.secondary-link:focus {
    outline: 2px solid #E85A33;
    outline-offset: 2px;
    border-radius: 2px;
}

.divider {
    color: rgba(255, 255, 255, 0.2);
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (min-width: 520px) {
    body {
        padding: 3rem 2rem;
    }

    .masthead {
        grid-template-columns: 160px 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .photo-placeholder {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1rem;
    }
}

@media (min-width: 640px) {
    .container {
        max-width: 560px;
    }

    .masthead {
        grid-template-columns: 180px 1fr;
        gap: 2.5rem;
    }

    .cta-section {
        flex-direction: row;
        gap: 1rem;
    }

    .cta-primary {
        flex: 1;
    }
}

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
    }
}

/* Keyboard navigation focus */
:focus-visible {
    outline: 2px solid #E85A33;
    outline-offset: 2px;
}
