/* ==========================================================================
   Kaptan Patent — Theme
   "Registry" design language: blueprint grid, mono labels, pill controls.

    1. Tokens & base            9. Process
    2. Typography & helpers    10. Certificates
    3. Buttons & links         11. Articles
    4. Header & mobile menu    12. CTA panel & footer
    5. Hero (home)             13. Inner pages
    6. Page hero (inner)       14. Forms, contact, map
    7. Bento & expertise       15. Misc & animations
    8. IP tabs & about
   ========================================================================== */

/* 1. Tokens & base
   ========================================================================== */
:root {
    --navy: #19293B;
    --navy-deep: #111D2B;
    --navy-soft: #24384F;
    --gold: #BFA169;
    --gold-deep: #8A7144;           /* gold for text on light backgrounds (contrast) */
    --gold-tint: rgba(191, 161, 105, .14);
    --white: #FFFFFF;
    --warm: #F6F5F2;
    --line: #E8E6E1;
    --line-strong: #D8D4CB;
    --line-dark: rgba(255, 255, 255, .12);
    --text: #19293B;
    --muted: #5A6573;
    --muted-light: rgba(255, 255, 255, .7);

    --ff-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --ff-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;

    --grid-ink: rgba(25, 41, 59, .07);
    --grid-ink-dark: rgba(255, 255, 255, .05);
    --grid-size: 44px;

    --shadow-soft: 0 24px 48px -28px rgba(25, 41, 59, .28);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 112px;
    --section-y: clamp(80px, 9vw, 128px);

    --bs-body-font-family: var(--ff-sans);
    --bs-body-color: var(--text);
    --bs-body-bg: var(--white);
}

html {
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--ff-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s var(--ease);
}

p {
    color: var(--muted);
}

figure {
    margin: 0;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

::selection {
    background: var(--gold);
    color: var(--navy);
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    transition: top .3s var(--ease);
}

.skip-link:focus {
    top: 16px;
    color: var(--white);
}

@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }
}

/* Blueprint grid surface */
.has-grid {
    position: relative;
    isolation: isolate;
}

.has-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(var(--grid-ink) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    background-position: -1px -1px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 35%, #000 25%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 30% 35%, #000 25%, transparent 80%);
    pointer-events: none;
}

.section--navy.has-grid::before,
.cta-panel.has-grid::before {
    --grid-ink: var(--grid-ink-dark);
}

/* 2. Typography & helpers
   ========================================================================== */
h1, h2, h3, h4 {
    color: inherit;
    margin: 0;
}

.section {
    position: relative;
    padding: var(--section-y) 0;
}

.section--warm {
    background: var(--warm);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.section--navy p {
    color: var(--muted-light);
}

.section-head {
    margin-bottom: clamp(40px, 5vw, 64px);
}

/* Mono label with a gold registry dot */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: var(--ff-mono);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;
    background: var(--gold);
    border-radius: 2px;
}

.eyebrow--light {
    color: var(--white);
}

.mono {
    font-family: var(--ff-mono);
    font-size: .8em;
    letter-spacing: .02em;
}

.section-title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    margin-bottom: 20px;
}

.display-title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: .98;
    letter-spacing: -.025em;
}

.display-title--md {
    font-size: clamp(2.5rem, 4.6vw, 4.2rem);
    margin-bottom: 24px;
}

.section-title em,
.display-title em,
.hero-title em,
.page-title em {
    font-style: italic;
    color: var(--gold-deep);
}

.section--navy .section-title em,
.section--navy .display-title em,
.cta-panel .display-title em {
    color: var(--gold);
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 3. Buttons & links
   ========================================================================== */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 7px 7px 7px 24px;
    min-height: 52px;
    font-family: var(--ff-sans);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.btn-pill:not(:has(i)) {
    padding: 7px 26px;
}

.btn-pill i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    font-size: .95rem;
    transition: transform .4s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}

.btn-pill:hover i {
    transform: rotate(-45deg);
}

.btn-pill--sm {
    min-height: 44px;
    font-size: .84rem;
    padding-left: 18px;
}

.btn-pill--sm i {
    width: 32px;
    height: 32px;
    font-size: .85rem;
}

.btn-pill--lg {
    min-height: 58px;
    font-size: .95rem;
}

.btn-pill--navy {
    background: var(--navy);
    color: var(--white);
}

.btn-pill--navy i {
    background: var(--gold);
    color: var(--navy);
}

.btn-pill--navy:hover {
    background: var(--navy-soft);
    color: var(--white);
}

.btn-pill--gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-pill--gold i {
    background: var(--navy);
    color: var(--gold);
}

.btn-pill--gold:hover {
    background: #CDB285;
    color: var(--navy);
}

.btn-pill--ghost {
    border-color: var(--line-strong);
    color: var(--navy);
    background: transparent;
}

.btn-pill--ghost i {
    background: var(--warm);
    color: var(--navy);
}

.btn-pill--ghost:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-pill--light {
    background: var(--white);
    color: var(--navy);
}

.btn-pill--light i {
    background: var(--navy);
    color: var(--gold);
}

.btn-pill--light:hover {
    background: var(--warm);
    color: var(--navy);
}

.link-arrow,
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--navy);
    background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 1px;
    padding-bottom: 3px;
    transition: background-size .45s var(--ease), color .3s var(--ease);
}

.link-arrow i,
.read-more i {
    transition: transform .4s var(--ease);
}

.link-arrow:hover,
.read-more:hover {
    color: var(--navy);
    background-size: 100% 1px;
}

.link-arrow:hover i,
.read-more:hover i {
    transform: translate(3px, -3px) rotate(-45deg);
}

.link-arrow--light,
.link-arrow--light:hover {
    color: var(--white);
}

/* 4. Header & mobile menu
   ========================================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    padding-top: 16px;
    transition: padding .4s var(--ease);
    pointer-events: none;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 8px 8px 10px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: 0 1px 2px rgba(25, 41, 59, .04);
    pointer-events: auto;
    transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
    .header-bar {
        background: rgba(255, 255, 255, .82);
        backdrop-filter: blur(14px) saturate(160%);
    }
}

.site-header.is-scrolled {
    padding-top: 10px;
}

.site-header.is-scrolled .header-bar {
    box-shadow: 0 18px 40px -22px rgba(25, 41, 59, .35);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.brand:hover {
    color: var(--navy);
}

/* logo-seffaf.png: kırpılmış, saydam zeminli logo */
.brand-logo {
    --logo-h: 72px;
    display: block;
    flex: none;
    height: var(--logo-h);
}

.brand-logo img {
    display: block;
    width: auto;
    height: 100%;
}

.header-bar .brand-logo {
    margin-left: 10px;
}

.main-nav {
    align-items: center;
    gap: 2px;
}

.main-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: var(--r-pill);
    font-size: .84rem;
    font-weight: 500;
    color: var(--navy);
    opacity: .8;
    transition: background-color .3s var(--ease), opacity .3s var(--ease);
}

.main-nav .nav-link:hover {
    opacity: 1;
    background: var(--warm);
}

.main-nav .nav-link.is-active {
    opacity: 1;
    font-weight: 600;
    background: var(--warm);
}

.main-nav .nav-link.is-active::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--gold);
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--warm);
    color: var(--navy);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .35s var(--ease);
}

.menu-toggle:hover span:first-child {
    transform: translateX(-3px);
}

.menu-toggle:hover span:last-child {
    transform: translateX(3px);
}

.kp-offcanvas {
    --bs-offcanvas-width: min(420px, 100vw);
    --bs-offcanvas-bg: var(--white);
    --bs-offcanvas-color: var(--navy);
    --bs-offcanvas-padding-x: 24px;
    --bs-offcanvas-padding-y: 20px;
    border-left: 0 !important;
}

.kp-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--line);
}

.offcanvas-close {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--warm);
    color: var(--navy);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.offcanvas-close:hover {
    background: var(--navy);
    color: var(--gold);
}

.kp-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.mobile-nav li + li {
    border-top: 1px solid var(--line);
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 4px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    transition: color .3s var(--ease), padding-left .4s var(--ease);
}

.mobile-nav a span {
    font-family: var(--ff-mono);
    font-size: .72rem;
    font-weight: 500;
    color: var(--gold-deep);
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
    padding-left: 10px;
    color: var(--gold-deep);
}

.mobile-nav-footer {
    padding: 22px;
    border-radius: var(--r-lg);
    background: var(--warm);
}

.mobile-nav-footer p {
    font-size: .9rem;
}

.mobile-nav-footer a:not(.btn-pill) {
    color: var(--navy);
    font-weight: 600;
}

/* 5. Hero (home)
   ========================================================================== */
.hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 104px);
    background: var(--warm);
    overflow: hidden;
}

.hero-title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(3rem, 6.4vw, 5.9rem);
    line-height: .96;
    letter-spacing: -.03em;
    color: var(--navy);
    margin-bottom: 26px;
}

.hero-lead {
    max-width: 33rem;
    font-size: 1.15rem;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 34rem;
    margin: 56px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--line-strong);
}

.hero-facts dt {
    font-family: var(--ff-serif);
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--navy);
}

.hero-facts dt small {
    font-size: .45em;
    font-style: italic;
    color: var(--gold-deep);
}

.hero-facts dd {
    margin: 8px 0 0;
    font-family: var(--ff-mono);
    font-size: .7rem;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    margin-top: 16px;
    padding: 0 0 72px;
}

.hero-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--navy);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% center;
    filter: grayscale(85%) contrast(1.05);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(25, 41, 59, .18);
    mix-blend-mode: multiply;
}

/* Registry card — illustrates the registration journey */
.registry-card {
    position: absolute;
    left: 16px;
    bottom: 0;
    z-index: 2;
    width: min(300px, calc(100% - 32px));
    padding: 20px 22px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-soft);
}

.registry-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line-strong);
}

.registry-head .eyebrow {
    margin: 0;
}

.registry-badge {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold-deep);
    font-family: var(--ff-serif);
    font-size: 1.15rem;
}

.registry-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-family: var(--ff-mono);
    font-size: .76rem;
    color: var(--muted);
}

.registry-steps li::before {
    content: "";
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--white);
}

.registry-steps li + li::after {
    content: "";
    position: absolute;
    left: 7.5px;
    top: -9px;
    height: 18px;
    width: 1px;
    background: var(--line-strong);
}

.registry-steps .is-done {
    color: var(--navy);
}

.registry-steps .is-done::before {
    border-color: var(--gold);
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2319293B' stroke-width='2' d='M4.5 8.2l2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.registry-steps .is-current {
    color: var(--navy);
    font-weight: 500;
}

.registry-steps .is-current::before {
    border: 4px solid var(--navy);
    animation: pulse 2.2s var(--ease) infinite;
}

.registry-steps .is-current small {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: var(--warm);
    font-size: .66rem;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(25, 41, 59, .35); }
    70%  { box-shadow: 0 0 0 8px rgba(25, 41, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 41, 59, 0); }
}

/* Rotating seal */
.seal {
    position: absolute;
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
}

.seal svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 26s linear infinite;
}

.seal text {
    font-family: var(--ff-mono);
    font-size: 9.6px;
    letter-spacing: 3.2px;
    fill: currentColor;
    text-transform: uppercase;
}

.seal-core {
    font-family: var(--ff-serif);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--gold);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero .seal {
    top: -24px;
    right: 8px;
    z-index: 2;
    width: 112px;
    height: 112px;
}

@media (max-width: 991.98px) {
    .hero-visual {
        padding-bottom: 0;
    }

    .registry-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin: -48px 0 0 16px;
    }
}

@media (min-width: 992px) {
    .hero-visual {
        margin-top: 0;
        padding: 0 0 56px 56px;
    }

    .hero-media {
        aspect-ratio: 4 / 4.6;
    }

    .registry-card {
        left: 0;
    }

    .hero .seal {
        top: -36px;
        right: -28px;
        width: 128px;
        height: 128px;
    }
}

/* 6. Page hero (inner pages)
   ========================================================================== */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(48px, 6vw, 88px)) 0 clamp(56px, 7vw, 88px);
    background: var(--warm);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.page-hero .seal {
    top: calc(var(--header-h) + 36px);
    right: max(24px, calc((100vw - 1280px) / 2));
    width: 108px;
    height: 108px;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(32px, 4vw, 48px);
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}

.crumbs li + li::before {
    content: "→";
    margin-right: 8px;
    color: var(--gold-deep);
}

.crumbs a:hover {
    color: var(--gold-deep);
}

.crumbs [aria-current] {
    color: var(--navy);
}

.page-title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.025em;
    color: var(--navy);
}

.page-lead {
    font-size: 1.08rem;
    margin: 0;
}

/* 7. Bento & expertise
   ========================================================================== */
.bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "a a"
        "b c"
        "d d"
        "e f";
    gap: 14px;
}

.bento-a { grid-area: a; }
.bento-b { grid-area: b; }
.bento-c { grid-area: c; }
.bento-d { grid-area: d; }
.bento-e { grid-area: e; }
.bento-f { grid-area: f; }

.bento-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 3vw, 36px);
    border-radius: var(--r-lg);
    background: var(--warm);
    overflow: hidden;
}

.bento-tile--navy {
    background: var(--navy);
    color: var(--white);
    justify-content: space-between;
    gap: 28px;
}

.bento-tile--navy p {
    color: var(--muted-light);
    margin-bottom: 24px;
}

.bento-tile--navy .section-title {
    max-width: 22ch;
}

.bento-tile--gold {
    background: var(--gold-tint);
}

.bento-stat {
    justify-content: space-between;
    min-height: 200px;
}

.stat-num {
    font-family: var(--ff-serif);
    font-size: clamp(3.2rem, 5vw, 4.6rem);
    font-weight: 400;
    line-height: .9;
    color: var(--navy);
}

.stat-label {
    display: block;
    font-size: .98rem;
    font-weight: 600;
    color: var(--navy);
}

.stat-note {
    display: block;
    margin-top: 4px;
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--muted);
}

.bento-media {
    padding: 0;
    min-height: 240px;
    background: var(--navy);
}

.bento-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
    transition: transform 1.2s var(--ease), filter .7s var(--ease);
}

.bento-media:hover img {
    transform: scale(1.04);
    filter: grayscale(20%);
}

.bento-media figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .92);
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--navy);
}

@media (min-width: 992px) {
    .bento {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas:
            "a a b c"
            "a a d d"
            "e f d d";
        gap: 16px;
    }

    .bento-stat {
        min-height: 220px;
    }
}

/* Expertise — row list */
.xp-list {
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.xp-row {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    grid-template-areas:
        "num title go"
        "num desc  go";
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    padding: 22px 16px;
    border-radius: var(--r-md);
    color: var(--navy);
    transition: background-color .4s var(--ease);
}

.xp-list li + li .xp-row::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 1px;
    background: var(--line);
    transition: opacity .3s var(--ease);
}

.xp-num {
    grid-area: num;
    align-self: start;
    padding-top: 4px;
    font-family: var(--ff-mono);
    font-size: .76rem;
    color: var(--gold-deep);
}

.xp-title {
    grid-area: title;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
    transition: transform .45s var(--ease);
}

.xp-desc {
    grid-area: desc;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--muted);
}

.xp-go {
    grid-area: go;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .45s var(--ease);
}

.xp-row:hover {
    color: var(--navy);
    background: var(--warm);
}

.xp-row:hover::after,
.xp-list li:hover + li .xp-row::after {
    opacity: 0;
}

.xp-row:hover .xp-title {
    transform: translateX(6px);
}

.xp-row:hover .xp-go {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
    transform: rotate(45deg);
}

@media (min-width: 992px) {
    .xp-row {
        grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.3fr) 48px;
        grid-template-areas: "num title desc go";
        column-gap: 24px;
        padding: 26px 24px;
    }

    .xp-num {
        align-self: center;
        padding-top: 0;
    }

    .xp-list li + li .xp-row::after {
        left: 24px;
        right: 24px;
    }
}

/* 8. IP tabs & about
   ========================================================================== */
.ip-head {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.ip-lead {
    font-size: 1.1rem;
    margin: 0;
}

.ip-tabs {
    display: grid;
    gap: 20px;
}

.ip-tablist {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ip-tablist::-webkit-scrollbar {
    display: none;
}

.ip-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
    padding: 14px 18px;
    border: 1px solid var(--line-dark);
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--muted-light);
    font-size: .95rem;
    font-weight: 600;
    text-align: left;
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.ip-tab-num {
    font-family: var(--ff-mono);
    font-size: .72rem;
    font-weight: 500;
    color: var(--gold);
}

.ip-tab i {
    display: none;
    margin-left: auto;
    transition: transform .35s var(--ease);
}

.ip-tab:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .3);
}

.ip-tab.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.ip-tab.active .ip-tab-num {
    color: var(--gold-deep);
}

.ip-panel {
    display: grid;
    gap: 24px;
    padding: 14px;
    border: 1px solid var(--line-dark);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .03);
}

.ip-media {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    overflow: hidden;
}

.ip-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%);
}

.ip-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px 14px;
}

.ip-body h3 {
    font-family: var(--ff-serif);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 14px;
}

.ip-body .check-list {
    margin: 20px 0 30px;
}

.ip-body .btn-pill {
    align-self: flex-start;
}

.ip-panels .tab-pane.fade {
    transition: opacity .45s var(--ease);
}

@media (min-width: 992px) {
    .ip-tabs {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        gap: 24px;
        align-items: start;
    }

    .ip-tablist {
        flex-direction: column;
        overflow: visible;
    }

    .ip-tab {
        padding: 20px 22px;
        border-radius: var(--r-md);
        font-size: 1.05rem;
    }

    .ip-tab i {
        display: block;
        opacity: 0;
    }

    .ip-tab.active i,
    .ip-tab:hover i {
        opacity: 1;
    }

    .ip-panel {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
    }

    .ip-media {
        aspect-ratio: auto;
        min-height: 420px;
    }

    .ip-body {
        padding: 24px 24px 24px 0;
    }
}

/* About (overlapping card) */
.about-split {
    display: grid;
    align-items: center;
}

.about-split-media {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.about-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(75%);
}

.about-split-card {
    position: relative;
    z-index: 1;
    margin: -64px 12px 0;
    padding: clamp(28px, 4vw, 48px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 992px) {
    .about-split {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }

    .about-split-media {
        grid-column: 1 / 2;
        grid-row: 1;
        aspect-ratio: auto;
        height: 620px;
    }

    .about-split-card {
        grid-column: 2 / 3;
        grid-row: 1;
        margin: 0 0 0 -140px;
    }
}

/* Two-image visual (about page) */
.about-visual {
    position: relative;
    padding: 0 14% 14% 0;
}

.about-media {
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.about-media img,
.about-media-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
}

.about-media-sm {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    aspect-ratio: 1;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 8px solid var(--white);
}

.about-frame {
    position: absolute;
    top: -18px;
    left: -18px;
    z-index: -1;
    width: 45%;
    height: 45%;
    border-radius: var(--r-lg);
    background-image:
        linear-gradient(var(--grid-ink) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
    background-size: 18px 18px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 28px 0 36px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--navy);
}

.check-list li::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: none;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%238A7144' stroke-width='1.8' d='M4.5 8.2l2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.check-list--light li,
.section--navy .check-list li {
    color: var(--white);
}

.check-list--light li::before,
.section--navy .check-list li::before {
    background-color: rgba(191, 161, 105, .2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23BFA169' stroke-width='1.8' d='M4.5 8.2l2.3 2.3 4.7-4.9'/%3E%3C/svg%3E");
}

.check-list--grid {
    grid-template-columns: 1fr;
    column-gap: 28px;
}

@media (min-width: 768px) {
    .check-list--grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 9. Process
   ========================================================================== */
.process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.process-step {
    position: relative;
    padding: 30px 26px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}

.section:not(.section--warm) .process-step {
    background: var(--warm);
    border-color: transparent;
}

.process-node {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--line);
}

.process-node::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s var(--ease);
}

.process.is-visible .process-node::after,
.process-step:hover .process-node::after {
    transform: scaleX(1);
}

.process.is-visible .process-step:nth-child(2) .process-node::after { transition-delay: .25s; }
.process.is-visible .process-step:nth-child(3) .process-node::after { transition-delay: .5s; }
.process.is-visible .process-step:nth-child(4) .process-node::after { transition-delay: .75s; }
.process.is-visible .process-step:nth-child(5) .process-node::after { transition-delay: 1s; }

.process-num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 26px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--navy);
}

.process-num::before {
    content: "Adım";
    color: var(--muted);
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.process-step p {
    font-size: .92rem;
    margin: 0;
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .process {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .process {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .process--5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .process--5 .process-step {
        padding: 28px 22px 26px;
    }
}

/* 10. Certificates
   ========================================================================== */
.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cert {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--warm);
    border: 1px solid transparent;
    border-radius: var(--r-md);
    transition: background-color .4s var(--ease), border-color .4s var(--ease);
}

.cert-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 12px;
    background: var(--white);
    font-size: 1.2rem;
    color: var(--navy);
    transition: background-color .4s var(--ease), color .4s var(--ease);
}

.cert h3 {
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 2px;
    color: var(--navy);
}

.cert p {
    margin: 0;
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.cert:hover {
    background: var(--white);
    border-color: var(--gold);
}

.cert:hover .cert-icon {
    background: var(--navy);
    color: var(--gold);
}

@media (min-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 11. Articles
   ========================================================================== */
.article-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.section:not(.section--warm) .article-card {
    background: var(--warm);
    border-color: transparent;
}

.article-card > *:not(.article-media) {
    margin-left: 12px;
    margin-right: 12px;
}

.article-media {
    display: block;
    aspect-ratio: 16 / 11;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--navy);
}

.article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%);
    transition: transform .9s var(--ease), filter .7s var(--ease);
}

.article-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
}

.article-card:hover .article-media img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 12px;
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--muted);
}

.article-cat {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--navy);
    color: var(--white);
    font-family: var(--ff-mono);
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.article-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
    margin-bottom: 10px;
}

.article-card p {
    font-size: .92rem;
    margin-bottom: 22px;
}

.article-card .read-more {
    margin-top: auto;
    align-self: flex-start;
}

/* Home: asymmetric news layout */
.news-grid {
    display: grid;
    gap: 16px;
}

.news-card--lead h3 {
    font-family: var(--ff-serif);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.08;
}

.news-card--lead .article-media {
    aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
    .news-card--row {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        grid-template-rows: auto auto auto 1fr;
        column-gap: 8px;
        padding: 10px;
    }

    .news-card--row .article-media {
        grid-row: 1 / 5;
        aspect-ratio: auto;
        height: 100%;
        min-height: 200px;
    }

    .news-card--row .article-meta {
        margin-top: 12px;
    }

    .news-card--row .read-more {
        margin-bottom: 10px;
        align-self: end;
    }

    .news-card--row p {
        display: none;
    }
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-rows: 1fr 1fr;
        gap: 18px;
    }

    .news-card--lead {
        grid-row: 1 / 3;
    }

    .news-card--row p {
        display: block;
    }
}

/* 12. CTA panel & footer
   ========================================================================== */
.cta-wrap {
    padding: clamp(24px, 4vw, 48px) 0 var(--section-y);
    background: var(--white);
}

.cta-panel {
    position: relative;
    padding: clamp(36px, 6vw, 80px);
    border-radius: var(--r-lg);
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

.cta-panel .display-title {
    margin-bottom: 22px;
}

.cta-lead {
    max-width: 30rem;
    font-size: 1.1rem;
    color: var(--muted-light);
    margin: 0;
}

.cta-panel .seal {
    position: relative;
    margin-bottom: 28px;
    background: var(--navy-soft);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cta-quick {
    border-top: 1px solid var(--line-dark);
}

.cta-quick li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
}

.cta-quick span {
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--gold);
}

.cta-quick a {
    font-weight: 600;
    color: var(--white);
    overflow-wrap: anywhere;
    text-align: right;
}

.cta-quick a:hover {
    color: var(--gold);
}

@media (min-width: 992px) {
    .cta-actions {
        align-items: stretch;
    }

    .cta-actions .btn-pill {
        align-self: flex-start;
    }
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

.footer-top {
    padding: clamp(64px, 8vw, 96px) 0 48px;
}

.site-footer .brand,
.site-footer .brand:hover {
    color: var(--white);
}

.site-footer .brand-logo {
    --logo-h: 88px;
}

.site-footer .brand-logo img {
    filter: brightness(0) invert(1);
}

.footer-about {
    max-width: 22rem;
    margin: 22px 0 0;
    font-size: .92rem;
    color: var(--muted-light);
}

.footer-title {
    font-family: var(--ff-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links li + li,
.footer-contact li + li {
    margin-top: 11px;
}

.footer-links a,
.footer-contact a {
    font-size: .92rem;
    color: var(--muted-light);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: .92rem;
    color: var(--muted-light);
}

.footer-contact i {
    color: var(--gold);
}

.footer-contact a {
    overflow-wrap: anywhere;
}

.footer-wordmark {
    margin: 0;
    font-family: var(--ff-serif);
    font-size: clamp(3.6rem, 13.4vw, 12rem);
    line-height: .8;
    letter-spacing: -.03em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(191, 161, 105, .32);
    user-select: none;
    transform: translateY(10%);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 22px 0;
    border-top: 1px solid var(--line-dark);
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
}

.footer-bottom ul {
    display: flex;
    gap: 24px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .55);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* 13. Inner pages
   ========================================================================== */

/* Statement */
.statement-band {
    text-align: center;
}

.statement-mark {
    display: block;
    font-family: var(--ff-serif);
    font-size: 5.5rem;
    line-height: .6;
    color: var(--gold);
    margin-bottom: 12px;
}

.statement {
    font-family: var(--ff-serif);
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -.01em;
    color: var(--navy);
    margin: 0 auto 26px;
}

.statement em {
    font-style: italic;
    color: var(--gold-deep);
}

.statement-cite {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--white);
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}

/* Card grid (values, services) */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.expertise-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: var(--warm);
    border: 1px solid transparent;
    border-radius: var(--r-md);
    color: var(--navy);
    transition: border-color .4s var(--ease), background-color .4s var(--ease);
}

.section--warm .expertise-item {
    background: var(--white);
    border-color: var(--line);
}

.expertise-num {
    align-self: flex-start;
    margin-bottom: 30px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--gold-tint);
    font-family: var(--ff-mono);
    font-size: .7rem;
    color: var(--gold-deep);
}

.expertise-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.expertise-item p {
    font-size: .92rem;
    margin: 0;
}

.expertise-item:hover {
    border-color: var(--gold);
}

@media (min-width: 576px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .expertise-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dark list (authorisations) */
.brand-focus-lead {
    font-family: var(--ff-serif);
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    line-height: 1.25;
    color: var(--white) !important;
    margin-bottom: 28px;
}

.service-list {
    display: grid;
    gap: 10px;
}

.service-list a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 18px 18px 22px;
    border: 1px solid var(--line-dark);
    border-radius: var(--r-md);
    color: var(--white);
    transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

.service-index {
    font-family: var(--ff-mono);
    font-size: .74rem;
    color: var(--gold);
}

.service-body {
    flex: 1;
}

.service-body strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-body small {
    font-size: .85rem;
    color: var(--muted-light);
}

.service-list i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    transition: background-color .35s var(--ease), color .35s var(--ease), transform .4s var(--ease);
}

.service-list a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .25);
}

.service-list a:hover i {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: rotate(-45deg);
}

/* Stat tiles */
.stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: clamp(40px, 5vw, 64px) 0 0 !important;
}

.stats .stat {
    width: auto;
    max-width: none;
    padding: 26px 24px;
    border-radius: var(--r-md);
    background: var(--warm);
}

.stats .stat-num {
    margin-bottom: 18px;
}

.stats dd {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
}

.stats dd small {
    display: block;
    margin-top: 4px;
    font-family: var(--ff-mono);
    font-size: .68rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--muted);
}

.stats--dark .stat {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-dark);
}

.stats--dark .stat-num,
.stats--dark dd {
    color: var(--white);
}

.stats--dark .stat-num small {
    font-size: .4em;
    font-style: italic;
    color: var(--gold);
}

.stats--dark dd small {
    color: var(--muted-light);
}

@media (min-width: 992px) {
    .stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Practice areas */
.area-nav {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 10px;
    border-radius: var(--r-lg);
    background: var(--warm);
}

.area-nav-title {
    margin: 8px 10px 10px;
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--muted);
}

.area-nav a {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.area-nav a span {
    font-family: var(--ff-mono);
    font-size: .7rem;
    color: var(--gold-deep);
    padding-top: 3px;
}

.area-nav a:hover {
    color: var(--navy);
    background: rgba(255, 255, 255, .6);
}

.area-nav a.is-active {
    color: var(--navy);
    font-weight: 600;
    background: var(--white);
    box-shadow: 0 6px 16px -10px rgba(25, 41, 59, .3);
}

.area {
    padding-bottom: clamp(48px, 6vw, 72px);
    margin-bottom: clamp(48px, 6vw, 72px);
    border-bottom: 1px solid var(--line);
}

.area:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.area-num {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--gold-tint);
    font-family: var(--ff-mono);
    font-size: .7rem;
    color: var(--gold-deep);
}

.area-lead {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--navy);
    margin-bottom: 14px;
}

.area .check-list {
    margin: 26px 0 30px;
    padding: 22px;
    border-radius: var(--r-md);
    background: var(--warm);
}

/* FAQ */
.faq {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: 0;
    --bs-accordion-btn-focus-box-shadow: none;
    display: grid;
    gap: 10px;
}

.faq .accordion-item {
    border-radius: var(--r-md) !important;
    background: var(--warm);
    overflow: hidden;
}

.faq .accordion-button {
    gap: 20px;
    padding: 20px 22px;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy);
    background: transparent;
    box-shadow: none;
}

.faq .accordion-button::after {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='%2319293B' stroke-width='1.4' d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform .4s var(--ease), background-color .3s var(--ease);
}

.faq .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
    background-color: var(--gold);
}

.faq .accordion-button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.faq .accordion-body {
    padding: 0 70px 22px 22px;
    font-size: .95rem;
    color: var(--muted);
}

/* Comparison table */
.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 20px 24px;
    text-align: left;
    vertical-align: top;
}

.compare-table thead th {
    background: var(--navy);
    color: var(--white);
    font-family: var(--ff-serif);
    font-size: 1.7rem;
    font-weight: 400;
}

.compare-table tbody th {
    width: 24%;
    font-family: var(--ff-mono);
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--gold-deep);
    padding-top: 23px;
}

.compare-table td {
    color: var(--navy);
}

.compare-table tbody tr:nth-child(even) {
    background: var(--warm);
}

/* Filter (segmented control) */
.filter {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 4px;
    max-width: 100%;
    margin-bottom: clamp(36px, 4vw, 48px);
    padding: 5px;
    border-radius: var(--r-pill);
    background: var(--warm);
    overflow-x: auto;
    scrollbar-width: none;
}

.filter::-webkit-scrollbar {
    display: none;
}

.filter button {
    flex: none;
    padding: 10px 18px;
    border: 0;
    border-radius: var(--r-pill);
    background: transparent;
    font-size: .86rem;
    font-weight: 600;
    color: var(--muted);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.filter button:hover {
    color: var(--navy);
}

.filter button.is-active {
    background: var(--navy);
    color: var(--white);
}

.is-hidden {
    display: none !important;
}

/* Featured article (articles page) */
.featured {
    display: grid;
    gap: 28px;
    align-items: center;
    padding: 12px;
    border-radius: var(--r-lg);
    background: var(--warm);
}

.featured-media {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: var(--r-md);
    overflow: hidden;
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%);
    transition: transform .9s var(--ease), filter .7s var(--ease);
}

.featured:hover .featured-media img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.featured-body {
    padding: 4px 16px 20px;
}

.featured-body .article-meta {
    margin-top: 0;
}

.featured-title {
    font-family: var(--ff-serif);
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 400;
    line-height: 1.04;
    margin-bottom: 16px;
}

.featured-body p:not(.eyebrow) {
    margin-bottom: 26px;
}

@media (min-width: 992px) {
    .featured {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 48px;
    }

    .featured-body {
        padding-right: 40px;
    }
}

/* Pagination */
.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(48px, 6vw, 72px);
}

.pager a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    font-family: var(--ff-mono);
    font-size: .85rem;
    color: var(--navy);
    transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}

.pager a:hover {
    border-color: var(--navy);
}

.pager a.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* Article detail */
.page-hero--article {
    padding-bottom: clamp(140px, 16vw, 210px);
}

.page-hero--article .page-title {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 22px;
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    color: var(--muted);
}

.article-section {
    padding-top: 0;
}

.article-cover {
    position: relative;
    z-index: 1;
    aspect-ratio: 21 / 9;
    margin: clamp(-150px, -12vw, -90px) 0 clamp(48px, 6vw, 72px);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%);
}

@media (max-width: 767.98px) {
    .article-cover {
        aspect-ratio: 4 / 3;
    }
}

.prose {
    font-size: 1.05rem;
    line-height: 1.85;
}

.prose p,
.prose li {
    color: #3E4957;
}

.prose p {
    margin-bottom: 1.4em;
}

.prose .lead {
    font-size: clamp(1.2rem, 1.8vw, 1.35rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--navy);
}

.prose h2 {
    font-family: var(--ff-serif);
    font-size: clamp(1.9rem, 2.8vw, 2.4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--navy);
    margin: 1.9em 0 .6em;
}

.prose ul {
    margin: 0 0 1.6em;
    padding: 20px 22px;
    border-radius: var(--r-md);
    background: var(--warm);
}

.prose ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: .5em;
}

.prose ul li:last-child {
    margin-bottom: 0;
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--gold);
}

.prose blockquote {
    margin: 2.2em 0;
    padding: 28px 32px;
    border-radius: var(--r-md);
    background: var(--navy);
    font-family: var(--ff-serif);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-style: italic;
    line-height: 1.2;
    color: var(--white);
}

.prose .prose-note {
    margin-top: 44px;
    padding: 18px 22px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-md);
    font-size: .88rem;
    line-height: 1.7;
    color: var(--muted);
}

.article-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 14px;
}

.side-box {
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.side-title {
    font-family: var(--ff-mono);
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.side-meta li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy);
    text-align: right;
}

.side-meta li + li {
    border-top: 1px dashed var(--line);
}

.side-meta span {
    font-weight: 400;
    color: var(--muted);
    text-align: left;
}

.share {
    display: flex;
    gap: 8px;
}

.share a,
.share button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--warm);
    color: var(--navy);
    font-size: 1rem;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.share a:hover,
.share button:hover,
.share button.is-copied {
    background: var(--navy);
    color: var(--gold);
}

.side-cta {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--r-lg);
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

.side-cta h2 {
    font-family: var(--ff-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 12px;
}

.side-cta p:not(.eyebrow) {
    font-size: .92rem;
    color: var(--muted-light);
    margin-bottom: 24px;
}

/* Certificates page (document cards) */
.doc-card {
    display: block;
    width: 100%;
    padding: 0;
    background: none;
    border: 0;
    text-align: left;
    color: var(--navy);
}

.doc-sheet {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    padding: 12px;
    border-radius: var(--r-md);
    background: var(--warm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.doc-sheet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-sm);
}

.doc-sheet-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    padding: 20px 14px;
    border-radius: var(--r-sm);
    background: var(--white);
    border: 1px dashed var(--line-strong);
    text-align: center;
}

.doc-seal {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-size: 1.25rem;
}

.doc-sheet-title {
    font-family: var(--ff-serif);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.15;
}

.doc-lines {
    display: grid;
    justify-items: center;
    gap: 7px;
    width: 100%;
}

.doc-lines i {
    display: block;
    height: 1px;
    width: 70%;
    background: var(--line);
}

.doc-lines i:nth-child(2) { width: 52%; }
.doc-lines i:nth-child(3) { width: 62%; }

.doc-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: .8rem;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.doc-card:hover .doc-sheet,
.doc-card:focus-visible .doc-sheet {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.doc-card:hover .doc-zoom,
.doc-card:focus-visible .doc-zoom {
    opacity: 1;
    transform: none;
}

.doc-meta {
    display: block;
    margin-top: 16px;
}

.doc-title {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
}

.doc-issuer {
    display: block;
    margin-top: 4px;
    font-family: var(--ff-mono);
    font-size: .68rem;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 575.98px) {
    .doc-sheet-inner {
        gap: 10px;
        padding: 14px 8px;
    }

    .doc-seal {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .doc-sheet-title {
        font-size: 1rem;
    }
}

.kp-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.kp-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.kp-modal-sheet {
    padding: clamp(24px, 4vw, 40px);
    background: var(--warm);
}

.kp-modal-sheet .doc-zoom {
    display: none;
}

.kp-modal-body {
    padding: clamp(28px, 4vw, 48px);
}

.kp-modal-title {
    font-family: var(--ff-serif);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 12px;
}

/* 14. Forms, contact, map
   ========================================================================== */
.info-list {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}

.info-list li {
    padding: 18px 22px;
    border-radius: var(--r-md);
    background: var(--white);
    border: 1px solid var(--line);
}

.info-list span {
    display: block;
    margin-bottom: 4px;
    font-family: var(--ff-mono);
    font-size: .68rem;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.info-list a,
.info-list address,
.info-list p {
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy);
    margin: 0;
    overflow-wrap: anywhere;
}

.info-list a:hover {
    color: var(--gold-deep);
}

.form-panel {
    position: relative;
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
}

.kp-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--ff-mono);
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--navy);
}

.kp-input.form-control,
.kp-input.form-select {
    min-height: 52px;
    padding: 13px 16px;
    font-size: 1rem;
    color: var(--navy);
    background-color: var(--warm);
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    box-shadow: none;
    transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.kp-input.form-select {
    padding-right: 40px;
}

.kp-input:focus {
    background-color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-tint);
}

textarea.kp-input {
    min-height: 150px;
    resize: vertical;
}

.was-validated .kp-input:invalid {
    border-color: #B4423A;
    background-image: none;
}

.was-validated .kp-input:valid {
    border-color: transparent;
    background-image: none;
}

.was-validated .kp-input.form-select:valid,
.was-validated .kp-input.form-select:invalid {
    background-image: var(--bs-form-select-bg-img);
}

.kp-form .invalid-feedback {
    font-size: .8rem;
    color: #B4423A;
}

.kp-check {
    font-size: .88rem;
    color: var(--muted);
}

.kp-check .form-check-input {
    border-radius: 5px;
    border-color: var(--line-strong);
}

.kp-check .form-check-input:checked {
    background-color: var(--navy);
    border-color: var(--navy);
}

.kp-check .form-check-input:focus {
    box-shadow: 0 0 0 4px var(--gold-tint);
    border-color: var(--gold);
}

.kp-check a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

.was-validated .kp-check .form-check-input:valid ~ .form-check-label {
    color: var(--muted);
}

.form-success {
    display: none;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: var(--r-md);
    background: var(--gold-tint);
}

.form-success.is-shown {
    display: flex;
}

.form-success i {
    font-size: 1.7rem;
    color: var(--gold-deep);
}

.form-success strong {
    display: block;
    color: var(--navy);
}

.form-success span {
    font-size: .9rem;
    color: var(--muted);
}

.map-wrap {
    padding: 0 0 var(--section-y);
    background: var(--white);
}

.map {
    height: clamp(320px, 40vw, 460px);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--line);
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) contrast(1.05);
}

/* 15. Misc & animations
   ========================================================================== */
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1020;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s var(--ease), color .3s var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Scroll animations (only when JS is available) */
.js .reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .img-reveal {
    opacity: 0;
    transform: scale(.96);
    transition: opacity .8s var(--ease), transform 1s var(--ease);
    transition-delay: var(--d, 0ms);
}

.js .img-reveal img {
    transform: scale(1.1);
    transition: transform 1.4s var(--ease), filter .7s var(--ease);
    transition-delay: var(--d, 0ms);
}

.js .img-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .img-reveal.is-visible img {
    transform: scale(1);
}

/* Responsive refinements */
@media (max-width: 1199.98px) {
    :root {
        --header-h: 100px;
    }

    .brand-logo {
        --logo-h: 64px;
    }

    .site-header {
        padding-top: 12px;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: .975rem;
    }

    .header-bar {
        padding: 6px 6px 6px 8px;
    }

    :root {
        --header-h: 88px;
    }

    .brand-logo {
        --logo-h: 56px;
    }

    .hero-actions .btn-pill,
    .cta-actions .btn-pill {
        width: 100%;
        justify-content: space-between;
    }

    .hero-facts {
        gap: 12px;
    }

    .hero .seal {
        width: 92px;
        height: 92px;
        top: -20px;
        right: 4px;
    }

    .seal-core {
        font-size: 2rem;
    }

    .faq .accordion-body {
        padding-right: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    .js .reveal,
    .js .img-reveal,
    .js .img-reveal img {
        opacity: 1;
        transform: none;
    }
}
