/* Large desktops and down */
@media (max-width: 1600px) {
    html {
        /* Sets 1rem = 10px (assuming browser default font-size is 16px) */
        font-size: 60%;
    }
    :root {
        --padding-large: 12rem;
        --padding-medium: 6rem;
    }

    .header-container {
        padding: 1.8rem 3rem;
    }

    .hero-left-image,
    .hero-right-image {
        height: 78vh;
    }
}

/* Laptops */
@media (max-width: 1440px) {
    html {
        font-size: 50%;
    }
}

/* Laptops */
@media (max-width: 1366px) {
    html {
        font-size: 50%;
    }

    :root {
        --padding-large: 8rem;
        --padding-medium: 4.8rem;
    }

    .header {
        width: calc(100% - 2rem);
        top: 1rem;
        left: 1rem;
    }

    .header-container {
        padding: 1.4rem 2rem;
    }

    .hero-buttons {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .model-node {
        width: 30rem;
    }

    .model-diagram {
        gap: 0 4rem;
    }

    .strategic-row {
        gap: 4rem;
    }
}

/* Tablets / small laptops */
@media (max-width: 1024px) {
    :root {
        --padding-large: 5rem;
        --padding-medium: 3.2rem;
    }
    .strategic-row .strategic-item:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 8px;
        top: 2rem;
        height: calc(100% + 6rem - 1.2rem);
        border-left: 1.5px solid rgba(255, 255, 255, 0.15);
        z-index: 1;
    }
    html {
        font-size: 57%;
    }

    .header {
        width: 100%;
        left: 0;
        top: 0;
        border-radius: 0;
    }

    .header-container {
        gap: 1.6rem;
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        width: auto;
        justify-content: flex-start;

    }
    .logo img {
        height: 5rem;
        width: auto;
    }
    .header .btn-primary {
        display: none;
    }

    .menu-toggle {
        width: 4rem;
        height: 4rem;
        /* border: 1px solid var(--accent); */
        background: rgba(11, 12, 14, 0.45);
        border-radius: 0.8rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.45rem;
        padding: 1rem;
        position: relative;
        z-index: 1201;
        transition: background-color 0.2s ease;
    }

    .menu-toggle:hover,
    .menu-toggle:focus-visible {
        background: rgba(201, 169, 110, 0.18);
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--accent);
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .header.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .header.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1200;
        padding: 10rem 2.4rem 3rem;
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        background: radial-gradient(circle at top, rgba(48, 48, 48, 0.98) 0%, rgba(11, 12, 14, 0.98) 100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-2rem) scale(0.98);
        transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.75, 0.25, 1), visibility 0s linear 0.4s;
    }

    .header.menu-open .nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.75, 0.25, 1), visibility 0s;
    }

    .nav a {
        width: auto;
        padding: 0.4rem 1rem;
        border-bottom: 0;
        font-size: 2.2rem;
        letter-spacing: 0.02em;
        color: #F1E9DC;
        opacity: 0;
        transform: translateY(1rem);
        transition: opacity 0.25s ease, transform 0.25s ease, color 0.3s ease;
    }

    .header.menu-open .nav a {
        opacity: 1;
        transform: translateY(0);
    }

    .header.menu-open .nav a:nth-child(1) { transition-delay: 0.05s; }
    .header.menu-open .nav a:nth-child(2) { transition-delay: 0.08s; }
    .header.menu-open .nav a:nth-child(3) { transition-delay: 0.11s; }
    .header.menu-open .nav a:nth-child(4) { transition-delay: 0.14s; }
    .header.menu-open .nav a:nth-child(5) { transition-delay: 0.17s; }
    .header.menu-open .nav a:nth-child(6) { transition-delay: 0.2s; }
    .header.menu-open .nav a:nth-child(7) { transition-delay: 0.23s; }
    .header.menu-open .nav a:nth-child(8) { transition-delay: 0.26s; }
    .header.menu-open .nav a:nth-child(9) { transition-delay: 0.29s; }
    .header.menu-open .nav a:nth-child(10) { transition-delay: 0.32s; }
    .header.menu-open .nav a:nth-child(11) { transition-delay: 0.35s; }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        min-height: auto;
        padding-top: 13rem;
        padding-bottom: 5rem;
    }

    .hero-left-image,
    .hero-right-image {
        opacity: 0.35;
        height: 60vh;
    }

    .hero-content {
        gap: 1.2rem;
    }

    .model-container {
        padding: 4rem 2rem;
    }

    .model-diagram {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        min-height: 0;
    }

    .model-diagram-decoration {
        display: none;
    }

    .node-tl,
    .node-tr,
    .node-bl,
    .node-br,
    .model-center-node {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
    }

    .model-node {
        width: min(100%, 44rem);
    }

    .model-center-node {
        width: 18rem;
        height: 18rem;
        order: -1;
    }

    .slider-dots {
        margin-top: 3rem;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }

    .strategic-header {
        margin-bottom: 5rem;
    }

    .news-header p {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.4rem;
    }

    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr;
        gap: 4rem;
    }

    .about-hero-inner {
        gap: 4rem;
    }

    .consult-hero {
        padding-top: 7rem;
        padding-bottom: 8rem;
    }

    .brain-page .consult-hero.services-hero {
        padding-top: 7rem;
        padding-bottom: 8rem;
    }

    .consult-review {
        padding-top: 6rem;
        padding-bottom: 8rem;
    }

    .enroll-required-forms {
        padding-top: 6rem;
        padding-bottom: 8rem;
    }

    .about-bio-quote {
        margin-top: 5rem;
    }

    .about-standard-inner {
        grid-template-columns: 1fr;
        gap: 5rem;
        padding-right: var(--padding-large);
    }

    .about-standard-media {
        max-width: 48rem;
        margin-inline: auto;
        order: -1;
    }

    .about-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .about-objective {
        background-position: center;
    }

    .about-objective-inner {
        min-height: 48rem;
    }

    .about-objective-copy {
        padding: 6rem 0 4rem;
        max-width: none;
    }
    .about-standard-media {
        width: 100%;
        max-width: 100%;
        border-radius: 4rem;
    }
    .about-standard-inner {
        gap: 3rem;
    }
    .enroll-required-forms-inner {
        width: 100%;
    }
    .enroll-forms-note {
        margin-top: 3rem;
    }
    .enroll-required-forms {
        padding-top: 0;
    }

    .expect-timeline-section {
        padding: 6rem 0 8rem;
    }

    .expect-step {
        grid-template-columns: 6.4rem minmax(0, 1fr);
        gap: 0 2rem;
    }
    
    .expect-steps::before {
        height: calc(100% - 10rem);
        left: 3rem;
    }

    .expect-step-label {
        margin-bottom: 0.4rem;
    }
    .expect-step-title {
        margin: 0 0 1rem;
    }

    .expect-steps > :not(:last-child).expect-step::before {
        width: calc(100% - 7.3rem);
    }

    .expect-step {
        grid-template-columns: 6rem minmax(0, 1fr);
        gap: 0 1.4rem;
        padding: 2.8rem 0;
    }

    .expect-step-icon-ring img {
        width: 3.6rem;
        height: 3.6rem;
    }
    .men-transformation-inner .men-transformation-grid, .men-transformation-inner .enroll-forms-grid {
        padding-left: 0;
        padding-right: 0;
    }
    .about-hero-media {
        margin-right: 0;
    }

    .media-brands-row {
        flex-wrap: wrap;
    }

    .media-brands-row li {
        flex: auto;
        width: calc(100vw / 3 - 10rem);
    }
    .media-brands-row img {
        width: 100%;
        max-height: 100%;
        max-width: 100%;
    }
    .faq-item__answer {
        max-width: 100%;
    }
    .faq-nav-list {
        padding: 0;
    }
}

/* Mobile landscape / large phones */
@media (max-width: 768px) {
    :root {
        --padding-large: 2rem;
        --padding-medium: 1.6rem;
    }

    html {
        font-size: 55%;
    }

    h5, h4 {
        letter-spacing: normal;
    }

    .btn,
    button, .news-read-more {
        font-size: 2rem;
    }

    .header-container {
        padding: 1.2rem 1.6rem;
    }

    .about-hero {
        padding-top: 8rem;
    }

    .consult-hero {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .brain-page .consult-hero.services-hero {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .consult-review {
        padding-top: 5rem;
        padding-bottom: 6rem;
    }

    .enroll-required-forms {
        padding-top: 5rem;
        padding-bottom: 6rem;
    }

    .enroll-required-forms-inner .consult-review-body + .enroll-forms-grid {
        padding-top: 3rem;
    }

    .expect-timeline-section {
        padding-top: 5rem;
        padding-bottom: 6rem;
    }
    .enroll-form-paired-panel + .enroll-form-paired-panel {
        /* border-left: none; */
        border-left: 1px solid var(--accent);
    }

    .men-transformation {
        padding: 5rem 0 6rem;
    }

    .men-transformation-media {
        max-height: 64rem;
        aspect-ratio: 3 / 4;
    }

    .men-transformation-inner .enroll-forms-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        padding-top: 3rem;
    }

    .media-brands-section {
        padding: 4rem 0 6rem;
    }

    .media-brands-title {
        margin-bottom: 3.2rem;
    }

    .media-brands-row {
        flex-wrap: wrap;
        gap: 2.4rem 2.4rem;
    }

    .faq-nav-link {
        padding: 1.6rem 1.8rem;
    }

    .faq-item {
        scroll-margin-top: 8rem;
        padding: 2.8rem 0;
    }

    .about-bio {
        padding-top: 6rem;
        padding-bottom: 8rem;
    }

    .about-standard {
        padding-top: 0;
        padding-bottom: 8rem;
    }
    .about-standard-media {
        width: 100%;
        max-width: 100%;
        border-radius: 4rem;
    }
    .about-standard-inner {
        gap: 3rem;
    }

    .about-philosophy {
        padding-bottom: 8rem;
    }

    .about-philosophy-card {
        padding: 2.4rem 2rem;
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-hero-media {
        justify-content: center;
    }

    .about-hero-media img {
        max-width: 36rem;
    }

    .menu-toggle {
        width: 3.8rem;
        height: 3.8rem;
    }

    .hero {
        padding-top: 12rem;
    }

    .hero-left-image,
    .hero-right-image {
        display: none;
    }


    .model-node li {
        font-size: 1.8rem;
    }
    .hero-buttons {
        width: 100%;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        border-radius: 1rem;
    }

    .model-header {
        margin-bottom: 4rem;
    }

    .model-node ul {
        padding: 2rem 0 0 0;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 2.4rem 2rem;
        border-radius: 1.2rem;
    }

    .strategic-item {
        gap: 1.6rem;
    }

    .item-content p,
    .strategic-header p {
        font-size: 1.8rem;
    }

    .news-card-body {
        padding: 3rem 1.6rem 2.4rem;
    }

    .news-card-body p {
        font-size: 1.8rem;
    }

    .affiliation-row.row-top,
    .affiliation-row.row-bottom {
        gap: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .footer-logo,
    .footer-bio {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .social-links,
    .footer-badges {
        justify-content: flex-start;
    }
    .social-links {
        margin-top: 2rem;
    }
    .footer-heading {
        margin-bottom: 1.4rem;
        font-size: 2.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.4rem;
        text-align: left;
        align-items: flex-start;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem 2rem;
    }

    .legal-links .legal-links-menu {
        justify-content: center;
        gap: 1.2rem 2rem;
    }

    .legal-prose {
        font-size: 1.6rem;
    }

    .legal-content-section {
        padding-top: 4rem;
        padding-bottom: 8rem;
    }
    .consult-hero-copy p {
        max-width: 80%;
    }
    .consult-review-body {
        width: 100%;
    }

    .brain-page .consult-review-body {
        width: 100%;
    }

    .consult-hero-copy h1 {
        font-size: 5rem;
        margin-bottom: 3rem;
    }
    .media-brands-row li {
        flex: auto;
        width: calc(100vw / 2 - 4rem);
    }
}

/* Small phones */
@media (max-width: 576px) {
    html {
        font-size: 53%;
    }

    .hero {
        padding-top: 11.5rem;
    }

    .hero-content {
        gap: 1rem;
    }

    .news-card,
    .testimonial-card,
    .model-node {
        border-radius: 1rem;
    }
    .about-bio {
        padding-bottom: 6rem;
    }
    .expect-steps::before {
        height: calc(100% - 20rem);
    }
    .men-transformation-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .enroll-forms-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .enroll-required-forms {
        padding-top: 0;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    html {
        font-size: 51%;
    }

    .hero-title {
        font-size: 4.6rem;
    }

    .hero-subtitle {
        font-size: 2.4rem;
    }

    p {
        font-size: 2rem !important;
    }

    .model-center-node {
        width: 16rem;
        height: 16rem;
    }

    .model-center-node h3 {
        font-size: 2.8rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-tag {
        font-size: 1.5rem;
        padding: 0.5rem 1.4rem;
        bottom: 14px;
    }

    .social-icon {
        width: 5rem;
        height: 5rem;
    }
    .news-card-media {
        height: 24rem;
    }
    .footer-bottom {
        padding-top: 4rem;
    }
}



@media (min-width: 1000px) {
    .menu-toggle {
        display: none;
    }
}