/* ==========================================================================
   ŞAHİN & TOPRAK HUKUK BÜROSU — Kurumsal, bilgilendirici, TBB reklam
   yönetmeliğine uygun tasarım dili. Webcraft sitesinden tamamen bağımsız.
   Açık zemin · lacivert/antrasit ink · serif başlık + sade sans gövde
   ========================================================================== */
:root {
    /* Surface */
    --ground: #f7f5ef;
    --ground-2: #efece2;
    --panel: #ffffff;
    --ink-rev: #f7f5ef;

    /* Ink */
    --ink: #182230;
    --ink-dim: rgba(24, 34, 48, 0.66);
    --ink-mute: rgba(24, 34, 48, 0.44);

    /* Lines */
    --line: rgba(24, 34, 48, 0.14);
    --line-strong: rgba(24, 34, 48, 0.26);

    /* Tek vurgu rengi — bordo tonu, küçük detaylarda kullanılır */
    --accent: #7a2e2e;
    --accent-dim: rgba(122, 46, 46, 0.12);

    /* Type */
    --title: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
    --text: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
    --label: 'Public Sans', Arial, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 0.22s var(--ease);
    --t-norm: 0.45s var(--ease);
    --t-slow: 0.9s var(--ease);

    --r: 2px;
    --fixed-top-h: 88px;

    --edge: max(24px, calc((100vw - 1320px) / 2));
    --maxw: 1320px;
}

@media (min-width: 1440px) {
    :root {
        --maxw: 1440px;
        --edge: max(24px, calc((100vw - 1440px) / 2));
    }
}

@media (min-width: 1680px) {
    :root {
        --maxw: 1600px;
        --edge: max(24px, calc((100vw - 1600px) / 2));
    }
}

@media (min-width: 1920px) {
    :root {
        --maxw: 1760px;
        --edge: max(24px, calc((100vw - 1760px) / 2));
    }
}

@media (min-width: 2200px) {
    :root {
        --maxw: 1920px;
        --edge: max(24px, calc((100vw - 1920px) / 2));
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--text);
    background: var(--ground);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: relative;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast), opacity var(--t-fast);
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--edge);
}

h1,
h2,
h3,
h4 {
    font-family: var(--title);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.eyebrow {
    font-family: var(--label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(247, 245, 239, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-norm), background var(--t-norm);
}

.site-header.scrolled {
    border-bottom-color: var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 22px;
}

.brand {
    font-family: var(--title);
    font-size: 1.3rem;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand strong {
    font-weight: 500;
}

.brand span {
    font-family: var(--label);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-family: var(--label);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--ink-dim);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--accent);
}

.nav-cta {
    font-family: var(--label);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-rev);
    background: var(--ink);
    padding: 12px 24px;
    border-radius: var(--r);
    transition: background var(--t-fast);
}

.nav-cta:hover {
    background: var(--accent);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: none;
    align-items: center;
    justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    display: block;
    width: 16px;
    height: 1px;
    background: var(--ink);
    position: relative;
    transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav-toggle span::before {
    position: absolute;
    top: -5px;
}

.nav-toggle span::after {
    position: absolute;
    top: 5px;
}

.nav-toggle.active span {
    opacity: 0;
}

.nav-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--ground);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 32px;
    transform: translateY(-100%);
    transition: transform var(--t-slow);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: var(--title);
    font-size: 2.1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

/* ==========================================================================
   Sinematik tam-ekran section iskeleti
   ========================================================================== */
.scene {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding: clamp(96px, 13vh, 168px) 0;
    overflow: hidden;
}

.scene:first-of-type {
    border-top: none;
}

.scene-index {
    font-family: var(--label);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    position: absolute;
    top: clamp(96px, 13vh, 168px);
    right: var(--edge);
}

/* Reveal-on-scroll (IntersectionObserver ile .is-visible eklenir) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: max(140px, calc(var(--fixed-top-h) + 24px));
    position: relative;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(52%, 800px);
    z-index: 0;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
    mask-image: linear-gradient(to top, transparent 0%, black 15%);
}

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

.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
            var(--ground) 0%,
            rgba(247, 245, 239, 0.86) 14%,
            rgba(247, 245, 239, 0.4) 32%,
            rgba(247, 245, 239, 0) 55%);
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    max-width: 15ch;
}

.hero-lede {
    margin-top: 28px;
    max-width: 44ch;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--ink-dim);
}

.hero-actions {
    margin-top: 44px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .hero {
        padding-top: var(--fixed-top-h);
        padding-bottom: 0;
        min-height: 0;
    }

    .hero-media {
        position: static;
        overflow: hidden;
        width: auto;
        aspect-ratio: 11 / 10;
        max-height: 700px;
        margin-bottom: 28px;
    }

    .hero-media img {
        object-position: center 54%;
    }

    .hero-media::before {
        background: linear-gradient(to top,
                var(--ground) 0%,
                rgba(247, 245, 239, 0.7) 10%,
                rgba(247, 245, 239, 0) 32%);
    }

    .hero-inner {
        order: 1;
        padding-bottom: 56px;
    }

    .hero-scroll-cue {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-media {
        aspect-ratio: 5 / 6;
        max-height: 560px;
        margin-bottom: 20px;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-actions {
        margin-top: 32px;
    }
}

.btn {
    font-family: var(--label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 15px 30px;
    border-radius: var(--r);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.btn-primary {
    background: var(--ink);
    color: var(--ink-rev);
}

.btn-primary:hover {
    background: var(--accent);
}

.btn-outline {
    border: 1px solid var(--line-strong);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--ink);
}

.hero-scroll-cue {
    position: absolute;
    bottom: 40px;
    left: var(--edge);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--label);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.hero-scroll-cue::after {
    content: '';
    width: 1px;
    height: 34px;
    background: var(--line-strong);
    animation: scrollcue 2.2s var(--ease) infinite;
}

@keyframes scrollcue {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.001% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Büyük tipografi anı (section geçişlerinde) */
.statement {
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    border-top: none;
}

.statement .container {
    position: relative;
    z-index: 1;
}

.design-circle-1 {
    position: absolute;
    width: 650px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(122, 46, 46, 0.12); /* accent */
    background: transparent;
    box-shadow: 0 0 0 100px rgba(122, 46, 46, 0.04), 0 0 0 200px rgba(122, 46, 46, 0.02);
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.statement h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    max-width: 27ch;
}

.statement h2 em {
    font-style: italic;
    color: var(--accent);
}

.blog-section {
    position: relative;
    overflow: hidden;
}

.blog-section .container {
    position: relative;
    z-index: 1;
}

.design-circle-2 {
    position: absolute;
    width: 550px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(24, 34, 48, 0.08); /* ink */
    background: transparent;
    box-shadow: inset 0 0 0 120px rgba(24, 34, 48, 0.03);
    right: -250px;
    top: -50px;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   Faaliyet alanları — sinematik liste
   ========================================================================== */
.practice-head {
    max-width: 640px;
    margin-bottom: clamp(48px, 6vw, 88px);
}

.practice-head h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-top: 18px;
}

.practice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 32px;
}

.practice-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--t-norm), box-shadow var(--t-norm);
    display: flex;
    flex-direction: column;
}

@media (hover: hover) {
    .practice-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 48px -12px rgba(24, 34, 48, 0.12);
    }
}

.practice-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}

.practice-card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.practice-num {
    font-family: var(--label);
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.practice-name {
    font-family: var(--title);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 500;
    margin-bottom: 12px;
}

.practice-desc {
    color: var(--ink-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   İlkeler / neden bu büro
   ========================================================================== */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: clamp(48px, 6vw, 88px);
}

.principle-card {
    background: var(--ground);
    padding: 40px 32px;
}

.principle-num {
    font-family: var(--label);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.principle-card h3 {
    font-size: 1.3rem;
    margin-top: 18px;
    margin-bottom: 12px;
}

.principle-card p {
    color: var(--ink-dim);
    font-size: 0.9rem;
}

/* ==========================================================================
   Blog kartları
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: clamp(48px, 6vw, 88px);
}

.blog-card {
    border-top: 1px solid var(--line-strong);
    padding-top: 22px;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-family: var(--label);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-top: 14px;
    font-weight: 400;
}

.blog-card p {
    color: var(--ink-dim);
    font-size: 0.9rem;
    margin-top: 12px;
}

.blog-card .read-more {
    margin-top: 20px;
    font-family: var(--label);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   İletişim CTA / bant
   ========================================================================== */
.contact-band {
    background: var(--ink);
    color: var(--ink-rev);
    border-top: none;
}

.contact-band .eyebrow {
    color: #c99;
}

.contact-band .eyebrow::before {
    background: #c99;
}

.contact-band h2 {
    color: var(--ink-rev);
    font-size: clamp(2.2rem, 5vw, 4rem);
    max-width: 24ch;
}

.contact-band p {
    color: rgba(247, 245, 239, 0.68);
    margin-top: 20px;
    max-width: 58ch;
}

.contact-band .btn-primary {
    background: var(--ink-rev);
    color: var(--ink);
}

.contact-band .btn-primary:hover {
    background: var(--accent);
    color: var(--ink-rev);
}

.contact-band .btn-outline {
    border-color: rgba(247, 245, 239, 0.3);
    color: var(--ink-rev);
}

.contact-band .btn-outline:hover {
    border-color: var(--ink-rev);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--ink-dim);
    font-size: 0.86rem;
    max-width: 34ch;
}

.footer-col h4 {
    font-family: var(--label);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.88rem;
    color: var(--ink-dim);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--label);
    font-size: 0.74rem;
    color: var(--ink-mute);
}

.footer-bottom a {
    color: var(--ink-mute);
}

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

/* ==========================================================================
   Sayfa içi hero (alt sayfalar)
   ========================================================================== */
.page-hero {
    padding-top: max(clamp(150px, 20vh, 220px), calc(var(--fixed-top-h) + 24px));
    padding-bottom: clamp(56px, 8vh, 96px);
    border-top: none;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    max-width: 26ch;
    margin-top: 20px;
}

.page-hero .lede {
    margin-top: 20px;
    max-width: 70ch;
    color: var(--ink-dim);
}

/* Hakkımızda — ekip */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: clamp(48px, 6vw, 88px);
}

.team-card {
    border-top: 1px solid var(--line-strong);
    padding-top: 20px;
}

.team-photo {
    aspect-ratio: 4/5;
    background: var(--ground-2);
    border: 1px solid var(--line);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mute);
    font-family: var(--label);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    font-family: var(--text);
}

.team-card .role {
    font-family: var(--label);
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-top: 4px;
}

.team-card p {
    font-size: 0.86rem;
    color: var(--ink-dim);
    margin-top: 12px;
}

/* Faaliyet detay sayfası bloğu */
.practice-detail {
    padding: 64px 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
}

.practice-detail:first-of-type {
    border-top: none;
}

.practice-detail-head .practice-num {
    display: block;
    margin-bottom: 12px;
}

.practice-detail-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.practice-detail-body p {
    color: var(--ink-dim);
    margin-bottom: 16px;
    max-width: 74ch;
}

.practice-detail-body ul {
    margin-top: 12px;
}

.practice-detail-body li {
    padding-left: 20px;
    position: relative;
    color: var(--ink-dim);
    font-size: 0.94rem;
    margin-bottom: 10px;
}

.practice-detail-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.82em;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

/* İletişim sayfası */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    padding-bottom: clamp(64px, 8vw, 120px);
}

.contact-info-block {
    border-top: 1px solid var(--line-strong);
    padding-top: 24px;
    margin-bottom: 32px;
}

.contact-info-block h3 {
    font-family: var(--label);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-block p,
.contact-info-block a {
    color: var(--ink-dim);
    font-size: 0.96rem;
}

.contact-map {
    margin-top: 32px;
    aspect-ratio: 16/10;
    background: var(--ground-2);
    border: 1px solid var(--line);
    display: block;
    width: 100%;
    filter: grayscale(0.3) contrast(1.05);
}

.contact-map-fallback {
    margin-top: 32px;
    aspect-ratio: 16/10;
    background: var(--ground-2);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mute);
    font-family: var(--label);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    font-family: var(--label);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    background: var(--panel);
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    padding: 13px 16px;
    color: var(--ink);
    transition: border-color var(--t-fast);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.form-consent input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.form-consent label {
    font-size: 0.82rem;
    color: var(--ink-dim);
}

.form-consent a {
    color: var(--accent);
    text-decoration: underline;
}

.form-note {
    font-size: 0.78rem;
    color: var(--ink-mute);
    margin-top: 14px;
}

/* Blog listesi / detay */
.blog-list-grid {
    margin-top: clamp(48px, 6vw, 88px);
}

.blog-list-row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 24px;
    align-items: baseline;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.blog-list-row .blog-card-meta {
    padding-top: 4px;
}

.blog-list-row h3 {
    font-size: 1.4rem;
    font-weight: 400;
}

.blog-list-row p {
    color: var(--ink-dim);
    font-size: 0.9rem;
    margin-top: 8px;
    max-width: 60ch;
}

.blog-detail-head {
    padding: clamp(150px, 20vh, 220px) 0 40px;
    max-width: 780px;
}

.blog-detail-body {
    max-width: 720px;
    padding-bottom: clamp(64px, 8vw, 120px);
}

.blog-detail-body p {
    margin-bottom: 20px;
    color: var(--ink-dim);
}

.blog-detail-body h2 {
    font-size: 1.6rem;
    margin: 40px 0 16px;
}

.blog-detail-body ul {
    margin: 16px 0 20px 0;
}

.blog-detail-body li {
    padding-left: 20px;
    position: relative;
    color: var(--ink-dim);
    margin-bottom: 10px;
}

.blog-detail-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.82em;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .practice-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 860px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .practice-row {
        grid-template-columns: 40px 1fr auto;
    }

    .blog-list-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .scene {
        padding: clamp(72px, 10vh, 120px) 0;
    }

    .statement {
        min-height: 50vh;
    }
}