/* ============================================================
   کلاس‌یار — Modern Editorial Design
   ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    /* Colors */
    --ink: #0a0e17;
    --ink-2: #131824;
    --ink-3: #1e2432;
    --teal: #14b8a6;
    --teal-bright: #2dd4bf;
    --blue: #3157d5;
    --blue-bright: #4f75e8;
    --cream: #f7f5f1;
    --cream-2: #efece5;
    --paper: #ffffff;
    --muted: #6b7280;
    --muted-2: #9ca3af;
    --line: #e8e5de;

    /* Type */
    --font: 'Vazirmatn', system-ui, sans-serif;

    /* Layout */
    --radius: 20px;
    --radius-lg: 32px;
    --radius-sm: 12px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   Floating Header — Pill
   ============================================================ */
.site-header {
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.header-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 12px 10px 22px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    box-shadow:
        0 4px 30px rgba(10, 14, 23, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    overflow: hidden;
}

.brand-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, var(--teal) 140%);
    opacity: 0.7;
}

.brand-mark span {
    position: relative;
    z-index: 1;
}

.brand-mark svg {
    position: relative;
    z-index: 1;
}

.brand-text {
    line-height: 1.25;
}

.brand-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.brand-text small {
    display: block;
    font-size: 10.5px;
    color: var(--muted);
    margin-top: 2px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-center a {
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    border-radius: 100px;
    transition: all 0.25s var(--ease);
}

.nav-center a:hover {
    background: rgba(10, 14, 23, 0.05);
}

.nav-cta {
    padding: 11px 22px;
    background: var(--ink);
    color: var(--cream) !important;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--teal);
    color: var(--ink) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.nav-cta svg {
    transition: transform 0.3s var(--ease);
}

.nav-cta:hover svg {
    transform: translateX(-4px);
}

/* ============================================================
   Hero — Big Editorial
   ============================================================ */
.hero {
    padding: 170px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.18), transparent 65%);
    top: -200px;
    left: -200px;
    filter: blur(40px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 87, 213, 0.14), transparent 65%);
    bottom: -150px;
    right: -150px;
    filter: blur(40px);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-3);
    margin-bottom: 32px;
    box-shadow: 0 2px 10px rgba(10, 14, 23, 0.03);
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    position: relative;
}

.hero-eyebrow .dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.25;
    animation: ping 2s var(--ease) infinite;
}

@keyframes ping {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
    font-size: clamp(48px, 9vw, 128px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.045em;
    margin-bottom: 30px;
    color: var(--ink);
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    display: inline-block;
    color: var(--teal);
    font-style: italic;
    font-weight: 400;
    font-family: 'Vazirmatn', serif;
    padding-left: 6px;
}

.hero-title .outline {
    -webkit-text-stroke: 2px var(--ink);
    color: transparent;
    transition: all 0.5s var(--ease);
}

.hero-title .outline:hover {
    -webkit-text-stroke: 2px var(--teal);
    color: var(--teal);
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
    margin-top: 20px;
}

.hero-desc {
    max-width: 480px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
}

.hero-desc strong {
    color: var(--ink);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 10px 30px rgba(10, 14, 23, 0.18);
}

.btn-primary:hover {
    background: var(--teal);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.32);
}

.btn-primary .arrow {
    transition: transform 0.3s var(--ease);
}

.btn-primary:hover .arrow {
    transform: translateX(-5px);
}

.btn-ghost {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--cream);
}

/* Hero Card — Floating Badge */
.hero-badge {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 26px 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow:
        0 30px 60px -20px rgba(10, 14, 23, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    min-width: 200px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-badge-mark {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ink), var(--teal));
    color: var(--cream);
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(20, 184, 166, 0.35);
}

.hero-badge strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.hero-badge small {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
    padding: 32px 0;
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
    position: relative;
    transform: rotate(-1.5deg);
    margin: 60px -20px;
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
    white-space: nowrap;
    width: fit-content;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.marquee-item::after {
    content: '✦';
    color: var(--teal);
    font-size: 18px;
}

/* ============================================================
   Bento Grid — About
   ============================================================ */
.bento {
    padding: 40px 0 100px;
}

.bento-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: end;
}

.bento-head h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.bento-head h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--teal);
}

.bento-head p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    padding-bottom: 8px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 18px;
}

.bento-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: var(--ink);
    box-shadow: 0 20px 40px -15px rgba(10, 14, 23, 0.15);
}

.bento-item.dark {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.bento-item.teal {
    background: var(--teal);
    color: var(--ink);
    border-color: var(--teal);
}

.bento-item.wide {
    grid-column: span 4;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.small {
    grid-column: span 2;
}

.bento-item.big {
    grid-column: span 3;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--cream-2);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: auto;
}

.bento-item.dark .bento-icon {
    background: rgba(255, 255, 255, 0.08);
}

.bento-item.teal .bento-icon {
    background: rgba(10, 14, 23, 0.1);
}

.bento-item h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.bento-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.bento-item.dark p {
    color: rgba(247, 245, 241, 0.65);
}

.bento-item.teal p {
    color: rgba(10, 14, 23, 0.7);
}

.bento-num {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.bento-num small {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    display: block;
    margin-top: 8px;
    letter-spacing: 0;
}

.bento-item.dark .bento-num small {
    color: rgba(247, 245, 241, 0.5);
}

/* ============================================================
   Fields — Editorial List
   ============================================================ */
.fields {
    padding: 100px 0;
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.fields::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
    filter: blur(40px);
}

.fields-inner {
    position: relative;
    z-index: 1;
}

.fields-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.fields-head h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
    max-width: 600px;
}

.fields-head h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--teal);
}

.fields-head p {
    color: rgba(247, 245, 241, 0.55);
    max-width: 320px;
    font-size: 14px;
}

.fields-list {
    border-top: 1px solid rgba(247, 245, 241, 0.12);
}

.field-row {
    display: grid;
    grid-template-columns: 80px 1fr 2fr auto;
    gap: 30px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(247, 245, 241, 0.12);
    transition: all 0.4s var(--ease);
    position: relative;
}

.field-row::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.08));
    transition: width 0.5s var(--ease);
}

.field-row:hover::before {
    width: 100%;
}

.field-row:hover {
    padding-right: 20px;
}

.field-row > * {
    position: relative;
    z-index: 1;
}

.field-idx {
    font-size: 13px;
    color: var(--teal);
    font-weight: 600;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.field-icon-lg {
    font-size: 38px;
    line-height: 1;
    transition: transform 0.4s var(--ease);
}

.field-row:hover .field-icon-lg {
    transform: scale(1.15) rotate(-8deg);
}

.field-name {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    transition: color 0.3s var(--ease);
}

.field-row:hover .field-name {
    color: var(--teal);
}

.field-desc {
    color: rgba(247, 245, 241, 0.55);
    font-size: 13.5px;
    line-height: 1.8;
}

.field-arrow-lg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(247, 245, 241, 0.2);
    display: grid;
    place-items: center;
    transition: all 0.4s var(--ease);
}

.field-row:hover .field-arrow-lg {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--ink);
    transform: rotate(-45deg);
}

/* ============================================================
   Contact — Split
   ============================================================ */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 40px 80px -30px rgba(10, 14, 23, 0.12);
}

.contact-info {
    padding: 60px 55px;
}

.contact-info .eyebrow-dark {
    display: inline-block;
    padding: 6px 14px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.contact-info h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}

.contact-info h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--teal);
}

.contact-info > p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.9;
    margin-bottom: 36px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.contact-line:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-line-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--cream);
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
}

.contact-line-text small {
    display: block;
    font-size: 11px;
    color: var(--muted-2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.contact-line-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.contact-visual {
    background: var(--ink);
    color: var(--cream);
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-visual::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2), transparent 70%);
    top: -100px;
    right: -100px;
    filter: blur(30px);
}

.contact-visual > * {
    position: relative;
    z-index: 1;
}

.qr-frame {
    width: 200px;
    height: 200px;
    background: var(--cream);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    position: relative;
}

.qr-frame::before,
.qr-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--teal);
}

.qr-frame::before {
    top: -8px;
    right: -8px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 12px;
}

.qr-frame::after {
    bottom: -8px;
    left: -8px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 12px;
}

.qr-frame span {
    color: var(--ink);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
}

.contact-visual h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.contact-visual p {
    color: rgba(247, 245, 241, 0.55);
    font-size: 12.5px;
    line-height: 1.8;
    max-width: 240px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--ink);
    color: rgba(247, 245, 241, 0.65);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(247, 245, 241, 0.1);
    margin-bottom: 30px;
}

.footer-brand strong {
    display: block;
    color: var(--cream);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13.5px;
    line-height: 1.9;
    max-width: 340px;
}

.footer-col h4 {
    color: var(--cream);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12.5px;
}

.footer-bottom .credit {
    color: var(--teal);
    font-weight: 600;
}

/* ============================================================
   Hero Slider — News Cards
   ============================================================ */

.hero-slider-wrap {
    pointer-events: auto;
}

.hero-slider-row {
    pointer-events: none;
}

.hero-news-card {
    cursor: pointer;
    pointer-events: auto;
}

/* ============================================================
   Post Modal
   ============================================================ */

.post-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: postFadeIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-modal-overlay.active {
    display: flex;
}

@keyframes postFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.post-modal {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow:
        0 50px 100px rgba(10, 14, 23, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    animation: postSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-modal::-webkit-scrollbar {
    width: 8px;
}

.post-modal::-webkit-scrollbar-thumb {
    background: #e8e5de;
    border-radius: 8px;
}

@keyframes postSlideUp {
    from { transform: translateY(50px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
}

.post-modal-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 14, 23, 0.55);
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.post-modal-close:hover {
    background: #dc2626;
    transform: rotate(90deg) scale(1.08);
}

.post-modal-image {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    background: #0a0e17;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.post-modal-image img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.post-modal-header {
    padding: 34px 40px 22px;
    border-bottom: 1px solid #e8e5de;
}

.post-modal-date {
    display: inline-block;
    font-size: 12px;
    color: #0d9488;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    background: rgba(20, 184, 166, 0.12);
    border-radius: 100px;
}

.post-modal-header h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: #0a0e17;
    margin: 0;
}

.post-modal-body {
    padding: 30px 40px 44px;
    font-size: 15.5px;
    line-height: 2.2;
    color: #1e2432;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
    .bento-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 180px;
    }

    .bento-item.wide { grid-column: span 4; }
    .bento-item.big { grid-column: span 2; }
    .bento-item.small { grid-column: span 2; }

    .field-row {
        grid-template-columns: 50px 1fr auto;
        gap: 20px;
    }

    .field-desc {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        padding: 0 20px;
    }

    .site-header {
        top: 12px;
    }

    .header-inner {
        padding: 8px 8px 8px 16px;
    }

    .nav-center {
        display: none;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-badge {
        margin: 0 auto;
    }

    .marquee {
        margin: 40px -10px;
        transform: rotate(-2deg);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .bento-item.wide,
    .bento-item.big,
    .bento-item.small {
        grid-column: span 2;
    }

    .bento-item.tall {
        grid-row: span 1;
    }

    .field-row {
        grid-template-columns: 1fr auto;
        gap: 15px;
        padding: 24px 0;
    }

    .field-icon-lg,
    .field-idx {
        display: none;
    }

    .contact-info,
    .contact-visual {
        padding: 40px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .post-modal {
        max-height: 92vh;
        border-radius: 20px;
    }

    .post-modal-image {
        max-height: 220px;
        border-radius: 20px 20px 0 0;
    }

    .post-modal-image img {
        max-height: 220px;
    }

    .post-modal-header {
        padding: 28px 24px 18px;
    }

    .post-modal-header h2 {
        font-size: 20px;
    }

    .post-modal-body {
        padding: 22px 24px 32px;
        font-size: 14.5px;
    }

    .post-modal-close {
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
        font-size: 17px;
    }
}