:root {
    --cream: #f8f2e8;
    --cream-2: #fffaf3;
    --paper: #fffdf8;
    --green: #4b5f37;
    --green-dark: #303d24;
    --sage: #84906e;
    --gold: #c9a15b;
    --ink: #2d2f2a;
    --muted: #686b61;
    --line: rgba(75, 95, 55, .18);
    --shadow: 0 20px 50px rgba(62, 52, 34, .12);
    --radius: 8px;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream-2);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 243, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(45, 47, 42, .06);
}

.header-inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: 190px 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand img,
.footer-brand img {
    width: 150px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    color: #33372f;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta,
.btn-primary {
    color: #fffaf3;
    background: var(--green);
    box-shadow: 0 14px 30px rgba(75, 95, 55, .18);
}

.header-cta:hover,
.btn:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--green);
    color: var(--green-dark);
    background: rgba(255, 253, 248, .78);
}

.btn-light {
    color: #fffaf3;
    border-color: rgba(255, 250, 243, .5);
    background: rgba(255, 250, 243, .08);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--green);
}

.hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .88) 38%, rgba(255, 250, 243, .12) 68%),
        url("../images/home-hero-yoga-optimized.jpg") center right / cover no-repeat;
}

.hero-content {
    position: relative;
    padding: 74px 0 112px;
}

.hero-content > * {
    max-width: 530px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "✦";
    color: var(--gold);
    margin-right: 8px;
}

.eyebrow.light {
    color: rgba(255, 250, 243, .78);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.16;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
}

.hero h1 {
    font-size: clamp(56px, 7vw, 90px);
    margin-bottom: 26px;
}

.hero h1 em {
    display: block;
    color: var(--green);
    font-style: italic;
}

.hero p:not(.eyebrow) {
    color: #55584f;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.benefits {
    background: var(--paper);
    border-top: 1px solid rgba(255, 255, 255, .8);
    border-bottom: 1px solid var(--line);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 54px 0;
}

.benefit-card {
    text-align: center;
    padding: 0 36px;
    border-right: 1px solid rgba(201, 161, 91, .4);
}

.benefit-card:last-child {
    border-right: 0;
}

.benefit-card h2 {
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 800;
    margin: 14px 0 10px;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.line-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    color: var(--green);
    border: 2px solid rgba(75, 95, 55, .42);
    border-radius: 50%;
    position: relative;
}

.line-icon::before {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--green);
}

.line-icon.body::before { content: "\263D"; }
.line-icon.breath::before { content: "\25CC"; }
.line-icon.strength::before { content: "\2735"; }
.line-icon.lotus::before { content: "\273F"; }

.section {
    padding: 100px 0;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    align-items: center;
    gap: 78px;
}

.align-start {
    align-items: start;
}

.portrait-frame {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--cream);
    aspect-ratio: 1 / 1.05;
}

.portrait-frame.tall {
    aspect-ratio: 4 / 5;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-copy {
    position: relative;
}

.section-copy h2,
.section-heading h2,
.page-hero h1,
.detail-content h1,
.article-title h1 {
    font-size: clamp(34px, 4vw, 50px);
    margin-bottom: 24px;
}

.section-copy p {
    color: var(--muted);
    margin: 0 0 18px;
}

.leaf-mark::after {
    content: "";
    position: absolute;
    right: -68px;
    top: 20px;
    width: 190px;
    height: 260px;
    opacity: .18;
    border: 2px solid var(--sage);
    border-left: 0;
    border-radius: 0 120px 120px 0;
    pointer-events: none;
}

.section-heading {
    text-align: center;
    margin-bottom: 52px;
}

.section-heading h2 {
    margin-bottom: 18px;
}

.heading-divider {
    display: inline-block;
    width: 96px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card-grid {
    display: grid;
    gap: 22px;
}

.card-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.course-card,
.quote-card,
.blog-card,
.contact-form,
.contact-panel {
    background: rgba(255, 253, 248, .88);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 34px rgba(62, 52, 34, .07);
    overflow: hidden;
}

.course-image,
.blog-image {
    display: block;
    height: 185px;
    overflow: hidden;
    background: var(--cream);
}

.course-card.large .course-image,
.blog-image {
    height: 230px;
}

.course-image img,
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.course-card:hover img,
.blog-card:hover img {
    transform: scale(1.04);
}

.course-body,
.blog-card > div {
    position: relative;
    padding: 26px 24px 24px;
}

.course-badge {
    position: absolute;
    top: -24px;
    left: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    border: 5px solid var(--paper);
}

.course-badge::after {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(255, 250, 243, .75);
    border-radius: 50%;
}

.course-card h3,
.course-card h2,
.blog-card h2 {
    font-family: var(--sans);
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.course-card p,
.blog-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 18px;
}

.text-link {
    color: var(--green-dark);
    font-weight: 800;
    font-size: 14px;
}

.text-link::after {
    content: " ->";
}

.center-action {
    text-align: center;
    margin-top: 44px;
}

.program-strip {
    min-height: 315px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fffaf3;
    background:
        linear-gradient(90deg, rgba(48, 61, 36, .96) 0%, rgba(48, 61, 36, .85) 47%, rgba(48, 61, 36, .35) 76%),
        url("../images/transformation-program-banner-optimized.jpg") center right / cover no-repeat;
}

.program-strip h2 {
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 18px;
}

.program-strip p:not(.eyebrow) {
    max-width: 500px;
    color: rgba(255, 250, 243, .82);
}

.strip-content {
    position: relative;
    z-index: 1;
}

.mode-chip {
    position: absolute;
    right: clamp(40px, 10vw, 140px);
    top: 54px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--green-dark);
    background: var(--paper);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.quote-card {
    padding: 34px 30px;
}

.quote-mark {
    display: block;
    height: 30px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 64px;
    line-height: .55;
}

.quote-card p {
    color: #53564d;
    min-height: 96px;
}

.student {
    display: flex;
    align-items: center;
    gap: 14px;
}

.student > span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green);
    font-weight: 800;
}

.student strong,
.student small {
    display: block;
}

.student small {
    color: var(--muted);
}

.newsletter-section {
    padding: 40px 0 22px;
}

.newsletter-box {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 430px);
    gap: 28px;
    align-items: center;
    padding: 30px 34px;
    background: #f3ecdf;
    border-radius: 8px;
}

.newsletter-copy {
    display: flex;
    gap: 18px;
    align-items: center;
}

.newsletter-copy h2 {
    font-family: var(--sans);
    font-size: 18px;
    margin-bottom: 4px;
}

.newsletter-copy p {
    margin: 0;
    color: var(--muted);
}

.mail-icon {
    width: 52px;
    height: 42px;
    border: 2px solid var(--green);
    border-radius: 6px;
    position: relative;
    flex: 0 0 auto;
}

.mail-icon::before,
.mail-icon::after {
    content: "";
    position: absolute;
    top: 9px;
    width: 28px;
    height: 2px;
    background: var(--green);
}

.mail-icon::before {
    left: 4px;
    transform: rotate(35deg);
}

.mail-icon::after {
    right: 4px;
    transform: rotate(-35deg);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(75, 95, 55, .18);
    border-radius: 5px;
    background: #fff;
    padding: 13px 15px;
    color: var(--ink);
    outline-color: var(--green);
}

textarea {
    resize: vertical;
}

.site-footer {
    background: var(--cream-2);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .7fr .8fr .9fr;
    gap: 56px;
    padding: 54px 0 34px;
}

.footer-grid h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 16px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: var(--muted);
    margin: 0 0 9px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green);
    font-size: 11px;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-bottom a {
    margin-left: 24px;
}

.page-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.page-hero-content p:not(.eyebrow) {
    font-size: 18px;
    color: var(--muted);
    max-width: 610px;
}

.about-page-hero {
    background:
        linear-gradient(90deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .75), rgba(255, 250, 243, .2)),
        url("../images/about-fatma-yilmaz-optimized.jpg") center right / contain no-repeat,
        var(--cream);
}

.simple-hero {
    background:
        radial-gradient(circle at right center, rgba(201, 161, 91, .16), transparent 34%),
        linear-gradient(135deg, var(--cream-2), var(--cream));
}

.program-page-hero {
    color: #fffaf3;
    background:
        linear-gradient(90deg, rgba(48, 61, 36, .96), rgba(48, 61, 36, .78), rgba(48, 61, 36, .35)),
        url("../images/transformation-program-banner-optimized.jpg") center / cover no-repeat;
}

.program-page-hero p:not(.eyebrow) {
    color: rgba(255, 250, 243, .82);
}

.soft-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 30px;
}

.soft-list span,
.pill,
.detail-tags span,
.meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(75, 95, 55, .1);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
}

.muted-section {
    background: #f3ecdf;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-grid article {
    padding: 30px;
    border-left: 2px solid var(--gold);
    background: rgba(255, 253, 248, .6);
}

.value-grid h3 {
    margin-bottom: 12px;
}

.value-grid p {
    margin: 0;
    color: var(--muted);
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.program-list {
    display: grid;
    gap: 26px;
}

.program-card {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 34px;
    align-items: center;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.program-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
}

.program-card h2 {
    margin: 18px 0 14px;
    font-size: clamp(28px, 3vw, 38px);
}

.program-card p {
    color: var(--muted);
}

.detail-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cream);
}

.detail-image {
    position: absolute;
    inset: 0;
}

.detail-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .82), rgba(255, 250, 243, .25));
}

.green-detail .detail-image::after {
    background: linear-gradient(90deg, rgba(48, 61, 36, .96), rgba(48, 61, 36, .8), rgba(48, 61, 36, .28));
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.detail-content p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
    max-width: 560px;
}

.green-detail,
.green-detail .detail-content p:not(.eyebrow) {
    color: #fffaf3;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 30px;
}

.green-detail .detail-tags span {
    color: #fffaf3;
    background: rgba(255, 250, 243, .14);
}

.narrow-copy {
    max-width: 780px;
}

.narrow-copy h2 {
    margin-bottom: 18px;
}

.narrow-copy p {
    color: var(--muted);
}

.check-list {
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 15px;
    height: 8px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
}

.blog-card span {
    display: block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.article-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: end;
    overflow: hidden;
}

.article-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .72), rgba(255, 250, 243, .18));
}

.article-title {
    position: relative;
    z-index: 1;
    padding-bottom: 74px;
}

.article-title p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
}

.article-body {
    padding-top: 70px;
    padding-bottom: 90px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 32px;
    align-items: start;
}

.contact-panel,
.contact-form {
    padding: 34px;
}

.contact-panel h2 {
    margin-bottom: 16px;
}

.contact-panel p {
    color: var(--muted);
}

.contact-lines {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-lines span,
.contact-lines a {
    display: block;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--green-dark);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
}

.notice {
    padding: 14px 16px;
    border-radius: 6px;
    background: rgba(201, 161, 91, .14);
    color: var(--green-dark);
    font-weight: 700;
}

.notice.success {
    background: rgba(75, 95, 55, .13);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: 160px auto auto;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .main-nav {
        position: absolute;
        left: 24px;
        right: 24px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 6px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .hero-bg {
        background:
            linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .86) 58%, rgba(255, 250, 243, .26) 100%),
            url("../images/home-hero-yoga-optimized.jpg") center right / cover no-repeat;
    }

    .benefit-grid,
    .card-grid.four,
    .card-grid.three,
    .value-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-card:nth-child(2) {
        border-right: 0;
    }

    .benefit-card {
        padding: 24px;
        border-bottom: 1px solid rgba(201, 161, 91, .25);
    }

    .split-grid,
    .program-card,
    .contact-grid,
    .newsletter-box {
        grid-template-columns: 1fr;
    }

    .program-card img {
        height: 230px;
    }

    .mode-chip {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .header-inner {
        min-height: 74px;
        grid-template-columns: 150px 1fr;
    }

    .brand img,
    .footer-brand img {
        width: 132px;
    }

    .hero {
        min-height: 580px;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .88) 48%, rgba(255, 250, 243, .5) 100%),
            url("../images/home-hero-yoga-optimized.jpg") 66% bottom / auto 78% no-repeat;
    }

    .hero-content {
        padding-top: 52px;
        padding-bottom: 250px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-actions,
    .newsletter-form,
    .footer-bottom {
        flex-direction: column;
        display: flex;
        align-items: stretch;
    }

    .benefit-grid,
    .card-grid.four,
    .card-grid.three,
    .value-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        border-right: 0;
    }

    .section {
        padding: 72px 0;
    }

    .newsletter-copy {
        align-items: flex-start;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 18px;
    }

    .page-hero {
        min-height: 360px;
    }

    .about-page-hero {
        background:
            linear-gradient(90deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .82)),
            url("../images/about-fatma-yilmaz-optimized.jpg") center right / contain no-repeat,
            var(--cream);
    }

    .detail-hero {
        min-height: 520px;
    }

    .detail-image::after {
        background: linear-gradient(90deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .88));
    }

    .green-detail .detail-image::after {
        background: linear-gradient(90deg, rgba(48, 61, 36, .97), rgba(48, 61, 36, .86));
    }
}

/* Modal login/register */
body.modal-open {
    overflow: hidden;
}

.auth-modal-shell {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.auth-modal-shell.open {
    opacity: 1;
    visibility: visible;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 31, 24, .52);
    backdrop-filter: blur(10px);
}

.auth-modal {
    position: relative;
    z-index: 1;
    width: min(940px, 100%);
    max-height: min(720px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 243, .6);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .28);
    transform: translateY(16px) scale(.98);
    transition: transform .22s ease;
}

.auth-modal-shell.open .auth-modal {
    transform: translateY(0) scale(1);
}

.auth-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(83, 104, 68, .18);
    border-radius: 50%;
    color: var(--green-dark);
    background: rgba(255, 253, 248, .88);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.auth-modal-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 560px;
    padding: 42px;
    color: #fffaf3;
    background:
        linear-gradient(180deg, rgba(38, 53, 31, .28), rgba(38, 53, 31, .92)),
        url("../images/home-hero-yoga.png") center / cover no-repeat;
}

.auth-modal-art h2 {
    max-width: 320px;
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1.05;
}

.auth-modal-art p {
    max-width: 330px;
    color: rgba(255, 250, 243, .82);
}

.auth-modal-panel {
    overflow-y: auto;
    padding: clamp(28px, 4vw, 46px);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
    padding: 5px;
    border: 1px solid rgba(83, 104, 68, .14);
    border-radius: 999px;
    background: rgba(247, 239, 226, .54);
}

.auth-tabs button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    color: var(--green-dark);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.auth-tabs button.active {
    color: #fffaf3;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 10px 24px rgba(83, 104, 68, .18);
}

.auth-modal-form {
    display: none;
    gap: 16px;
}

.auth-modal-form.active {
    display: grid;
}

.auth-modal-form h2 {
    margin: 2px 0 6px;
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1.05;
}

.auth-modal-form label {
    display: grid;
    gap: 8px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 900;
}

.modal-note {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.database-details {
    display: grid;
    gap: 10px;
    margin: 20px 0 24px;
    padding: 16px;
    border: 1px solid rgba(83, 104, 68, .14);
    border-radius: 8px;
    background: rgba(247, 239, 226, .45);
    color: var(--green-dark);
    font-weight: 800;
}

@media (max-width: 860px) {
    .auth-modal {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 28px);
    }

    .auth-modal-art {
        min-height: 210px;
        padding: 28px;
    }

    .auth-modal-art h2 {
        font-size: 30px;
    }
}

@media (max-width: 520px) {
    .auth-modal-shell {
        padding: 10px;
    }

    .auth-modal-panel {
        padding: 22px;
    }

    .auth-modal-form h2 {
        font-size: 31px;
    }
}

/* Auth modal refinements */
.auth-modal {
    width: min(980px, 100%);
    grid-template-columns: minmax(340px, .95fr) minmax(360px, 1.05fr);
}

.auth-modal-art {
    isolation: isolate;
    justify-content: flex-end;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(38, 53, 31, .06), rgba(38, 53, 31, .98)),
        linear-gradient(145deg, #536844, #26351f);
}

.auth-modal-art::before {
    content: "";
    position: absolute;
    inset: 18px 18px 34%;
    z-index: 0;
    border-radius: 8px;
    background:
        #fffaf3 url("../images/home-hero-yoga.png") center center / contain no-repeat;
    box-shadow: 0 18px 46px rgba(20, 28, 16, .18);
}

.auth-modal-art::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(38, 53, 31, 0) 0%, rgba(38, 53, 31, .14) 45%, rgba(38, 53, 31, .98) 78%);
}

.auth-modal-art .profile-orb,
.auth-modal-art h2,
.auth-modal-art p {
    position: relative;
    z-index: 1;
}

.auth-modal-panel .notice {
    margin-bottom: 18px;
    border: 1px solid rgba(83, 104, 68, .14);
}

.auth-modal-panel .notice.success {
    border-color: rgba(83, 104, 68, .24);
}

.auth-modal-panel .notice.error {
    border-color: rgba(139, 62, 43, .2);
}

.auth-modal-form input {
    background: #fff;
}

@media (max-width: 860px) {
    .auth-modal {
        grid-template-columns: 1fr;
    }

    .auth-modal-art::before {
        inset: 18px 18px 22px 46%;
        background-position: center;
        background-size: contain;
        opacity: .72;
    }
}

@media (max-width: 560px) {
    .auth-modal-art::before {
        inset: 14px 14px 44%;
        opacity: .9;
    }
}

/* Visual polish */
:root {
    --cream: #f7efe2;
    --cream-2: #fffaf1;
    --paper: #fffdf8;
    --green: #536844;
    --green-dark: #26351f;
    --sage: #8f9b7b;
    --gold: #c49a55;
    --ink: #252720;
    --muted: #656a5c;
    --line: rgba(83, 104, 68, .16);
    --shadow: 0 24px 70px rgba(63, 54, 39, .13);
    --soft-shadow: 0 14px 34px rgba(63, 54, 39, .08);
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Manrope", Arial, Helvetica, sans-serif;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 10% 0%, rgba(196, 154, 85, .12), transparent 34%),
        linear-gradient(180deg, #fffaf1 0%, #faf1e5 52%, #fffaf1 100%);
    font-weight: 500;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(83, 104, 68, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83, 104, 68, .026) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 58%);
}

.site-header {
    background: rgba(255, 250, 241, .76);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
    transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 250, 241, .94);
    box-shadow: 0 16px 44px rgba(45, 47, 42, .08);
}

.brand img,
.footer-brand img {
    filter: drop-shadow(0 6px 12px rgba(38, 53, 31, .12));
}

.main-nav {
    font-size: 13px;
    font-weight: 800;
}

.main-nav a {
    border-radius: 999px;
    padding: 8px 2px;
    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green);
}

.main-nav a::after {
    height: 1px;
    bottom: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--green), transparent);
}

.header-cta,
.btn {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: none;
}

.header-cta,
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 16px 34px rgba(83, 104, 68, .22);
}

.header-cta:hover,
.btn-primary:hover {
    box-shadow: 0 22px 42px rgba(83, 104, 68, .28);
}

.btn-outline {
    border-color: rgba(83, 104, 68, .45);
    box-shadow: 0 12px 24px rgba(63, 54, 39, .06);
}

.btn-light {
    background: rgba(255, 250, 243, .12);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .12);
}

.btn:active,
.header-cta:active {
    transform: translateY(0);
}

.hero {
    min-height: 720px;
}

.hero::after,
.page-hero::after,
.detail-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(255, 250, 241, .96), transparent);
}

.hero-bg {
    transform: scale(1.015);
    animation: heroBreath 14s ease-in-out infinite alternate;
}

.hero h1 {
    font-size: 78px;
    line-height: .98;
    font-weight: 600;
}

.hero h1 em {
    margin-top: 4px;
    font-weight: 500;
}

.hero p:not(.eyebrow),
.page-hero-content p:not(.eyebrow),
.detail-content p:not(.eyebrow),
.article-title p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.9;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 22px;
    border: 1px solid rgba(196, 154, 85, .65);
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--gold) 0 2px, transparent 3px),
        conic-gradient(from 45deg, transparent 0 18%, rgba(196, 154, 85, .42) 18% 24%, transparent 24% 50%, rgba(83, 104, 68, .42) 50% 56%, transparent 56%);
    margin-right: 0;
}

.section {
    position: relative;
}

.section-copy h2,
.section-heading h2,
.page-hero h1,
.detail-content h1,
.article-title h1 {
    font-size: 46px;
    line-height: 1.08;
    font-weight: 600;
}

.section-copy p,
.course-card p,
.blog-card p,
.program-card p,
.narrow-copy p,
.value-grid p,
.contact-panel p {
    line-height: 1.85;
}

.benefits {
    background: rgba(255, 253, 248, .86);
    backdrop-filter: blur(12px);
}

.benefit-grid {
    gap: 0;
}

.benefit-card {
    position: relative;
    transition: transform .3s ease, background .3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    background: rgba(247, 239, 226, .44);
}

.line-icon {
    background: linear-gradient(180deg, rgba(255, 253, 248, .95), rgba(247, 239, 226, .7));
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .6), 0 12px 24px rgba(83, 104, 68, .1);
}

.portrait-frame,
.course-card,
.quote-card,
.blog-card,
.program-card,
.contact-form,
.contact-panel,
.newsletter-box {
    border-color: rgba(83, 104, 68, .13);
    box-shadow: var(--soft-shadow);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.portrait-frame:hover,
.course-card:hover,
.quote-card:hover,
.blog-card:hover,
.program-card:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 154, 85, .36);
    box-shadow: var(--shadow);
}

.course-card,
.blog-card,
.quote-card {
    background: linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(255, 250, 241, .88));
}

.course-image,
.blog-image {
    height: 205px;
}

.course-image::after,
.blog-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(37, 39, 32, .14));
    opacity: 0;
    transition: opacity .3s ease;
}

.course-image,
.blog-image {
    position: relative;
}

.course-card:hover .course-image::after,
.blog-card:hover .blog-image::after {
    opacity: 1;
}

.course-body,
.blog-card > div {
    padding: 30px 26px 26px;
}

.course-card h3,
.course-card h2,
.blog-card h2,
.value-grid h3,
.contact-panel h2,
.narrow-copy h2 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 700;
}

.course-card.large h2,
.blog-card h2 {
    font-size: 27px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    transition: gap .2s ease, color .2s ease;
}

.text-link::after {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: width .2s ease;
}

.text-link:hover {
    gap: 11px;
    color: var(--green-dark);
}

.text-link:hover::after {
    width: 28px;
}

.program-strip {
    min-height: 340px;
    isolation: isolate;
}

.program-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 72% 30%, rgba(255, 250, 243, .16), transparent 30%);
}

.mode-chip {
    animation: floatChip 5.5s ease-in-out infinite;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .14);
}

.quote-card {
    position: relative;
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(196, 154, 85, .14);
    border-radius: 6px;
    pointer-events: none;
}

.student > span,
.social-links a {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.newsletter-box {
    background:
        radial-gradient(circle at 4% 20%, rgba(196, 154, 85, .18), transparent 30%),
        linear-gradient(135deg, #f5ead8, #fff8ee);
}

input,
textarea {
    min-height: 48px;
    border-color: rgba(83, 104, 68, .18);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
    transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
textarea:focus {
    border-color: rgba(83, 104, 68, .5);
    box-shadow: 0 0 0 4px rgba(83, 104, 68, .1);
}

.page-hero,
.detail-hero,
.article-hero {
    min-height: 500px;
}

.program-card {
    background: rgba(255, 253, 248, .92);
}

.program-card img {
    height: 285px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .72s ease, transform .72s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroBreath {
    from {
        transform: scale(1.015) translateY(0);
    }
    to {
        transform: scale(1.045) translateY(-8px);
    }
}

@keyframes floatChip {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1100px) {
    .main-nav {
        gap: 24px;
    }

    .hero h1 {
        font-size: 66px;
    }

    .section-copy h2,
    .section-heading h2,
    .page-hero h1,
    .detail-content h1,
    .article-title h1 {
        font-size: 42px;
    }
}

@media (max-width: 980px) {
    .main-nav {
        animation: menuDrop .24s ease;
    }

    .main-nav a {
        padding: 13px 10px;
        border-radius: 7px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(83, 104, 68, .08);
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero {
        min-height: 650px;
    }

    .course-image,
    .blog-image {
        height: 240px;
    }

    .program-card {
        gap: 24px;
    }

    .program-card img {
        height: 310px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 36px, 1120px);
    }

    .hero h1 {
        font-size: 50px;
    }

    .section-copy h2,
    .section-heading h2,
    .page-hero h1,
    .detail-content h1,
    .article-title h1 {
        font-size: 36px;
    }

    .hero p:not(.eyebrow),
    .page-hero-content p:not(.eyebrow),
    .detail-content p:not(.eyebrow),
    .article-title p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.75;
    }

    .benefit-grid {
        padding: 30px 0;
    }

    .benefit-card {
        text-align: left;
        display: grid;
        grid-template-columns: 58px 1fr;
        column-gap: 18px;
        align-items: center;
    }

    .benefit-card .line-icon {
        grid-row: span 2;
    }

    .benefit-card h2 {
        margin: 0 0 4px;
    }

    .course-body,
    .blog-card > div,
    .quote-card,
    .contact-form,
    .contact-panel {
        padding: 24px;
    }

    .newsletter-box {
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 44px;
        padding-bottom: 270px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .section-copy h2,
    .section-heading h2,
    .page-hero h1,
    .detail-content h1,
    .article-title h1 {
        font-size: 32px;
    }

    .page-hero,
    .detail-hero,
    .article-hero {
        min-height: 420px;
    }

    .program-strip {
        min-height: 380px;
        background:
            linear-gradient(180deg, rgba(48, 61, 36, .98), rgba(48, 61, 36, .84), rgba(48, 61, 36, .5)),
            url("../images/transformation-program-banner-optimized.jpg") 72% center / cover no-repeat;
    }

    .program-card img {
        height: 240px;
    }

    .newsletter-copy {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .mail-icon {
        width: 44px;
        height: 36px;
    }

    .footer-grid {
        gap: 28px;
    }
}

@keyframes menuDrop {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Performance and production tuning */
body::before {
    display: none;
}

.hero-bg {
    animation: none;
    transform: none;
}

.mode-chip {
    animation: none;
}

.hero {
    min-height: 650px;
}

.hero h1 {
    font-size: clamp(54px, 5.2vw, 76px);
}

.section {
    padding: 84px 0;
}

.section-copy h2,
.section-heading h2,
.page-hero h1,
.detail-content h1,
.article-title h1 {
    font-size: clamp(34px, 3.4vw, 46px);
}

.course-card,
.quote-card,
.blog-card,
.program-card,
.contact-form,
.contact-panel,
.newsletter-box {
    box-shadow: 0 12px 34px rgba(63, 54, 39, .08);
}

.portrait-frame:hover,
.course-card:hover,
.quote-card:hover,
.blog-card:hover,
.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(63, 54, 39, .12);
}

.reveal {
    transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease;
}

.course-image,
.blog-image {
    height: 190px;
}

.course-card.large .course-image,
.blog-image {
    height: 220px;
}

.program-card img {
    height: 255px;
}

.social-links a {
    width: auto;
    min-width: 112px;
    padding: 0 16px;
    border-radius: 999px;
}

/* Restore original banner art with calmer scaling */
.hero-bg {
    background:
        linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .9) 35%, rgba(255, 250, 243, .16) 68%),
        url("../images/home-hero-yoga.png") center right / cover no-repeat;
}

.about-page-hero {
    background:
        linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .84) 45%, rgba(255, 250, 243, .24) 100%),
        url("../images/about-fatma-yilmaz.png") right center / auto 100% no-repeat,
        var(--cream);
}

.program-strip,
.program-page-hero {
    background:
        linear-gradient(90deg, rgba(48, 61, 36, .96) 0%, rgba(48, 61, 36, .82) 48%, rgba(48, 61, 36, .28) 78%),
        url("../images/transformation-program-banner.png") center right / cover no-repeat;
}

.green-detail .detail-image img {
    object-position: center right;
}

.instagram-link {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    gap: 0;
}

.instagram-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.simple-hero {
    background:
        linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .88) 42%, rgba(255, 250, 243, .28) 100%),
        url("../images/home-hero-yoga.png") center right / cover no-repeat;
}

.contact-hero {
    background:
        linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .9) 46%, rgba(255, 250, 243, .35) 100%),
        url("../images/home-hero-yoga.png") center right / cover no-repeat;
}

@media (min-width: 1180px) {
    .hero-bg {
        background:
            linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .9) 34%, rgba(255, 250, 243, .12) 66%),
            url("../images/home-hero-yoga.png") center right / min(100%, 1900px) auto no-repeat;
    }

    .program-strip,
    .program-page-hero {
        background:
            linear-gradient(90deg, rgba(48, 61, 36, .96) 0%, rgba(48, 61, 36, .84) 46%, rgba(48, 61, 36, .28) 78%),
            url("../images/transformation-program-banner.png") center right / min(100%, 1900px) auto no-repeat;
    }
}

@media (max-width: 980px) {
    .hero-bg {
        background:
            linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .88) 58%, rgba(255, 250, 243, .26) 100%),
            url("../images/home-hero-yoga.png") 66% center / cover no-repeat;
    }

    .about-page-hero {
        background:
            linear-gradient(90deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .82)),
            url("../images/about-fatma-yilmaz.png") right center / auto 100% no-repeat,
            var(--cream);
    }

    .simple-hero,
    .contact-hero {
        background:
            linear-gradient(90deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .84)),
            url("../images/home-hero-yoga.png") 68% center / cover no-repeat;
    }
}

@media (max-width: 640px) {
    .hero-bg {
        background:
            linear-gradient(180deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .9) 45%, rgba(255, 250, 243, .56) 100%),
            url("../images/home-hero-yoga.png") 66% bottom / auto 78% no-repeat;
    }

    .about-page-hero {
        background:
            linear-gradient(90deg, rgba(255, 250, 243, .98), rgba(255, 250, 243, .88)),
            url("../images/about-fatma-yilmaz.png") right bottom / auto 92% no-repeat,
            var(--cream);
    }

    .program-strip,
    .program-page-hero {
        background:
            linear-gradient(180deg, rgba(48, 61, 36, .98), rgba(48, 61, 36, .84), rgba(48, 61, 36, .52)),
            url("../images/transformation-program-banner.png") 74% center / cover no-repeat;
    }

    .simple-hero,
    .contact-hero {
        background:
            linear-gradient(180deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .9) 52%, rgba(255, 250, 243, .64) 100%),
            url("../images/home-hero-yoga.png") 66% bottom / auto 78% no-repeat;
    }
}

.form-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice.error {
    background: rgba(139, 62, 43, .12);
    color: #7b3326;
}

.contact-lines span::before,
.contact-lines a::before,
.footer-grid div:last-child p::before {
    display: inline-block;
    min-width: 22px;
    color: var(--gold);
}

.contact-lines a:nth-child(1)::before,
.footer-grid div:last-child p:nth-of-type(1)::before {
    content: "\260E";
}

.contact-lines a:nth-child(2)::before,
.footer-grid div:last-child p:nth-of-type(2)::before {
    content: "\2709";
}

.contact-lines span:nth-child(3)::before,
.footer-grid div:last-child p:nth-of-type(3)::before {
    content: "\25CE";
}

.footer-grid div:last-child p:nth-of-type(4)::before {
    content: "\2726";
}

@media (min-width: 1280px) {
    .container {
        width: min(1180px, calc(100% - 72px));
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding: 64px 0 96px;
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: 610px;
    }

    .section {
        padding: 72px 0;
    }

    .course-image,
    .blog-image,
    .course-card.large .course-image {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 62px 0;
    }

    .hero {
        min-height: 590px;
    }

    .hero-content {
        padding-bottom: 245px;
    }

    .course-image,
    .blog-image,
    .course-card.large .course-image {
        height: 210px;
    }

    .program-card img {
        height: 220px;
    }
}

/* Account, profile and notifications */
.account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.login-link {
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
    padding: 10px 4px;
}

.notification-menu {
    position: relative;
}

.icon-button,
.profile-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 1px solid rgba(83, 104, 68, .18);
    border-radius: 999px;
    background: rgba(255, 253, 248, .86);
    color: var(--green-dark);
    box-shadow: 0 10px 24px rgba(63, 54, 39, .08);
}

.icon-button {
    position: relative;
    width: 44px;
    cursor: pointer;
}

.icon-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bell-button > span {
    position: absolute;
    right: -4px;
    top: -5px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    color: #fff;
    background: var(--gold);
    font-size: 11px;
    font-weight: 900;
}

.profile-chip {
    gap: 9px;
    padding: 0 14px 0 5px;
    font-size: 13px;
    font-weight: 900;
}

.profile-chip > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.profile-chip.active {
    border-color: rgba(196, 154, 85, .55);
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 315px;
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    padding: 14px;
    border: 1px solid rgba(83, 104, 68, .16);
    border-radius: 8px;
    background: rgba(255, 253, 248, .98);
    box-shadow: 0 24px 70px rgba(37, 39, 32, .16);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.notification-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-dropdown-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 4px 12px;
    border-bottom: 1px solid var(--line);
}

.notification-dropdown-head small {
    color: var(--gold);
    font-weight: 900;
}

.mini-notification {
    display: grid;
    gap: 4px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(83, 104, 68, .1);
}

.mini-notification:last-child {
    border-bottom: 0;
}

.mini-notification b {
    font-size: 13px;
}

.mini-notification span {
    color: var(--muted);
    font-size: 12px;
}

.auth-hero,
.profile-hero {
    background:
        linear-gradient(90deg, rgba(255, 250, 243, .98) 0%, rgba(255, 250, 243, .88) 44%, rgba(255, 250, 243, .26) 100%),
        url("../images/home-hero-yoga.png") center right / cover no-repeat;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
    gap: 28px;
    align-items: stretch;
}

.auth-card,
.auth-aside,
.profile-panel,
.profile-mini-card,
.profile-summary-card {
    border: 1px solid rgba(83, 104, 68, .14);
    border-radius: 8px;
    background: rgba(255, 253, 248, .94);
    box-shadow: 0 18px 50px rgba(63, 54, 39, .1);
}

.auth-card {
    padding: clamp(28px, 5vw, 48px);
}

.auth-card h2,
.auth-aside h2,
.profile-panel h2,
.profile-mini-card h2,
.profile-hero h1 {
    font-family: var(--serif);
    font-weight: 700;
}

.auth-card h2 {
    font-size: clamp(34px, 4vw, 48px);
    margin-bottom: 22px;
}

.auth-form,
.profile-form {
    display: grid;
    gap: 17px;
}

.auth-form label,
.profile-form label {
    display: grid;
    gap: 8px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 900;
}

.auth-switch {
    margin: 22px 0 0;
    color: var(--muted);
}

.auth-switch a {
    color: var(--green);
    font-weight: 900;
}

.auth-aside {
    position: relative;
    overflow: hidden;
    padding: 34px;
    color: #fffaf3;
    background:
        linear-gradient(145deg, rgba(38, 53, 31, .96), rgba(83, 104, 68, .84)),
        url("../images/transformation-program-banner.png") center / cover no-repeat;
}

.profile-orb {
    display: block;
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 250, 243, .55);
    background:
        radial-gradient(circle, rgba(255, 250, 243, .95) 0 9px, transparent 10px),
        conic-gradient(from 90deg, rgba(196, 154, 85, .8), rgba(255, 250, 243, .16), rgba(196, 154, 85, .8));
}

.auth-aside p {
    color: rgba(255, 250, 243, .78);
}

.profile-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 32px;
    align-items: center;
}

.profile-hero h1 {
    font-size: clamp(40px, 5vw, 62px);
    margin-bottom: 18px;
}

.profile-hero p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
}

.profile-summary-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 16px;
    align-items: center;
    padding: 24px;
}

.profile-avatar {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    font-size: 26px;
    font-weight: 900;
}

.profile-summary-card strong,
.profile-summary-card small {
    display: block;
}

.profile-summary-card small {
    color: var(--muted);
}

.verified-pill,
.saved-badge {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--green-dark);
    background: rgba(83, 104, 68, .1);
    font-size: 12px;
    font-weight: 900;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.profile-side {
    display: grid;
    gap: 18px;
}

.profile-mini-card,
.profile-panel {
    padding: 26px;
}

.profile-mini-card.green {
    color: #fffaf3;
    background: linear-gradient(145deg, var(--green), var(--green-dark));
}

.profile-mini-card.green p {
    color: rgba(255, 250, 243, .8);
}

.logout-form {
    margin: 0;
}

.logout-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(139, 62, 43, .18);
    border-radius: 8px;
    color: #7b3326;
    background: rgba(139, 62, 43, .08);
    cursor: pointer;
    font-weight: 900;
}

.notification-count {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-top: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--gold);
    font-weight: 900;
}

.profile-main {
    display: grid;
    gap: 24px;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    margin-bottom: 22px;
}

.saved-badge.muted {
    background: rgba(196, 154, 85, .14);
}

.notification-list {
    display: grid;
    gap: 12px;
}

.notification-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(83, 104, 68, .12);
    border-radius: 8px;
    background: rgba(247, 239, 226, .38);
}

.notification-dot {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.notification-item p {
    margin: 4px 0 0;
    color: var(--muted);
}

.notification-item time {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .auth-layout,
    .profile-hero-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .account-actions .header-cta {
        display: inline-flex;
    }

    .notification-dropdown {
        right: -54px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        grid-template-columns: 132px 44px 1fr;
    }

    .account-actions {
        justify-self: end;
        gap: 7px;
    }

    .login-link {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        font-size: 12px;
    }

    .profile-chip {
        padding: 0 5px;
    }

    .profile-chip strong {
        display: none;
    }

    .account-actions .header-cta {
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }

    .notification-dropdown {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 76px;
        width: auto;
    }

    .auth-card,
    .auth-aside,
    .profile-panel,
    .profile-mini-card {
        padding: 22px;
    }

    .notification-item {
        grid-template-columns: 12px 1fr;
    }

    .notification-item time {
        grid-column: 2;
    }
}
