@import url('https://fonts.googleapis.com/css2?family=Orbit&family=East+Sea+Dokdo&family=Chiron+GoRound+TC:wght@600&display=swap');

:root {
    --ink: #172026;
    --muted: #4e5960;
    --paper: #fbfaf5;
    --soft: #f6f4ed;
    --field: #f3f0e4;
    --line: #172026;
    --green: #23583a;
    --teal: #185255;
    --yellow: #f0b429;
    --red: #a74724;
    --shadow: 6px 6px 0 #172026;
    --radius: 0px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Orbit', Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { font-family: 'Chiron GoRound TC', sans-serif !important; font-weight: 600 !important; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(20px, 4vw, 56px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { font-size: 1.2rem; font-weight: 900; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.brand-logo { width: 28px; height: 28px; display: inline-block; color: var(--green); flex-shrink: 0; transition: transform 0.3s ease; }
.brand:hover .brand-logo { transform: rotate(15deg); }
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .95rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); min-height: calc(100vh - 66px); align-items: center; gap: clamp(32px, 5vw, 72px); padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 80px); }
.home-hero, .sub-hero, .project-hero { background: linear-gradient(120deg, rgba(47,111,78,.12), rgba(240,180,41,.15)), var(--field); }
.hero-copy { max-width: 820px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .82rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
h1,h2,h3,p,a { overflow-wrap: break-word; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: 1.04; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.22rem; line-height: 1.35; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions, .fact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 6px; font-weight: 900; text-decoration: none; }
.button.primary { background: var(--green); color: white; }
.button.secondary { border: 1px solid var(--green); color: var(--green); background: white; }
.signal-board { display: grid; gap: 14px; }
.signal-board div { padding: 24px; border: 1px solid rgba(47,111,78,.18); border-radius: var(--radius); background: white; box-shadow: 0 10px 28px rgba(23,32,38,.08); }
.signal-board span { display: inline-block; margin-bottom: 10px; color: var(--yellow); font-weight: 900; }
.signal-board strong { display: block; margin-bottom: 6px; font-size: 1.1rem; }
.signal-board p, .section-heading p, .project-card p, .wide-card p, .scenario-card p, .log-card p, .finding-list p, .site-footer p, .statement p:last-child, .data-grid p { color: var(--muted); }
.section { padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 80px); }
.sub-hero, .project-hero { padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 80px); }
.sub-hero h1, .project-hero h1 { max-width: 980px; font-size: clamp(2.35rem, 6vw, 5rem); }
.section-heading { max-width: 900px; margin-bottom: 34px; }
.section-heading.compact { max-width: 980px; margin-bottom: 0; }
.muted { background: var(--soft); }
.project-grid, .image-grid, .data-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card, .scenario-card, .log-card, .wide-card, .data-grid article { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.project-card.highlight, .wide-card.emphasis { border-color: rgba(47,111,78,.5); box-shadow: var(--shadow); }
.project-meta { margin-bottom: 12px; color: var(--teal); font-size: .9rem; font-weight: 900; overflow-wrap: anywhere; }
.log-card h2, .wide-card h2 { overflow-wrap: anywhere; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--green); font-weight: 900; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.timeline { display: grid; gap: 18px; max-width: 1040px; }
.timeline article { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--green); font-size: 1.8rem; font-weight: 900; grid-row: 1 / span 2; }
.project-list, .log-list { display: grid; gap: 18px; max-width: 980px; }
.image-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.image-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.image-grid figcaption { padding: 14px 16px; color: var(--muted); font-size: .95rem; }
.fact-row span { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border: 1px solid rgba(47,111,78,.22); border-radius: 999px; background: white; color: var(--green); font-weight: 900; }
.statement { max-width: 980px; padding-left: clamp(18px, 4vw, 44px); border-left: 6px solid var(--yellow); }
.scenario-grid.detailed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.finding-list { display: grid; gap: 18px; max-width: 1040px; }
.finding-list article { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.finding-list span { color: var(--green); font-size: 1.8rem; font-weight: 900; grid-row: 1 / span 2; }
.finding-list article h3, .finding-list article p { grid-column: 2; }
.data-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px clamp(20px, 5vw, 80px); background: var(--ink); color: white; }
.site-footer p, .footer-links a { color: rgba(255,255,255,.78); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-links a { text-decoration: none; font-size: 0.85rem; }
@media (max-width: 980px) { .hero, .project-grid, .project-grid.three, .image-grid, .data-grid, .scenario-grid.detailed { grid-template-columns: 1fr; } .hero { min-height: auto; } }
@media (max-width: 700px) { .site-header, .site-footer { align-items: flex-start; flex-direction: column; } .nav-links { gap: 12px; font-size: .9rem; } .timeline article, .finding-list article { grid-template-columns: 1fr; gap: 8px; } .timeline time, .finding-list span { grid-row: auto; } .finding-list article h3, .finding-list article p { grid-column: 1; } .hero-actions { flex-direction: column; } .button { width: 100%; } }





.case-summary { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 32px; max-width: 1080px; }
.case-summary p:last-child { color: var(--muted); font-size: 1.08rem; }
.process-list { display: grid; gap: 16px; max-width: 980px; padding: 0; list-style: none; counter-reset: process; }
.process-list li { counter-increment: process; position: relative; padding: 24px 24px 24px 82px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.process-list li::before { content: counter(process, decimal-leading-zero); position: absolute; left: 24px; top: 24px; color: var(--green); font-size: 1.4rem; font-weight: 900; }
.process-list strong { display: block; margin-bottom: 6px; font-size: 1.08rem; }
.process-list p { margin-bottom: 0; color: var(--muted); }
.scene-detail { display: grid; gap: 16px; margin: 20px 0 0; }
.scene-detail div { padding-top: 14px; border-top: 1px solid var(--line); }
.scene-detail dt { margin-bottom: 8px; color: var(--teal); font-size: .86rem; font-weight: 900; }
.scene-detail dd { margin: 0 0 6px; color: var(--muted); }
.artifact-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.artifact-token { position: relative; display: flex; min-height: 58px; align-items: center; gap: 10px; padding: 10px 12px 10px 50px; border: 1px solid rgba(47,111,78,.18); border-radius: 8px; background: linear-gradient(180deg, #fff, #f7fbf3); color: var(--ink); font-size: .92rem; font-weight: 800; line-height: 1.25; }
.artifact-token::before, .artifact-token::after { content: ""; position: absolute; display: block; }
.artifact-token::before { left: 12px; top: 50%; width: 28px; height: 28px; border-radius: 7px; background: #fff7d9; transform: translateY(-50%); }
.icon-phone::after { left: 20px; top: 15px; width: 12px; height: 22px; border: 2px solid var(--green); border-radius: 4px; box-shadow: inset 0 -3px 0 rgba(47,111,78,.22); }
.icon-snack::after { left: 18px; top: 19px; width: 18px; height: 14px; border: 2px solid var(--yellow); border-radius: 3px; transform: rotate(-8deg); background: linear-gradient(90deg, transparent 35%, rgba(240,180,41,.34) 35% 65%, transparent 65%); }
.icon-toy::after { left: 18px; top: 18px; width: 18px; height: 18px; border: 3px solid var(--red); border-radius: 50%; box-shadow: 9px 8px 0 -5px var(--teal); }
.icon-bag::after, .icon-carrier::after { left: 17px; top: 20px; width: 20px; height: 15px; border: 2px solid var(--teal); border-radius: 4px; background: rgba(29,111,115,.08); }
.icon-wheelchair::after { left: 17px; top: 24px; width: 15px; height: 15px; border: 3px solid var(--teal); border-radius: 50%; box-shadow: 9px -13px 0 -6px var(--teal); }
.icon-ramp::after { left: 17px; top: 26px; width: 22px; height: 10px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: skewX(-30deg); }
.icon-road::after { left: 20px; top: 16px; width: 14px; height: 22px; border-left: 3px solid var(--red); border-right: 3px solid var(--red); background: linear-gradient(180deg, transparent 0 25%, var(--red) 25% 34%, transparent 34% 58%, var(--red) 58% 67%, transparent 67%); }
.icon-sign::after { left: 18px; top: 16px; width: 18px; height: 14px; border: 2px solid var(--green); border-radius: 2px; box-shadow: 7px 16px 0 -6px var(--green); }
.icon-leash::after { left: 17px; top: 19px; width: 21px; height: 17px; border: 3px solid var(--green); border-left-color: transparent; border-radius: 50%; transform: rotate(-28deg); }
.icon-waste::after { left: 19px; top: 17px; width: 17px; height: 20px; border: 2px solid var(--red); border-radius: 3px 3px 7px 7px; background: rgba(185,92,56,.08); }
.icon-map::after { left: 18px; top: 17px; width: 18px; height: 20px; border: 2px solid var(--teal); border-radius: 2px; background: linear-gradient(90deg, transparent 0 30%, rgba(29,111,115,.22) 30% 38%, transparent 38% 65%, rgba(29,111,115,.22) 65% 73%, transparent 73%); }
.icon-elevator::after { left: 18px; top: 16px; width: 18px; height: 22px; border: 2px solid var(--teal); border-radius: 2px; background: linear-gradient(90deg, transparent 48%, var(--teal) 48% 52%, transparent 52%); }
.icon-water::after { left: 21px; top: 16px; width: 13px; height: 19px; border-radius: 10px 10px 10px 2px; background: var(--teal); transform: rotate(45deg); opacity: .86; }
.icon-floor::after { left: 17px; top: 18px; width: 21px; height: 17px; border: 2px solid var(--green); background: linear-gradient(180deg, transparent 30%, rgba(240,180,41,.26) 30% 42%, transparent 42% 64%, rgba(240,180,41,.26) 64% 76%, transparent 76%); }
.output-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.output-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.output-grid strong { display: block; margin-bottom: 8px; color: var(--green); font-size: 1.08rem; }
.output-grid p { margin-bottom: 0; color: var(--muted); }
.project-assets { margin-top: 18px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; }
.article-body { font-size: 1.06rem; }
.article-body h2 { margin-top: 46px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.article-body p, .article-body li { color: var(--muted); }
.source-note { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--field); color: var(--muted); }
.blog-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.blog-nav a { color: var(--green); font-weight: 900; text-decoration: none; }
@media (max-width: 980px) { .case-summary, .output-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .artifact-board { grid-template-columns: 1fr; } .process-list li { padding-left: 24px; } .process-list li::before { position: static; display: block; margin-bottom: 8px; } }

.clickable-card {
    cursor: pointer;
}

.clickable-card:focus-visible {
    outline: 3px solid rgba(35, 89, 217, 0.36);
    outline-offset: 4px;
}

.clickable-card:hover {
    border-color: var(--ink);
    box-shadow: 10px 10px 0 var(--ink) !important;
    transform: scale(1.015) rotate(0deg) !important;
}

.article-body img {
    display: block;
    width: min(100%, 860px);
    height: auto;
    margin: 2rem auto 0.75rem;
    border-radius: 8px;
}

.article-body span {
    max-width: 100%;
}

/* Fluid editorial layout refresh */
body {
    background: var(--paper);
}

.site-header {
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
}

.fluid-hero {
    padding: clamp(72px, 9vw, 126px) clamp(20px, 5vw, 80px) clamp(44px, 6vw, 80px);
    background: #fbfaf5;
}

.hero-kicker {
    display: grid;
    grid-template-columns: minmax(160px, 0.35fr) minmax(0, 0.65fr);
    gap: clamp(20px, 5vw, 72px);
    align-items: end;
    margin-bottom: clamp(28px, 4vw, 56px);
    border-top: 1px solid rgba(23, 32, 38, 0.22);
    padding-top: 18px;
}

.hero-kicker p:last-child {
    max-width: 520px;
    justify-self: end;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.fluid-hero h1 {
    max-width: 1240px;
    margin-bottom: clamp(28px, 5vw, 70px);
    font-size: clamp(3rem, 8.4vw, 8.6rem);
    line-height: 0.96;
}

.hero-media-row {
    display: grid;
    grid-template-columns: 1.08fr 0.72fr 0.9fr;
    gap: clamp(12px, 2vw, 24px);
    align-items: end;
    margin: 0 0 clamp(34px, 5vw, 68px);
}

.media-tile {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--soft);
}

.media-tile img,
.feature-media img,
.journal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-tile {
    aspect-ratio: 4 / 3;
}

.media-tile.tall {
    aspect-ratio: 5 / 6;
}

.hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) max-content;
    gap: 24px;
    align-items: end;
    border-top: 1px solid rgba(23, 32, 38, 0.18);
    padding-top: clamp(22px, 3vw, 34px);
}

.hero-bottom .lead {
    margin: 0;
}

.editorial-band {
    display: grid;
    grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
    gap: clamp(24px, 6vw, 90px);
    align-items: start;
    background: #172026;
    color: white;
}

.editorial-band .eyebrow {
    color: #f0b429;
}

.editorial-band h2 {
    max-width: 1040px;
    font-size: clamp(2.2rem, 5.8vw, 5.4rem);
    line-height: 1;
}

.split-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 54px);
    grid-column: 2;
}

.split-copy p {
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.wide-heading {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(160px, 0.25fr) minmax(0, 0.75fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: end;
    border-top: 1px solid rgba(23, 32, 38, 0.18);
    padding-top: 18px;
}

.wide-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    line-height: 0.98;
}

.showcase-stack {
    display: grid;
    gap: clamp(26px, 4vw, 54px);
}

.feature-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(260px, 1.05fr);
    gap: clamp(22px, 4vw, 64px);
    align-items: stretch;
    padding: clamp(14px, 2vw, 22px);
    border: 3px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.3s ease;
}

.feature-card.reverse .feature-media {
    order: 2;
}

.feature-card.emphasis,
.wide-card.emphasis {
    background: #f4f0e8;
}

.feature-media {
    display: block;
    min-height: clamp(260px, 36vw, 520px);
    overflow: hidden;
    border-radius: 8px;
    background: var(--soft);
}

.feature-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(12px, 3vw, 42px);
}

.feature-copy h2,
.feature-copy h3 {
    font-size: clamp(2rem, 4.5vw, 4.6rem);
    line-height: 1;
}

.feature-copy p {
    max-width: 620px;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.fluid-timeline {
    max-width: none;
}

.fluid-timeline article {
    grid-template-columns: minmax(120px, 0.2fr) minmax(220px, 0.35fr) minmax(0, 0.45fr);
    align-items: baseline;
    padding: clamp(24px, 4vw, 44px) 0;
}

.fluid-timeline time {
    grid-row: auto;
    font-size: clamp(2.2rem, 5vw, 5.2rem);
    line-height: 0.9;
}

.fluid-timeline h3,
.fluid-timeline p {
    margin-bottom: 0;
}

.fluid-subhero {
    background: #fbfaf5;
    border-bottom: 1px solid rgba(23, 32, 38, 0.14);
}

.fluid-subhero h1 {
    max-width: 1180px;
    font-size: clamp(2.9rem, 7.2vw, 7.4rem);
    line-height: 0.98;
}

.journal-section {
    padding-top: clamp(36px, 6vw, 84px);
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 34px);
}

.journal-card {
    display: grid;
    gap: 20px;
    padding: 0 0 26px;
    overflow: hidden;
    border: 1px solid rgba(23, 32, 38, 0.15);
    background: #fffefa;
}

.journal-card > div:not(.project-meta),
.journal-card > div:last-child {
    padding: 0 clamp(18px, 3vw, 28px);
}

.journal-card.lead-post {
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
    align-items: center;
    padding: 0;
}

.journal-card.lead-post > div:last-child {
    padding: clamp(24px, 4vw, 52px);
}

.journal-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--soft);
}

.lead-post .journal-thumb {
    height: 100%;
    min-height: 380px;
    aspect-ratio: auto;
}

.journal-card h2 {
    font-size: clamp(1.45rem, 3vw, 2.6rem);
    line-height: 1.08;
}

.clickable-card:hover .feature-media img,
.clickable-card:hover .journal-thumb img {
    transform: scale(1.025);
}

.feature-media img,
.journal-thumb img {
    transition: transform 0.35s ease;
}

@media (max-width: 980px) {
    .hero-kicker,
    .hero-bottom,
    .editorial-band,
    .split-copy,
    .wide-heading,
    .feature-card,
    .journal-grid,
    .journal-card.lead-post,
    .fluid-timeline article {
        grid-template-columns: 1fr;
    }

    .hero-kicker p:last-child {
        justify-self: start;
    }

    .feature-card.reverse .feature-media {
        order: 0;
    }

    .hero-media-row {
        grid-template-columns: 1fr 1fr;
    }

    .media-tile.tall {
        grid-row: span 2;
    }

    .split-copy {
        grid-column: 1;
    }
}

@media (max-width: 700px) {
    .fluid-hero h1,
    .fluid-subhero h1 {
        font-size: clamp(2.55rem, 14vw, 4.8rem);
    }

    .hero-media-row {
        grid-template-columns: 1fr;
    }

    .media-tile.tall,
    .media-tile,
    .journal-thumb,
    .lead-post .journal-thumb {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .feature-media {
        min-height: 240px;
    }

    .feature-copy {
        padding: 8px 4px 10px;
    }
}

/* Korean typography tuning */
body {
    line-height: 1.72;
}

h1,
h2,
h3 {
    word-break: keep-all;
    line-height: 1.18;
}

.fluid-hero {
    padding-top: clamp(58px, 7vw, 96px);
}

.fluid-hero h1 {
    max-width: 1120px;
    font-size: clamp(2.55rem, 6.1vw, 6.25rem);
    line-height: 1.12;
    margin-bottom: clamp(30px, 4.6vw, 58px);
}

.fluid-subhero h1,
.sub-hero h1,
.project-hero h1 {
    max-width: 1080px;
    font-size: clamp(2.25rem, 5.4vw, 5.5rem);
    line-height: 1.13;
}

.editorial-band h2,
.wide-heading h2 {
    font-size: clamp(2rem, 4.8vw, 4.7rem);
    line-height: 1.14;
}

.feature-copy h2,
.feature-copy h3 {
    font-size: clamp(1.75rem, 3.7vw, 3.6rem);
    line-height: 1.16;
}

.journal-card h2 {
    font-size: clamp(1.35rem, 2.35vw, 2.15rem);
    line-height: 1.22;
}

.lead {
    line-height: 1.75;
}

.hero-kicker {
    margin-bottom: clamp(26px, 3.6vw, 46px);
}

.hero-kicker p:last-child,
.feature-copy p,
.split-copy p,
.journal-card p,
.section-heading p {
    line-height: 1.78;
}

.hero-media-row {
    margin-bottom: clamp(36px, 5.4vw, 72px);
}

.section {
    padding-top: clamp(72px, 8.5vw, 124px);
    padding-bottom: clamp(72px, 8.5vw, 124px);
}

.feature-card {
    gap: clamp(24px, 4.8vw, 76px);
}

.fluid-timeline time {
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1;
}

@media (max-width: 700px) {
    .fluid-hero {
        padding-top: 48px;
    }

    .fluid-hero h1,
    .fluid-subhero h1,
    .sub-hero h1,
    .project-hero h1 {
        font-size: clamp(2.15rem, 10.2vw, 3.4rem);
        line-height: 1.14;
    }

    .editorial-band h2,
    .wide-heading h2,
    .feature-copy h2,
    .feature-copy h3 {
        font-size: clamp(1.8rem, 8vw, 2.75rem);
        line-height: 1.18;
    }

    .hero-kicker {
        gap: 18px;
        margin-bottom: 24px;
    }

    .hero-kicker p:last-child {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Image and contact corrections */
.hero-media-row {
    display: none;
}

.hero-banner {
    margin: 0 0 clamp(32px, 5vw, 64px);
    overflow: hidden;
    border-radius: 8px;
    background: var(--soft);
    aspect-ratio: 1728 / 640;
    max-height: 520px;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.quote-section {
    display: grid;
    gap: 18px;
    background: #172026;
    color: white;
}

.quote-section blockquote {
    max-width: 1080px;
    margin: 0;
    font-size: clamp(1.45rem, 3.2vw, 3rem);
    line-height: 1.42;
    font-weight: 800;
}

.quote-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-grid article {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(23, 32, 38, 0.15);
    border-radius: 8px;
    background: #fffefa;
}

.info-grid h3 {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.info-grid p {
    color: var(--muted);
}

.compact-showcase .feature-card,
.projects-page .feature-card {
    min-height: auto;
}

.feature-media {
    min-height: 0;
    height: clamp(220px, 28vw, 360px);
    max-height: 360px;
    aspect-ratio: 16 / 9;
}

.feature-media img {
    object-fit: contain;
    object-position: center;
    background: #f4f0e8;
}

.journal-thumb {
    height: clamp(180px, 24vw, 300px);
    max-height: 300px;
    aspect-ratio: 16 / 9;
}

.lead-post .journal-thumb {
    min-height: 0;
    height: clamp(260px, 34vw, 380px);
    max-height: 380px;
    aspect-ratio: 16 / 9;
}

.journal-thumb img {
    object-position: center;
}

.contact-section {
    background: #fffefa;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(23, 32, 38, 0.16);
}

.contact-mail {
    color: var(--green);
    font-size: clamp(1.8rem, 4.2vw, 4.4rem);
    line-height: 1.15;
    font-weight: 900;
    text-decoration: none;
}

.contact-mail:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.social-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(47, 111, 78, 0.26);
    border-radius: 999px;
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 980px) {
    .info-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .hero-banner {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }

    .feature-media,
    .journal-thumb,
    .lead-post .journal-thumb {
        height: 220px;
        max-height: 220px;
        aspect-ratio: 16 / 10;
    }

    .contact-mail {
        font-size: clamp(1.55rem, 8vw, 2.35rem);
    }
}

.feature-card {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    overflow: hidden;
}

.feature-media {
    width: 100%;
    max-width: 100%;
}

.feature-media img {
    object-fit: cover;
    object-position: center;
}

.feature-card:first-child .feature-media img {
    object-position: center;
}

/* Gold palette and hero refinements */
:root {
    --green: #b98200;
    --teal: #8f6a00;
    --yellow: #d7a21a;
    --field: #fff8e6;
    --soft: #f4ead0;
    --line: #dfd2b4;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.eyebrow,
.project-meta,
.text-link,
.contact-mail,
.social-links a {
    color: var(--green);
}

.hero-intro {
    max-width: 780px;
    margin-bottom: clamp(28px, 4vw, 48px);
    border-top: 1px solid rgba(23, 32, 38, 0.18);
    padding-top: 18px;
    text-align: left;
}

.hero-intro h2 {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.15rem, 2.4vw, 2rem);
    line-height: 1.55;
    font-weight: 500;
}

.fluid-hero h1 {
    max-width: 980px;
}

.hero-bottom {
    display: block;
    max-width: 980px;
    border-top: 1px solid rgba(23, 32, 38, 0.18);
    padding-top: clamp(24px, 3vw, 36px);
}

.hero-bottom .lead {
    max-width: 900px;
}

.hero-actions {
    display: none;
}

.hero-banner {
    aspect-ratio: 4800 / 1778;
    max-height: 500px;
}

.hero-banner img {
    object-position: center;
}

.gradient-thumb {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(18px, 3vw, 34px);
    isolation: isolate;
    text-decoration: none;
}

.gradient-thumb::before,
.gradient-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gradient-thumb::after {
    background: linear-gradient(to top, rgba(23, 32, 38, 0.78) 0%, rgba(23, 32, 38, 0.1) 70%);
}

.thumb-2024::before {
    background-image: url('assets/images/thumb_2024.png');
    background-size: cover;
    background-position: center;
}

.thumb-2025::before {
    background-image: url('assets/images/thumb_2025.png');
    background-size: cover;
    background-position: center;
}

.thumb-2026::before {
    background-image: url('assets/images/thumb_2026.png');
    background-size: cover;
    background-position: center;
}

.gradient-thumb span {
    color: white !important;
    font-size: clamp(1.45rem, 3vw, 3.2rem);
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
}

.link-row .text-link {
    margin-top: 0;
}

.clickable-card:hover .gradient-thumb {
    filter: saturate(1.06) contrast(1.02);
}

@media (max-width: 700px) {
    .hero-intro {
        margin-bottom: 24px;
    }

    .fluid-hero h1 br {
        display: none;
    }

    .hero-banner {
        aspect-ratio: 16 / 9;
        max-height: 280px;
    }
}

.fluid-hero h1 br { display: block; }


/* Responsive hero title, mobile project cards, connected contact copy */
.hero-title {
    max-width: min(1120px, 88vw);
    font-size: clamp(3.1rem, 5.5vw, 6.1rem);
    line-height: 1.12;
}

.hero-title span {
    display: inline;
}

.hero-title-break {
    display: block !important;
}

.contact-section {
    display: grid;
    gap: clamp(22px, 4vw, 42px);
}

.contact-message {
    max-width: 1120px;
    border-top: 1px solid rgba(23, 32, 38, 0.18);
    padding-top: 18px;
}

.contact-message h2 {
    max-width: 900px;
    margin-bottom: 18px;
    font-size: clamp(2rem, 4.8vw, 4.7rem);
    line-height: 1.14;
}

.contact-message p:not(.eyebrow) {
    max-width: 920px;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    line-height: 1.78;
}

.contact-message .contact-mail {
    font-size: inherit;
    line-height: inherit;
    vertical-align: baseline;
}

.contact-panel {
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 980px) {
    .feature-card,
    .feature-card.reverse,
    .compact-showcase .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-card.reverse .feature-media {
        order: 0;
    }
}

@media (max-width: 700px) {
    .hero-title {
        max-width: 10ch;
        font-size: clamp(2.7rem, 11.5vw, 3.45rem);
        line-height: 1.14;
    }

    .hero-title span {
        display: block;
    }

    .feature-card,
    .feature-card.reverse,
    .compact-showcase .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-media {
        width: 100%;
        height: 220px;
    }

    .feature-copy {
        padding: 8px 0 10px;
    }
}

/* Final hero title line-break control */
.hero-title {
    max-width: min(1320px, 92vw);
    font-size: clamp(3.1rem, 5vw, 5.9rem);
}

.hero-title span {
    display: inline-block;
    white-space: nowrap;
}

.hero-title .hero-title-break {
    display: block !important;
}

@media (max-width: 1120px) {
    .hero-title {
        max-width: min(720px, 90vw);
        font-size: clamp(2.7rem, 8.8vw, 4.4rem);
    }

    .hero-title span {
        display: block;
    }
}

@media (max-width: 700px) {
    .hero-title {
        max-width: min(360px, 90vw);
        font-size: clamp(2.55rem, 10.2vw, 3.2rem);
        line-height: 1.14;
    }
}
/* Stronger final override: 2 lines on wide screens, 3 phrase lines on narrow screens */
.fluid-hero .hero-title {
    max-width: min(1500px, 92vw);
    font-size: clamp(3rem, 4.55vw, 5.6rem);
    line-height: 1.12;
}

.fluid-hero .hero-title span {
    display: inline-block;
    white-space: nowrap;
}

.fluid-hero .hero-title .hero-title-break {
    display: block !important;
}

@media (max-width: 1120px) {
    .fluid-hero .hero-title {
        max-width: min(720px, 90vw);
        font-size: clamp(2.7rem, 8.8vw, 4.4rem);
    }

    .fluid-hero .hero-title span {
        display: block;
    }
}

@media (max-width: 700px) {
    .fluid-hero .hero-title {
        max-width: min(360px, 90vw);
        font-size: clamp(2.55rem, 10.2vw, 3.2rem);
        line-height: 1.14;
    }
}
/* Final homepage structure corrections */
.section-heading.wide-heading {
    display: block;
    max-width: min(1180px, 100%);
    text-align: left;
}

.section-heading.wide-heading .eyebrow {
    margin-bottom: 16px;
}

.section-heading.wide-heading h2 {
    max-width: 980px;
    font-size: clamp(2.6rem, 5.2vw, 5.2rem);
    line-height: 1.12;
}

.hero-intro h2 {
    max-width: 860px;
    font-size: clamp(1.35rem, 2.05vw, 2.45rem);
    line-height: 1.5;
}

.fluid-timeline article {
    grid-template-columns: minmax(180px, 0.2fr) minmax(300px, 0.34fr) minmax(0, 0.46fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
    padding: clamp(44px, 5vw, 72px) 0;
}

.fluid-timeline time {
    font-size: clamp(4rem, 5vw, 5.4rem);
    line-height: 0.95;
}

.fluid-timeline h3 {
    font-size: clamp(1.45rem, 1.65vw, 2rem);
    line-height: 1.35;
    font-weight: 900;
}

.fluid-timeline p {
    max-width: 760px;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.25vw, 1.32rem);
    line-height: 1.72;
}

.contact-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
    align-items: start;
    gap: clamp(32px, 6vw, 96px);
}

.contact-message {
    max-width: 880px;
}

.contact-message h2 {
    max-width: 820px;
}

.contact-message p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 22px;
}

.contact-message .contact-mail {
    display: inline-block;
    color: var(--ink);
    font-size: clamp(2.2rem, 4.4vw, 5rem);
    line-height: 1.1;
    font-weight: 900;
    text-decoration-color: var(--green);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.12em;
}

.contact-panel,
.social-links {
    display: none;
}

.contact-form {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(23, 32, 38, 0.18);
}

.contact-form label {
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-form textarea {
    width: 100%;
    min-height: 220px;
    resize: vertical;
    border: 1px solid rgba(23, 32, 38, 0.2);
    border-radius: 8px;
    background: #fffefa;
    color: var(--ink);
    padding: 18px;
    font: inherit;
    line-height: 1.7;
}

.contact-form textarea:focus {
    outline: 3px solid rgba(185, 130, 0, 0.2);
    border-color: var(--green);
}

.contact-form .button {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

@media (max-width: 980px) {
    .fluid-timeline article,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .fluid-timeline article {
        gap: 14px;
        align-items: start;
    }

    .fluid-timeline time {
        font-size: clamp(3rem, 14vw, 4.3rem);
    }
}

@media (max-width: 700px) {
    .section-heading.wide-heading h2 {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .hero-intro h2 {
        font-size: clamp(1.16rem, 5.2vw, 1.5rem);
    }

    .contact-message .contact-mail {
        font-size: clamp(1.8rem, 8vw, 2.45rem);
    }

    .contact-form .button {
        width: 100%;
    }
}
/* Listing pages without hero */
.listing-section {
    padding-top: clamp(34px, 5vw, 72px);
}

.project-intro .intro-copy {
    display: grid;
    gap: 18px;
}

.project-intro .intro-copy p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.06rem, 1.35vw, 1.28rem);
    line-height: 1.82;
}

/* Premium Table Styling */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 36px 0;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 4px 20px rgba(23, 32, 38, 0.02);
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    min-width: 760px;
}

.table-wrap th {
    background: var(--soft);
    color: var(--ink);
    font-weight: 700;
    padding: 18px 24px;
    border-bottom: 2px solid var(--line);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-align: left;
}

.table-wrap td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.7;
    vertical-align: top;
    transition: color 0.2s ease;
}

.table-wrap tr:last-child td {
    border-bottom: none;
}

.table-wrap tr {
    transition: background-color 0.2s ease;
}

.table-wrap tr:nth-child(even) {
    background-color: rgba(23, 32, 38, 0.01);
}

.table-wrap tr:hover {
    background-color: rgba(185, 130, 0, 0.02); /* Subtle hover tint using the brand gold/green variable */
}

.table-wrap tr:hover td {
    color: var(--ink);
}

.table-wrap th:nth-child(1),
.table-wrap td:nth-child(1) {
    width: 25%;
}

.table-wrap th:nth-child(2),
.table-wrap td:nth-child(2) {
    width: 35%;
}

.table-wrap th:nth-child(3),
.table-wrap td:nth-child(3) {
    width: 40%;
}

/* Custom scrollbar for table horizontal scrolling to look premium */
.table-wrap::-webkit-scrollbar {
    height: 8px;
}

.table-wrap::-webkit-scrollbar-track {
    background: var(--soft);
    border-radius: 0 0 var(--radius) var(--radius);
}

.table-wrap::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 4px;
}

.table-wrap::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

/* Defensive cleanup for cached listing-page markup */
.nav-links a[href*="#contact"] {
    display: none !important;
}

.sub-hero.fluid-subhero {
    display: none !important;
}

/* Custom mouse cursor styles for desktop devices with a pointer */
@media (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor [role='link'],
    body.has-custom-cursor .clickable-card,
    body.has-custom-cursor input,
    body.has-custom-cursor textarea,
    body.has-custom-cursor select,
    body.has-custom-cursor #start-simulation-btn,
    body.has-custom-cursor #start-simulation-btn-2 {
        cursor: none !important; /* Hide browser default cursor */
    }
    
    .custom-cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 32px;
        height: 32px;
        z-index: 100000;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
        margin-left: -16px;
        margin-top: -16px;
    }
    
    .custom-cursor svg {
        width: 100%;
        height: 100%;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .custom-cursor.cursor-hover svg {
        transform: scale(1.35) rotate(-15deg);
    }
}

/* Scroll-triggered Highlighter effect */
.scroll-highlight {
    background-image: linear-gradient(120deg, rgba(240, 180, 41, 0.42) 0%, rgba(240, 180, 41, 0.42) 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: 0 88%;
    transition: background-size 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline;
}

.highlight-active .scroll-highlight {
    background-size: 100% 100%;
}



/* Custom Cursor class override (applied only on Homepage) */
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor [role='link'],
body.has-custom-cursor .clickable-card,
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor select,
body.has-custom-cursor #start-simulation-btn,
body.has-custom-cursor #start-simulation-btn-2 {
    cursor: none !important;
}

/* Scrapbook-style card rotations and offset placements */
.showcase-stack > article:nth-child(3n+1), 
.journal-grid > article:nth-child(3n+1) {
    transform: rotate(-0.5deg);
}

.showcase-stack > article:nth-child(3n+2), 
.journal-grid > article:nth-child(3n+2) {
    transform: rotate(0.6deg);
}

.showcase-stack > article:nth-child(3n+3), 
.journal-grid > article:nth-child(3n+3) {
    transform: rotate(-0.4deg);
}

/* Hero containment layouts: displaying the square graphics uncropped on the right */
.home-fluid {
    background: var(--paper) url('assets/images/hero_home.png') no-repeat right 5% center !important;
    background-size: contain !important;
    min-height: 70vh !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 60px) !important;
    border-bottom: 3px solid var(--ink);
}

.project-hero {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    background: var(--paper) !important;
    min-height: auto !important;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 60px) !important;
    border-bottom: 3px solid var(--ink);
}

.hero-content-box,
.project-hero-content {
    background: var(--paper) !important;
    border: 3px solid var(--ink) !important;
    padding: clamp(24px, 4vw, 40px) !important;
    box-shadow: var(--shadow) !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 5;
    position: relative;
    transform: rotate(-0.5deg);
}

.hero-content-box h1,
.hero-content-box p,
.hero-content-box .lead,
.hero-content-box .fact-row {
    max-width: none !important;
}

.project-hero-content {
    transform: rotate(-0.5deg);
}

.project-hero-media {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
}

.project-hero-media img {
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
    display: block;
    background: var(--paper);
    border: 3px solid var(--ink);
    padding: clamp(10px, 2vw, 16px);
    box-shadow: var(--shadow);
    transform: rotate(1.2deg); /* Postcard cutout feel */
    border-radius: 4px;
}

/* Responsive layouts for container heroes */
@media (max-width: 980px) {
    .project-hero {
        grid-template-columns: 1fr !important;
        padding-bottom: 40px !important;
    }
    .home-fluid {
        background-position: center bottom 20px !important;
        background-size: 70% auto !important;
        min-height: auto !important;
        padding-bottom: 360px !important;
        display: block !important;
    }
    .hero-content-box, .project-hero-content, .project-hero-media {
        max-width: 100% !important;
        margin-bottom: 20px !important;
        transform: none !important;
    }
}

@media (max-width: 600px) {
    .home-fluid {
        background-size: 90% auto !important;
        padding-bottom: 280px !important;
    }
}

/* Timeline Custom winding Scrapbook track and hand-drawn active circle markers */
.timeline {
    position: relative;
    display: grid;
    gap: 32px;
    max-width: 1000px;
    margin: 40px auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 40px;
    width: 4px;
    height: calc(100% - 40px);
    background: transparent;
    border-left: 3px dashed var(--muted);
    z-index: 1;
}

.timeline article {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
    padding: 16px 0;
    border-bottom: none !important;
}

.timeline time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow) !important;
    color: var(--ink) !important;
    border: 3px solid var(--ink) !important;
    padding: 4px 10px;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 3px 3px 0 var(--ink);
    grid-row: 1 / span 2;
    justify-self: center;
    height: fit-content;
    z-index: 5;
    transform: rotate(-3deg);
}

/* Stickers & Hand-drawn elements for Scrapbook feel */
.sticker {
    position: absolute;
    background: var(--yellow) !important;
    color: var(--ink) !important;
    border: 3px solid var(--ink) !important;
    padding: 4px 12px !important;
    font-family: 'East Sea Dokdo', cursive !important;
    font-size: 1.65rem !important;
    font-weight: normal !important;
    letter-spacing: 1px !important;
    box-shadow: 3px 3px 0 var(--ink) !important;
    z-index: 15;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.15s ease;
}

.sticker:hover {
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: 5px 5px 0 var(--ink) !important;
    background: var(--red) !important;
    color: white !important;
}

/* Custom brush header styling for hand-drawn look */
.dokdo-header {
    font-family: 'East Sea Dokdo', cursive !important;
    font-size: 2.5rem !important;
    font-weight: normal !important;
    color: var(--red) !important;
    margin-bottom: 8px !important;
    line-height: 1.1 !important;
}

@media (max-width: 600px) {
    .sticker {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin-bottom: 16px !important;
        display: inline-flex !important;
        transform: rotate(-1deg) !important;
    }
}

/* CMS Admin Styles */
.cms-dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    min-height: calc(100vh - 120px);
}

@media (max-width: 900px) {
    .cms-dashboard-layout {
        grid-template-columns: 1fr;
    }
}

.cms-sidebar {
    background: var(--soft);
    border: 3px solid var(--ink);
    padding: 24px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
    z-index: 10;
}

.cms-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cms-card {
    background: white;
    border: 3px solid var(--ink);
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: left;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--ink);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 3px solid var(--ink);
    font-family: inherit;
    font-size: 1rem;
    background: var(--paper);
    color: var(--ink);
    box-shadow: inset 2px 2px 0 rgba(0,0,0,0.05);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    background: white;
    border-color: var(--green);
}

/* Editor Form split screen preview */
.editor-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 48vh;
    min-height: 380px;
}

@media (max-width: 800px) {
    .editor-split {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.editor-field {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editor-field textarea {
    flex: 1;
    resize: none;
    height: 100%;
    min-height: 0;
}

.preview-pane {
    border: 3px solid var(--ink);
    padding: 16px;
    background: #fbfaf5;
    overflow-y: auto;
    flex: 1;
    height: 100%;
    max-height: 100%;
    text-align: left;
}

/* Login Modal Lock screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--paper);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    background: #f6f4ed;
    border: 4px solid var(--ink);
    padding: 40px;
    box-shadow: 12px 12px 0 var(--ink);
    max-width: 440px;
    width: 100%;
    text-align: center;
    transform: rotate(-1deg);
}

/* Status lights */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border: 2px solid var(--ink);
}

.status-badge.connected {
    background: rgba(35, 88, 58, 0.15);
    color: var(--green);
}

.status-badge.disconnected {
    background: rgba(167, 71, 36, 0.15);
    color: var(--red);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Progress/Process Flowchart styling */
.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.process-step {
    background: var(--paper);
    border: 3px solid var(--ink);
    padding: 20px;
    box-shadow: 4px 4px 0 var(--ink);
    position: relative;
    border-radius: 8px;
    text-align: left;
}

.process-step::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--ink);
    z-index: 10;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 900px) {
    .process-flow {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .process-step::after {
        content: "↓";
        right: 50%;
        bottom: -32px;
        top: auto;
        transform: translateX(50%);
    }
}

/* 3-Column Grid Layout for Personas and Insights */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 900px) {
    .three-col-grid {
        grid-template-columns: 1fr;
    }
}

/* Fluid background hero styling for project pages matching index.html */
.project-fluid-hero {
    min-height: 70vh !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 60px) !important;
    border-bottom: 3px solid var(--ink);
}

.hero-2024 {
    background: var(--paper) url('assets/images/hero_2024.png') no-repeat right 5% center !important;
    background-size: contain !important;
}

.hero-2025 {
    background: var(--paper) url('assets/images/hero_2025.png') no-repeat right 5% center !important;
    background-size: contain !important;
}

.hero-2026 {
    background: var(--paper) url('assets/images/hero_2026.png') no-repeat right 5% center !important;
    background-size: contain !important;
}

@media (max-width: 980px) {
    .hero-2024, .hero-2025, .hero-2026 {
        background-position: center bottom 20px !important;
        background-size: 70% auto !important;
        min-height: auto !important;
        padding-bottom: 360px !important;
        display: block !important;
    }
}