/* Burlingwood — Linen & Ink (light boutique optical) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-display: "Libre Baskerville", Georgia, serif;
    --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

    --paper: #f7f4ee;
    --paper-2: #efe9df;
    --card: #ffffff;
    --ink: #1c1917;
    --ink-soft: #44403c;
    --muted: #78716c;
    --rule: #d6d3d1;
    --rule-strong: #a8a29e;

    --optic: #1e3a5f;
    --optic-light: #2d4a6f;
    --accent: #b45309;
    --accent-soft: rgba(180, 83, 9, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
    --shadow-hover: 0 12px 40px rgba(28, 25, 23, 0.1);
    --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.12);

    --pop-green: #059669;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    background-image:
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 11px,
            rgba(30, 58, 95, 0.03) 11px,
            rgba(30, 58, 95, 0.03) 12px
        );
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-hover);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--optic);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.35rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--optic);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 88px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(30, 58, 95, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(30, 58, 95, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.6;
}

.grid-pattern::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(180, 83, 9, 0.08), transparent 55%);
    pointer-events: none;
}

.glow-effect {
    position: absolute;
    width: min(70vw, 480px);
    height: min(70vw, 480px);
    top: 15%;
    right: -5%;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius-pill);
    color: var(--optic);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.1rem;
    line-height: 1.12;
    color: var(--ink);
}

.title-word {
    display: block;
    margin-bottom: 0.1rem;
}

.title-word.highlight {
    color: var(--optic);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--ink-soft);
    margin-bottom: 2.25rem;
    line-height: 1.75;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.btn {
    padding: 0.9rem 1.85rem;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--optic);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.25);
}

.btn-primary:hover {
    background: var(--optic-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--rule-strong);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    border-color: var(--optic);
    color: var(--optic);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--optic);
    border: 2px solid var(--optic);
}

.btn-outline:hover {
    background: rgba(30, 58, 95, 0.06);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

.stat-box {
    text-align: center;
    padding: 1.1rem 0.5rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--optic);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--rule-strong);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(9px);
    }
}

section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--accent-soft);
    border: 1px solid rgba(180, 83, 9, 0.25);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--ink);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.games-section {
    background: var(--card);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.games-showcase {
    margin-bottom: 3.5rem;
}

.featured-game {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.game-media {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s ease;
}

.game-1 {
    background: linear-gradient(145deg, #e0e7ef 0%, #c7d2e0 40%, #1e3a5f 100%);
}

.game-2 {
    background: linear-gradient(160deg, #dbeafe, #bfdbfe);
}

.game-3 {
    background: linear-gradient(160deg, #e0f2fe, #bae6fd);
}

.game-4 {
    background: linear-gradient(160deg, #fef3c7, #fde68a);
}

.game-5 {
    background: linear-gradient(160deg, #e7e5e4, #d6d3d1);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 25, 23, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-media:hover .game-overlay {
    opacity: 1;
}

.game-media:hover .game-image {
    transform: scale(1.03);
}

.game-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0.35rem 0.85rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--optic);
    text-transform: uppercase;
}

.game-badge.featured {
    background: var(--optic);
    color: #fff;
    border-color: var(--optic);
}

.play-button {
    width: 68px;
    height: 68px;
    background: var(--card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--optic);
    border: 1px solid var(--rule);
}

.game-info {
    padding: 2.25rem 2rem;
}

.game-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.game-platform,
.game-year {
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-platform {
    background: rgba(30, 58, 95, 0.1);
    color: var(--optic);
}

.game-year {
    background: var(--accent-soft);
    color: var(--accent);
}

.game-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.game-genre {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.game-description {
    color: var(--ink-soft);
    margin-bottom: 1.35rem;
    line-height: 1.75;
    font-size: 0.98rem;
}

.game-features {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--card);
    border: 1px solid var(--rule);
}

.game-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.game-card {
    background: var(--paper);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--rule);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.game-card .game-image {
    height: 170px;
}

.game-content {
    padding: 1.35rem 1.35rem 1.5rem;
}

.game-card .game-title {
    font-size: 1.2rem;
}

.game-card .game-description {
    font-size: 0.9rem;
}

.game-link {
    color: var(--optic);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    transition: color 0.2s ease;
}

.game-link:hover {
    color: var(--accent);
}

.studio-section {
    background: transparent;
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.studio-description {
    color: var(--ink-soft);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

.studio-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.value-item {
    text-align: center;
    padding: 1.35rem 0.85rem;
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease;
}

.value-item:hover {
    border-color: var(--optic);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.value-item p {
    color: var(--muted);
    font-size: 0.82rem;
}

.studio-visual {
    position: relative;
}

.studio-image {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(160deg, #e0e7ef, #94a3b8 50%, #1e3a5f);
}

.floating-card {
    position: absolute;
    padding: 0.85rem 1.1rem;
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: var(--shadow-hover);
    animation: float 4.5s ease-in-out infinite;
}

.floating-card .card-text {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.85rem;
}

.card-1 {
    top: 12px;
    right: -8px;
}

.card-2 {
    bottom: 72px;
    left: -12px;
    animation-delay: 1s;
}

.card-3 {
    top: 42%;
    right: -14px;
    animation-delay: 2s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.card-icon {
    font-size: 1.35rem;
}

.card-text {
    font-weight: 600;
    color: var(--ink);
}

.team-section {
    background: var(--paper-2);
    border-top: 1px solid var(--rule);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.1rem;
}

.team-member {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    text-align: center;
    border: 1px solid var(--rule);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.member-photo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.photo-placeholder {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ef, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--optic);
    border: 2px solid var(--rule);
}

.member-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.member-role {
    color: var(--optic);
    font-weight: 700;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
}

.member-bio {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    gap: 0.45rem;
    justify-content: center;
}

.member-social a {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    border-radius: var(--radius-pill);
    color: var(--optic);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid var(--rule);
    transition: all 0.2s ease;
}

.member-social a:hover {
    background: var(--optic);
    color: #fff;
    border-color: var(--optic);
}

.careers-section {
    background: var(--card);
    border-top: 1px solid var(--rule);
}

.careers-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.careers-description {
    color: var(--ink-soft);
    margin-bottom: 0.9rem;
    line-height: 1.75;
    font-size: 1rem;
}

.open-positions {
    margin: 2rem 0;
}

.open-positions h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--ink);
}

.position-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.position-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.15rem;
    background: var(--paper);
    border-radius: var(--radius-md);
    border: 1px solid var(--rule);
    gap: 1rem;
}

.position-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--ink);
}

.position-location {
    color: var(--muted);
    font-size: 0.8rem;
}

.careers-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(165deg, #fef9c3, #fde68a 40%, #d97706);
}

.news-section {
    background: var(--paper);
    border-top: 1px solid var(--rule);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem;
}

.news-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--rule);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.news-card.featured-news {
    grid-column: span 2;
}

.news-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.news-1 {
    background: linear-gradient(135deg, #1e3a5f, #334155);
}

.news-2 {
    background: linear-gradient(135deg, #bae6fd, #7dd3fc);
}

.news-3 {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.news-card:hover .news-image {
    transform: scale(1.02);
}

.news-content {
    padding: 1.35rem;
}

.news-date {
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
    display: block;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    color: var(--ink);
}

.news-excerpt {
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
}

.news-link {
    color: var(--optic);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
}

.news-link:hover {
    color: var(--accent);
}

.contact-section {
    background: var(--card);
    border-top: 1px solid var(--rule);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card,
.social-media {
    padding: 1.35rem;
    background: var(--paper);
    border-radius: var(--radius-md);
    border: 1px solid var(--rule);
}

.info-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.info-card h4,
.social-media h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.info-card p {
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 0.92rem;
}

.info-card p a {
    color: var(--optic);
    text-decoration: none;
    font-weight: 700;
}

.info-card p a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.social-link {
    padding: 0.4rem 0.85rem;
    background: var(--card);
    border-radius: var(--radius-pill);
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--rule);
    transition: all 0.2s ease;
}

.social-link:hover {
    border-color: var(--optic);
    color: var(--optic);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.5rem;
    background: var(--paper);
    border-radius: var(--radius-lg);
    border: 1px solid var(--rule);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--optic);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.footer {
    background: var(--ink);
    padding: 3rem 0 1.5rem;
    color: #e7e5e4;
    border-top: 4px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .logo {
    color: #fafaf9;
}

.footer-brand .logo-text {
    color: #fafaf9;
}

.footer-tagline {
    color: #a8a29e;
    margin: 0.85rem 0 1.1rem;
    line-height: 1.6;
    font-size: 0.92rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    min-width: 40px;
    height: 40px;
    padding: 0 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    color: #fafaf9;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease;
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
    max-width: 640px;
}

.footer-column h4 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #a8a29e;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.45rem;
}

.footer-column ul li a {
    color: #d6d3d1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a8a29e;
    font-size: 0.8rem;
}

.footer-meta {
    color: #a8a29e;
}

@media (max-width: 1024px) {
    .featured-game {
        grid-template-columns: 1fr;
    }

    .game-media {
        min-height: 260px;
    }

    .studio-content,
    .careers-content {
        grid-template-columns: 1fr;
    }

    .news-card.featured-news {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 1.25rem 0 1.75rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--rule);
        gap: 0;
    }

    .nav-menu li {
        padding: 0.65rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .studio-values {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.65rem;
        text-align: center;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 72px 0;
    }

    .hero {
        padding: 100px 20px 72px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .game-actions {
        flex-direction: column;
    }

    .position-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
