:root {
    --eg-bg: #efe7da;
    --eg-bg-soft: #f8f4ee;
    --eg-surface: rgba(255, 255, 255, 0.84);
    --eg-surface-strong: #ffffff;
    --eg-surface-accent: #142130;
    --eg-ink: #16212b;
    --eg-ink-soft: #4c5967;
    --eg-ink-inverse: #f7f2ea;
    --eg-line: rgba(22, 33, 43, 0.1);
    --eg-line-strong: rgba(22, 33, 43, 0.18);
    --eg-accent: #ad4a2f;
    --eg-accent-strong: #8c351b;
    --eg-highlight: #d9b37c;
    --eg-radius-sm: 16px;
    --eg-radius-md: 24px;
    --eg-radius-lg: 36px;
    --eg-shadow-sm: 0 12px 30px rgba(20, 33, 48, 0.08);
    --eg-shadow-lg: 0 28px 80px rgba(18, 29, 42, 0.16);
    --eg-shell: 1240px;
    --eg-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --eg-sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.45), transparent 22%),
        radial-gradient(circle at left 20%, rgba(217, 179, 124, 0.16), transparent 26%),
        linear-gradient(180deg, #ece2d1 0%, #f6f1e7 38%, #fdfbf7 100%);
    color: var(--eg-ink);
    font-family: var(--eg-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
ol {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.55em;
    font-family: var(--eg-serif);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 5.3rem);
}

h2 {
    font-size: clamp(2rem, 3.2vw, 3.35rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.eg-shell {
    width: min(calc(100% - 40px), var(--eg-shell));
    margin: 0 auto;
}

.eg-site-main {
    padding-bottom: 100px;
}

.eg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--eg-accent-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eg-kicker::before {
    width: 48px;
    height: 1px;
    background: currentColor;
    content: "";
}

.eg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.eg-button:hover,
.eg-button:focus-visible {
    transform: translateY(-1px);
}

.eg-button--primary {
    background: linear-gradient(135deg, var(--eg-accent) 0%, var(--eg-accent-strong) 100%);
    color: #fff8f0;
    box-shadow: 0 18px 40px rgba(140, 53, 27, 0.26);
}

.eg-button--primary:hover,
.eg-button--primary:focus-visible {
    box-shadow: 0 22px 46px rgba(140, 53, 27, 0.34);
}

.eg-button--ghost {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(22, 33, 43, 0.16);
    color: var(--eg-ink);
    backdrop-filter: blur(10px);
}

.eg-inline-link {
    color: var(--eg-accent-strong);
    font-weight: 700;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.eg-header {
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(16px);
}

.eg-header::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(247, 242, 234, 0.92), rgba(247, 242, 234, 0.82));
    border-bottom: 1px solid rgba(22, 33, 43, 0.08);
    content: "";
    z-index: -1;
}

.eg-header__utility {
    border-bottom: 1px solid rgba(22, 33, 43, 0.08);
}

.eg-header__utility-inner,
.eg-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eg-header__utility-inner {
    gap: 20px;
    min-height: 42px;
    color: var(--eg-ink-soft);
    font-size: 0.82rem;
}

.eg-header__utility-copy {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.eg-header__utility-copy a:hover {
    color: var(--eg-accent-strong);
}

.eg-header__main {
    gap: 24px;
    min-height: 96px;
}

.eg-header__brand {
    flex: 0 1 330px;
    min-width: 0;
}

.eg-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.eg-brand__crest,
.eg-brand__mark .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.eg-brand__crest {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(160deg, #142130 0%, #2a3a4b 100%);
    color: #f9f1e7;
    font-family: var(--eg-serif);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.eg-brand .custom-logo {
    max-height: 60px;
    width: auto;
}

.eg-brand__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.eg-brand__copy strong {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eg-brand__copy span {
    color: var(--eg-ink-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}

.eg-header__nav {
    flex: 1 1 auto;
}

.eg-menu,
.eg-footer-menu,
.menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eg-menu a,
.eg-footer-menu a,
.menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--eg-ink);
    font-size: 0.93rem;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.eg-menu a:hover,
.eg-menu .current-menu-item > a,
.eg-footer-menu a:hover,
.menu a:hover {
    background: rgba(173, 74, 47, 0.08);
    color: var(--eg-accent-strong);
}

.eg-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eg-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: var(--eg-shadow-sm);
}

.eg-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: var(--eg-ink);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

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

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

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

.eg-hero,
.eg-page-hero {
    position: relative;
    overflow: clip;
}

.eg-hero {
    padding: 54px 0 42px;
}

.eg-hero::before,
.eg-page-hero__backdrop {
    position: absolute;
    inset: auto auto 0 -10%;
    width: 42vw;
    height: 42vw;
    max-width: 520px;
    max-height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 179, 124, 0.18) 0%, rgba(217, 179, 124, 0) 72%);
    content: "";
    pointer-events: none;
}

.eg-hero__grid,
.eg-story-grid,
.eg-page-grid,
.eg-split-grid,
.eg-footer__grid {
    display: grid;
    gap: 28px;
}

.eg-hero__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    align-items: stretch;
}

.eg-hero__copy,
.eg-hero-card,
.eg-story-card,
.eg-story-panel,
.eg-surface,
.eg-surface-card,
.eg-standard-panel,
.eg-side-panel,
.eg-access-card,
.eg-feature-card,
.eg-post-card,
.eg-step-card,
.eg-metric-card {
    background: var(--eg-surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--eg-radius-md);
    box-shadow: var(--eg-shadow-sm);
    backdrop-filter: blur(18px);
}

.eg-hero__copy {
    padding: 42px;
}

.eg-hero__copy p,
.eg-page-hero p,
.eg-section-heading p,
.eg-feature-card p,
.eg-access-card p,
.eg-story-card p,
.eg-story-panel li,
.eg-surface-card p,
.eg-step-card p,
.eg-standard-panel p,
.eg-side-panel p,
.eg-post-card p,
.eg-copy,
.eg-copy p,
.eg-copy li {
    color: var(--eg-ink-soft);
    font-size: 1rem;
}

.eg-hero__actions,
.eg-side-panel__actions,
.eg-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.eg-hero-card,
.eg-story-panel,
.eg-side-panel,
.eg-standard-panel {
    padding: 32px;
}

.eg-hero-card {
    display: grid;
    align-content: space-between;
    min-height: 100%;
    background: linear-gradient(160deg, rgba(20, 33, 48, 0.94), rgba(42, 58, 75, 0.95));
    color: var(--eg-ink-inverse);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--eg-shadow-lg);
}

.eg-hero-card h2,
.eg-hero-card p,
.eg-hero-card li {
    color: var(--eg-ink-inverse);
}

.eg-hero-card__eyebrow,
.eg-story-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: rgba(247, 242, 234, 0.72);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eg-hero-card__list,
.eg-standard-panel ul,
.eg-story-panel ul {
    margin: 0;
    padding-left: 18px;
}

.eg-hero-card__list li + li,
.eg-standard-panel li + li,
.eg-story-panel li + li {
    margin-top: 10px;
}

.eg-metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.eg-metric-card {
    padding: 22px 24px;
}

.eg-metric-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--eg-accent-strong);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eg-page-hero {
    padding: 40px 0 24px;
}

.eg-page-hero__inner {
    position: relative;
    padding: 36px 40px;
    border-radius: var(--eg-radius-lg);
    background: linear-gradient(150deg, rgba(20, 33, 48, 0.94) 0%, rgba(33, 45, 59, 0.9) 100%);
    color: var(--eg-ink-inverse);
    box-shadow: var(--eg-shadow-lg);
    overflow: hidden;
}

.eg-page-hero__inner::after {
    position: absolute;
    inset: auto -6% -26% auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 179, 124, 0.26) 0%, rgba(217, 179, 124, 0) 72%);
    content: "";
}

.eg-page-hero__inner h1,
.eg-page-hero__inner p,
.eg-page-hero__inner .eg-kicker {
    position: relative;
    z-index: 1;
    color: var(--eg-ink-inverse);
}

.eg-page-hero__inner p {
    max-width: 65ch;
    color: rgba(247, 242, 234, 0.76);
}

.eg-section {
    padding: 30px 0;
}

.eg-section--alt {
    padding: 38px 0;
}

.eg-section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.eg-card-grid {
    display: grid;
    gap: 18px;
}

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

.eg-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eg-feature-card,
.eg-access-card,
.eg-step-card {
    padding: 26px;
}

.eg-feature-card h3,
.eg-access-card h3,
.eg-step-card h3 {
    margin-bottom: 12px;
}

.eg-access-card__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--eg-accent-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eg-story-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
}

.eg-story-card {
    padding: 38px;
}

.eg-story-panel {
    background: linear-gradient(150deg, rgba(250, 247, 240, 0.82), rgba(255, 255, 255, 0.74));
}

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

.eg-step-card__number {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--eg-accent-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eg-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eg-surface,
.eg-page-surface {
    padding: 34px;
}

.eg-surface-card {
    padding: 30px;
}

.eg-surface-card--accent {
    background: linear-gradient(160deg, rgba(20, 33, 48, 0.95) 0%, rgba(34, 47, 62, 0.94) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--eg-shadow-lg);
}

.eg-surface-card--accent h2,
.eg-surface-card--accent h3,
.eg-surface-card--accent p,
.eg-surface-card--accent .eg-kicker {
    color: var(--eg-ink-inverse);
}

.eg-stack-list {
    display: grid;
    gap: 14px;
}

.eg-stack-item {
    padding: 18px 0 0;
    border-top: 1px solid rgba(22, 33, 43, 0.12);
}

.eg-surface-card--accent .eg-stack-item {
    border-top-color: rgba(247, 242, 234, 0.14);
}

.eg-copy > :last-child,
.eg-standard-panel > :last-child,
.eg-feature-card > :last-child,
.eg-access-card > :last-child {
    margin-bottom: 0;
}

.eg-copy h2,
.eg-copy h3 {
    margin-top: 1.3em;
}

.eg-copy ul,
.eg-copy ol {
    padding-left: 1.3rem;
}

.eg-page-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
    align-items: start;
}

.eg-page-grid--full {
    grid-template-columns: 1fr;
}

.eg-side-panel {
    position: sticky;
    top: 124px;
}

.eg-standard-panel {
    background: linear-gradient(160deg, rgba(250, 247, 240, 0.84), rgba(255, 255, 255, 0.76));
}

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

.eg-post-card {
    padding: 24px;
}

.eg-post-card__meta {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--eg-accent-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eg-post-card a:hover {
    color: var(--eg-accent-strong);
}

.eg-empty-state {
    display: flex;
    justify-content: center;
}

.eg-cta-band {
    padding: 30px 0 0;
}

.eg-cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 34px;
    border-radius: var(--eg-radius-lg);
    background: linear-gradient(145deg, #1c2937 0%, #2e4153 100%);
    color: var(--eg-ink-inverse);
    box-shadow: var(--eg-shadow-lg);
}

.eg-cta-band__inner h2,
.eg-cta-band__inner .eg-kicker {
    color: var(--eg-ink-inverse);
}

.eg-footer {
    padding: 26px 0 34px;
}

.eg-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.8fr) minmax(220px, 0.8fr);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--eg-radius-lg);
    background: rgba(18, 29, 42, 0.94);
    color: var(--eg-ink-inverse);
    box-shadow: var(--eg-shadow-lg);
}

.eg-footer__grid h2,
.eg-footer__grid h3,
.eg-footer__grid p,
.eg-footer__grid a,
.eg-footer__grid li,
.eg-footer__eyebrow {
    color: var(--eg-ink-inverse);
}

.eg-footer__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.72;
}

.eg-footer__nav .eg-footer-menu,
.eg-footer__nav .menu {
    display: grid;
    gap: 6px;
}

.eg-footer__nav .eg-footer-menu a,
.eg-footer__nav .menu a {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(247, 242, 234, 0.86);
}

.eg-footer__nav .eg-footer-menu a:hover,
.eg-footer__nav .menu a:hover {
    color: #ffffff;
}

.eg-footer__contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eg-footer__contact li + li {
    margin-top: 10px;
}

.eg-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 8px 0;
    color: var(--eg-ink-soft);
    font-size: 0.9rem;
}

.woocommerce span.onsale,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    border-radius: 999px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    min-height: 48px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--eg-accent) 0%, var(--eg-accent-strong) 100%);
    color: #fff8f0;
    font-weight: 800;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: linear-gradient(135deg, var(--eg-accent-strong) 0%, #6f2915 100%);
    color: #fff8f0;
}

.woocommerce form.checkout,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.woocommerce-EditAccountForm,
.woocommerce .woocommerce-cart-form,
.woocommerce .cart-collaterals,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .product,
.woocommerce .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce table.shop_table {
    border-radius: var(--eg-radius-md);
}

.woocommerce .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce .woocommerce-MyAccount-navigation li + li {
    margin-top: 10px;
}

.woocommerce .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--eg-line);
    font-weight: 700;
}

.woocommerce .woocommerce-MyAccount-navigation .is-active a,
.woocommerce .woocommerce-MyAccount-navigation a:hover {
    background: rgba(173, 74, 47, 0.1);
    color: var(--eg-accent-strong);
}

.woocommerce table.shop_table,
.woocommerce form.checkout,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce .cart-collaterals,
.woocommerce .product {
    border: 1px solid rgba(22, 33, 43, 0.08);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--eg-shadow-sm);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 48px;
    border: 1px solid rgba(22, 33, 43, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 14px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.alignwide,
.alignfull {
    width: 100%;
}

@media (max-width: 1180px) {
    .eg-hero__grid,
    .eg-story-grid,
    .eg-page-grid,
    .eg-split-grid,
    .eg-footer__grid,
    .eg-card-grid--three,
    .eg-card-grid--four,
    .eg-post-grid,
    .eg-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eg-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eg-page-grid {
        grid-template-columns: 1fr;
    }

    .eg-side-panel {
        position: static;
    }
}

@media (max-width: 940px) {
    .eg-header__main {
        position: relative;
        min-height: 86px;
    }

    .eg-nav-toggle {
        display: inline-flex;
    }

    .eg-header__nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 12px);
        display: none;
        padding: 18px;
        border-radius: 24px;
        background: rgba(250, 247, 240, 0.96);
        box-shadow: var(--eg-shadow-lg);
        border: 1px solid rgba(22, 33, 43, 0.08);
    }

    .eg-header.is-open .eg-header__nav {
        display: block;
    }

    .eg-menu,
    .menu {
        flex-direction: column;
        align-items: stretch;
    }

    .eg-menu a,
    .menu a {
        justify-content: space-between;
        min-height: 48px;
        padding-inline: 16px;
    }

    .eg-header__actions {
        margin-left: auto;
    }

    .eg-header__actions .eg-button--ghost {
        display: none;
    }

    .eg-hero__grid,
    .eg-story-grid,
    .eg-split-grid,
    .eg-card-grid--three,
    .eg-card-grid--four,
    .eg-post-grid,
    .eg-step-grid,
    .eg-footer__grid {
        grid-template-columns: 1fr;
    }

    .eg-cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .eg-metric-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .eg-shell {
        width: min(calc(100% - 24px), var(--eg-shell));
    }

    .eg-header__utility {
        display: none;
    }

    .eg-header__main {
        gap: 14px;
    }

    .eg-brand__copy span {
        display: none;
    }

    .eg-hero {
        padding-top: 28px;
    }

    .eg-hero__copy,
    .eg-hero-card,
    .eg-story-card,
    .eg-story-panel,
    .eg-surface,
    .eg-page-surface,
    .eg-surface-card,
    .eg-standard-panel,
    .eg-side-panel,
    .eg-access-card,
    .eg-feature-card,
    .eg-step-card,
    .eg-post-card,
    .eg-page-hero__inner,
    .eg-footer__grid,
    .eg-cta-band__inner {
        padding: 24px;
        border-radius: 24px;
    }

    h1 {
        font-size: clamp(2.35rem, 10vw, 3.2rem);
    }

    h2 {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }

    .eg-header__actions .eg-button--primary {
        min-height: 46px;
        padding-inline: 16px;
        font-size: 0.88rem;
    }

    .eg-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Refined home presentation inspired by the previous ebramus_home front page,
   but rebuilt into a sharper modern-classic system. */

.eg-highlight-strip {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: -38px;
}

.eg-highlight-card {
    padding: 18px 18px 20px;
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(15, 23, 37, 0.96), rgba(25, 38, 56, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 46px rgba(8, 16, 28, 0.2);
    color: var(--eg-ink-inverse);
    backdrop-filter: blur(18px);
}

.eg-highlight-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.94rem;
    letter-spacing: 0.02em;
}

.eg-highlight-card span {
    display: block;
    color: rgba(247, 242, 234, 0.74);
    font-size: 0.86rem;
    line-height: 1.45;
}

.eg-hero-stage {
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 120px 0 72px;
    width: 100vw;
    overflow: clip;
}

.eg-hero-stage__media,
.eg-hero-stage__veil {
    position: absolute;
    inset: 0;
}

.eg-hero-stage__media {
    background:
        radial-gradient(circle at 16% 18%, rgba(217, 179, 124, 0.24), transparent 28%),
        linear-gradient(135deg, #101a28 0%, #1a2736 45%, #30475d 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.02);
}

.eg-hero-stage__veil {
    background:
        linear-gradient(110deg, rgba(11, 16, 24, 0.84) 0%, rgba(11, 16, 24, 0.64) 46%, rgba(11, 16, 24, 0.5) 100%),
        linear-gradient(180deg, rgba(11, 16, 24, 0.18) 0%, rgba(11, 16, 24, 0.5) 100%);
}

.eg-hero-stage .eg-shell {
    position: relative;
    z-index: 2;
}

.eg-hero-stage__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.82fr);
    gap: 26px;
    align-items: stretch;
}

.eg-hero-stage__copy,
.eg-route-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 19, 29, 0.52);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 74px rgba(7, 12, 22, 0.24);
}

.eg-hero-stage__copy {
    padding: 42px;
    border-radius: 34px;
    color: var(--eg-ink-inverse);
}

.eg-hero-stage__copy .eg-kicker,
.eg-hero-stage__copy h1,
.eg-hero-stage__copy p,
.eg-hero-stage__copy strong,
.eg-hero-stage__copy span {
    color: var(--eg-ink-inverse);
}

.eg-hero-stage__copy .eg-kicker {
    color: rgba(247, 242, 234, 0.8);
}

.eg-hero-stage__lead {
    max-width: 40rem;
    font-size: 1.08rem;
    color: rgba(247, 242, 234, 0.82);
}

.eg-hero-stage__note {
    margin-top: 22px;
    max-width: 42rem;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(247, 242, 234, 0.08);
    color: rgba(247, 242, 234, 0.82);
    font-size: 0.94rem;
}

.eg-hero-stage .eg-metric-row {
    margin-top: 26px;
}

.eg-hero-stage .eg-metric-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(247, 242, 234, 0.08);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.eg-hero-stage .eg-metric-card strong {
    color: #f5c38c;
}

.eg-hero-stage__side {
    display: grid;
    gap: 18px;
}

.eg-route-card {
    padding: 28px;
    border-radius: 30px;
    color: var(--eg-ink-inverse);
}

.eg-route-card h2,
.eg-route-card p,
.eg-route-card strong,
.eg-route-card span,
.eg-route-card li {
    color: var(--eg-ink-inverse);
}

.eg-route-card__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: rgba(247, 242, 234, 0.74);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eg-route-list {
    display: grid;
    gap: 12px;
}

.eg-route-item {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.eg-route-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
}

.eg-route-item__label {
    color: rgba(247, 242, 234, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eg-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eg-contact-list li + li {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.eg-contact-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.eg-focus-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--eg-shadow-sm);
}

.eg-focus-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    background:
        linear-gradient(150deg, rgba(20, 33, 48, 0.94) 0%, rgba(44, 63, 81, 0.88) 100%);
    color: #f8efe2;
    font-family: var(--eg-serif);
    font-size: 2rem;
}

.eg-focus-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eg-focus-card__body {
    padding: 22px;
}

.eg-focus-card__body h3 {
    margin-bottom: 10px;
}

.eg-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 22px;
}

.eg-story-card--warehouse {
    padding: 40px;
}

.eg-story-points {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.eg-story-point {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(173, 74, 47, 0.06);
    border: 1px solid rgba(173, 74, 47, 0.12);
    color: var(--eg-ink);
    font-weight: 700;
}

.eg-gallery-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.eg-gallery-wall__item {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at 18% 14%, rgba(217, 179, 124, 0.18), transparent 34%),
        linear-gradient(150deg, rgba(19, 29, 43, 0.96) 0%, rgba(48, 71, 93, 0.9) 100%);
    box-shadow: var(--eg-shadow-sm);
}

.eg-gallery-wall__item:nth-child(1) {
    grid-column: 1 / -1;
    min-height: 300px;
}

.eg-gallery-wall__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eg-gallery-wall__item span {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: #f8efe2;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eg-logistics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.eg-surface-card__lead {
    margin-bottom: 18px;
}

.eg-access-card {
    border: 1px solid rgba(255, 255, 255, 0.58);
    background:
        radial-gradient(circle at top right, rgba(217, 179, 124, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.82);
}

.eg-access-card--accent {
    background: linear-gradient(160deg, rgba(19, 29, 43, 0.95) 0%, rgba(38, 55, 72, 0.94) 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--eg-shadow-lg);
}

.eg-access-card--accent h3,
.eg-access-card--accent p,
.eg-access-card--accent .eg-access-card__eyebrow {
    color: var(--eg-ink-inverse);
}

.eg-access-card--accent .eg-button--ghost {
    color: var(--eg-ink-inverse);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.eg-trust-strip {
    display: grid;
    gap: 22px;
    padding: 30px 34px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--eg-shadow-sm);
}

.eg-trust-strip__copy {
    max-width: 760px;
}

.eg-trust-strip__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.eg-trust-logo,
.eg-trust-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(22, 33, 43, 0.1);
    background: rgba(250, 247, 240, 0.88);
    text-align: center;
}

.eg-trust-logo img {
    max-height: 58px;
    width: auto;
}

.eg-trust-chip {
    color: var(--eg-ink);
    font-weight: 700;
}

.eg-review-shell {
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--eg-shadow-sm);
}

.eg-review-shell iframe,
.eg-review-shell > * {
    width: 100%;
    max-width: 100%;
}

.eg-cta-band__inner p {
    max-width: 42rem;
    margin: 12px 0 0;
    color: rgba(247, 242, 234, 0.76);
}

@media (max-width: 1180px) {
    .eg-highlight-strip,
    .eg-trust-strip__rail,
    .eg-focus-grid,
    .eg-story-layout,
    .eg-logistics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eg-hero-stage__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 940px) {
    .eg-highlight-strip,
    .eg-focus-grid,
    .eg-story-layout,
    .eg-logistics-grid,
    .eg-trust-strip__rail {
        grid-template-columns: 1fr;
    }

    .eg-hero-stage {
        padding-top: 102px;
    }

    .eg-hero-stage__copy,
    .eg-route-card {
        padding: 28px;
    }

    .eg-focus-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .eg-highlight-strip {
        margin-bottom: -24px;
    }

    .eg-highlight-card,
    .eg-trust-strip,
    .eg-review-shell {
        padding: 22px;
        border-radius: 24px;
    }

    .eg-hero-stage {
        padding-top: 84px;
        padding-bottom: 42px;
    }

    .eg-hero-stage__copy,
    .eg-route-card {
        padding: 24px;
        border-radius: 24px;
    }

    .eg-focus-card {
        grid-template-columns: 1fr;
    }

    .eg-focus-card__media {
        min-height: 96px;
    }

    .eg-gallery-wall {
        grid-template-columns: 1fr;
    }

    .eg-gallery-wall__item:nth-child(1) {
        min-height: 220px;
    }
}
