* {
    box-sizing: border-box;
}

:root {
    --bg: #e8ebef;
    --surface: #ffffff;
    --text: #263240;
    --muted: #6e7a89;
    --body-bg: #e8ebef;
    --navbar-bg: rgba(255, 255, 255, 0.84);
    --navbar-text: #465364;
    --dropdown-bg: #ffffff;
    --dropdown-text: #333333;
    --overlay: rgba(0, 0, 0, 0.35);
    --footer-text: #6e7a89;
    --input-bg: #ffffff;
    --input-border: #ccd3dc;
    --code-bg: #272b30;
    --code-text: #f7f7f7;
    --blockquote-bg: #fafafa;
    --border: rgba(0, 0, 0, 0.08);
    --brand: #ff9a43;
    --brand-dark: #ff7b45;
    --shadow-soft: 0 24px 60px -28px rgba(20, 28, 38, 0.28), 0 18px 32px -24px rgba(20, 28, 38, 0.18);
    --shadow-card: 0 18px 38px -28px rgba(20, 28, 38, 0.28);
    --container: 1180px;
    --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
    --bg: #10141b;
    --surface: #171d25;
    --text: #e6edf5;
    --muted: #97a5b6;
    --body-bg: #090b0f;
    --navbar-bg: rgba(16, 20, 27, 0.84);
    --navbar-text: #d6deea;
    --dropdown-bg: #202731;
    --dropdown-text: #e6edf5;
    --overlay: rgba(0, 0, 0, 0.5);
    --footer-text: #95a2b3;
    --input-bg: #141920;
    --input-border: #2c3440;
    --code-bg: #0f1318;
    --code-text: #edf2f7;
    --blockquote-bg: #171c24;
    --border: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 24px 60px -28px rgba(0, 0, 0, 0.62), 0 18px 32px -24px rgba(0, 0, 0, 0.45);
    --shadow-card: 0 18px 38px -28px rgba(0, 0, 0, 0.58);
}

html {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background: var(--body-bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--brand);
}

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

.container {
    width: min(var(--container), calc(100% - 30px));
    margin: 0 auto;
}

.wrapper {
    min-height: 100vh;
    background: var(--bg);
}

.header {
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--navbar-bg);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 1.5rem;
}

.navbar-brand-wrap {
    flex: 0 0 auto;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.navbar-brand-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navbar-text);
}

.navbar-brand img {
    width: auto;
    height: 50px;
    object-fit: contain;
    transform: translateY(3px);
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-shell > a,
.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    min-height: 70px;
    color: var(--navbar-text);
    font-weight: 700;
}

.dropdown-trigger {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
}

.dropdown-trigger:hover,
.dropdown-trigger:focus,
.dropdown-trigger:focus-visible {
    box-shadow: none;
    outline: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--navbar-text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.theme-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--navbar-text);
    border: 1px solid var(--border);
    box-shadow: none;
    border-radius: 999px;
}

.theme-toggle:hover {
    color: var(--brand);
    border-color: rgba(255, 154, 67, 0.35);
}

.theme-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-icon-moon {
    display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
    display: none;
}

:root[data-theme="dark"] .theme-icon-moon {
    display: inline;
}

.nav-shell > a.active,
.nav-shell > a:hover,
.dropdown-trigger:hover {
    color: var(--brand);
}

.nav-dropdown {
    position: relative;
}

.dropdown-trigger::after {
    content: "";
    display: inline-block;
    margin-left: 0.5rem;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    min-width: 210px;
    padding: 0.7rem 0;
    background: var(--dropdown-bg);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 13px;
    color: var(--dropdown-text);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 154, 67, 0.1);
    color: var(--brand);
}

.hero-banner {
    position: relative;
    min-height: 560px;
    padding-top: 70px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-small {
    min-height: 380px;
}

.hero-post {
    min-height: 460px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(9, 12, 18, 0.22) 0%, var(--overlay) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.hero-title-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.hero-title-wrap-post {
    max-width: 980px;
}

.page-nuitax .hero-title-wrap {
    max-width: 920px;
}

.hero-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(3.1rem, 6vw, 4.85rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.hero-subtitle {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 42rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
}

.main {
    position: relative;
}

.main-raised {
    margin: -60px 30px 0;
    border-radius: 24px 24px 0 0;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.section {
    padding: 82px 0;
}

.section-heading {
    margin-bottom: 3rem;
}

.section-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.section-title.centered {
    text-align: center;
}

.section-intro {
    margin: 0.9rem auto 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 1.02rem;
}

.section-intro.centered {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.guide-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    margin: 0 auto 2.5rem;
    max-width: 860px;
}

.guide-search-field {
    display: grid;
}

.guide-search input[type="search"] {
    width: 100%;
    padding: 1rem 1.15rem;
    border: 1px solid var(--input-border);
    border-radius: 16px;
    background: var(--input-bg);
    color: var(--text);
    box-shadow: var(--shadow-card);
    font-size: 1rem;
}

.guide-search-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.tag-cloud,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag-cloud {
    margin: 0 auto 2rem;
    max-width: 860px;
}

.tag-row {
    margin: 0 0 1rem;
}

.article-tags {
    margin: 0 0 1.4rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 92%, var(--bg) 8%);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tag-pill:hover,
.tag-pill.active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.2rem 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.3rem;
}

.home-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.home-intro-section {
    padding-bottom: 2.25rem;
}

.home-services-section {
    padding-top: 0;
    padding-bottom: 2.25rem;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.4rem;
    align-items: start;
}

.home-intro-card {
    padding: 1.55rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 96%, var(--bg) 4%), color-mix(in srgb, var(--surface) 91%, var(--bg) 9%));
    box-shadow: var(--shadow-card);
}

.home-intro-card .section-title {
    margin-bottom: 0.8rem;
}

.home-intro-card p:last-child {
    margin-bottom: 0;
}

.home-values {
    display: grid;
    gap: 1rem;
}

.home-value-card {
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 97%, var(--bg) 3%);
}

.home-value-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
}

.home-value-card p {
    margin: 0;
    color: var(--muted);
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-service-card {
    display: block;
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--brand) 10%, transparent) 0, transparent 34%),
        color-mix(in srgb, var(--surface) 96%, var(--bg) 4%);
    box-shadow: var(--shadow-card);
}

.home-service-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand) 38%, var(--border) 62%);
    box-shadow: 0 22px 38px -30px rgba(8, 15, 25, 0.24);
}

.home-service-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-service-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1.22rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-family: var(--font-heading);
}

.home-service-card p {
    margin: 0;
    color: var(--muted);
}

.home-projects-section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

.home-project-rail {
    position: relative;
    overflow: hidden;
    margin-top: 0.25rem;
}

.home-project-rail::before,
.home-project-rail::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 1;
    pointer-events: none;
}

.home-project-rail::before {
    left: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent), transparent);
}

.home-project-rail::after {
    right: 0;
    background: linear-gradient(270deg, color-mix(in srgb, var(--bg) 94%, transparent), transparent);
}

.home-project-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: about-logo-scroll 24s linear infinite;
}

.home-project-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 220px;
    min-height: 110px;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: color-mix(in srgb, var(--surface) 97%, var(--bg) 3%);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-project-pill:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand) 45%, var(--border) 55%);
    box-shadow: 0 18px 34px rgba(8, 15, 25, 0.1);
}

.home-project-pill img {
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.home-project-pill span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.blog-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 1));
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

:root[data-theme="dark"] .blog-card {
    background: linear-gradient(180deg, rgba(26, 32, 42, 0.95), rgba(23, 29, 37, 1));
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 154, 67, 0.28);
    box-shadow: 0 26px 50px -30px rgba(255, 123, 69, 0.26);
}

.blog-card-content {
    padding: 1.5rem 1.4rem 1.6rem;
}

.blog-card-title {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.blog-card-text {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.read-more {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--brand);
    font-weight: 700;
}

.home-contact-panel {
    margin-top: 2.5rem;
    padding: 1.45rem 1.55rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, var(--brand) 8%), color-mix(in srgb, var(--surface) 97%, var(--bg) 3%));
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.home-contact-panel h3 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    line-height: 1.12;
}

.home-contact-panel p {
    margin: 0;
    max-width: 42rem;
    color: var(--muted);
}

.narrow {
    width: min(850px, calc(100% - 30px));
}

.article-card {
    padding: 0 10px 10px;
}

.error-card {
    padding: 2.4rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: color-mix(in srgb, var(--surface) 92%, var(--bg) 8%);
    box-shadow: var(--shadow-card);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.error-page .main {
    padding: 56px 0 90px;
}

.error-page .section {
    padding: 0;
}

.error-section .narrow {
    width: min(760px, calc(100% - 30px));
}

.post-page .article-section {
    padding-top: 64px;
}

.post-page .hero-title {
    font-size: clamp(2.35rem, 5vw, 4.2rem);
    line-height: 1.12;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
}

.article-lead {
    margin: 0 0 2rem;
    font-size: 1.15rem;
    color: var(--muted);
}

.personalization-panel {
    margin: 0 0 2rem;
    padding: 1.35rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 90%, var(--bg) 10%);
    box-shadow: var(--shadow-card);
}

.personalization-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.personalization-head p {
    margin: 0;
    color: var(--muted);
}

.personalization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.related-posts {
    margin-top: 4rem;
}

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

.richtext {
    font-size: 17px;
    color: var(--text);
}

.richtext p,
.richtext ul,
.richtext ol,
.richtext pre,
.richtext blockquote,
.richtext figure,
.richtext table {
    margin: 0 0 1.4rem;
}

.richtext h1,
.richtext h2,
.richtext h3,
.richtext h4 {
    margin: 2.2rem 0 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.richtext h2 {
    font-size: 2rem;
}

.richtext h3 {
    font-size: 1.5rem;
}

.richtext ul,
.richtext ol {
    padding-left: 1.4rem;
}

.richtext pre {
    padding: 1rem 1.2rem;
    border-radius: 4px;
    background: var(--code-bg);
    color: var(--code-text);
    overflow: auto;
    font-size: 14px;
}

.richtext code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.richtext .affiliate-note {
    display: block;
    margin: 1.8rem 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border) 70%);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--brand) 12%, transparent) 0, transparent 42%),
        color-mix(in srgb, var(--surface) 94%, var(--bg) 6%);
    color: var(--text);
    box-shadow: var(--shadow-card);
}

.richtext .affiliate-note strong {
    color: var(--text);
}

.richtext .affiliate-note a {
    color: var(--brand);
    font-weight: 700;
}

.richtext .affiliate-note span {
    display: block;
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.code-block {
    position: relative;
    margin: 0 0 1.4rem;
}

.code-block pre {
    margin: 0;
    padding-top: 3.35rem;
}

.code-copy-button {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 1;
    min-height: auto;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 18%, var(--code-bg) 82%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    font-size: 11px;
}

.code-copy-button:hover {
    background: var(--brand);
}

.richtext img {
    border-radius: 3px;
    box-shadow: var(--shadow-card);
}

.lead {
    font-size: 1.12em;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.9fr);
    gap: 2rem;
    align-items: center;
}

.about-logo {
    margin: 0;
    display: flex;
    justify-content: center;
}

.about-logo img {
    width: min(240px, 100%);
    height: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.8rem 0;
}

.about-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.8fr);
    gap: 1.2rem;
    align-items: stretch;
}

.about-note {
    padding: 1.35rem;
    border-left: 3px solid var(--brand);
    border-radius: 18px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 95%, var(--bg) 5%), color-mix(in srgb, var(--surface) 90%, var(--bg) 10%));
}

.about-note span {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-note p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.18rem;
    line-height: 1.5;
}

.feature-card,
.cta-card {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 92%, var(--bg) 8%);
    box-shadow: var(--shadow-card);
}

.feature-card h3,
.cta-card h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
}

.feature-card p,
.cta-card p {
    margin-bottom: 0;
}

.cta-card {
    margin-top: 2rem;
}

.cta-card-strong {
    background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 90%, var(--bg) 10%), color-mix(in srgb, var(--surface) 84%, var(--brand) 16%));
}

.service-page {
    display: grid;
    gap: 1.9rem;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);
    gap: 1.2rem;
    align-items: stretch;
}

.service-intro-grid-visual {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.95fr);
}

.service-intro-copy,
.service-aside-card,
.service-band-card,
.service-list-card,
.service-visual-card,
.service-cta-panel {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: color-mix(in srgb, var(--surface) 94%, var(--bg) 6%);
    box-shadow: var(--shadow-card);
}

.service-intro-copy {
    padding: 1.9rem 2rem;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--brand) 12%, transparent) 0, transparent 34%),
        color-mix(in srgb, var(--surface) 95%, var(--bg) 5%);
}

.service-kicker,
.service-overline,
.service-aside-card span,
.service-list-card span {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-intro-copy .lead {
    margin-bottom: 1rem;
    font-size: clamp(1.18rem, 2.2vw, 1.4rem);
    color: var(--text);
}

.service-intro-copy p:last-child,
.service-aside-card p:last-child,
.service-band-card p:last-child,
.service-copy-block p:last-child,
.service-list-card ul:last-child,
.service-cta-panel p:last-child {
    margin-bottom: 0;
}

.service-inline-links {
    margin-top: 1rem;
    font-size: 0.98rem;
}

.service-inline-links a {
    color: var(--brand);
    font-weight: 700;
}

.service-aside-card {
    padding: 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, var(--bg) 8%), color-mix(in srgb, var(--surface) 86%, var(--brand) 14%));
}

.service-aside-card h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.service-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-band-card {
    padding: 1.45rem;
}

.service-band-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.08rem;
}

.service-band-card p {
    color: var(--muted);
}

.service-split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.9fr);
    gap: 1.2rem;
    align-items: start;
}

.service-copy-block {
    padding: 0.35rem 0;
}

.service-copy-block h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.05;
}

.service-list-card {
    padding: 1.5rem;
}

.service-list-card ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.service-list-card li + li {
    margin-top: 0.7rem;
}

.service-cta-panel {
    padding: 1.7rem 1.8rem;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, var(--brand) 10%), color-mix(in srgb, var(--surface) 96%, var(--bg) 4%));
}

.service-cta-panel h3 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.affiliate-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 1.2rem;
    padding: 1.7rem;
    border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--border) 68%);
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--brand) 16%, transparent) 0, transparent 36%),
        linear-gradient(140deg, color-mix(in srgb, var(--surface) 94%, var(--bg) 6%), color-mix(in srgb, var(--surface) 88%, var(--brand) 12%));
    box-shadow: var(--shadow-card);
}

.affiliate-panel-copy h2 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    line-height: 1.06;
}

.affiliate-panel-copy p {
    color: var(--muted);
}

.affiliate-disclosure {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
}

.affiliate-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.affiliate-link-card {
    display: flex;
    min-height: 142px;
    padding: 1.1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 96%, var(--bg) 4%);
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 18px 34px -30px rgba(8, 15, 25, 0.28);
}

.affiliate-link-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand) 44%, var(--border) 56%);
    color: var(--text);
}

.affiliate-link-card span {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.affiliate-link-card p {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.service-visual-card {
    margin: 0;
    padding: 1.1rem;
    text-align: center;
    background:
        radial-gradient(circle at center, color-mix(in srgb, var(--brand) 10%, transparent) 0, transparent 52%),
        color-mix(in srgb, var(--surface) 96%, var(--bg) 4%);
}

.service-visual-card img {
    width: min(100%, 320px);
    border-radius: 18px;
    box-shadow: none;
}

.service-visual-card figcaption {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.service-page-hosting .service-band-card:first-child,
.service-page-hosting .service-band-card:last-child {
    transform: translateY(14px);
}

.service-page-printing .service-band-card:nth-child(2) {
    transform: translateY(14px);
}

.remote-downloads {
    display: grid;
    gap: 1.15rem;
}

.remote-downloads-head h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.remote-downloads-head p {
    margin: 0;
    color: var(--muted);
}

.remote-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.remote-download-card {
    display: block;
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 95%, var(--bg) 5%);
    box-shadow: var(--shadow-card);
}

.remote-download-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand) 38%, var(--border) 62%);
}

.remote-download-card span {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.remote-download-card strong {
    display: block;
    margin-bottom: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.remote-download-card p {
    margin: 0;
    color: var(--muted);
}

.remote-quick-note {
    margin-top: 1.2rem;
    color: var(--muted);
}

.remote-quick-note p {
    margin: 0;
}

.about-projects {
    margin-top: 2.2rem;
    padding: 1.45rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--brand) 16%, transparent) 0, transparent 30%),
        color-mix(in srgb, var(--surface) 94%, var(--bg) 6%);
    box-shadow: var(--shadow-card);
}

.about-projects-copy span {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-projects-copy h3 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.about-projects-copy p {
    margin: 0;
    max-width: 44rem;
}

.about-logo-rail {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.about-logo-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: about-logo-scroll 22s linear infinite;
}

.about-project-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 180px;
    height: 92px;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 98%, var(--bg) 2%);
}

.about-project-pill img {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}

.about-project-pill span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.about-project-pill-text span {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: -0.05em;
}

.about-projects-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.about-projects-actions p {
    margin: 0;
    color: var(--muted);
}

.about-contact-inline {
    padding: 1.1rem 0 0;
}

.about-contact-inline h3 {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
}

.about-contact-inline p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@keyframes about-logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

.link-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 0;
}

.link-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    font-weight: 700;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin: 1.6rem 0;
}

.contact-item {
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 94%, var(--bg) 6%);
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.stories-stack {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.stories-intro {
    max-width: 42rem;
}

.stories-intro-copy p:last-child {
    margin-bottom: 0;
}

.story-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 98%, var(--bg) 2%), color-mix(in srgb, var(--surface) 95%, var(--bg) 5%));
    box-shadow: 0 18px 44px rgba(8, 15, 25, 0.07);
}

.story-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.story-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-logo {
    width: auto;
    height: 56px;
    object-fit: contain;
    display: block;
}

#nuitax .story-logo {
    height: 50px;
}

.story-brand-copy {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.story-summary {
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 52rem;
}

.story-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin: 0 0 1.8rem;
}

.story-copy-block {
    padding: 0 0 0 1.1rem;
    border-left: 2px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.story-copy-block-accent {
    border-left-color: color-mix(in srgb, var(--brand) 58%, transparent);
}

.story-copy-block h3 {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-copy-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.25rem;
}

.story-section {
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 98%, var(--bg) 2%);
}

.story-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.story-list,
.story-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.story-list li,
.story-tech-list li {
    padding: 0.72rem 0.92rem;
    border: 0;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 90%, var(--bg) 10%);
}

.story-list li {
    flex: 1 1 240px;
    color: var(--muted);
}

.story-list-compact li {
    flex-basis: 100%;
}

.story-tech-list li {
    font-size: 0.92rem;
    font-weight: 600;
}

.story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.story-outcome {
    margin: 0;
    color: var(--muted);
    max-width: 46rem;
    line-height: 1.7;
}

.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.wp-block-column {
    min-width: 0;
}

.richtext blockquote {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--brand);
    color: var(--muted);
    background: var(--blockquote-bg);
}

.pagination-wrap {
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination .page-link,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.9rem;
    border-radius: 30px;
    color: #999;
    background: transparent;
}

.pagination .page-link.active,
.pagination .page-link:hover {
    background: var(--brand);
    color: #fff;
}

.site-footer {
    padding: 38px 0 46px;
    background: transparent;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--footer-text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.notice,
.auth-card,
.admin-shell,
.stats-card,
.table-wrap,
.editor-card,
.editor-preview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.notice,
.auth-card,
.stats-card,
.editor-card,
.editor-preview-card {
    padding: 1.5rem;
}

.auth-wrap,
.admin-wrap {
    padding: 7rem 0 3rem;
}

.auth-card {
    width: min(480px, calc(100% - 30px));
    margin: 0 auto;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-weight: 500;
}

label span {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

label small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
textarea,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    background: var(--input-bg);
    color: var(--text);
}

textarea {
    min-height: 10rem;
    resize: vertical;
}

.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border: 0;
    border-radius: 4px;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 2px 0 rgba(255, 154, 67, 0.16), 0 3px 1px -2px rgba(255, 123, 69, 0.22), 0 1px 5px 0 rgba(255, 154, 67, 0.14);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.button.secondary {
    background: color-mix(in srgb, var(--surface) 70%, var(--text) 30%);
    box-shadow: none;
}

.button.danger {
    background: #d32f2f;
    box-shadow: none;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.errors {
    color: #d32f2f;
    padding-left: 1.2rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
}

.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.editor-preview-card {
    position: sticky;
    top: 6.5rem;
}

.editor-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.editor-preview-head strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.editor-preview-head p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.editor-preview-surface {
    padding: 1.2rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 92%, var(--bg) 8%);
}

.editor-preview-title {
    margin: 0 0 1.15rem;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.editor-preview-richtext {
    font-size: 16px;
}

.editor-preview-empty {
    color: var(--muted);
    font-style: italic;
}

.admin-shell {
    padding: 1.25rem;
}

.admin-shell a {
    color: var(--text);
}

.admin-shell a:hover {
    color: var(--brand);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stats-card strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 2rem;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    color: var(--text);
}

th {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
}

td a {
    color: var(--text);
}

td a:hover {
    color: var(--brand);
}

.actions,
.meta-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.inline-form {
    display: inline;
}

/* === Entrance Animations === */

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: fadeSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-subtitle {
    animation: fadeSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--animate-delay, 0ms);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle {
        animation: none;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 991px) {
    .guide-search {
        grid-template-columns: 1fr;
    }

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

    .home-section-head {
        align-items: start;
        flex-direction: column;
    }

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

    .home-services-grid,
    .remote-download-grid {
        grid-template-columns: 1fr;
    }

    .about-showcase,
    .about-projects-actions,
    .service-intro-grid,
    .service-intro-grid-visual,
    .service-split,
    .affiliate-panel {
        grid-template-columns: 1fr;
    }

    .about-projects-actions {
        display: grid;
        justify-content: start;
    }

    .service-band {
        grid-template-columns: 1fr;
    }

    .service-page-hosting .service-band-card:first-child,
    .service-page-hosting .service-band-card:last-child,
    .service-page-printing .service-band-card:nth-child(2) {
        transform: none;
    }

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

    .editor-layout {
        grid-template-columns: 1fr;
    }

    .editor-preview-card {
        position: static;
    }

    .story-body,
    .story-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767px) {
    .navbar {
        position: static;
    }

    .navbar-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-inner {
        position: relative;
        padding: 0.85rem 0;
    }

    .nav-toggle {
        display: inline-flex;
        position: absolute;
        top: 0.85rem;
        right: 0;
    }

    .nav-shell {
        display: none;
        width: 100%;
        padding-top: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .nav-shell.is-open {
        display: flex;
    }

    .nav-shell > a,
    .dropdown-trigger {
        min-height: auto;
        width: 100%;
        justify-content: space-between;
        padding: 0.35rem 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: 0;
        width: 100%;
        margin-top: 0.2rem;
        padding: 0.15rem 0 0.15rem 0.75rem;
        border-radius: 0;
        border: 0;
        background: transparent;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.7rem 0;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: normal;
        color: var(--navbar-text);
    }

    .dropdown-menu a:hover {
        background: transparent;
        color: var(--brand);
    }

    .theme-toggle {
        margin-top: 0.4rem;
    }

    .hero-banner {
        min-height: 420px;
        padding-top: 2rem;
    }

    .hero-small {
        min-height: 280px;
    }

    .hero-post {
        min-height: 360px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 11vw, 3.6rem);
    }

    .hero-subtitle {
        margin-top: 0.7rem;
        font-size: 0.92rem;
        letter-spacing: 0.08em;
        line-height: 1.45;
        text-wrap: balance;
    }

    .main-raised {
        margin: -40px 10px 0;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-intro-grid {
        grid-template-columns: 1fr;
    }

    .home-project-pill {
        min-width: 180px;
        min-height: 94px;
    }

    .home-contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .story-card {
        padding: 1.3rem;
        border-radius: 22px;
    }

    .about-projects {
        padding: 1.2rem;
    }

    .service-intro-copy,
    .service-aside-card,
    .service-band-card,
    .service-list-card,
    .service-visual-card,
    .service-cta-panel,
    .affiliate-panel {
        padding: 1.3rem;
        border-radius: 20px;
    }

    .affiliate-link-grid {
        grid-template-columns: 1fr;
    }

    .service-copy-block h2,
    .service-aside-card h2 {
        font-size: clamp(1.6rem, 7vw, 2.25rem);
    }

    .about-project-pill {
        min-width: 150px;
        height: 82px;
    }

    .story-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .story-logo {
        height: 48px;
    }

    #nuitax .story-logo {
        height: 42px;
    }

    .about-grid,
    .wp-block-columns {
        grid-template-columns: 1fr;
    }

    .error-card {
        padding: 1.4rem;
        border-radius: 18px;
    }

    .hero-copy {
        font-size: 0.96rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .button {
        width: 100%;
    }
}
