/* public/css/dao-landing.css */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@400;500;600;700&family=Noto+Serif:wght@400;500;700&display=swap');

@font-face {
    font-family: 'Ma Shan Zheng';
    src: url('/fonts/MaShanZheng/MaShanZheng-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body{
    position: relative;
}
body::before{
    /*content:'';*/
    /*position:absolute;*/
    /*top:35px;*/
    /*left:50%;*/
    /*transform:translateX(-50%);*/
    /*width:100%;*/
    /*!*background:url('/images/home.png') top center no-repeat;*!*/
    /*background-size:100% auto;*/
    /*opacity:.45;*/
    /*pointer-events:none;*/
    /*z-index:999999;*/
}
:root{
    --bg:#f6ead7;
    --bg-soft:#f8efe2;
    --gold:#b68b4a;
    --gold-light:#d7bc87;
    --brown:#6d3f1f;
    --red:#7f1d12;
    --dark:#111827;
    --dark-2:#162233;
    --border:#d8b98d;
    --text:#3b2a1d;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:'Noto Serif', serif;
}

a{
    text-decoration:none;
}
.burger-btn {
    display: none;
}
.container{
    width: 83%;
    margin:0 auto;
}

.dao-landing{
    overflow:hidden;
    background:
        url('/images/dao/paper-texture.png');
}

/* HERO */

.hero-section{
    position:relative;
    padding-bottom:7px;
    background: url('/images/dao/bg-mountains.png');
    background-size:cover;
    background-position:top center;
}
.hero-section::before,
.hero-section::after {
    width:70px;
    height:70px;
}
.hero-section::before{
    content:'';
    position:absolute;
    top:0;left:0;
    background:url('/images/dao/borders/corner-left.png') no-repeat;
    background-size:contain;
    z-index:2;
    pointer-events:none;
}

/* Правый верхний угол */

.hero-section::after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    background:url('/images/dao/borders/corner-right.png') no-repeat;
    background-size:contain;
    z-index:2;
    pointer-events:none;
}

/* TOPBAR */

.topbar{
    position:relative;
    z-index:10;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:40px;
    padding: 16px 0;
    width: 93%;
}
.logo-block{
    width: min-content;
    padding-left: 5px;
}
.logo-block .sword_logo {
    display: inline-block;
    width: 25%;
    float: left;
    margin-right: 10px;
}
.logo-cn{
    width: 60%;
    display: inline-block;
}
.logo-cn img{
    margin-top: 10%;
}
.logo-sub{
    margin-top:12px;
    font-size:11px;
    letter-spacing:.18em;
    color: #9c6a2a;
    white-space:nowrap;
    padding: 0 10px;
    clear: left;
    text-align: center;
}
.logo_lotus {
    margin:auto;
    width: 45%;
}
.hero-logo-image img {
    margin:auto;
}
.cource_logo {
    width: 55%;
}
.logo {
    width: 60%;
}
.main-nav .main-links{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:54px;
    text-transform:uppercase;
}

.main-nav a{
    color:#1f140d;
    font-size:16px;
    line-height:1.35;
    white-space:nowrap;
    transition:.2s;
}

.main-nav a:hover{
    color:var(--red);
}

.topbar-actions{
    flex:0 0 auto;

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:28px;
}

.topbar-actions .btn{
    font-size: 15px;
    line-height: 1;
    border-radius: 5px;
    white-space: nowrap;
}

.topbar-actions .btn-outline{
    background:rgba(255,248,236,.42);
    border:1px solid #c99b64;
    color:#6d3f1f;
}

.topbar-actions .btn-primary{
    background:linear-gradient(to bottom,#8e2519,#64140d);
    border:1px solid #5d120d;
    color:#fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 8px 18px rgba(73,20,12,.22);
}

/* HERO CENTER */

.hero-center{
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top: 15px;
    padding-bottom:16px;
}


.hero-text-block{
    position:relative;
    text-align:center;
    padding:25px;
    padding-top: 0;
    margin-top:-10px;
    padding-bottom: 0;
}
.hero-logo-image {
    position:relative;
    width: 480px;
    margin: auto;
}

.hero-title{
    font-family:'Cormorant SC', serif;
    font-size:32px;
    line-height:1;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:#9c6a2a;
    position: absolute;
    bottom: 30px;
    width: 100%;
}

.hero-subtitle{
    font-size:15px;
    letter-spacing:.04em;
    color:#2f2418;
    text-transform:uppercase;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.hero-actions{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-top:2px;
}

/* BUTTONS */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 6px 20px;
    border-radius:4px;
    transition:.25s;
    cursor:pointer;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    font-size: 90%;
}

.btn-primary{
    background:linear-gradient(to bottom,#8e2519,#64140d);
    color:#fff;
    border:1px solid #5d120d;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

.btn-outline{
    border:1px solid var(--border);
    color:var(--brown);
    background:rgba(255,255,255,.4);
}

.btn-outline:hover{
    background:#fff7eb;
}

.btn-light{
    background:#f4e7d2;
    border:1px solid var(--border);
    color:#6b4b29;
}

.btn-gold{
    background:linear-gradient(to bottom,#bb8a3c,#8f6425);
    color:white;
    padding: 6px 44px;
}

.btn.large{
    padding: 11px 34px;
}

.btn.huge{
    padding:18px 46px;
    font-size:20px;
}

.btn.full{
    width:100%;
    padding:14px;
}

/* ADVANTAGES */
.advantages-wrapper.container{
    width: 85%;
    position: relative;
    margin-top: 17px;;
    border: 36px solid transparent;
    border-image-source: url('/images/dao/borders/advantages-frame.png');
    border-image-slice: 70 fill;
    border-image-width: 42px;
    border-image-repeat: stretch;
    z-index: 3;
}

.advantages{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.advantage-item{
    position: relative;
    text-align: center;
    padding: 0 24px;
}

.advantage-item:not(:last-child)::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(182,139,74,.35);
}
.advantage-item:not(:last-child)::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(182,139,74,.35);
}
.adv-icon{
    color:var(--gold);
    width: 22%;
    margin: auto;
    /*margin-bottom:16px;*/
}

.adv-title{
    font-size:16px;
    margin-bottom:10px;
    font-family:'Cormorant SC', serif;
    font-weight:900;
}

.adv-text{
    line-height:1.7;
    font-size:14px;
}

/* SECTIONS */

.section-title{
    text-align:center;
    font-size:23px;
    margin-bottom: 14px;
    padding-top: 17px;
    font-family:'Cormorant SC', serif;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.section-title.gold{
    color:var(--gold-light);
}

/* PATH */

.path-section{
    background:
        url('/images/dao/dark-bg.png');
    background-size: 100%;
    color:#f5e9d2;
    padding-bottom: 22px;
    position: relative;
}

.path-section::before{
    content:'';
    position:absolute;
    inset:0;
    border:36px solid transparent;
    border-image-source:url('/images/dao/borders/gold-border.png');
    border-image-slice: 75 fill;
    border-image-width: 30px;
    border-image-repeat: stretch;
    pointer-events: none;
    opacity: 0.5;
}
.path-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:24px;
}

.path-item{
    text-align:center;
}

.path-circle{
    position: relative;

    width: 88px;
    height: 88px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin: 0 auto 5px;
    color:var(--gold-light);
}

.path-circle::before{
    content:'';
    position:absolute;
    inset:0;
    background:url('/images/dao/borders/golden-circle.png') center / contain no-repeat;
}

.path-circle::after{
    content:'';
    position:absolute;
    inset: 0px;
    background: radial-gradient(circle at 25% 30%, rgba(20, 10, 0, .22), #00000070 18%),
    radial-gradient(circle at 69% 45%, rgb(20 10 0 / 76%), transparent 16%),
    radial-gradient(circle at 42% 79%, rgba(20, 10, 0, .16), transparent 20%),
    linear-gradient(120deg, transparent, rgb(0 0 0 / 60%), transparent);

    opacity:.35;
    mix-blend-mode:multiply;
    border-radius:50%;
    pointer-events:none;
}

.path-circle > *{
    position:relative;
    z-index:2;
}

.path-item:nth-child(1) .path-circle::before{
    transform:rotate(10deg);
}

.path-item:nth-child(2) .path-circle::before{
    transform:rotate(38deg);
    filter:saturate(.9) brightness(.95);
}

.path-item:nth-child(3) .path-circle::before{
    transform:rotate(91deg);
    filter:saturate(.85) brightness(.9);
}

.path-item:nth-child(4) .path-circle::before{
    transform:rotate(147deg);
    filter:saturate(.8) brightness(.88);
}

.path-item:nth-child(5) .path-circle::before{
    transform:rotate(224deg);
    filter:saturate(.75) brightness(.84);
}

.path-item:nth-child(2) .path-circle::after{
    transform:rotate(40deg);
    opacity:.42;
}

.path-item:nth-child(3) .path-circle::after{
    transform:rotate(95deg);
    opacity:.5;
}

.path-item:nth-child(4) .path-circle::after{
    transform:rotate(160deg);
    opacity:.58;
}

.path-item:nth-child(5) .path-circle::after{
    transform:rotate(250deg);
    opacity:.65;
}

.path-circle img.golden_icon{
    height: 60%;
    margin: auto;
}

.path-name{
    font-size: 17px;
    font-family: 'Cormorant SC', serif;
    margin: auto;
    width: 74%;
    line-height: 21px;
}

.path-desc{
    font-size: 12px;
    line-height: 1.6;
    opacity: .88;
    margin:auto;
    margin-top: 8px;
    width: 90%;
}

.center-btn{
    text-align:center;
    margin-top:12px;
}

/* TEACHER */

.teacher-section{
    padding:20px 0;
    background:
        linear-gradient(rgb(255 255 255 / 11%), rgb(255 255 255 / 2%)),
        url(/images/dao/teacher_bg.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left top;
    position: relative;
}
.teacher-section::before{
    content:'';
    position:absolute;
    inset:0;
    border:36px solid transparent;
    border-image-source:url('/images/dao/borders/gold-border.png');
    border-image-slice: 75 fill;
    border-image-width: 30px;
    border-image-repeat: stretch;
    pointer-events: none;
}

.teacher-grid{
    width: 87%;
    display:grid;
    grid-template-columns:1.4fr 1.5fr .7fr;
    gap:0;
    align-items:center;
}

.teacher-image{
    min-height:100px;
    border-radius:8px;
}
.teacher-content .section-title {
    text-align: left;
}
.teacher-content p{
    line-height: 21px;
    margin-bottom: 18px;
    font-size: 13px;
}

.teacher-stats{
    display:flex;
    align-items:center;
    gap:15px;
    margin: 24px 0 24px;
}
.teacher-stat{
    display:flex;
    align-items:center;
    gap:16px;
}

.teacher-stat-icon{
    width:30px;
    height:30px;
    flex-shrink:0;
}

.teacher-stat-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:50%;
}

.teacher-stat-text{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.teacher-stat-title{
    font-size:12px;
    line-height:1.2;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:#b88b4b;
    font-family:'Cormorant SC', serif;
    font-weight:700;
}
.teacher-stat-subtitle{
    font-size:14px;
    line-height:1.2;
    color:#4b3421;
    font-family:'Cormorant SC', serif;
    font-weight:600;
}


.teacher-calligraphy img{
    height: 100%;
}

/* CLUB */

.club-section{
    position:relative;
    color:#f2e6d2;
    padding:17px 0;
    background:
        url(/images/dao/dark_flowers_bg_2.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left bottom;
}
.club-section::before{
    content:'';
    position:absolute;
    inset:0;
    border:36px solid transparent;
    border-image-source:url('/images/dao/borders/gold-border.png');
    border-image-slice:70 fill;
    border-image-width:42px;
    border-image-repeat:stretch;
    pointer-events:none;
    z-index:2;
}
.club-grid{
    display:grid;
    grid-template-columns: 305px 1fr;
}

.club-left h2{
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Cormorant SC', serif;
    text-transform: uppercase;
}

.club-left p{
    line-height:1.9;
    margin-bottom:32px;
    font-size: 10px;
}

.club-right{
    position: relative;
    display:grid;
    grid-template-columns:repeat(5,1fr);
}
.club-right::before{
    content:'';
    position:absolute;
    inset:0;

    border:18px solid transparent;
    border-image-source:url('/images/dao/borders/tiny_border.png');
    border-image-slice:36;
    border-image-width:18px;
    border-image-repeat:stretch;

    pointer-events:none;
    z-index:2;
}


.club-feature{
    padding:25px 20px;
    border-right:1px solid rgba(215,188,135,.18);
}

.club-feature:last-child{
    border-right:none;
}

.club-icon{
    height: 37px;
    margin-bottom:20px;
}

.club-icon img{
    height: 100%;
    margin: auto;
}

.club-title{
    font-size: 13px;
    margin-bottom: 8px;
    font-family: 'Cormorant SC', serif;
    text-transform: uppercase;
    text-align: center;
}

.club-desc{
    font-size: 10px;
    line-height:1.7;
    text-align: center;
}

/* PRICING */
.pricing-section {
    position:relative;
}
.pricing-section::before{
    content:'';
    position:absolute;
    inset:0;
    border:36px solid transparent;
    border-image-source:url('/images/dao/borders/gold-border.png');
    border-image-slice: 75 fill;
    border-image-width: 30px;
    border-image-repeat: stretch;
    pointer-events: none;
}
.pricing-section .logo_lotus {
    padding-top: 6px;
    height: 20px;
    width: auto;
}
.pricing-section .section-title {
    padding-top: 0;
    color: #a47438;
    margin-bottom: 8px;
}
.pricing-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.price-card{
    position: relative;
    border: 2px double #dbc9ae;
    background: #fcedd5;
    text-align: center;
    padding: 32px 28px;
    padding-top: 11px;
    border-bottom-style: double;
    overflow: hidden;
}

.price-card::before{
    content:'';
    position:absolute;
    inset:0;
    border:36px solid transparent;
    border-image-source:url('/images/dao/borders/gold-border.png');
    border-image-slice: 75 fill;
    border-image-width: 23px;
    border-image-repeat: stretch;
    pointer-events: none;
}
.price-icon{
    margin-bottom:10px;
}
.around-icon img {
    margin: auto;
    width: 50px;
    border-radius: 50%;
}
.price-title{
    font-size: 16px;
    /*margin-bottom: 8px;*/
    font-family: 'Cormorant SC', serif;
    text-transform: uppercase;
    font-weight: 900;
}

.price-subtitle{
    font-size: 10px;
    /*margin-bottom:20px;*/
}

.price-value{
    font-size:34px;
    color:#8b2a1f;
    margin-bottom:3px;
    font-family: 'Cormorant Garamond', serif;
    line-height: 34px;
}

.price-region{
    margin-bottom:15px;
    font-size:9px;
}

.pricing-note{
    text-align:center;
    margin-top:24px;
    opacity:.75;
}

/* CTA */

.bottom-cta{
    padding:36px 0;
    text-align:center;
    background:
        url('/images/dao/footer_bg.png');
    background-size: 100%;
    background-position: left bottom;
    background-position-y: 285px;
}

.bottom-quote{
    font-size:20px;
    line-height:1.4;
    font-family:'Cormorant SC', serif;
    margin-bottom:17px;
    text-transform: uppercase;
}
.bottom-cta .btn.huge{
    padding: 11px 39px;
    font-size: 18px;
}
.bottom-text{
    margin-top:12px;
    opacity:.8;
    font-size: 67%;
}
.dao-footer{
    position:relative;
    padding: 10px 0 10px;
    background:
        linear-gradient(rgba(8,14,22,.94), rgba(8,14,22,.97));
    overflow:hidden;
    color:#efe2cb;
}

.dao-footer::before{
    content:'';

    position:absolute;
    inset:0;

    background:
        radial-gradient(
            circle at top left,
            rgba(182,139,74,.10),
            transparent 30%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(182,139,74,.06),
            transparent 30%
        );

    pointer-events:none;
}

.footer-inner{
    position:relative;
    z-index:2;
    text-align:center;
    max-width:900px;
}

.footer-title{
    font-size:12px;
    line-height:1.8;

    color:#f2e5cf;
}

.footer-inline-logo{
    font-family: 'Ma Shan Zheng', 'Cormorant SC', serif;
    color:#c8954d;
    margin:0 4px;
}

.footer-divider{
    width:180px;
    height:1px;
    margin: 5px auto 5px;
    background:
        linear-gradient(
            to right,
            transparent,
            rgba(200,149,77,.75),
            transparent
        );
}

.footer-description{
    font-size:10px;
    line-height:2;
    color:rgba(239,226,203,.62);
}

/* RESPONSIVE */

@media (max-width: 1600px){

    .main-nav .main-links{
        gap:34px;
    }

    .topbar-actions{
        gap:20px;
    }
}

@media (max-width: 1300px){

    .container{
        width:min(1180px, calc(100% - 48px));
    }

    .topbar{
        gap:24px;
    }

    .main-nav .main-links{
        gap:24px;
    }
}

@media (max-width: 1200px){
    .main-nav a {
        font-size: 13px;
    }
    .club-section::before {
        border-image-width: 25px;
    }
}

@media (max-width: 1100px){

    .topbar{
        flex-wrap:wrap;
    }

    .main-nav .main-links{
        flex:0 0 100%;
        justify-content:center;
        gap:20px;
    }

    .topbar-actions{
        margin-left:auto;
    }
    .advantages-wrapper.container{
        width: 95%;
    }
    .club-grid {
        grid-template-columns: 248px 1fr;
    }
    .pricing-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .topbar-actions .btn {
        font-size: 10px;
    }
}

@media (max-width: 1000px) {
    .main-nav .main-links{
        gap: 14px;
    }
    .main-nav a {
        font-size: 10px;
    }
    .adv-text {
        line-height: 1.2;
        font-size: 10px;
    }
    .path-circle {
        width: 50px;
        height: 50px;
    }
    .path-name {
        font-size: 15px;
        line-height: 14px;
    }
    .path-desc {
        font-size: 10px;
        line-height: 1.2;
        width: 100%;
    }
    .btn {
        font-size: 80%;
    }
    .club-icon {
        height: 30px;
        margin-bottom: 10px;
    }
    .club-title {
        font-size: 11px;
        line-height: 1.2;
    }
    .club-desc {
        font-size: 10px;
        line-height: 1.2;
    }
}
@media (max-width: 900px){
    .container{
        width:calc(100% - 32px);
    }
    .topbar{
        padding:24px 0;
    }
    .topbar-actions .btn-outline{
        display:none;
    }
    .hero-title{
        font-size:35px;
        margin-top:270px;
    }
    .hero-subtitle{
        font-size:13px;
    }
    .advantages,
    .path-grid,
    .pricing-grid,
    .club-right{
        grid-template-columns:1fr 1fr;
    }
    .advantage-item{
        border-right:none;
        border-bottom:1px solid rgba(182,139,74,.25);
    }
    .advantage-item:last-child{
        border-bottom:none;
    }
    .club-grid {
        grid-template-columns: 1fr;
    }
    .club-section {
        background-size: cover;
    }
    .club-left {
        margin: auto;
        margin-bottom: 10px;
        text-align: center;
    }
    .path-section {
        background-size: cover;
    }
    .adv-icon {
        width: 17%;
    }
    .advantage-item:last-child:nth-child(odd),
    .club-feature:last-child:nth-child(odd){
        grid-column:1 / -1;
        max-width:50%;
        width:100%;
        justify-self:center;
    }
    .teacher-section {
        background-position-x: -233px;
    }
    .teacher-grid {
        grid-template-columns: 1fr 1.5fr .7fr;
    }
}

@media (max-width: 780px) {
    .teacher-section {
        background-position-x: -270px;
    }
    .topbar{
        grid-template-columns: auto auto;
        justify-content: space-between;
        gap: 16px;
    }
    .burger-btn{
        display:flex;
        flex-direction:column;
        gap:6px;
        width:46px;
        height:46px;
        align-items:center;
        justify-content:center;
        border:1px solid var(--border);
        background:rgba(255,248,236,.7);
        border-radius:6px;
        z-index: 100;
    }

    .burger-btn.is-open{
        position: fixed;
        top: calc(4% + 26px);
        right: 34px;
        z-index: 100;
    }
    .burger-btn span{
        width:24px;
        height:2px;
        background:#6d3f1f;
    }
    .topbar .main-nav {
        display: none;
    }
    .topbar-actions .btn-primary {
        display: none;
    }

    .main-nav.is-open::before{

    }
    .topbar .main-nav.is-open {
        display: block;
    }
    .main-nav.is-open .main-links {
        z-index: 50;
    }
    .main-nav.is-open .main-links{
        z-index: 50;
        position: fixed;
        background:
            url('/images/dao/paper_list_1.png');
        background-size: 100% 100%;
        background-position: center;
        width: min(360px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        min-width: 0;
        top: 4%;
        right: 10px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 24px;
        padding-top: 90px;
        border: 15px;
    }

    .main-nav.is-open .main-links:before{
        position: absolute;
        top: 1%;
        content: '';
        width: 98%;
        display: block;
        height: 98%;
        border-image-source: url(/images/dao/borders/gold-border.png);
        border-image-slice: 61 fill;
        border-image-width: 41px;
        border-image-repeat: stretch;
    }
    .main-nav.is-open::before {
        position: fixed;
        content: '';
        width: 150vw;
        height: 150vh;
        background: rgba(38, 39, 41, 0.58);
        z-index: 4;
        right: -3%;
        top: -5%;
    }

    .main-nav.is-open a {
        z-index: 5;
    }
    .main-nav.is-open a:hover{
        background: #cfa9672e;
        color: #a26d34;
        font-size: 101%;
    }
    .main-nav.is-open a{
        color: #2f2418;
        font-size: 18px;
        text-transform: uppercase;
        width: 100%;
        text-align: center;
        font-size: 100%;
        padding: 10px;
        border-image-source:url('/images/dao/borders/tiny_border.png');
        border-image-slice:36;
        border-image-width:8px;
    }
    .main-nav.is-open a:last-child{
        border-bottom:none;
    }

    .burger-btn.is-open span:nth-child(1){
        transform:rotate(45deg);
        position: absolute;
    }

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

    .burger-btn.is-open span:nth-child(3){
        transform:rotate(-45deg);
        position: absolute;
    }
}
@media (max-width: 640px){

    .teacher-section {
        background-position-x: -310px;
    }
    .hero-title{
        font-size:34px;
        margin:220px 0 10px;
    }

    .hero-subtitle{
        font-size:16px;
        line-height:1.5;
    }

    .hero-actions{
        width:100%;
        flex-direction:column;
    }

    .btn.large{
        width:100%;
    }

    .section-title{
        font-size:36px;
    }
    .bottom-cta {
        background-size: 108%;
        background-position-y: 249px;
        background-position-x: -31px;
    }
}

@media (max-width: 500px) {
    .sword_logo {
        width: 95vw;
    }
    .hero-subtitle {
        font-size: 2.6vw;
    }
    .bottom-cta {
        padding: 17px 0;
        background-size: 147%;
        background-position-y: 231px;
        background-position-x: -106px;
    }
    .teacher-section {
        min-height: auto;
        background-position: -508px bottom;
        background-size: auto 100%;
    }

    .teacher-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
            rgb(244 230 203 / 10%) 0%,
            rgb(244 230 203 / 46%) 38%,
            rgb(244 230 203 / 10%) 100%);
        z-index: 0;
    }

    .teacher-content {
        position: relative;
        z-index: 1;
        max-width: none;
        margin-left: 0;
        padding-left: 96px;
    }

    .teacher-title {
        font-size: 28px;
        line-height: 1.15;
        letter-spacing: 0.16em;
        margin-bottom: 20px;
    }

    .teacher-text {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .teacher-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 26px;
    }

    .teacher-stat {
        display: grid;
        grid-template-columns: 36px 1fr;
        gap: 12px;
        align-items: center;
    }

    .teacher-stat-icon {
        width: 36px;
        height: 36px;
    }

    .teacher-stat-title {
        font-size: 13px;
        line-height: 1.15;
    }

    .teacher-stat-text {
        font-size: 15px;
    }

    .teacher-paper {
        display: none;
    }

    .teacher-button {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
        font-size: 13px;
    }
    .teacher-calligraphy {
        display: none;
    }
    .teacher-grid {
        grid-template-columns: 1fr 1.8fr;
    }
}
@media (orientation: portrait){
    header.topbar {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 5px 10px;
        background: #fef1e0;
        box-shadow: 5px 5px 10px;
    }
    .dao-landing {
        overflow: hidden;
        background: url(/images/dao/paper-texture.png);
        position: relative;
        top: 86px;
    }
    .main-nav.is-open .main-links{
        height: 90vh;
        padding-top: 0;
        max-height: 600px;
        width: min(360px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        min-width: 0;
    }
    .dao-footer {
        margin-top: 83px;
    }
}
@media (max-width: 480px){

    .main-nav.is-open .main-links{
        height: 90vh;
        padding-top: 0;
        max-height: 600px;
        width: min(360px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        min-width: 0;
    }
}
@media (max-width: 400px){

    .main-nav.is-open .main-links{
        height: 90vh;
        padding-top: 0;
        max-height: 500px;
        width: min(360px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        min-width: 0;
    }
}
