/* Typography System */

/* Font Face - Pinehouse (Primary Heading Font) */
@font-face {
    font-family: 'Pinehouse';
    src: url('https://cdn.vertigobeerusa.com/ed-pinehouse-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Font Face - Rigidity Demo (Secondary Accent Font) */
@font-face {
    font-family: 'Rigidity Demo';
    src: url('https://cdn.vertigobeerusa.com/rigidity-demo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base Typography */
body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-primary-dark);
    background-color: var(--color-white);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--color-primary-dark);
    letter-spacing: 0.02em;
}

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

.section-subtitle {
    font-size: var(--font-size-lg);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
    color: var(--color-gray-600);
    line-height: var(--line-height-relaxed);
}

.section-subtitle--light {
    color: var(--color-off-white);
    opacity: 0.9;
}

/* Paragraph Styles */
p {
    margin-bottom: var(--space-6);
}

p:last-child {
    margin-bottom: 0;
}

/* Strong & Emphasis */
strong, b {
    font-weight: var(--font-weight-bold);
}

em, i {
    font-style: italic;
}

/* Links */
a {
    color: var(--color-accent);
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary);
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Blockquotes - Use Rigidity Demo for tagline emphasis */
blockquote {
    font-family: var(--font-accent);
    font-size: var(--font-size-2xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-8);
    margin: var(--space-12) 0;
    border-left: 4px solid var(--color-accent);
    color: var(--color-primary);
    background-color: var(--color-off-white);
}

/* Lists */
ul, ol {
    margin-bottom: var(--space-6);
}

ul li, ol li {
    margin-bottom: var(--space-3);
}

/* Utility Typography Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-accent {
    color: var(--color-accent);
}

.text-primary {
    color: var(--color-primary);
}

.text-light {
    color: var(--color-off-white);
}

.text-muted {
    color: var(--color-gray-500);
}

.font-heading {
    font-family: var(--font-heading);
}

.font-body {
    font-family: var(--font-body);
}

.font-accent {
    font-family: var(--font-accent);
}

/* Responsive Typography Adjustments */
@media (max-width: 640px) {
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
}
