/* =========================================================
     Design tokens
     ========================================================= */
:root {
    --ink: #1c1a17;
    --ink-soft: #4a453d;
    --ink-mute: #948c7c;
    --paper: #faf8f4;
    --paper-deep: #f0ebe0;
    --line: #ddd5c4;
    --white: #ffffff;
    --accent: #7c6a4d;

    --font-display: "Fraunces", "Georgia", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;

    --container: 1280px;
    --header-h: 92px;

    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    /*display: block;*/
    max-width: 100%;
    height: auto;
}
a {
    color: var(--ink-mute);
    text-decoration: none;
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}
::selection {
    background: var(--ink);
    color: var(--paper);
}

.ms-auto {
    margin-left: auto;
}

@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;
    }
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    padding: 0.75rem 1.25rem;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.section {
    padding: 8rem 0;
}
.section-deep {
    background: var(--paper-deep);
}
.section-ink {
    background: var(--ink);
    color: rgba(250, 248, 244, 0.82);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}
.section-ink .eyebrow {
    color: #cbbf9e;
}

.display-xl {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.section-ink .display-xl {
    color: var(--white);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 2px;
    border: 1px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-solid {
    background: var(--ink);
    color: var(--paper);
}
.btn-solid:hover {
    background: var(--accent);
}
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line);
    transition: border-color var(--transition), gap var(--transition);
}
.link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}
.link-arrow:hover {
    border-color: var(--ink);
    gap: 0.75rem;
}
.link-arrow:hover svg {
    transform: translateX(2px);
}
.link-arrow.light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}
.link-arrow.light:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 900ms ease, transform 900ms ease;
}
.reveal.visible, .jodit-workplace .reveal {
    opacity: 1;
    transform: none;
}
.reveal[data-delay="100"] {
    transition-delay: 100ms;
}
.reveal[data-delay="200"] {
    transition-delay: 200ms;
}
.reveal[data-delay="300"] {
    transition-delay: 300ms;
}

/* =========================================================
     Header
     ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background var(--transition), border-color var(--transition),
        height var(--transition);
    border-bottom: 1px solid transparent;
}

.__indexx0 .site-header {
    position: relative;
}

.site-header.scrolled,
.__indexx0 .site-header, .p_relative.site-header {
    background: rgba(250, 248, 244, 0.96);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
    height: 76px;
}

.site-header.scrolled .btn-outline-light,
.__indexx0 .site-header .btn-outline-light,
.p_relative.site-header .btn-outline-light {
    color: var(--accent);
    border-color: var(--accent);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo {
    display: block;
    height: 50%;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

/* Default state (hero on homepage): show light logo */
.logo-light {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.logo-dark {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

/* Scrolled or non-index page: show dark logo */
.site-header.scrolled .logo-light,
.__indexx0 .site-header .logo-light,
.p_relative.site-header .logo-light {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
.site-header.scrolled .logo-dark,
.__indexx0 .site-header .logo-dark,
.p_relative.site-header .logo-dark {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Adjust logo size when scrolled */
.site-header.scrolled .logo,
.__indexx0 .site-header .logo,
.p_relative.site-header .logo {
    max-height: 45px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.main-nav {
    display: none;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

.brand {
    font-family: var(--font-display);
    font-size: 1.375rem;
    letter-spacing: 0.02em;
    color: var(--white);
    transition: color var(--transition);
}
.brand strong {
    font-weight: 600;
}
.site-header.scrolled .brand,
.__indexx0 .site-header .brand,
.p_relative.site-header .brand {
    color: var(--ink);
}

/* Recursive dropdown menu — works at any nesting depth via the same rules */
.nav-menu,
.nav-menu ul {
    list-style: none;
    margin-bottom: 0;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.site-header.scrolled .nav-menu > li > a,
.__indexx0 .site-header .nav-menu > li > a,
.p_relative.site-header .nav-menu > li > a {
    color: var(--ink-soft);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    border-color: currentColor;
}
.site-header.scrolled .nav-menu > li > a:hover,
.__indexx0 .site-header .nav-menu > li > a.active,
.p_relative.site-header .nav-menu > li > a.active {
    color: var(--ink);
}

/* Caret shown only on links that actually have a submenu */
.nav-menu li > a:has(+ ul)::after {
    content: "";
    width: 6px;
    height: 6px;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    opacity: 0.7;
}
.nav-menu ul li > a:has(+ ul)::after {
    transform: rotate(-45deg);
    margin-top: 0;
}

/* Submenu panel — identical rule set applies however deep it is nested */
.nav-menu li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    padding: 0.5rem 0;
    margin-top: 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(20, 18, 15, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    z-index: 60;
}
/* Invisible bridge so the gap above the panel doesn't break :hover */
.nav-menu li > ul::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
}

/* Nested (2nd+ level) submenus open to the side instead of stacking below */
.nav-menu li li > ul {
    top: -0.5rem;
    left: 100%;
    margin-top: 0;
    margin-left: 0.5rem;
}
.nav-menu li li > ul::before {
    top: 0;
    bottom: 0;
    left: -0.5rem;
    right: auto;
    width: 0.5rem;
    height: auto;
}

.nav-menu li:hover > ul,
.nav-menu li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0ms;
}

.nav-menu ul a {
    display: block;
    padding: 0.7rem 1.25rem;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ink-soft);
    border-bottom: none;
}
.nav-menu ul a:hover,
.nav-menu ul a:focus-visible {
    color: var(--ink);
    background: var(--paper-deep);
}

.header-cta {
    display: none;
}
@media (min-width: 1024px) {
    .header-cta {
        display: inline-flex;
    }
}
.site-header .btn-outline-light.header-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
}
.site-header.scrolled,
.__indexx0 .site-header .btn-outline-light.header-cta,
.p_relative.site-header .btn-outline-light.header-cta {
    color: var(--ink);
    border-color: var(--ink);
}

.site-header.scrolled,
.__indexx0 .site-header .btn-outline-light.header-cta:hover,
.p_relative.site-header .btn-outline-light.header-cta:hover {
    color: var(--paper);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
}
.menu-toggle .bar {
    width: 100%;
    height: 1px;
    background: var(--white);
    transition: background var(--transition);
    pointer-events: none;
}
.menu-toggle[aria-expanded="true"] .bar {
    background: var(--ink);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem clamp(1.5rem, 5vw, 4rem);
    transform: translateY(-100%);
    transition: transform var(--transition);
}
.mobile-nav.open {
    transform: translateY(0);
    color: var(--ink);
}
.mobile-nav a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ink);
}
.mobile-nav.open .nav-menu > li > a {
    color: var(--ink);
}
.mobile-nav.open .nav-menu ul a {
    color: var(--ink);
    font-family: var(--font-display);
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none;
    }
}

/* Mobile: no hover exists, so submenus are simply always expanded inline — same markup, no JS */
.mobile-nav .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    overflow-y: auto;
}
.mobile-nav .nav-menu li {
    width: 100%;
}
.mobile-nav .nav-menu > li > a::after {
    display: none;
}
.mobile-nav .nav-menu li > ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    margin: 0.75rem 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mobile-nav .nav-menu li > ul::before {
    display: none;
}
.mobile-nav .nav-menu ul a {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 0;
}
.mobile-nav .nav-menu ul a:hover {
    background: none;
    color: var(--ink);
}

/* =========================================================
     Hero
     ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;

    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        0deg,
        rgba(20, 18, 15, 0.92) 0%,
        rgba(20, 18, 15, 0.55) 45%,
        rgba(20, 18, 15, 0.18) 75%,
        rgba(20, 18, 15, 0.05) 100%
    );
    pointer-events:none;
}
.hero-inner {
    padding: 8rem 0 5rem;
    max-width: 760px;
}
.hero-eyebrow {
    color: #cbbf9e;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 1.75rem;
}
.hero-title em {
    font-style: italic;
    color: #cbbf9e;
}
.hero-subtitle {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 480px;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-meta-item b {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    font-weight: 400;
}
.hero-meta-item span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
}

/* =========================================================
     Statement
     ========================================================= */
.statement {
    text-align: center;
}
.statement-text {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.45;
    max-width: 880px;
    margin: 0 auto;
    color: var(--ink);
}
.statement-text .muted {
    color: var(--ink-mute);
}

/* =========================================================
     Split intro (text + link)
     ========================================================= */
.split-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 900px) {
    .split-intro {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 5rem;
    }
}
.split-intro h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    line-height: 1.2;
}
.split-intro p {
    font-size: 1.0625rem;
    margin: 1.5rem 0 2rem;
    max-width: 480px;
}

/* =========================================================
     Projects
     ========================================================= */
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3.5rem;
}
.section-head h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
}
.section-head p {
    max-width: 420px;
    font-size: 1.0625rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem 2.5rem;
}
@media (min-width: 700px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    display: block;
}
.project-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--paper-deep);
}
.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.project-card:hover .project-media img {
    transform: scale(1.045);
}
.project-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(20, 18, 15, 0.55);
    backdrop-filter: blur(4px);
    padding: 0.375rem 0.75rem;
}
.project-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.375rem;
}
.project-loc {
    font-size: 0.8125rem;
    color: var(--ink-mute);
    letter-spacing: 0.03em;
}

.projects-footer {
    text-align: center;
    margin-top: 4rem;
}

/* =========================================================
     Welcome + pillars
     ========================================================= */
.welcome {
    text-align: center;
}
.welcome-divider {
    width: 1px;
    height: 56px;
    background: var(--line);
    margin: 0 auto 2rem;
    position: relative;
}
.welcome-divider::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
}
.welcome h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
}
.welcome p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

.pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 5rem;
}
@media (min-width: 800px) {
    .pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }
}
.pillar {
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
}
.pillar-num {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.pillar h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}
.pillar p {
    font-size: 0.9375rem;
}

/* =========================================================
     Value / process
     ========================================================= */
.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}
.value-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
.value-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.value-text h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    margin-bottom: 1.5rem;
}
.value-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.value-list li {
    display: flex;
    gap: 1rem;
    font-size: 1.0625rem;
}
.value-list .num {
    font-family: var(--font-display);
    color: var(--accent);
    flex-shrink: 0;
}

/* =========================================================
     Dark statement
     ========================================================= */
.statement-dark {
    text-align: center;
}
.statement-dark .eyebrow {
    justify-content: center;
}
.statement-dark h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    max-width: 880px;
    margin: 0 auto;
    color: var(--white);
}

/* =========================================================
     Certifications strip
     ========================================================= */
.certs {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.certs-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 0;
}
.certs-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.certs-items {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.certs-items span {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    color: var(--ink-soft);
}

/* =========================================================
     Final CTA
     ========================================================= */
.final-cta {
    text-align: center;
}
.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

/* =========================================================
     Contact
     ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: start;
    }
}
.contact-text h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    margin-bottom: 1.25rem;
}
.contact-text p {
    font-size: 1.0625rem;
    max-width: 420px;
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}
.contact-list li {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}
.contact-list li:last-child {
    border-bottom: 1px solid var(--line);
}
.contact-list .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.contact-list .value {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    text-align: right;
    color: var(--ink);
}
.contact-list .value a:hover {
    color: var(--accent);
}

/* =========================================================
     Footer
     ========================================================= */
.site-footer {
    background: var(--ink);
    color: rgba(250, 248, 244, 0.6);
    padding: 3.5rem 0;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.footer-inner .brand {
    color: var(--white);
    font-size: 1.1875rem;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-nav a {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}
.footer-nav a:hover {
    color: var(--white);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8125rem;
}
.footer-social {
    display: flex;
    gap: 1.25rem;
}
.footer-social a svg {
    width: 16px;
    height: 16px;
}
.footer-social a:hover {
    color: var(--white);
}

/* =========================================================
     Responsive
     ========================================================= */
@media (max-width: 1023px) {
    .section {
        padding: 6rem 0;
    }
}
@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }
    .hero-inner {
        padding: 6.5rem 0 3.5rem;
    }
    .hero-actions {
        gap: 1.25rem;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-meta {
        gap: 1.75rem;
        margin-top: 2.75rem;
    }
    .certs-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-list li {
        flex-direction: column;
        gap: 0.375rem;
    }
    .contact-list .value {
        text-align: left;
    }
    .final-cta .btn {
        width: 100%;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
    }
}


.ws_dropdown_toggle {
    background: none;
    border-radius: 0;
    color: #fff;
    box-shadow: none;
}

.site-header.scrolled .ws_dropdown_toggle,
.__indexx0 .site-header .ws_dropdown_toggle,
.p_relative.site-header .ws_dropdown_toggle,
.has-framed-hero .site-header .ws_dropdown_toggle
{
    color: #222;
}

.ws_dropdown_toggle:hover {
    background: none;
    box-shadow: none;
}
.ws_dropdown_toggle::before {
    display:none;
}

.ws_dropdown_menu {
    min-width: 100px;
    border-radius: 0;
    border: 0;
    background: #faf8f4;
}

.ws_dropdown_icon { display:none;}

.ws_dropdown_item {
    padding: 6px 8px;
}

.ws_dropdown.ws_light
{
    --ws-theme-bg: unset;
    --ws-theme-bg-hover: unset;
    --ws-theme-text: #212529;
    --ws-theme-shadow: 0;
    --ws-theme-soft: 0;
    --ws-theme-item-hover: 0;
}

.site-header.scrolled .ws_dropdown.ws_light,
.__indexx0 .site-header .ws_dropdown.ws_light,
.p_relative.site-header .ws_dropdown.ws_light
{
    --ws-theme-bg: var(--ws-clr-light);
    --ws-theme-bg-hover: var(--ws-clr-light-dark);
    --ws-theme-text: #212529;
    --ws-theme-shadow: rgba(0, 0, 0, 0.05);
    --ws-theme-soft: rgba(0, 0, 0, 0.02);
    --ws-theme-item-hover: var(--ws-text);
}

.ws_uye_kutu,
.ws_uye_giris_kutu {
    color: #fff;
    box-shadow: none;
}

.site-header.scrolled .ws_uye_kutu,
.__indexx0 .site-header .ws_uye_kutu,
.p_relative.site-header .ws_uye_kutu,
.site-header.scrolled .ws_uye_giris_kutu,
.__indexx0 .site-header .ws_uye_giris_kutu,
.p_relative.site-header .ws_uye_giris_kutu,
.has-framed-hero .site-header .ws_uye_giris_kutu,
.has-framed-hero .site-header .ws_uye_kutu
{
    color: #222;
}

.ws_dropdown-kutu .ws_dropdown-baslik.ws_dropdown-arrow::after {
    display: none;
}
.ws_dropdown-icerik {
    border-radius: 0!important;
}

.ws_dropdown-kutu .ws_dropdown-icerik {
    right: unset;
    left: 0;
}

/* =========================================================
     Galeri (Fancybox 5 + Dark Theme)
     Backend'den gelen .galeri kapsayıcıları için modern grid
     ve dark tema uyumlu kart görünümü.
     ========================================================= */
.galeri {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    color: var(--paper, #f4f1ec);
}
@media (min-width: 600px) {
    .galeri {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}
@media (min-width: 992px) {
    .galeri {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}
@media (min-width: 1400px) {
    .galeri {
        grid-template-columns: repeat(4, 1fr);
    }
}
.galeri a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.6);
    transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 360ms ease,
        border-color 360ms ease;
    aspect-ratio: 4 / 3;
    -webkit-tap-highlight-color: transparent;
}
.galeri a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
}
.galeri a::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 38px;
    height: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 320ms ease, transform 320ms ease;
    z-index: 2;
    pointer-events: none;
}
.galeri a:hover,
.galeri a:focus-visible {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(244, 199, 124, 0.6); /* accent-soft */
    box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(244, 199, 124, 0.25);
}
.galeri a:hover::after,
.galeri a:focus-visible::after {
    opacity: 1;
}
.galeri a:hover::before,
.galeri a:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}
.galeri a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 360ms ease;
    filter: saturate(0.92) contrast(1.02);
}
.galeri a:hover img,
.galeri a:focus-visible img {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.04);
}

/* Fancybox 5 - dark tema uyumu için değişkenler.
   Fancybox, --fancybox-color ve --f-* tokenlarını okur;
   burada onları koyu temaya göre override ediyoruz. */
.fancybox__container {
    --fancybox-bg: rgba(8, 10, 14, 0.94);
    --fancybox-color: #f4f1ec;
    --f-color-bg: #14171d;
    --f-color-toolbar: #1c2028;
    --f-color-toolbar-text: #f4f1ec;
    --f-color-thumbs: #1c2028;
    --f-color-thumbs-text: #d8d2c5;
    --f-color-progress: #f4c77c;
    --f-color-btn: #f4f1ec;
    --f-color-btn-hover: #f4c77c;
    --f-color-btn-active: #f4c77c;
    --f-color-btn-disabled: rgba(244, 241, 236, 0.4);
    --f-border-color: rgba(255, 255, 255, 0.08);
}
html .fancybox__container,
html.is-fancybox-open {
    color-scheme: dark;
}

/* Sayfa başlığı için ufak iyileştirme */
.page-title {
    font-family: var(--font-display, "Fraunces", Georgia, serif);
    color: var(--ink, #1c1a17);
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.08));
}

/* Sayfa detay breadcrumb (sayfa.php) */
.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft, #4a453d);
    margin: 0 0 1rem;
    padding: 10px 0;
}
.page-breadcrumb a {
    color: var(--accent, #c47a2c);
    text-decoration: none;
    transition: color 220ms ease, opacity 220ms ease;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}
.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible {
    color: var(--ink, #1c1a17);
    border-bottom-color: var(--accent, #c47a2c);
    outline: none;
}
.page-crumb-home {
    color: var(--ink-mute, #7a7368) !important;
}
.page-crumb-tab {
    color: var(--accent, #c47a2c) !important;
}
.page-crumb-current {
    color: var(--ink, #1c1a17);
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 600;
}
.page-crumb-sep {
    color: var(--ink-mute, #7a7368);
    opacity: 0.6;
    font-weight: 400;
}

/* =========================================================
     Tab page (sekme.php + _sekme.html)
     ========================================================= */
.tab-section {
    padding: 4rem 0 4rem;
    background: var(--paper);
    color: var(--ink-soft);
    font-family: var(--font-sans);
}
.tab-section .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.tab-section a,
.tab-section a:hover,
.tab-section a:focus {
    color: inherit;
    text-decoration: none;
}
.tab-section p,
.tab-section h1,
.tab-section h2,
.tab-section h3,
.tab-section h4 {
    color: var(--ink);
}

.tab-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
}
.tab-breadcrumb::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.tab-breadcrumb .tab-crumb-sep {
    color: var(--ink-mute);
    opacity: 0.7;
}
.tab-breadcrumb .tab-crumb-current {
    color: var(--ink-soft);
    letter-spacing: 0.06em;
    text-transform: none;
    font-weight: 600;
}

.tab-header {
    max-width: 760px;
    margin-bottom: 3rem;
}
.tab-header h1,
.tab-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.tab-lead {
    color: var(--ink-soft);
    font-size: 1.0625rem;
    max-width: 60ch;
}

.tab-divider-title {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
}
.tab-divider-title h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    margin: 0;
}
.tab-divider-title .tab-count {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 700px) {
    .tab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1100px) {
    .tab-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tab-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink-soft);
    transition: border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.tab-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition);
}
.tab-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -28px rgba(28, 26, 23, 0.35);
}
.tab-card:hover::before {
    transform: scaleX(1);
}

/* Varyant: medya (resim) içeren kart */
.tab-card--media {
    padding: 0;
    gap: 0;
}
.tab-card--media .tab-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper-deep);
}
.tab-card--media .tab-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tab-card--media:hover .tab-card-media img {
    transform: scale(1.04);
}
.tab-card--media .tab-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 1.75rem 1.75rem;
    flex: 1;
}

.tab-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
}
.tab-card-meta {
    font-size: 0.8125rem;
    color: var(--ink-mute);
    letter-spacing: 0.03em;
}
.tab-card-desc {
    color: var(--ink-soft);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0;
}
.tab-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line);
    transition: color var(--transition),
        border-color var(--transition),
        gap var(--transition);
}
.tab-card-arrow::after {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    position: relative;
    transition: width var(--transition);
}
.tab-card:hover .tab-card-arrow {
    color: var(--accent);
    border-color: var(--accent);
    gap: 0.75rem;
}
.tab-card:hover .tab-card-arrow::after {
    width: 28px;
}

.tab-empty {
    margin: 4rem auto;
    text-align: center;
    color: var(--ink-soft);
}
.tab-empty h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 1rem;
}
.tab-empty img {
    max-width: 220px;
    opacity: 0.85;
}

.tab-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-sans);
}
.tab-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--white);
    transition: color var(--transition),
        border-color var(--transition),
        background var(--transition);
}
.tab-pagination a:hover {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}
.tab-pagination a.sburda {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    pointer-events: none;
}


/* ========================================================= */
/* ========================================================= */



.contact-block {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f1e3d;
}

.contact-block * {
  box-sizing: border-box;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* === SOL KOLON === */
.contact-info {
  background: #ffffff;
  padding: 48px 40px;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(15, 30, 61, 0.08);
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a961;
  margin-bottom: 12px;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #0f1e3d;
  letter-spacing: -0.5px;
}

.contact-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #5a6478;
  margin: 0 0 36px 0;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #f7f5f0;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 28px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.info-row:hover {
  background: #0f1e3d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 30, 61, 0.15);
}

.info-row:hover .info-label {
  color: #c9a961;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: #c9a961;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-row:hover .info-icon {
  background: #c9a961;
  transform: rotate(-5deg) scale(1.05);
}

.info-icon svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5a6478;
  transition: color 0.3s ease;
}

.info-value {
  font-size: 20px;
  font-weight: 600;
  color: #0f1e3d;
}

.info-row:hover .info-value {
  color: #ffffff;
}

/* === SOSYAL === */
.social-row {
  margin-bottom: 32px;
}

.social-row .info-label {
  display: block;
  margin-bottom: 12px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 48px;
  height: 48px;
  background: #0f1e3d;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #c9a961;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

/* === YOL TARİFİ BUTONU === */
.map-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #c9a961;
  color: #0f1e3d;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}

.map-button:hover {
  background: #0f1e3d;
  color: #c9a961;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 30, 61, 0.2);
}

.map-button svg {
  width: 18px;
  height: 18px;
}

/* === SAĞ KOLON: KONUM KARTI === */
.contact-map-card {
    background: linear-gradient(135deg, #7d683b 0%, #5d5951 100%);
    padding: 48px 40px;
    border-radius: 4px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.contact-map-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-map-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.map-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 169, 97, 0.2);
  color: #c9a961;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  z-index: 1;
}

.map-badge svg {
  width: 14px;
  height: 14px;
}

.map-pin {
  width: 80px;
  height: 80px;
  background: rgba(201, 169, 97, 0.15);
  border: 2px solid #c9a961;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(201, 169, 97, 0); }
}

.map-pin svg {
  width: 36px;
  height: 36px;
  color: #c9a961;
}

.map-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px 0;
  position: relative;
  z-index: 1;
  color: #eee;
}

.map-coords {
  font-size: 13px;
  color: #c9a961;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.map-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info,
  .contact-map-card {
    padding: 36px 28px;
  }

  .contact-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .contact-block {
    padding: 40px 16px;
  }

  .contact-info,
  .contact-map-card {
    padding: 28px 22px;
  }

  .contact-title {
    font-size: 24px;
  }

  .info-value {
    font-size: 17px;
  }
}

#iletisimformgonder {
    background: #c9a961;
}



/* ============ Framed Hero (modifier) ============ */
.hero-framed {
    margin: 0 120px 0 120px;
    min-height: calc(100vh - 92px);
    border-radius: 6px;
    overflow: hidden;
}
@media (max-width: 900px) {
    .hero-framed { margin: 60px 24px 0 24px; }
}
@media (max-width: 560px) {
    .hero-framed { margin: 28px 12px 0 12px; border-radius: 3px; }
}

.hero-brand-mark {
    padding: calc(var(--header-h) + 3.5rem) 1.5rem 4rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--ink);
    font-size: clamp(1.75rem, 7vw, 5rem);
    line-height: 1;
    overflow: hidden;
}
@media (max-width: 700px) {
    .hero-brand-mark { letter-spacing: 0.12em; }
}

/* Framed hero varken, henüz scroll edilmemişken header rengi */
body.has-framed-hero .site-header:not(.scrolled) {
    background: var(--paper);
    border-bottom-color: rgba(28, 26, 23, 0.08);
}
body.has-framed-hero .site-header:not(.scrolled) .brand,
body.has-framed-hero .site-header:not(.scrolled) .nav-menu > li > a {
    color: var(--ink);
}
body.has-framed-hero .site-header:not(.scrolled) .nav-menu > li > a:hover,
body.has-framed-hero .site-header:not(.scrolled) .nav-menu > li > a.active {
    border-color: var(--ink);
}
body.has-framed-hero .site-header:not(.scrolled) .btn-outline-light {
    color: var(--ink);
    border-color: var(--ink);
}
body.has-framed-hero .site-header:not(.scrolled) .logo-light {
    opacity: 0; visibility: hidden; position: absolute;
}
body.has-framed-hero .site-header:not(.scrolled) .logo-dark {
    opacity: 1; visibility: visible; position: relative;
}