﻿/* Reset and Base — Retro / Vintage */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Morandi + warm brown + dark red + ink green */
    --primary-color: #8B4545;
    --primary-dark: #6B3A3A;
    --secondary-color: #4A5D4F;
    --secondary-light: #6B7F72;
    --accent-color: #7A5C42;
    --morandi-sage: #9A9E8E;
    --morandi-dust: #B5A99A;
    --morandi-rose: #A67F7F;
    --paper: #EDE6DA;
    --paper-aged: #E0D6C8;
    --paper-dark: #D4C9BA;
    --dark-bg: var(--paper);
    --dark-secondary: var(--paper-aged);
    --dark-tertiary: var(--paper-dark);
    --text-primary: #2C2419;
    --text-secondary: #5C4E42;
    --text-muted: #8A7B6C;
    --text-on-accent: #F2EBE0;
    --ink: #2C2419;
    --gradient-primary: linear-gradient(135deg, #8B4545 0%, #7A5C42 55%, #6B3A3A 100%);
    --gradient-secondary: linear-gradient(135deg, #4A5D4F 0%, #3D5242 100%);
    --gradient-hero: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(139, 69, 69, 0.12), transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(74, 93, 79, 0.1), transparent 55%);
    --glass: rgba(237, 230, 218, 0.92);
    --glass-border: #5C4E42;
    --shadow-sm: 0 1px 0 rgba(44, 36, 25, 0.15), inset 0 1px 0 rgba(255, 248, 240, 0.6);
    --shadow-md: 0 4px 14px rgba(44, 36, 25, 0.12), 0 1px 3px rgba(44, 36, 25, 0.08);
    --shadow-lg: 0 8px 28px rgba(44, 36, 25, 0.14), 0 2px 6px rgba(44, 36, 25, 0.1);
    --shadow-xl: 0 12px 36px rgba(44, 36, 25, 0.16);
    --shadow-glow: 0 0 0 transparent;
    --light-glow: 0 0 24px rgba(139, 69, 69, 0.15);
    --light-leak: radial-gradient(ellipse 100% 50% at 50% 0%, rgba(181, 169, 154, 0.35), transparent 65%);
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', Georgia, serif;
    --font-label: 'Special Elite', 'Courier New', monospace;
    --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    --halftone: repeating-radial-gradient(circle at 50% 50%, rgba(44, 36, 25, 0.04) 0, rgba(44, 36, 25, 0.04) 1px, transparent 1px, transparent 4px);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    background-image:
        var(--halftone),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-aged) 50%, var(--paper-dark) 100%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--light-leak);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: var(--paper-texture);
    opacity: 0.35;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navigation — newspaper masthead */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(237, 230, 218, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-dark) 0,
        var(--primary-dark) 12px,
        var(--secondary-color) 12px,
        var(--secondary-color) 24px
    );
    opacity: 0.35;
}

.navbar.scrolled {
    background: rgba(224, 214, 200, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-aged);
    border-radius: 2px;
    color: var(--primary-dark);
    border: 2px solid var(--ink);
    box-shadow: inset 0 0 12px rgba(44, 36, 25, 0.08);
}

.logo-icon-road {
    border-radius: 2px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    text-transform: none;
    -webkit-text-fill-color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    position: relative;
    font-family: var(--font-body);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-dark);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav {
    padding: 10px 20px;
    background: var(--paper-aged);
    color: var(--primary-dark);
    font-family: var(--font-label);
    text-decoration: none;
    border-radius: 2px;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
    color: var(--text-on-accent);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero — vintage broadsheet */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 27px,
        rgba(92, 78, 66, 0.06) 27px,
        rgba(92, 78, 66, 0.06) 28px
    );
    opacity: 0.7;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: float 28s infinite ease-in-out;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(139, 69, 69, 0.35) 0%, transparent 65%);
    top: -140px;
    left: -100px;
}

.orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(74, 93, 79, 0.3) 0%, transparent 65%);
    bottom: -100px;
    right: -60px;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(122, 92, 66, 0.28) 0%, transparent 68%);
    top: 45%;
    left: 55%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.04); }
    66% { transform: translate(-15px, 15px) scale(0.98); }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(92, 78, 66, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(92, 78, 66, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 28px;
    background: rgba(237, 230, 218, 0.75);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-lg);
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed var(--morandi-dust);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--paper-aged);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-dark);
    border-radius: 0;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.title-line {
    display: block;
}

.title-line.highlight {
    font-style: italic;
    background: none;
    -webkit-text-fill-color: var(--primary-dark);
    color: var(--primary-dark);
    border-bottom: 3px double var(--primary-dark);
    display: inline-block;
    padding-bottom: 4px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.85;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-on-accent);
    border: 2px solid var(--ink);
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--light-glow);
    filter: sepia(0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.btn-secondary:hover {
    background: rgba(74, 93, 79, 0.12);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 48px;
    border-top: 2px double var(--glass-border);
}

.stat-box {
    text-align: center;
    padding: 12px 20px;
    border: 1px solid var(--morandi-dust);
    background: rgba(255, 248, 240, 0.4);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--font-label);
}

.stat-label-only {
    padding-top: 0;
    margin-top: 0;
    font-family: var(--font-label);
    color: var(--secondary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 11px;
    font-family: var(--font-label);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--primary-dark);
    border-radius: 2px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--primary-dark);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* Services section */
.games-section {
    padding: 140px 0;
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ink), transparent);
    opacity: 0.25;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--morandi-dust);
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--paper-aged);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.games-showcase {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.featured-game {
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-lg);
}

.game-media {
    position: relative;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: sepia(0.35) contrast(0.95);
}

.featured-image-1 {
    background:
        var(--halftone),
        radial-gradient(circle at 25% 30%, rgba(139, 69, 69, 0.25), transparent 50%),
        linear-gradient(165deg, #C9B8A8 0%, #A68A64 45%, #7A5C42 100%);
    box-shadow: inset 0 0 60px rgba(44, 36, 25, 0.35);
}

.game-image-2 {
    background:
        var(--halftone),
        linear-gradient(165deg, #D4C9BA 0%, #B5A99A 55%, #9B8B7E 100%);
}

.game-image-3 {
    background:
        var(--halftone),
        linear-gradient(165deg, #8A9A8E 0%, #6B7F72 50%, #4A5D4F 100%);
}

.game-image-4 {
    background:
        var(--halftone),
        linear-gradient(165deg, #C4A8A8 0%, #8B4545 55%, #6B3A3A 100%);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(44, 36, 25, 0.92) 75%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.featured-game:hover .game-overlay,
.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    max-width: 600px;
}

.game-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 14px;
}

.game-badge.new {
    background: var(--primary-dark);
    color: var(--text-on-accent);
    font-family: var(--font-label);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
}

.game-badge.popular {
    background: var(--accent-color);
    color: var(--text-on-accent);
}

.game-badge.coming-soon {
    background: var(--secondary-color);
    color: var(--text-on-accent);
}

.game-badge.award {
    background: var(--morandi-dust);
    color: var(--ink);
}

.game-title-large {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-on-accent);
}

.game-description-large {
    font-size: 15px;
    color: var(--morandi-dust);
    line-height: 1.75;
    margin-bottom: 20px;
}

.game-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-tag {
    padding: 5px 10px;
    background: rgba(44, 36, 25, 0.6);
    border: 1px solid var(--morandi-dust);
    border-radius: 0;
    font-size: 11px;
    color: var(--paper);
    font-family: var(--font-label);
    letter-spacing: 0.06em;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--glass);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .games-grid .game-card:nth-child(odd) { margin-top: 6px; }
    .games-grid .game-card:nth-child(even) { margin-top: 18px; }
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-dark);
}

.game-card .game-image {
    height: 240px;
}

.game-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: var(--paper);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    border: 2px solid var(--ink);
    transition: all 0.3s ease;
}

.game-link:hover {
    background: var(--primary-dark);
    color: var(--text-on-accent);
    transform: translate(-50%, -50%) scale(1.05);
}

.game-content {
    padding: 22px;
    border-top: 1px dashed var(--morandi-dust);
}

.game-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.game-genre {
    color: var(--primary-dark);
    font-size: 12px;
    margin-bottom: 10px;
    font-family: var(--font-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

/* About section */
.studio-section {
    padding: 140px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 201, 186, 0.5) 50%, transparent 100%);
    position: relative;
}

.studio-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 45%;
    height: 70%;
    background: radial-gradient(ellipse at right, rgba(74, 93, 79, 0.08), transparent 65%);
    pointer-events: none;
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.studio-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.studio-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 22px 16px;
    background: var(--paper-aged);
    border-radius: 2px;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    font-size: 36px;
    margin-bottom: 12px;
    filter: sepia(0.5);
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.value-item p {
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-label);
    letter-spacing: 0.05em;
}

.studio-visual {
    position: relative;
    height: 500px;
}

.studio-image-placeholder {
    width: 100%;
    height: 100%;
    background:
        var(--paper-texture),
        repeating-linear-gradient(-6deg, transparent, transparent 36px, rgba(92, 78, 66, 0.04) 36px, rgba(92, 78, 66, 0.04) 38px),
        linear-gradient(145deg, #5C4E42 0%, #3D5242 50%, #2C2419 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--ink);
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35), var(--shadow-md);
    filter: sepia(0.25);
}

.floating-card {
    position: absolute;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 2px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: floatCard 7s infinite ease-in-out;
    box-shadow: var(--shadow-md);
}

.card-1 { top: 18%; left: 8%; animation-delay: 0s; }
.card-2 { top: 48%; right: 12%; animation-delay: 2s; }
.card-3 { bottom: 18%; left: 18%; animation-delay: 4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

.card-icon {
    font-size: 28px;
    filter: sepia(0.4);
}

.card-text {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

/* Careers (if used) */
.careers-section {
    padding: 140px 0;
    position: relative;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.career-card {
    background: var(--glass);
    border: 2px solid var(--ink);
    border-radius: 2px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-dark);
}

.career-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.career-type {
    color: var(--primary-dark);
    font-size: 13px;
    font-family: var(--font-label);
}

.career-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.career-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 10px;
    background: var(--paper-aged);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    font-size: 11px;
    color: var(--secondary-color);
    font-family: var(--font-label);
}

.career-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.career-link:hover {
    color: var(--ink);
    text-decoration: underline;
}

.careers-cta {
    text-align: center;
    padding: 48px;
    background: var(--glass);
    border-radius: 2px;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-md);
}

.careers-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 17px;
}

/* News / Location */
.news-section {
    padding: 140px 0;
    background: linear-gradient(180deg, rgba(212, 201, 186, 0.4) 0%, transparent 50%, rgba(212, 201, 186, 0.3) 100%);
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--glass);
    border-radius: 2px;
    overflow: hidden;
    border: 2px solid var(--ink);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-dark);
}

.news-card.featured-news {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: sepia(0.45) contrast(0.9);
}

.featured-news .news-image {
    height: 280px;
}

.news-image-1 {
    background:
        var(--halftone),
        linear-gradient(160deg, #8B4545 0%, #6B3A3A 55%, #4A3838 100%);
}

.news-image-2 {
    background:
        var(--halftone),
        linear-gradient(160deg, #6B7F72 0%, #4A5D4F 60%, #3D5242 100%);
}

.news-image-3 {
    background:
        var(--halftone),
        linear-gradient(160deg, #A68A64 0%, #7A5C42 50%, #5C4E42 100%);
}

.news-content {
    padding: 28px;
    border-top: 1px dashed var(--morandi-dust);
}

.news-date {
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 10px;
    display: block;
    font-family: var(--font-label);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
    font-size: 14px;
}

.news-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-link:hover {
    color: var(--primary-dark);
}

/* Contact */
.contact-section {
    padding: 140px 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 18px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: var(--paper-aged);
    border: 2px solid var(--ink);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 6px;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item p a {
    color: var(--primary-dark);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-dark);
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    padding: 10px 20px;
    background: var(--paper-aged);
    border: 2px solid var(--ink);
    border-radius: 2px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--text-on-accent);
    border-color: var(--ink);
}

.contact-form {
    background: var(--glass);
    padding: 40px;
    border-radius: 2px;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed var(--morandi-dust);
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 248, 240, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--primary-dark);
}

.form-group textarea {
    resize: vertical;
}

/* Footer — vintage footer band */
.footer {
    background: linear-gradient(180deg, #3D5242 0%, #2C2419 100%);
    border-top: 3px double var(--morandi-dust);
    padding: 80px 0 36px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-dark) 0,
        var(--primary-dark) 16px,
        var(--morandi-dust) 16px,
        var(--morandi-dust) 32px
    );
    opacity: 0.5;
}

.footer .logo-text,
.footer .footer-title {
    color: var(--paper);
}

.footer-tagline,
.footer-column ul li,
.footer-column ul li a,
.footer-bottom p {
    color: var(--morandi-dust);
}

.footer-column ul li a:hover {
    color: var(--paper);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px 48px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-tagline {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.65;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer .logo-icon {
    background: rgba(255, 248, 240, 0.12);
    border-color: var(--morandi-dust);
    color: var(--paper);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(181, 169, 154, 0.35);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    font-family: var(--font-label);
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1024px) {
    .studio-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .news-card.featured-news {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--paper);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 28px 0;
        border-top: 2px solid var(--ink);
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px;
    }

    .hamburger {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .hero-content {
        padding: 24px 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 16px;
    }

    .games-grid,
    .studio-values,
    .careers-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand .footer-tagline {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section-title {
        font-size: 28px;
    }

    .game-media {
        height: 380px;
    }

    .contact-form {
        padding: 28px 20px;
    }
}

/* Retro typography finish */
.logo-text,
.hero-title,
.section-title,
.game-title-large,
.stat-number,
.news-title,
.career-title,
.value-item h4,
.contact-item h4,
.footer-title {
    font-family: var(--font-display);
}

.section-label,
.btn-nav,
.btn-primary,
.btn-secondary,
.hero-badge,
.stat-label,
.game-genre,
.meta-tag,
.news-date,
.news-link,
.social-link,
.form-group label,
.card-text,
.footer-bottom p {
    font-family: var(--font-label);
}
