/* Local typography — applies to every page and component. */
@font-face {
    font-family: 'abar';
    src: url('../font/AbarLow-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn(1).woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn-arabic-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn-arabic-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn-arabic-800-normal.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'vazir';
    src: url('../font/vazirmatn-latin-800-normal.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF
}

:root {
    --ink: #141414;
    --gray: #74726d;
    --gold: #b79552;
    --cream: #f5efe1;
    --line: #eae7e0
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 400 15px/1.9 Vazirmatn, Tahoma, sans-serif;
    direction: rtl
}

h1, h2, h3, p {
    margin: 0
}

p {
    color: var(--gray)
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

button, input {
    font: inherit
}

button {
    cursor: pointer
}

a, button, input {
    -webkit-tap-highlight-color: transparent
}

[hidden] {
    display: none !important
}

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px
}

.container {
    max-width: 1160px;
    width: 100%;
    padding-inline: 40px;
    margin-inline: auto
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: middle
}

.header {
    height: 102px;
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 20
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 0;
    flex-shrink: 0
}

.brand > b {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.5px
}

.brand small {
    display: block;
    font: 7px/1.8 Arial;
    letter-spacing: 2.8px
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    background: #171717;
    color: #eedcad;
    border-radius: 50%;
    transform: rotate(-25deg)
}

.brand-mark .icon {
    width: 24px;
    height: 24px
}

.site-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-inline: auto;
    order: 1;
    font-size: 12px
}

.site-nav a {
    padding: 12px 0
}

.site-nav [aria-current] {
    color: #a58443
}

.header > .button {
    order: 2
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 30px;
    padding: 11px 21px;
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
    transition: transform .2s, background .2s
}

.button.dark {
    color: #fff;
    background: #111;
    box-shadow: inset 0 0 0 2px #3b3b3b, 0 2px 2px #0002
}

.button.secondary {
    background: #fff;
    color: #191919;
    border-color: #dedbd3;
    box-shadow: none
}

.button:hover {
    transform: translateY(-2px)
}

.button .icon {
    width: 16px;
    height: 16px
}

.header > .button {
    padding: 8px 16px;
    font-size: 10px
}

.menu-toggle {
    display: none
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse 28% 12% at 48% 0%, #f9f4e5, transparent 90%), radial-gradient(ellipse 28% 12% at 86% 0%, #f4f3f1, transparent 90%)
}

.hero-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1
}

.hero-lines g {
    stroke: #f0eeea;
    stroke-width: 1
}

.hero-copy {
    text-align: center;
    padding-top: 50px;
    position: relative
}

.eyebrow {
    display: inline-block;
    background: #fff;
    border: 1px solid #edeae3;
    border-radius: 24px;
    padding: 5px 14px;
    font-size: 10px;
    line-height: 1.7;
    color: #77716a
}

h1 {
    font-size: 53px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -1.6px;
    margin: 23px 0 19px
}

.hero-copy > p {
    font-size: 14px;
    line-height: 1.9;
    max-width: 570px;
    margin: auto;
    text-align: center
}

.actions {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 25px
}

.hero-copy .actions {
    justify-content: center
}

.hero-avatar {
    position: absolute;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover
}

.avatar-right {
    right: 4%
}

.avatar-left {
    left: 4%
}

.hero-art {
    position: relative;
    padding-top: 34px;
    padding-bottom: 0
}

.editorial-hero {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply
}

.section {
    padding-top: 70px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 38px;
    text-align: right
}

.section-heading h2 {
    font-size: 35px;
    line-height: 1.55;
    letter-spacing: -1px;
    font-weight: 500
}

.section-heading > p {
    font-size: 12px;
    line-height: 1.9;
    max-width: 345px
}

.features {
    padding-top: 45px
}

.features .section-heading {
    flex-direction: row
}

.feature-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 19px;
    direction: ltr
}

.showcase-card {
    min-width: 0;
    background: #f2f2f3;
    border-radius: 24px;
    overflow: hidden;
    direction: rtl;
    display: flex;
    flex-direction: column
}

.showcase-card:nth-child(2) {
    background: #eee4ce
}

.showcase-card:nth-child(3) {
    background: #929292;
    color: white
}

.showcase-caption {
    height: 128px;
    flex-shrink: 0;
    position: relative;
    padding: 51px 23px 0
}

.showcase-caption > span {
    position: absolute;
    right: 22px;
    top: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: #131313;
    color: #eee6d4;
    font: 9px Arial
}

.showcase-caption h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -.5px
}

.showcase-card > img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: bottom
}

.showcase-card:nth-child(2) > img {
    height: 280px;
    object-position: top
}

.capabilities {
    padding-top: 52px
}

.capabilities .section-heading {
    margin-bottom: 28px
}

.capabilities .eyebrow {
    margin-bottom: 12px
}

.capabilities .section-heading h2 {
    font-size: 30px
}

.capability-list {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    column-gap: 36px
}

.capability-list article {
    padding: 21px 0;
    border-top: 1px solid var(--line)
}

.capability-list h3 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 6px
}

.capability-list p {
    font-size: 12px;
    line-height: 1.9
}

.how {
    padding-top: 83px
}

.how .section-heading {
    margin-bottom: 40px
}

.reference-steps {
    display: grid;
    grid-template-columns:1fr 1fr 1.15fr;
    grid-template-rows:repeat(3, minmax(110px, auto));
    gap: 17px;
    direction: ltr;
    max-width: 100%;
    background: radial-gradient(ellipse at 70% 50%, #fbf4dd80, transparent 65%)
}

.how-phone {
    grid-column: 3;
    grid-row: 1/4;
    width: 100%;
    min-height: 0;
    height: 430px;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center
}

.how-phone > img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply
}

.steps-grid {
    display: contents
}

.step {
    direction: rtl;
    background: #f6f1e7;
    border-radius: 15px;
    padding: 22px 18px;
    position: relative;
    min-width: 0;
    align-self: start
}

.step h3 {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 25px
}

.step p {
    font-size: 11px;
    line-height: 1.8
}

.step p br {
    display: none
}

.step > span {
    position: absolute;
    left: 14px;
    top: 18px;
    background: #eaddc2;
    color: #806737;
    border-radius: 50%;
    padding: 1px 5px;
    font-size: 9px
}

.step-one {
    grid-column: 2;
    grid-row: 1
}

.step-two {
    grid-column: 1;
    grid-row: 2
}

.step-three {
    grid-column: 1;
    grid-row: 3
}

.step-four {
    grid-column: 2;
    grid-row: 3
}

.how-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    margin: 26px 0 0;
    padding-bottom: 55px
}

.how-cta p {
    font-size: 12px
}

.how-cta br {
    display: none
}

.how-cta .button {
    font-size: 11px;
    padding: 9px 17px
}

.reviews {
    background: #f3f2f4;
    padding: 48px 0;
    margin-top: 22px
}

.reviews-layout {
    display: grid;
    grid-template-columns:1fr 1.6fr;
    gap: 45px;
    align-items: center;
    direction: rtl
}

.reviews-intro h2 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.8px;
    line-height: 1.6
}

.slider-arrows {
    display: flex;
    gap: 9px;
    margin-top: 25px
}

.slider-arrows button {
    width: 32px;
    height: 32px;
    border: 0;
    background: white;
    border-radius: 50%;
    font: 18px Arial;
    color: #777
}

.review-slider {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 18px;
    min-width: 0
}

.review-card {
    background: white;
    border-radius: 21px;
    padding: 24px 22px;
    min-height: 220px
}

.review-person {
    display: flex;
    align-items: center;
    gap: 10px
}

.review-person img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover
}

.review-person h3 {
    font-size: 11px;
    font-weight: 500
}

.stars {
    font: 12px Arial;
    color: #dfbd43;
    letter-spacing: 1px
}

.review-card > p {
    font-size: 11px;
    line-height: 1.9;
    margin-top: 18px
}

.start-section {
    padding-top: 75px
}

.start-card {
    background: #f2f1f4;
    border-radius: 25px;
    display: grid;
    grid-template-columns:1fr 1fr;
    overflow: hidden;
    direction: rtl;
    min-height: 330px;
    padding: 32px 38px;
    gap: 0;
    align-items: center
}

.start-copy {
    position: relative;
    z-index: 2;
    text-align: right;
    min-width: 0
}

.start-copy > span {
    font-size: 10px
}

.start-copy h2 {
    font-size: 36px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -.8px;
    margin: 30px 0 25px
}

.start-copy .actions {
    gap: 9px;
    margin-top: 0;
    flex-wrap: wrap
}

.start-copy .button {
    font-size: 10px;
    padding: 9px 14px
}

.start-copy > p {
    display: none
}

.cta-art {
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0 -38px -32px 0
}

.cta-art > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: multiply
}

.footer {
    padding-top: 65px
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 27px
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    font-size: 10px
}

.footer-social {
    display: flex;
    gap: 9px
}

.footer-social a {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #171717;
    color: #fff;
    font: 16px Arial
}

.footer-social .icon {
    width: 14px;
    height: 14px
}

.footer-bottom {
    border-top: 1px solid #e9e7e2;
    padding: 20px 0 27px;
    font-size: 9px;
    color: #8b857c
}

.about-hero {
    text-align: center;
    padding-top: 48px
}

.about-hero h1 {
    font-size: 47px
}

.about-hero > p {
    font-size: 14px;
    line-height: 2;
    max-width: 650px;
    margin: 0 auto 10px
}

.about-editorial {
    max-width: 900px;
    margin: 15px auto 0
}

.about-editorial > img {
    width: 100%;
    mix-blend-mode: multiply
}

.about-story {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 70px;
    align-items: start
}

.about-story h2 {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -.8px;
    margin-top: 18px
}

.about-story p {
    font-size: 14px;
    line-height: 2.2;
    margin-bottom: 20px
}

.values-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 35px
}

.values-grid article {
    border-top: 1px solid var(--line);
    padding-top: 23px
}

.values-grid article > span {
    font-size: 12px;
    color: #ad8d50
}

.values-grid h3 {
    font-size: 19px;
    font-weight: 500;
    margin: 17px 0 12px
}

.values-grid p {
    font-size: 13px;
    line-height: 2
}

.about-product {
    display: grid;
    grid-template-columns:280px 1fr;
    gap: 80px;
    align-items: center
}

.about-product-art {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center
}

.about-product-art > img {
    height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply
}

.about-product h2 {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.6;
    margin: 20px 0
}

.about-product p {
    font-size: 14px;
    line-height: 2.2;
    margin-bottom: 25px;
    max-width: 500px
}

.contact-hero {
    text-align: center;
    padding-top: 58px;
    padding-bottom: 65px;
    background: radial-gradient(ellipse, #fbf5e9, transparent 70%)
}

.contact-hero h1 {
    font-size: 48px
}

.contact-hero > p {
    font-size: 15px;
    line-height: 2
}

.direct-contact {
    display: grid;
    grid-template-columns:.8fr 1.2fr;
    gap: 95px;
    padding-top: 30px;
    padding-bottom: 65px
}

.contact-lead > span {
    font: 9px Arial;
    letter-spacing: 2px;
    color: #b09a70
}

.contact-lead h2 {
    font-size: 33px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -.7px;
    margin: 23px 0
}

.contact-lead > p {
    font-size: 14px;
    line-height: 2.1;
    max-width: 300px
}

.text-link {
    display: inline-block;
    font-size: 12px;
    border-bottom: 1px solid #bfa56e;
    padding-bottom: 4px;
    margin-top: 28px
}

.direct-channel-list article {
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns:95px 1fr 22px;
    gap: 20px;
    padding: 28px 0
}

.direct-channel-list article > span:first-child {
    font: 9px/1.9 Arial;
    color: #b0945e;
    padding-top: 4px;
    text-align: left;
    direction: ltr
}

.direct-channel-list h3 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 10px
}

.direct-channel-list p {
    font-size: 13px;
    line-height: 2;
    margin-bottom: 13px
}

.direct-channel-list a {
    display: inline-block;
    font-size: 15px;
    color: #806734;
    direction: ltr;
    overflow-wrap: anywhere
}

.direct-channel-list small {
    font-size: 11px;
    color: #a39c90;
    line-height: 2
}

.channel-arrow {
    color: #9f8d6c;
    font-size: 20px
}

.contact-topics {
    padding-top: 20px;
    padding-bottom: 65px
}

.contact-topics .section-heading {
    margin-bottom: 35px
}

.topic-list {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 35px
}

.topic-list article {
    border-top: 1px solid var(--line);
    padding-top: 23px
}

.topic-list article > span {
    font-size: 18px;
    font-weight: 500
}

.topic-list p {
    font-size: 13px;
    line-height: 2;
    margin-top: 12px
}

.contact-closing {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.contact-closing > span {
    font-size: 19px
}

.contact-closing > a {
    font-size: 12px;
    color: #9a7a3e
}

.skip-link {
    position: fixed;
    top: -100px;
    right: 20px;
    padding: 8px 18px;
    background: white;
    z-index: 100
}

.skip-link:focus {
    top: 10px
}

dialog {
    width: min(430px, calc(100% - 32px));
    border: 1px solid var(--line);
    border-radius: 23px;
    padding: 35px;
    text-align: right;
    color: var(--ink)
}

dialog::backdrop {
    background: #211d1755;
    backdrop-filter: blur(4px)
}

.dialog-close {
    position: absolute;
    left: 13px;
    top: 10px;
    border: 0;
    background: none;
    font: 28px Arial;
    color: #777
}

dialog h2 {
    font-size: 26px;
    margin: 17px 0 8px
}

dialog p {
    font-size: 12px
}

dialog small {
    font-size: 11px;
    color: #999;
    line-height: 2
}

.username-form {
    margin: 20px 0
}

.username-field {
    display: flex;
    align-items: center;
    border: 1px solid #e4d8c2;
    border-radius: 30px;
    padding: 12px 15px;
    background: #fcf9f2;
    color: #98856a;
    font: 12px Arial
}

.username-field input {
    min-width: 0;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 5px;
    font: 14px Arial
}

.username-form > .button {
    margin-top: 15px;
    width: 100%
}

#chosen-address {
    font: 700 16px Arial;
    overflow-wrap: anywhere;
    margin: 15px 0;
    color: #9b752f
}

@media (max-width: 1000px) {
    .container {
        padding-inline: 30px
    }

    .site-nav {
        gap: 16px;
        font-size: 11px
    }

    .hero-copy {
        padding-top: 38px
    }

    h1 {
        font-size: 46px
    }

    .hero-avatar {
        width: 43px;
        height: 43px
    }

    .section-heading h2 {
        font-size: 31px
    }

    .showcase-caption h3 {
        font-size: 20px
    }

    .showcase-caption {
        height: 120px
    }

    .showcase-card > img, .showcase-card:nth-child(2) > img {
        height: 250px
    }

    .reference-steps {
        gap: 14px
    }

    .how-phone {
        height: 380px
    }

    .step {
        padding: 18px 15px
    }

    .step h3 {
        font-size: 11px
    }

    .step p {
        font-size: 10px
    }

    .start-copy h2 {
        font-size: 31px
    }

    .start-card {
        min-height: 300px;
        padding: 30px
    }

    .cta-art {
        height: 260px;
        margin: 0 -30px -30px 0
    }

    .reviews-layout {
        gap: 30px
    }

    .reviews-intro h2 {
        font-size: 27px
    }

    .review-card {
        padding: 22px 17px
    }

    .direct-contact {
        gap: 55px
    }

    .direct-channel-list article {
        grid-template-columns:75px 1fr 18px;
        gap: 15px
    }

    .contact-lead h2 {
        font-size: 29px
    }

    .about-story {
        gap: 40px
    }
}

@media (max-width: 760px) {
    .header {
        height: 80px;
        gap: 14px
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 22px;
        right: 22px;
        border: 1px solid var(--line);
        border-radius: 15px;
        background: white;
        padding: 10px;
        box-shadow: 0 12px 35px #241d0f10;
        margin: 0
    }

    .site-nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .site-nav a {
        padding: 13px 16px;
        font-size: 14px
    }

    .header > .button {
        order: 1;
        margin-right: auto
    }

    .menu-toggle {
        display: flex;
        order: 2;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 37px;
        height: 37px;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: white;
        flex-shrink: 0
    }

    .menu-toggle span {
        height: 1.5px;
        width: 15px;
        background: #222
    }

    h1 {
        font-size: 37px
    }

    .hero-copy > p {
        font-size: 13px;
        max-width: 470px
    }

    .hero-avatar {
        width: 34px;
        height: 34px;
        bottom: 98px
    }

    .avatar-right {
        right: 2%
    }

    .avatar-left {
        left: 2%
    }

    .hero-art {
        padding-top: 25px
    }

    .section {
        padding-top: 55px
    }

    .features {
        padding-top: 28px
    }

    .section-heading {
        gap: 28px;
        margin-bottom: 30px
    }

    .section-heading h2 {
        font-size: 28px
    }

    .section-heading > p {
        font-size: 11px;
        max-width: 260px
    }

    .feature-grid {
        gap: 13px
    }

    .showcase-card {
        border-radius: 20px
    }

    .showcase-caption {
        height: 112px;
        padding: 47px 17px 0
    }

    .showcase-caption h3 {
        font-size: 18px
    }

    .showcase-caption > span {
        top: 15px;
        right: 17px;
        width: 23px;
        height: 23px;
        font-size: 8px
    }

    .showcase-card > img, .showcase-card:nth-child(2) > img {
        height: 205px
    }

    .capability-list {
        grid-template-columns:repeat(2, 1fr);
        gap: 0 28px
    }

    .capabilities .section-heading h2 {
        font-size: 27px
    }

    .reference-steps {
        grid-template-columns:1fr 1fr;
        grid-template-rows:auto auto auto;
        gap: 14px
    }

    .how-phone {
        grid-column: 1/-1;
        grid-row: 1;
        height: 320px;
        margin-bottom: 12px
    }

    .step-one {
        grid-column: 2;
        grid-row: 2
    }

    .step-two {
        grid-column: 1;
        grid-row: 2
    }

    .step-three {
        grid-column: 2;
        grid-row: 3
    }

    .step-four {
        grid-column: 1;
        grid-row: 3
    }

    .step {
        padding: 22px 19px;
        min-height: 135px;
        align-self: stretch
    }

    .step h3 {
        font-size: 13px
    }

    .step p {
        font-size: 12px
    }

    .how-cta {
        padding-bottom: 35px
    }

    .reviews-layout {
        grid-template-columns:1fr;
        gap: 24px
    }

    .reviews-intro {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px
    }

    .slider-arrows {
        margin-top: 0
    }

    .reviews {
        padding: 35px 0
    }

    .review-card {
        min-height: 215px;
        padding: 24px
    }

    .review-card > p {
        font-size: 12px
    }

    .start-card {
        padding: 28px;
        grid-template-columns:1.05fr 1fr;
        min-height: 290px
    }

    .start-copy h2 {
        font-size: 28px;
        margin: 24px 0
    }

    .start-copy .button {
        font-size: 9px;
        padding: 9px 12px
    }

    .cta-art {
        height: 245px;
        margin: 0 -28px -28px 0
    }

    .footer {
        padding-top: 50px
    }

    .footer-top {
        flex-wrap: wrap
    }

    .footer nav {
        order: 3;
        width: 100%;
        gap: 17px;
        font-size: 11px
    }

    .about-hero h1 {
        font-size: 38px
    }

    .about-hero > p {
        font-size: 13px
    }

    .about-story {
        grid-template-columns:1fr;
        gap: 20px
    }

    .about-story h2 {
        font-size: 30px
    }

    .values-grid {
        grid-template-columns:1fr;
        gap: 22px
    }

    .about-product {
        grid-template-columns:220px 1fr;
        gap: 30px
    }

    .about-product-art {
        height: 330px
    }

    .about-product h2 {
        font-size: 28px
    }

    .about-product p {
        font-size: 13px
    }

    .contact-hero {
        padding-top: 40px;
        padding-bottom: 45px
    }

    .contact-hero h1 {
        font-size: 38px
    }

    .direct-contact {
        grid-template-columns:1fr;
        gap: 32px;
        padding-top: 15px;
        padding-bottom: 45px
    }

    .contact-lead h2 {
        font-size: 30px
    }

    .contact-lead > p {
        max-width: 500px
    }

    .direct-channel-list article {
        grid-template-columns:90px 1fr 22px
    }

    .contact-topics {
        padding-bottom: 45px
    }

    .topic-list {
        gap: 25px
    }

    .topic-list p {
        font-size: 12px
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 22px
    }

    .header {
        height: 76px;
        gap: 9px
    }

    .brand > b {
        font-size: 19px
    }

    .brand-mark {
        width: 28px;
        height: 28px
    }

    .brand-mark .icon {
        width: 21px;
        height: 21px
    }

    .brand small {
        font-size: 7px
    }

    .header > .button {
        font-size: 9px;
        padding: 9px 12px;
        gap: 6px
    }

    .header > .button .icon {
        width: 12px;
        height: 12px
    }

    .menu-toggle {
        width: 35px;
        height: 35px
    }

    .site-nav {
        top: 67px
    }

    .hero-copy {
        padding-top: 25px
    }

    h1 {
        font-size: 31px;
        line-height: 1.6;
        letter-spacing: -1px;
        margin: 20px 0 16px
    }

    .eyebrow {
        font-size: 10px
    }

    .hero-copy > p {
        font-size: 14px;
        line-height: 2
    }

    .desktop-break {
        display: none
    }

    .hero-copy .actions {
        gap: 9px;
        margin-top: 22px
    }

    .hero-copy .button {
        font-size: 10px;
        padding: 11px 13px;
        gap: 7px
    }

    .hero-copy .button .icon {
        width: 13px;
        height: 13px
    }

    .hero-avatar {
        display: none
    }

    .hero-art {
        padding: 22px 0 0
    }

    .editorial-hero {
        width: 155%;
        max-width: none;
        margin-inline-start: -27.5%;
        mix-blend-mode: multiply
    }

    .section {
        padding-top: 43px
    }

    .features {
        padding-top: 33px
    }

    .section-heading {
        display: block;
        margin-bottom: 25px
    }

    .section-heading h2 {
        font-size: 28px;
        line-height: 1.65
    }

    .section-heading > p {
        font-size: 14px;
        line-height: 2;
        max-width: none;
        margin-top: 15px
    }

    .feature-grid {
        display: flex;
        overflow: auto;
        gap: 14px;
        scroll-snap-type: x mandatory;
        direction: rtl;
        padding-bottom: 10px;
        scrollbar-width: thin
    }

    .showcase-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        border-radius: 21px
    }

    .showcase-caption {
        height: 125px;
        padding: 54px 22px 0
    }

    .showcase-caption h3 {
        font-size: 23px;
        line-height: 1.5
    }

    .showcase-caption > span {
        top: 19px;
        right: 22px;
        width: 26px;
        height: 26px
    }

    .showcase-card > img, .showcase-card:nth-child(2) > img {
        height: 285px
    }

    .capabilities {
        padding-top: 35px
    }

    .capabilities .section-heading h2 {
        font-size: 27px
    }

    .capability-list {
        grid-template-columns:1fr;
        gap: 0
    }

    .capability-list article {
        padding: 19px 0
    }

    .capability-list h3 {
        font-size: 17px;
        margin-bottom: 7px
    }

    .capability-list p {
        font-size: 14px;
        line-height: 2
    }

    .how .section-heading {
        margin-bottom: 28px
    }

    .reference-steps {
        gap: 12px
    }

    .how-phone {
        height: 280px;
        margin-bottom: 10px
    }

    .step {
        padding: 22px 16px;
        min-height: 165px;
        border-radius: 14px
    }

    .step h3 {
        font-size: 14px;
        line-height: 1.9;
        padding-left: 21px;
        margin-bottom: 9px
    }

    .step p {
        font-size: 12px;
        line-height: 2
    }

    .step > span {
        left: 9px;
        top: 17px;
        font-size: 9px
    }

    .how-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-bottom: 25px
    }

    .how-cta p {
        font-size: 14px
    }

    .how-cta .button {
        font-size: 12px;
        padding: 11px 20px
    }

    .reviews {
        padding: 30px 0;
        margin-top: 12px
    }

    .reviews-intro h2 {
        font-size: 26px
    }

    .slider-arrows {
        gap: 7px
    }

    .slider-arrows button {
        width: 35px;
        height: 35px
    }

    .review-slider {
        grid-template-columns:1fr
    }

    .review-card {
        padding: 26px;
        min-height: 205px
    }

    .review-person img {
        height: 38px;
        width: 38px
    }

    .review-person h3 {
        font-size: 13px
    }

    .review-card > p {
        font-size: 14px;
        line-height: 2
    }

    .stars {
        font-size: 13px
    }

    .start-section {
        padding-top: 45px
    }

    .start-card {
        display: block;
        padding: 27px 25px 0;
        border-radius: 22px
    }

    .start-copy h2 {
        font-size: 31px;
        line-height: 1.55;
        margin: 23px 0
    }

    .start-copy > span {
        font-size: 12px
    }

    .start-copy .button {
        font-size: 10px;
        padding: 11px 14px
    }

    .cta-art {
        height: 240px;
        margin: 22px -25px 0;
        justify-content: center
    }

    .cta-art > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom
    }

    .footer {
        padding-top: 40px
    }

    .footer-top {
        gap: 23px
    }

    .footer nav {
        font-size: 12px;
        gap: 13px 19px
    }

    .footer-bottom {
        font-size: 10px
    }

    .about-hero {
        padding-top: 30px
    }

    .about-hero h1 {
        font-size: 31px
    }

    .about-hero > p {
        font-size: 14px;
        line-height: 2
    }

    .about-editorial {
        overflow: hidden;
        margin-inline: -22px
    }

    .about-editorial > img {
        width: 155%;
        max-width: none;
        margin-inline-start: -27.5%
    }

    .about-story h2 {
        font-size: 29px
    }

    .about-story p {
        font-size: 15px
    }

    .values-grid h3 {
        font-size: 20px
    }

    .values-grid p {
        font-size: 14px
    }

    .about-product {
        grid-template-columns:1fr;
        gap: 26px
    }

    .about-product-art {
        height: 290px
    }

    .about-product h2 {
        font-size: 29px
    }

    .about-product p {
        font-size: 14px
    }

    .contact-hero {
        padding-top: 30px;
        padding-bottom: 40px
    }

    .contact-hero h1 {
        font-size: 31px
    }

    .contact-hero > p {
        font-size: 14px;
        line-height: 2
    }

    .contact-hero br:not(h1 br) {
        display: none
    }

    .contact-lead h2 {
        font-size: 29px;
        margin: 19px 0
    }

    .contact-lead > p {
        font-size: 14px
    }

    .direct-contact {
        gap: 32px;
        padding-bottom: 40px
    }

    .direct-channel-list article {
        grid-template-columns:1fr 24px;
        gap: 8px 15px;
        padding: 25px 0
    }

    .direct-channel-list article > span:first-child {
        grid-column: 1/-1;
        text-align: right;
        font-size: 10px;
        padding: 0;
        margin-bottom: 7px
    }

    .direct-channel-list article > div {
        grid-column: 1;
        grid-row: 2
    }

    .channel-arrow {
        grid-column: 2;
        grid-row: 2
    }

    .direct-channel-list h3 {
        font-size: 21px
    }

    .direct-channel-list p {
        font-size: 14px
    }

    .direct-channel-list small {
        font-size: 12px
    }

    .topic-list {
        grid-template-columns:1fr;
        gap: 22px
    }

    .topic-list article > span {
        font-size: 19px
    }

    .topic-list p {
        font-size: 14px
    }

    .contact-closing {
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
        padding-block: 25px
    }

    .contact-closing > span {
        font-size: 18px
    }

    .contact-closing > a {
        font-size: 13px
    }
}

@media (max-width: 359px) {
    .container {
        padding-inline: 18px
    }

    .header {
        gap: 7px
    }

    .brand > b {
        font-size: 17px
    }

    .header > .button {
        font-size: 8px;
        padding-inline: 10px
    }

    h1 {
        font-size: 28px
    }

    .hero-copy .button {
        font-size: 9px;
        padding-inline: 11px
    }

    .step {
        padding: 21px 13px;
        min-height: 175px
    }

    .step h3 {
        font-size: 13px
    }

    .step p {
        font-size: 12px
    }

    .showcase-card {
        flex-basis: 90%
    }

    .reviews-intro h2 {
        font-size: 23px
    }

    .slider-arrows button {
        width: 31px;
        height: 31px
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important;
        animation: none !important
    }
}

.editorial-hero.custom-hero {
    width: 340px;
    max-width: 75%;
    height: 510px;
    object-fit: contain;
    margin-inline: auto
}

@media (max-width: 480px) {
    .editorial-hero.custom-hero {
        width: 230px;
        max-width: 78%;
        height: 345px;
        margin-inline: auto
    }
}

/* Version 7: complete six-item grid and clean editorial image boundaries. */
.reference-steps {
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) 260px;
    grid-template-rows:repeat(3, minmax(120px, auto));
    gap: 17px 20px;
    align-items: stretch
}

.reference-steps .how-phone {
    grid-column: 3;
    grid-row: 1/4;
    align-self: center;
    height: 425px;
    max-height: 100%
}

.reference-steps .step {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.reference-steps .step:nth-child(odd) {
    grid-column: 2
}

.reference-steps .step:nth-child(even) {
    grid-column: 1
}

.reference-steps .step:nth-child(-n+2) {
    grid-row: 1
}

.reference-steps .step:nth-child(n+3):nth-child(-n+4) {
    grid-row: 2
}

.reference-steps .step:nth-child(n+5) {
    grid-row: 3
}

.showcase-card > img {
    display: block;
    height: 290px;
    min-height: 290px;
    flex: 0 0 290px;
    object-fit: cover;
    object-position: center bottom
}

.showcase-card:nth-child(2) > img {
    height: 290px;
    object-position: center top
}

.showcase-caption {
    height: 130px
}

.start-card {
    background: #f1f0f5;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    padding: 32px 38px;
    gap: 35px
}

.cta-art {
    height: 300px;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.cta-art > img {
    mix-blend-mode: normal;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%, 19% 75%, 0 75%)
}

.start-copy h2 {
    margin: 25px 0;
    line-height: 1.6
}

@media (max-width: 1000px) {
    .reference-steps {
        grid-template-columns:1fr 1fr 220px;
        gap: 14px
    }

    .reference-steps .how-phone {
        height: 390px
    }

    .reference-steps .step {
        min-height: 120px
    }

    .start-card {
        padding: 28px;
        gap: 22px
    }

    .cta-art {
        height: 270px
    }

    .showcase-card > img, .showcase-card:nth-child(2) > img {
        height: 250px;
        min-height: 250px;
        flex-basis: 250px
    }
}

@media (max-width: 760px) {
    .reference-steps {
        grid-template-columns:1fr 1fr;
        grid-template-rows:auto repeat(3, minmax(135px, auto));
        gap: 14px
    }

    .reference-steps .how-phone {
        grid-column: 1/-1;
        grid-row: 1;
        height: 300px;
        max-height: none;
        margin-bottom: 10px
    }

    .reference-steps .step:nth-child(-n+2) {
        grid-row: 2
    }

    .reference-steps .step:nth-child(n+3):nth-child(-n+4) {
        grid-row: 3
    }

    .reference-steps .step:nth-child(n+5) {
        grid-row: 4
    }

    .reference-steps .step {
        min-height: 135px
    }

    .showcase-card > img, .showcase-card:nth-child(2) > img {
        height: 210px;
        min-height: 210px;
        flex-basis: 210px
    }

    .showcase-caption {
        height: 120px
    }

    .start-card {
        padding: 28px;
        gap: 18px
    }

    .cta-art {
        height: 240px
    }
}

@media (max-width: 480px) {
    .reference-steps {
        gap: 12px;
        grid-template-rows:auto repeat(3, minmax(165px, auto))
    }

    .reference-steps .step {
        min-height: 165px;
        padding: 23px 16px;
        justify-content: flex-start
    }

    .reference-steps .how-phone {
        height: 275px;
        margin-bottom: 8px
    }

    .showcase-card > img, .showcase-card:nth-child(2) > img {
        height: 285px;
        min-height: 285px;
        flex-basis: 285px
    }

    .showcase-caption {
        height: 125px
    }

    .start-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 27px 25px 0;
        gap: 24px
    }

    .start-copy {
        width: 100%
    }

    .cta-art {
        height: 240px;
        margin: 0 -25px;
        width: calc(100% + 50px);
        flex-shrink: 0
    }

    .cta-art > img {
        width: auto;
        height: 100%;
        max-width: 100%;
        object-fit: contain
    }

    .start-copy h2 {
        font-size: 30px
    }

    .start-copy .actions {
        gap: 10px
    }
}

.cta-art > img {
    width: auto;
    max-width: 100%;
    height: 100%;
    border-radius: 0 30px 30px 0
}

/* Journal archive and article — same editorial system. */
.journal-hero {
    text-align: center;
    padding-top: 48px;
    padding-bottom: 55px;
    background: radial-gradient(ellipse, #faf5e9, transparent 70%)
}

.journal-hero h1 {
    font-size: 54px;
    line-height: 1.4
}

.journal-hero > p {
    font-size: 15px;
    line-height: 2
}

.featured-journal {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 55px;
    align-items: center
}

.featured-image {
    display: block;
    height: 345px;
    overflow: hidden;
    border-radius: 23px;
    background: #f3f1ed
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%
}

.featured-copy .journal-label {
    font-size: 11px;
    color: #a28752
}

.featured-copy h2 {
    font-size: 31px;
    line-height: 1.65;
    letter-spacing: -.6px;
    margin: 17px 0
}

.featured-copy > p {
    font-size: 14px;
    line-height: 2
}

.featured-copy .text-link {
    margin-top: 22px
}

.journal-archive {
    padding-top: 55px
}

.archive-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px
}

.journal-categories {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.journal-categories button {
    border: 0;
    border-radius: 25px;
    background: transparent;
    padding: 8px 15px;
    font-size: 12px;
    color: #847b6b;
    white-space: nowrap
}

.journal-categories button.active {
    background: #171717;
    color: #fff
}

.journal-search {
    display: flex;
    align-items: center;
    width: 255px;
    flex-shrink: 0;
    border: 1px solid #e4ded2;
    border-radius: 30px;
    background: white;
    overflow: hidden
}

.journal-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 16px;
    font-size: 12px;
    outline: none
}

.journal-search:focus-within {
    outline: 2px solid #c3a66f
}

.journal-search button {
    width: 42px;
    height: 38px;
    flex-shrink: 0;
    background: none;
    border: 0;
    font: 26px Arial;
    color: #a4864a
}

.archive-count {
    font-size: 11px;
    color: #aaa08f;
    min-height: 55px;
    display: flex;
    align-items: center
}

.journal-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 42px 25px
}

.journal-card {
    min-width: 0
}

.journal-image {
    display: block;
    width: 100%;
    height: 225px;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f0ee
}

.journal-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s
}

.journal-image:hover > img {
    transform: scale(1.025)
}

.journal-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
    color: #a28b5e;
    margin: 18px 0 11px;
    line-height: 1.7
}

.journal-meta > span:last-child {
    color: #a29a8d
}

.journal-card h2 {
    font-size: 20px;
    line-height: 1.75;
    margin-bottom: 12px;
    letter-spacing: -.25px
}

.journal-card p {
    font-size: 13px;
    line-height: 2
}

.journal-read {
    display: inline-block;
    font-size: 11px;
    color: #8e7340;
    margin-top: 17px
}

.journal-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 45px 0 5px
}

.journal-pagination button {
    border: 1px solid #e7dfd2;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    background: white;
    font-size: 13px
}

.journal-pagination [aria-current] {
    background: #171717;
    color: white;
    border-color: #171717
}

.journal-empty {
    text-align: center;
    padding: 55px 20px
}

.journal-empty h2 {
    font-size: 27px
}

.journal-empty p {
    font-size: 14px;
    margin: 15px 0 25px
}

.article-hero {
    padding-top: 25px;
    text-align: center
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 11px;
    align-items: center;
    font-size: 11px;
    color: #a49a89;
    margin-bottom: 35px
}

.breadcrumbs a:hover {
    color: #917038
}

.article-hero h1 {
    font-size: 43px;
    line-height: 1.65;
    max-width: 860px;
    margin: 20px auto 17px;
    letter-spacing: -1px
}

.article-hero > p {
    max-width: 710px;
    font-size: 15px;
    line-height: 2;
    margin-inline: auto
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 13px;
    align-items: center;
    font-size: 11px;
    color: #a09684;
    margin: 22px 0 34px
}

.article-cover {
    height: 425px;
    overflow: hidden;
    border-radius: 24px;
    background: #f2f0ec
}

.article-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%
}

.article-layout {
    display: grid;
    grid-template-columns:minmax(0, 1fr) 230px;
    gap: 80px;
    align-items: start;
    margin-top: 55px
}

.article-content {
    min-width: 0
}

.article-content p {
    font-size: 16px;
    line-height: 2.25;
    color: #625e56;
    margin-bottom: 21px
}

.article-intro {
    font-size: 18px !important;
    line-height: 2.15 !important;
    color: #3e3b35 !important;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
    margin-bottom: 35px !important
}

.article-content section {
    scroll-margin-top: 35px;
    margin-bottom: 35px
}

.article-content h2 {
    font-size: 26px;
    line-height: 1.8;
    margin-bottom: 15px;
    letter-spacing: -.4px
}

.article-content ul {
    padding-right: 23px;
    margin: 15px 0 25px
}

.article-content li {
    font-size: 15px;
    line-height: 2.2;
    color: #6f685c;
    padding-right: 5px;
    margin-bottom: 5px
}

.article-content blockquote {
    border-right: 3px solid #ba9955;
    background: #faf6ec;
    border-radius: 12px 0 0 12px;
    margin: 25px 0;
    padding: 24px 26px;
    font-size: 17px;
    line-height: 2.1;
    color: #77613a
}

.article-note {
    background: #f7f2e6;
    border-radius: 17px;
    padding: 24px 26px;
    margin: 25px 0
}

.article-note > b {
    font-size: 16px
}

.article-note p {
    font-size: 14px;
    line-height: 2.1;
    margin: 10px 0 0
}

.article-sidebar {
    position: sticky;
    top: 30px
}

.article-toc {
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 23px 22px
}

.article-toc > span {
    font-size: 12px;
    color: #aa8c50;
    display: block;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px
}

.article-toc nav {
    display: flex;
    flex-direction: column;
    gap: 0
}

.article-toc a {
    font-size: 12px;
    line-height: 2;
    padding: 9px 0;
    color: #8c8374
}

.article-toc a.current {
    color: #181818;
    font-weight: 700
}

.article-side-note {
    margin-top: 22px;
    padding: 23px;
    background: #f7f2e7;
    border-radius: 17px
}

.article-side-note > span {
    font-size: 13px
}

.article-side-note p {
    font-size: 13px;
    line-height: 2;
    margin: 12px 0
}

.article-side-note a {
    font-size: 11px;
    color: #96763d
}

.article-end {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    border-top: 1px solid var(--line);
    padding: 24px 0;
    margin-top: 35px;
    font-size: 12px
}

.article-end > span:first-child {
    width: 100%;
    color: #9e937f;
    font-size: 11px
}

.article-end a, .copy-article {
    background: none;
    border: 0;
    color: #89703e;
    padding: 0;
    font-size: 12px
}

.article-end #copy-status {
    font-size: 11px;
    color: #9b8c72
}

.related-journal {
    padding-top: 65px
}

.related-journal .section-heading > h2 {
    font-size: 29px
}

.related-journal .section-heading > a {
    margin: 0
}

@media (max-width: 1100px) {
    .site-nav {
        gap: 16px;
        font-size: 11px
    }

    .featured-journal {
        gap: 35px
    }

    .featured-copy h2 {
        font-size: 28px
    }

    .journal-image {
        height: 205px
    }

    .journal-card h2 {
        font-size: 19px
    }

    .article-layout {
        gap: 45px;
        grid-template-columns:minmax(0, 1fr) 215px
    }

    .article-hero h1 {
        font-size: 39px
    }
}

@media (max-width: 900px) {
    .site-nav {
        gap: 13px;
        font-size: 10px
    }

    .header {
        gap: 20px
    }

    .brand > b {
        font-size: 20px
    }

    .header > .button {
        font-size: 9px;
        padding-inline: 12px
    }

    .article-layout {
        grid-template-columns:minmax(0, 1fr) 190px;
        gap: 32px
    }

    .article-toc {
        padding: 20px 17px
    }

    .article-cover {
        height: 365px
    }

    .featured-image {
        height: 300px
    }

    .journal-search {
        width: 220px
    }

    .journal-categories button {
        padding-inline: 11px;
        font-size: 11px
    }

    .journal-grid {
        gap: 35px 20px
    }
}

@media (max-width: 760px) {
    .site-nav {
        font-size: 14px
    }

    .header {
        gap: 14px
    }

    .site-nav a {
        font-size: 14px
    }

    .featured-journal {
        gap: 27px
    }

    .featured-copy h2 {
        font-size: 24px
    }

    .featured-copy > p {
        font-size: 13px
    }

    .featured-image {
        height: 295px
    }

    .journal-hero {
        padding-top: 35px;
        padding-bottom: 40px
    }

    .journal-hero h1 {
        font-size: 44px
    }

    .archive-tools {
        flex-direction: column;
        align-items: stretch;
        gap: 17px
    }

    .journal-categories {
        gap: 9px
    }

    .journal-categories button {
        font-size: 12px;
        padding: 9px 15px
    }

    .journal-search {
        width: 100%
    }

    .journal-search input {
        font-size: 14px
    }

    .journal-search button {
        height: 42px
    }

    .journal-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 35px 22px
    }

    .journal-image {
        height: 225px
    }

    .journal-card h2 {
        font-size: 20px
    }

    .journal-card p {
        font-size: 14px
    }

    .article-hero h1 {
        font-size: 35px
    }

    .article-hero > p {
        font-size: 14px
    }

    .article-cover {
        height: 330px
    }

    .article-layout {
        grid-template-columns:1fr;
        gap: 28px;
        margin-top: 35px
    }

    .article-sidebar {
        position: static;
        grid-row: 1
    }

    .article-side-note {
        display: none
    }

    .article-toc {
        padding: 22px
    }

    .article-toc nav {
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: 0 25px
    }

    .article-toc a {
        font-size: 13px
    }

    .article-content p {
        font-size: 16px
    }

    .article-content h2 {
        font-size: 25px
    }

    .related-journal {
        padding-top: 45px
    }
}

@media (max-width: 480px) {
    .journal-hero {
        padding-top: 28px;
        padding-bottom: 35px
    }

    .journal-hero h1 {
        font-size: 34px
    }

    .journal-hero > p {
        font-size: 14px;
        line-height: 2
    }

    .journal-hero > p br {
        display: none
    }

    .featured-journal {
        grid-template-columns:1fr;
        gap: 25px
    }

    .featured-image {
        height: 270px;
        border-radius: 20px
    }

    .featured-copy h2 {
        font-size: 27px;
        line-height: 1.75;
        margin: 14px 0
    }

    .featured-copy > p {
        font-size: 14px
    }

    .featured-copy .text-link {
        font-size: 12px;
        margin-top: 19px
    }

    .journal-archive {
        padding-top: 38px
    }

    .journal-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        gap: 5px
    }

    .journal-categories button {
        font-size: 11px;
        padding: 9px 12px;
        flex-shrink: 0
    }

    .archive-tools {
        padding-bottom: 19px
    }

    .archive-count {
        min-height: 50px;
        font-size: 12px
    }

    .journal-grid {
        grid-template-columns:1fr;
        gap: 33px
    }

    .journal-image {
        height: 270px;
        border-radius: 20px
    }

    .journal-meta {
        font-size: 12px;
        margin: 17px 0 11px
    }

    .journal-card h2 {
        font-size: 24px;
        line-height: 1.75
    }

    .journal-card p {
        font-size: 15px;
        line-height: 2
    }

    .journal-read {
        font-size: 12px
    }

    .journal-pagination {
        padding-top: 35px
    }

    .article-hero {
        padding-top: 18px
    }

    .breadcrumbs {
        font-size: 10px;
        gap: 9px;
        margin-bottom: 26px
    }

    .article-hero h1 {
        font-size: 30px;
        line-height: 1.8;
        margin: 18px 0 15px
    }

    .article-hero > p {
        font-size: 14px;
        line-height: 2.1
    }

    .article-meta {
        font-size: 11px;
        gap: 10px;
        margin: 20px 0 26px
    }

    .article-cover {
        height: 280px;
        border-radius: 20px
    }

    .article-layout {
        margin-top: 28px;
        gap: 28px
    }

    .article-toc {
        padding: 20px
    }

    .article-toc > span {
        font-size: 13px
    }

    .article-toc nav {
        display: flex
    }

    .article-toc a {
        font-size: 14px;
        padding: 7px 0
    }

    .article-content p {
        font-size: 16px;
        line-height: 2.3
    }

    .article-intro {
        font-size: 17px !important;
        line-height: 2.2 !important
    }

    .article-content h2 {
        font-size: 25px;
        line-height: 1.9
    }

    .article-content blockquote {
        padding: 22px;
        font-size: 17px
    }

    .article-content li {
        font-size: 15px
    }

    .article-note {
        padding: 22px
    }

    .article-note p {
        font-size: 15px
    }

    .article-end {
        gap: 17px;
        font-size: 13px
    }

    .article-end a, .copy-article {
        font-size: 13px
    }

    .related-journal .section-heading {
        display: flex;
        gap: 15px;
        align-items: center
    }

    .related-journal .section-heading h2 {
        font-size: 25px
    }

    .related-journal .section-heading > a {
        font-size: 10px;
        white-space: nowrap
    }
}

@media (max-width: 480px) {
    .header {
        gap: 9px
    }

    .header .brand > b {
        font-size: 19px
    }

    .header > .button {
        font-size: 9px;
        padding: 9px 12px
    }

    .header .menu-toggle {
        width: 35px;
        height: 35px
    }
}

@media (max-width: 359px) {
    .header {
        gap: 7px
    }

    .header .brand > b {
        font-size: 17px
    }

    .header > .button {
        font-size: 8px;
        padding-inline: 10px
    }

    .journal-categories {
        max-width: 100%
    }
}

/* Version 9: place the three showcase captions directly on their photos. */
.showcase-card {
    position: relative;
    display: block;
    height: 420px;
    isolation: isolate;
    background: #242424
}

.showcase-card > img, .showcase-card:nth-child(2) > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    z-index: 0
}

.showcase-caption {
    position: absolute;
    inset: 0;
    height: auto;
    padding: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, transparent 40%, rgba(0, 0, 0, .08) 58%, rgba(0, 0, 0, .74) 100%)
}

.showcase-caption h3 {
    position: absolute;
    bottom: 26px;
    right: 24px;
    left: 20px;
    color: #fff;
    font-size: 24px;
    line-height: 1.65;
    text-shadow: 0 1px 7px #0003
}

.showcase-caption > span {
    top: 21px;
    right: 23px;
    background: #161616e8;
    color: #fff
}

.showcase-card:nth-child(2) > img {
    object-position: center top
}

@media (max-width: 1000px) {
    .showcase-card {
        height: 365px
    }

    .showcase-caption h3 {
        font-size: 22px;
        bottom: 23px;
        right: 21px
    }
}

@media (max-width: 760px) {
    .showcase-card {
        height: 330px
    }

    .showcase-caption h3 {
        font-size: 20px;
        bottom: 22px;
        right: 19px
    }
}

@media (max-width: 480px) {
    .showcase-card {
        height: 415px
    }

    .showcase-caption h3 {
        font-size: 25px;
        bottom: 27px;
        right: 24px
    }

    .showcase-caption > span {
        top: 21px;
        right: 23px
    }
}

@media (max-width: 359px) {
    .showcase-card {
        height: 380px
    }

    .showcase-caption h3 {
        font-size: 23px
    }
}

/* All sections, nested labels, navigation, cards and form controls share local fonts. */
:root {
    --font-body: 'vazir', Tahoma, sans-serif;
    --font-heading: 'abar', 'vazir', Tahoma, sans-serif;
    --bs-body-font-family: var(--font-body);
    --bs-font-sans-serif: var(--font-body);
    --bs-font-monospace: var(--font-body)
}

html, body {
    font-family: var(--font-body)
}

*, *::before, *::after {
    font-family: inherit
}

body :is(p,a,span,small,strong,b,em,label,li,dt,dd,blockquote,figcaption,summary,button,input,select,textarea,option,table,th,td,legend,code,pre,kbd,samp) {
    font-family: inherit
}

button, input, select, textarea {
    font-family: var(--font-body)
}

h1, h2, h3, h4, h5, h6, .brand > b {
    font-family: var(--font-heading);
    font-weight: 700
}

:is(h1,h2,h3,h4,h5,h6,.brand>b) * {
    font-family: inherit
}

.brand small {
    font-family: var(--font-body)
}

::placeholder, ::file-selector-button {
    font-family: var(--font-body)
}
/* ساختار فهرست هدر */
.header #site-nav {
    display: flex;
    align-items: center;
    margin-inline: auto;
    gap: 20px;
    order: 1;
    font-family: inherit;
}

.header #site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header #site-nav li {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header #site-nav li::marker {
    content: "";
}

.header #site-nav > ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.header #site-nav a {
    display: block;
    padding: 12px 0;
    color: var(--ink, #141414);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.header #site-nav a:hover,
.header #site-nav .current-menu-item > a,
.header #site-nav .current-menu-ancestor > a {
    color: var(--gold, #b79552);
}

/* زیرمنو */
.header #site-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 100;

    min-width: 190px;
    padding: 8px;
    background: #fff;
    border: 1px solid #eae7e0;
    border-radius: 12px;
    box-shadow: 0 12px 30px #00000012;
}

.header #site-nav .sub-menu a {
    padding: 9px 12px;
    white-space: normal;
}

.header #site-nav .sub-menu .sub-menu {
    top: 0;
    inset-inline-start: 100%;
}

.header #site-nav li:hover > .sub-menu,
.header #site-nav li:focus-within > .sub-menu {
    display: block;
}

/* موبایل */
@media (max-width: 760px) {
    .header #site-nav {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 16px;
        z-index: 100;

        margin: 0;
        padding: 10px;
        max-height: 70vh;
        overflow-y: auto;

        background: #fff;
        border: 1px solid #eae7e0;
        border-radius: 15px;
        box-shadow: 0 12px 35px #00000012;
    }

    .header #site-nav.open {
        display: block;
    }

    .header #site-nav > ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .header #site-nav a {
        padding: 12px 16px;
        font-size: 15px;
        text-align: right;
    }

    .header #site-nav .sub-menu,
    .header #site-nav .sub-menu .sub-menu {
        display: block;
        position: static;
        min-width: 0;
        margin-inline-start: 16px;
        padding: 0;
        border: 0;
        border-inline-start: 1px solid #eae7e0;
        border-radius: 0;
        box-shadow: none;
    }

    .header #site-nav .sub-menu a {
        font-size: 14px;
    }
}.footer .footer-brand-logo {
     display: block;
     width: auto;
     height: 42px;
     max-width: 150px;
     object-fit: contain;
 }

.footer .footer-nav {
    min-width: 0;
}

.footer .footer-menu,
.footer .footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .footer-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 22px;
}

.footer .footer-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .footer-menu li::marker {
    content: "";
}

.footer .footer-menu a {
    display: block;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
}

.footer .footer-menu a:hover,
.footer .footer-menu .current-menu-item > a {
    color: var(--gold, #b79552);
}

.footer .footer-menu .sub-menu {
    margin-top: 8px;
    padding-inline-start: 12px;
    border-inline-start: 1px solid var(--line, #eae7e0);
}

.footer .footer-menu .sub-menu li + li {
    margin-top: 6px;
}

.footer .footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

@media (max-width: 760px) {
    .footer .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .footer .footer-nav {
        width: 100%;
    }

    .footer .footer-menu {
        gap: 12px 20px;
    }

    .footer .footer-menu a {
        font-size: 14px;
        line-height: 1.9;
    }

    .footer .footer-brand-logo {
        height: 36px;
        max-width: 125px;
    }

    .footer .footer-bottom {
        text-align: center;
    }
}