/* CSS Custom Properties */
:root {
    --background: 210 11% 97%; /* #f8f8f8 */
    --text-primary: 0 0% 7%; /* #111 */
    --text-secondary: 0 0% 25%; /* #404040 */
    --text-muted: 0 0% 45%; /* #737373 */
    --border-subtle: 0 0% 88%; /* #e0e0e0 */
    --shadow-soft: 0 0% 0%; /* #000000 with alpha */
    
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Georgia', serif;
    --font-headline: 'Georgia', serif;
    --font-handwritten: 'Kalam', cursive;
    --globe-blue: #1C4E80;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    --border-radius: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: #f7f6f3;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 23px,
            rgba(0,0,0,0.05) 24px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(0,0,0,0.02) 2px
        );
    color: #1a1a1a;
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    position: relative;
}

/* Newspaper Wrapper */
.newspaper-wrapper {
    max-width: 1000px;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: var(--spacing-lg) auto;
    border: 1px solid #ddd;
}

/* Newspaper Masthead */
.newspaper-masthead {
    padding: var(--spacing-lg) var(--spacing-lg);
    background: #ffffff;
    border-top: 4px solid #000000;
    border-bottom: 4px solid #000000;
    text-align: center;
    position: relative;
}

.masthead-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #000000;
    padding-bottom: var(--spacing-xs);
}

.newspaper-title-svg {
    margin: var(--spacing-md) 0;
    text-align: center;
}

.globe-masthead {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    width: auto;
}

.newspaper-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    color: #666;
}

.masthead-rule {
    height: 2px;
    background: #000000;
    margin: var(--spacing-sm) 0;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-lg) 0;
    background: #ffffff;
}

/* Article Styling */
.main-article {
    background: #ffffff;
}

.article-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #ccc;
}

.article-headline {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: #000000;
    text-transform: none;
    letter-spacing: -0.02em;
    text-align: left;
}

.article-byline {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.3vw, 0.9rem);
    font-weight: 400;
    color: #555;
    text-transform: none;
    letter-spacing: 0;
    font-style: italic;
}

/* Newspaper Sidebar */
.newspaper-sidebar {
    background: #ffffff;
    padding: var(--spacing-md);
    border-left: 2px solid #000000;
}

.sidebar-section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #ddd;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-headline {
    font-family: var(--font-headline);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    color: #000000;
    border-bottom: 2px solid #000000;
    padding-bottom: var(--spacing-xs);
}

.sidebar-content {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    line-height: 1.5;
}

.location-item {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px dotted #ccc;
    font-weight: 500;
}

.location-item:last-child {
    border-bottom: none;
}

.sidebar-contact {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #000000;
    padding: var(--spacing-xs) var(--spacing-sm);
    display: inline-block;
    background: #ffffff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.sidebar-contact:hover {
    background: #000000;
    color: #ffffff;
}

/* Newspaper Footer */
.newspaper-footer {
    padding: var(--spacing-lg) var(--spacing-lg);
    background: #ffffff;
    border-top: 4px solid #000000;
    text-align: center;
}

.footer-rule {
    height: 1px;
    background: #000000;
    margin-bottom: var(--spacing-sm);
}

.footer-content {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #333;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-separator {
    margin: 0 var(--spacing-sm);
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
    }
    
    .newspaper-columns {
        column-count: 1;
        column-gap: 0;
        column-rule: none;
    }
    
    .column-right {
        border: none;
        padding: 0;
        margin-top: var(--spacing-md);
    }
    
    .newspaper-wrapper {
        margin: var(--spacing-sm) auto;
    }
    
    .newspaper-masthead {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .masthead-top {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .logo {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: var(--spacing-md);
    }
    
    .subtitle {
        font-size: clamp(0.7rem, 3vw, 0.9rem);
        letter-spacing: 0.1em;
        margin-bottom: var(--spacing-sm);
    }
    
    .overview-text {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.7;
        margin-bottom: var(--spacing-md);
    }
    
    .overview-text:first-of-type {
        font-size: clamp(1.1rem, 4.5vw, 1.3rem);
        margin-bottom: var(--spacing-md);
    }
    
    .locations {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        letter-spacing: 0.25em;
        padding: var(--spacing-sm) 0;
        margin-bottom: var(--spacing-md);
    }
    
    .newspaper-rule {
        width: 95%;
        margin: var(--spacing-md) auto var(--spacing-lg) auto;
    }
    
    .footer {
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-sm);
    }
}

/* Cleaned for newspaper authenticity */

/* Handwritten notes removed for clean newspaper design */

@media (max-width: 480px) {
    .content-wrapper {
        padding: var(--spacing-md) var(--spacing-sm);
        margin: 0 auto var(--spacing-md) auto;
    }
    
    .logo {
        font-size: clamp(1.8rem, 10vw, 2.4rem);
        letter-spacing: 0.02em;
    }
    
    .subtitle {
        font-size: clamp(0.65rem, 4vw, 0.8rem);
        letter-spacing: 0.08em;
    }
    
    .overview-text {
        font-size: clamp(0.95rem, 5vw, 1.1rem);
        line-height: 1.65;
    }
    
    .overview-text:first-of-type {
        font-size: clamp(1rem, 5.5vw, 1.2rem);
    }
    
    .locations {
        font-size: clamp(0.8rem, 4vw, 1rem);
        letter-spacing: 0.2em;
    }
    
    .newspaper-rule {
        width: 90%;
    }
}

/* Header Styles */
.header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    padding-bottom: 0;
}

.logo {
    font-family: var(--font-headline);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-lg);
    color: #000000;
    opacity: 1;
    width: auto;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

.subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 500;
    color: #000000;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
    white-space: nowrap;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding: var(--spacing-xs) 0;
}



/* Main Content */
.main-content {
    margin-bottom: var(--spacing-2xl);
}

.company-overview {
    margin-bottom: var(--spacing-lg);
    padding: 0;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.newspaper-rule {
    width: 98%;
    height: 3px;
    background: #000000;
    margin: var(--spacing-lg) auto var(--spacing-2xl) auto;
    position: relative;
    box-shadow: 0 1px 0 #000000, 0 -1px 0 #000000;
}

.newspaper-rule::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 1px;
    background: #000000;
}

.newspaper-rule::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 1px;
    background: #000000;
}

/* Multi-column newspaper layout */
.newspaper-columns {
    column-count: 2;
    column-gap: var(--spacing-lg);
    column-rule: 1px solid #ddd;
    margin-bottom: var(--spacing-lg);
}

.column-left,
.column-right {
    break-inside: avoid;
}

.column-right {
    border: none;
    padding: 0;
}

.secondary-headline {
    font-family: var(--font-headline);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #000000;
    line-height: 1.3;
}

.secondary-text {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}

.article-content {
    margin-bottom: var(--spacing-lg);
}

.article-paragraph {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.7;
    color: #333;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    text-align: justify;
    text-indent: 1.5em;
    position: relative;
}

.article-paragraph:first-of-type,
.lead-paragraph {
    text-indent: 0;
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.6;
}

.overview-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: #222;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    opacity: 1;
    text-align: left;
    text-indent: 0;
    max-width: 100%;
    column-count: 1;
}

.overview-text:first-of-type {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    text-indent: 0;
    font-style: normal;
    border: none;
    padding: 0;
}

.overview-text:last-of-type {
    font-style: normal;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: #333;
    text-align: justify;
    text-indent: 1.5em;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    border: none;
    padding: 0;
    background: transparent;
}

/* Locations - removed for newspaper authenticity */

.location {
    display: inline-block;
}

.location-separator {
    margin: 0 var(--spacing-md);
    opacity: 1;
}

/* Contact Section */
.contact-section {
    opacity: 1;
    padding: 0;
    text-align: center;
    margin-bottom: 0;
}

.email-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2.1vw, 1.15rem);
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    letter-spacing: 0.01em;
    position: relative;
}

.email-cta:hover {
    text-decoration: underline;
}

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

.arrow {
    font-size: 1.2em;
    transition: var(--transition-smooth);
}

.email-cta:hover .arrow {
    transform: translateX(4px);
}

/* Footer */
.footer {
    margin-top: var(--spacing-xs);
    padding-top: var(--spacing-xs);
    text-align: center;
    opacity: 1;
    border-top: 1px solid #000000;
}

.footer p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #000000;
    font-weight: 400;
    font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}



@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Typewriter effects removed for clean newspaper appearance */

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md);
        justify-content: flex-start;
        padding-top: var(--spacing-3xl);
    }
    
    .content-wrapper {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    .header {
        margin-bottom: var(--spacing-xl);
    }
    
    .main-content {
        margin-bottom: var(--spacing-xl);
    }
    
    .company-overview {
        margin-bottom: var(--spacing-lg);
    }
    
    .locations {
        margin-bottom: var(--spacing-lg);
    }
    
    .footer {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: var(--spacing-xl);
    }
    
    /* Mobile styles cleaned for newspaper */
}

@media (max-width: 480px) {
    .container {
        padding: var(--spacing-sm);
        padding-top: var(--spacing-2xl);
    }
    
    .content-wrapper {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .email-cta {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
    
    .location-separator {
        margin: 0 var(--spacing-xs);
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .container {
        justify-content: flex-start;
        padding-top: var(--spacing-lg);
    }
    
    .content-wrapper {
        padding: var(--spacing-lg);
    }
    
    .header {
        margin-bottom: var(--spacing-lg);
    }
    
    .main-content {
        margin-bottom: var(--spacing-lg);
    }
    
    .footer {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: var(--spacing-lg);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content-wrapper {
        border: 2px solid hsl(var(--text-primary));
        background: hsl(var(--background));
    }
    
    .email-cta {
        border: 2px solid hsl(var(--text-primary));
        background: hsl(var(--background));
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .content-wrapper {
        opacity: 1;
        transform: none;
    }
    
    .logo,
    .subtitle,
    .overview-text,
    .locations,
    .contact-section,
    .footer {
        opacity: 1;
        transform: none;
    }
}
