/* ============================================
   CSS VARIABLES & RESET
   ============================================ */

:root {
    --primary: #1a1a1a;
    --secondary: #f4f1ea;
    --accent: #cc0000;
    --ink: #1a1a1a;
    --ink-light: #444444;
    --ink-lighter: #777777;
    --newsprint: #f4f1ea;
    --newsprint-dark: #e8e4db;
    --newsprint-darker: #d4d0c7;
    --rule-color: #1a1a1a;
    --rule-light: #c4c0b7;
    --white: #ffffff;
    --red: #cc0000;
    --red-dark: #990000;

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Libre Baskerville', 'Georgia', serif;
    --font-accent: 'Source Serif 4', 'Georgia', serif;
    --font-elegant: 'Cormorant Garamond', 'Georgia', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --max-width: 1280px;
    --content-padding: 2rem;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--newsprint);
    background-image:
        url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    overflow-x: hidden;
}

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

a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.section-label {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-lighter);
    margin-bottom: var(--space-sm);
}

.section-label.accent {
    color: var(--red);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: var(--space-md);
}

.section-rule {
    width: 80px;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
}

.image-caption {
    display: block;
    font-family: var(--font-elegant);
    font-size: 0.85rem;
    color: var(--ink-lighter);
    margin-top: var(--space-xs);
    line-height: 1.4;
}

.drop-cap::first-letter {
    float: left;
    font-family: var(--font-display);
    font-size: 3.8em;
    line-height: 0.8;
    font-weight: 900;
    color: var(--ink);
    padding-right: 0.08em;
    margin-top: 0.05em;
}

/* ============================================
   SECTION DIVIDER ORNAMENT
   ============================================ */

.section-divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--content-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.ornament-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: var(--rule-light);
}

.ornament-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--ink);
    color: var(--newsprint);
    padding: var(--space-lg) var(--content-padding);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.cookie-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 600px;
    opacity: 0.85;
}

.cookie-text a {
    color: var(--newsprint);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--red);
}

.cookie-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background: var(--red);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--red);
    transition: all 0.2s ease;
}

.btn-cookie-accept:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--newsprint);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(244,241,234,0.3);
    transition: all 0.2s ease;
}

.btn-cookie-reject:hover {
    border-color: var(--newsprint);
}

.cookie-link {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--newsprint);
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.7;
}

.cookie-link:hover {
    opacity: 1;
    color: var(--newsprint);
}

/* ============================================
   MASTHEAD / HEADER
   ============================================ */

.masthead {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    text-align: center;
}

.masthead-top-rule {
    height: 4px;
    background: var(--ink);
    margin-bottom: 2px;
}

.masthead-top-rule::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--ink);
    margin-top: 2px;
}

.masthead-dateline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-lighter);
}

.masthead-rule {
    height: 1px;
    background: var(--ink);
}

.masthead-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-lg) 0 var(--space-sm);
}

.masthead-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-transform: none;
}

.masthead-ornament-left,
.masthead-ornament-right {
    flex-shrink: 0;
    opacity: 0.6;
}

.masthead-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-light);
    padding-bottom: var(--space-md);
}

.masthead-bottom-rule {
    height: 1px;
    background: var(--rule-light);
}

/* Navigation */
.main-nav {
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 100;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.nav-dot {
    font-size: 0.6rem;
    color: var(--ink-lighter);
    user-select: none;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    padding: var(--space-xs) var(--space-sm);
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--red);
}

.nav-link.active {
    color: var(--red);
}

/* ============================================
   HERO SECTION
   ============================================ */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--content-padding);
}

.hero-section {
    padding-top: var(--space-2xl);
}

.hero-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
}

.hero-main-story .section-label {
    color: var(--red);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.hero-rule {
    height: 2px;
    background: var(--ink);
    margin-bottom: var(--space-lg);
}

.hero-image-wrap {
    margin-bottom: var(--space-lg);
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: grayscale(70%) contrast(1.1);
    transition: filter 0.6s ease;
    border: 1px solid var(--rule-light);
}

.hero-image:hover {
    filter: grayscale(30%) contrast(1.05);
}

.hero-body {
    column-count: 2;
    column-gap: var(--space-xl);
    column-rule: 1px solid var(--rule-light);
    text-align: justify;
    hyphens: auto;
}

.hero-body p {
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

/* Hero Sidebar */
.hero-sidebar {
    border-left: 1px solid var(--rule-light);
    padding-left: var(--space-xl);
}

.hero-sidebar-story {
    margin-bottom: var(--space-lg);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stat-item {
    text-align: center;
    padding: var(--space-sm) 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red);
}

.stat-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-lighter);
    margin-top: var(--space-xs);
}

.stat-divider {
    height: 1px;
    background: var(--rule-light);
}

.hero-rule-sm {
    height: 1px;
    background: var(--rule-light);
    margin: var(--space-lg) 0;
}

/* Pull Quote */
.pullquote {
    position: relative;
    padding: var(--space-md) 0;
}

.pullquote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 0.5;
    color: var(--red);
    display: block;
    margin-bottom: var(--space-sm);
}

.pullquote-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    color: var(--ink);
}

.pullquote-author {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--ink-lighter);
    margin-top: var(--space-sm);
}

/* Hero CTA */
.hero-sidebar-cta {
    padding: var(--space-lg);
    border: 2px solid var(--ink);
    background: var(--white);
    text-align: center;
}

.hero-sidebar-cta p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.btn-primary {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 0.75rem 2rem;
    border: 2px solid var(--red);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--rule-light);
    padding: var(--space-xl);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-color: var(--ink);
}

.service-card-header {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.service-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-rule {
    height: 1px;
    background: var(--rule-light);
    margin: var(--space-md) 0;
}

.service-desc {
    font-size: 0.9rem;
    text-align: justify;
    margin-bottom: var(--space-md);
    color: var(--ink-light);
}

.service-features {
    margin-bottom: var(--space-lg);
}

.service-features li {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    color: var(--ink-light);
}

.service-features li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--rule-light);
}

.service-price {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.btn-details {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--red);
    transition: all 0.2s ease;
}

.btn-details:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26,26,26,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: var(--space-xl);
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--newsprint);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: var(--space-3xl);
    position: relative;
    border: 2px solid var(--ink);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 2rem;
    line-height: 1;
    color: var(--ink);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--red);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.modal-rule {
    height: 2px;
    background: var(--ink);
    margin-bottom: var(--space-xl);
}

.modal-body p {
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    text-align: justify;
}

.modal-body h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.modal-body ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.modal-body ul li {
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-md);
}

.modal-body ul li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--red);
}

.modal-cta {
    margin-top: var(--space-xl);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
}

.about-image-wrap {
    margin-bottom: var(--space-xl);
}

.about-image {
    width: 100%;
    filter: grayscale(60%) contrast(1.05);
    border: 1px solid var(--rule-light);
    transition: filter 0.6s ease;
}

.about-image:hover {
    filter: grayscale(20%) contrast(1);
}

.about-text {
    text-align: justify;
    hyphens: auto;
}

.about-text p {
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.about-sidebar {
    border-left: 1px solid var(--rule-light);
    padding-left: var(--space-xl);
}

.about-trust-box {
    padding: var(--space-xl);
    border: 1px solid var(--rule-light);
    background: var(--white);
    margin-bottom: var(--space-xl);
}

.trust-rule {
    height: 1px;
    background: var(--rule-light);
    margin: var(--space-md) 0;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--newsprint-dark);
}

.trust-list li:last-child {
    border-bottom: none;
}

.trust-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-image-sm {
    width: 100%;
    filter: grayscale(70%) contrast(1.1);
    border: 1px solid var(--rule-light);
    transition: filter 0.6s ease;
}

.about-image-sm:hover {
    filter: grayscale(30%) contrast(1);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.team-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    border: 1px solid var(--rule-light);
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--ink);
}

.team-portrait {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    border: 2px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-portrait-placeholder {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ink);
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.team-role {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
}

.team-rule {
    height: 1px;
    background: var(--rule-light);
    margin: var(--space-md) 0;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.5;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    padding: var(--space-xl);
    border: 1px solid var(--rule-light);
    background: var(--white);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--ink);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.5;
    color: var(--red);
    opacity: 0.3;
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-rule {
    height: 1px;
    background: var(--rule-light);
    margin-bottom: var(--space-md);
}

.testimonial-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
}

.testimonial-meta {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-lighter);
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */

.cases-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.case-card {
    border: 1px solid var(--rule-light);
    background: var(--white);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: var(--ink);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-sm);
}

.case-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.case-date {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-lighter);
}

.case-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.case-rule {
    height: 2px;
    background: var(--ink);
    margin-bottom: var(--space-lg);
}

.case-image-wrap {
    margin-bottom: var(--space-md);
}

.case-image {
    width: 100%;
    filter: grayscale(70%) contrast(1.1);
    border: 1px solid var(--rule-light);
    transition: filter 0.6s ease;
}

.case-image:hover {
    filter: grayscale(30%) contrast(1);
}

.case-body p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    text-align: justify;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.classified-ad-header {
    border: 2px solid var(--ink);
    border-bottom: none;
    padding: var(--space-sm) var(--space-md);
    background: var(--ink);
    text-align: center;
}

.classified-label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--newsprint);
}

.contact-form {
    border: 2px solid var(--ink);
    border-top: none;
    padding: var(--space-xl);
    background: var(--white);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--newsprint);
    border: 1px solid var(--rule-light);
    padding: 0.75rem var(--space-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 2px rgba(26,26,26,0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--red);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--red);
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--red);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.consent-label {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--ink-light);
    flex: 1;
}

.consent-label a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-submit {
    width: 100%;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    border: 2px solid var(--red);
    padding: 0.85rem var(--space-xl);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: var(--space-xl) 0;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    margin-bottom: var(--space-md);
}

.form-success p {
    font-size: 0.95rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info */
.contact-info-box {
    padding: var(--space-xl);
    border: 1px solid var(--rule-light);
    background: var(--white);
    margin-bottom: var(--space-xl);
}

.contact-rule {
    height: 1px;
    background: var(--rule-light);
    margin: var(--space-md) 0;
}

.contact-detail {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--newsprint-dark);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-label {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-lighter);
    display: block;
    margin-bottom: var(--space-xs);
}

.contact-detail-value {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Map */
.map-frame {
    border: 1px solid var(--rule-light);
    background: var(--white);
    padding: var(--space-md);
}

.map-inner {
    margin-top: var(--space-sm);
    border: 1px solid var(--rule-light);
}

.map-note {
    font-family: var(--font-elegant);
    font-size: 0.85rem;
    color: var(--ink-lighter);
    margin-top: var(--space-sm);
    text-align: center;
}

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

.footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    padding-bottom: var(--space-xl);
}

.footer-rule {
    height: 3px;
    background: var(--ink);
    margin-bottom: 2px;
}

.footer-rule::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--ink);
    margin-top: 2px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-2xl) 0;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-address {
    font-size: 0.82rem;
    color: var(--ink-lighter);
    font-style: italic;
}

.footer-col-title {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--rule-light);
}

.footer-col ul li {
    margin-bottom: var(--space-xs);
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--ink-light);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-contact p {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-bottom: var(--space-xs);
}

.footer-bottom-rule {
    height: 1px;
    background: var(--rule-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ink-lighter);
}

.footer-domain {
    color: var(--ink-lighter);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

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

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cases-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    :root {
        --content-padding: 1.25rem;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--rule-light);
        padding-top: var(--space-xl);
    }
    
    .hero-body {
        column-count: 1;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xl);
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .about-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--rule-light);
        padding-top: var(--space-xl);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .cases-layout {
        grid-template-columns: 1fr;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: var(--newsprint);
        border: 1px solid var(--rule-light);
        padding: var(--space-md);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
    }
    
    .nav-list.open {
        display: flex;
    }
    
    .nav-dot {
        display: none;
    }
    
    .nav-link {
        display: block;
        padding: var(--space-sm) var(--space-md);
        text-align: left;
    }
    
    .masthead-ornament-left,
    .masthead-ornament-right {
        display: none;
    }
    
    .masthead-dateline {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }
    
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .modal-content {
        padding: var(--space-xl);
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-divider {
        display: block;
        width: 60px;
    }
}

/* ============================================
   PRINT STYLES (for the newspaper feel)
   ============================================ */

@media print {
    .cookie-banner,
    .nav-toggle,
    .modal-overlay {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-image,
    .about-image,
    .about-image-sm,
    .case-image {
        filter: grayscale(100%) !important;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--newsprint-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--ink-lighter);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ink);
}

/* Selection color */
::selection {
    background: var(--red);
    color: var(--white);
}

::-moz-selection {
    background: var(--red);
    color: var(--white);
}
