/* ==========================================================================
   Base: fonts, reset, typography, layout primitives, accessibility helpers
   ========================================================================== */

/* Self-hosted variable fonts (latin + latin-ext for Turkish characters) */
@font-face {
    font-family: "Big Shoulders Display";
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url("../fonts/bigshoulders-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Big Shoulders Display";
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url("../fonts/bigshoulders-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("../fonts/archivo-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + var(--space-4));
    color-scheme: dark;
    /* Elements waiting off-canvas for their entrance animation must never widen the page. */
    overflow-x: clip;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, fieldset {
    margin: 0;
}

ul[class], ol[class] {
    list-style: none;
    padding: 0;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

address {
    font-style: normal;
}

abbr[title] {
    text-decoration: none;
}

[hidden] {
    display: none !important;
}

main:focus {
    outline: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: var(--lh-heading);
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a,
button,
input,
select,
textarea,
label {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(248, 185, 69, 0.2);
}

a {
    color: var(--gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: color var(--dur-fast) ease;
}

a:hover {
    color: var(--gold-light);
}

strong {
    font-weight: 700;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

/* Focus: always visible, never clipped (clip-path lives on pseudo-elements) */
:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

/* Layout primitives */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

/* Accessibility helpers */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 200;
    padding: var(--space-3) var(--space-4);
    background: var(--gold);
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
    color: var(--black);
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.1em;
    height: 1.1em;
    flex: none;
}

/* Shared type roles */
.display-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--fs-2xl);
    line-height: var(--lh-tight);
    text-transform: uppercase;
    letter-spacing: -0.005em;
}

.display-title--md {
    font-size: var(--fs-xl);
    line-height: 0.95;
}

.lead {
    font-size: var(--fs-lg);
    line-height: 1.45;
    color: var(--text);
}

.label {
    font-family: var(--font-body);
    font-stretch: 125%;
    font-weight: 600;
    font-size: var(--fs-xs);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
