@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --background: #f7f4ef;
    --surface: #fffdf9;
    --surface-light: #fbf9f5;

    --text: #171716;
    --muted: #706c66;

    --border: #ded8d0;

    --accent: #ed7357;
    --accent-dark: #d95f45;
    --accent-light: #f7d9d0;

    --dark: #191918;

    --shadow: 0 20px 60px rgba(40, 30, 20, .08);

    --radius: 20px;

    --container: 1180px;

    --transition: .3s ease;
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

ul {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    padding: 20px 0;

    background: rgba(247, 244, 239, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(222, 216, 208, .55);

    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.logo-mark {
    width: 34px;
    height: 34px;

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

    border-radius: 10px;

    background: var(--accent);
    color: #fff;

    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav a {
    position: relative;

    color: var(--muted);

    font-size: 14px;
    font-weight: 500;

    transition: var(--transition);
}

.nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: var(--transition);
}

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

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle,
.menu-toggle {
    width: 40px;
    height: 40px;

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

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--surface);
    color: var(--text);

    transition: var(--transition);
}

.theme-toggle:hover,
.menu-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 150px 0 100px;

    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 70px;
}

.hero-text {
    position: relative;
    z-index: 5;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: rgba(255, 253, 249, .75);

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero-eyebrow span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #61b77b;
    box-shadow: 0 0 0 4px rgba(97, 183, 123, .12);
}

.hero h1 {
    max-width: 760px;

    margin-top: 24px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(48px, 6vw, 82px);

    line-height: .98;

    letter-spacing: -4px;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero h2 {
    max-width: 650px;

    margin-top: 28px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(20px, 2vw, 28px);

    line-height: 1.25;

    font-weight: 500;
}

.hero-description {
    max-width: 600px;

    margin-top: 27px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 48px;

    padding: 0 20px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;

    box-shadow: 0 12px 30px rgba(237, 115, 87, .22);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(237, 115, 87, .28);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);

    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);

    transform: translateY(-3px);
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 13px;
}

.hero-status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #61b77b;
}

/* =========================================================
   AURORA
========================================================= */

.hero-aurora {
    position: absolute;

    width: 720px;
    height: 720px;

    left: -250px;
    top: -170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(237, 115, 87, .18) 0%,
            rgba(247, 217, 208, .13) 30%,
            rgba(247, 244, 239, 0) 70%
        );

    filter: blur(20px);

    z-index: 0;

    pointer-events: none;
}

/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 500px;

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

.hero-photo-background {
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: #ddd7cf;

    z-index: 1;
}

.profile-wrapper {
    position: relative;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    overflow: hidden;

    z-index: 3;

    box-shadow: 0 30px 70px rgba(60, 40, 25, .15);

    /* FOTO ESTÁTICA — SEM ANIMAÇÃO */
}

.profile-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =========================================================
   OPPORTUNITY CARD
========================================================= */

.opportunity-card {
    position: absolute;

    right: 10px;
    bottom: 95px;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 13px 16px;

    border: 1px solid rgba(222, 216, 208, .8);
    border-radius: 14px;

    background: rgba(255, 253, 249, .92);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow: 0 18px 50px rgba(40, 30, 20, .11);

    animation: opportunityFloat 4s ease-in-out infinite;
}

.opportunity-dot {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #61b77b;

    box-shadow: 0 0 0 4px rgba(97, 183, 123, .12);
}

.opportunity-card strong {
    display: block;

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;
}

.opportunity-card small {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}

@keyframes opportunityFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* =========================================================
   DECORATIONS
========================================================= */

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.decoration-one {
    width: 70px;
    height: 70px;

    top: 35px;
    right: 70px;

    border: 1px solid rgba(237, 115, 87, .25);

    background: rgba(237, 115, 87, .07);
}

.decoration-two {
    width: 24px;
    height: 24px;

    bottom: 55px;
    left: 75px;

    background: var(--accent);

    opacity: .75;
}

/* =========================================================
   TRUST / CAROUSEL
========================================================= */

.trust-section {
    padding: 30px 0 80px;
}

.trust-label {
    margin-bottom: 20px;

    text-align: center;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.carousel {
    position: relative;

    overflow: hidden;

    width: 100%;
}

.carousel-track {
    display: flex;

    transition: transform .6s ease;
}

.carousel-item {
    flex: 0 0 16.666%;

    padding: 10px;
}

.carousel-card {
    min-height: 85px;

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

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--surface);

    color: var(--muted);

    text-align: center;

    transition: var(--transition);
}

.carousel-card:hover {
    transform: translateY(-4px);

    border-color: var(--accent);

    color: var(--text);

    box-shadow: var(--shadow);
}

/* =========================================================
   SECTION DEFAULT
========================================================= */

.section {
    padding: 110px 0;
}

.section-header {
    max-width: 720px;

    margin-bottom: 55px;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(34px, 4vw, 54px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.section-description {
    margin-top: 18px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.about-photo {
    position: relative;

    max-width: 400px;

    margin: auto;
}

.about-photo img {
    width: 100%;

    border-radius: 24px;

    box-shadow: var(--shadow);
}

.about-photo::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    left: -25px;
    bottom: -25px;

    border-radius: 20px;

    background: var(--accent-light);

    z-index: -1;
}

.about-content p {
    margin-bottom: 18px;

    color: var(--muted);

    line-height: 1.85;
}

.about-highlights {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-top: 30px;
}

.highlight {
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: var(--surface);
}

.highlight strong {
    display: block;

    margin-bottom: 4px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 14px;
}

.highlight span {
    color: var(--muted);

    font-size: 12px;
}

/* =========================================================
   SPECIALTIES
========================================================= */

.specialties-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.specialty-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-7px);

    border-color: rgba(237, 115, 87, .45);

    box-shadow: var(--shadow);
}

.specialty-number {
    color: var(--accent);

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;
    font-weight: 700;
}

.specialty-card h3 {
    margin-top: 30px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 22px;
}

.specialty-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   STACK
========================================================= */

.stack-groups {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.stack-group {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    transition: var(--transition);
}

.stack-group:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.stack-group-title {
    margin-bottom: 20px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 17px;
}

.stack-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.stack-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 12px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface-light);

    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.stack-item:hover {
    border-color: var(--accent);

    transform: translateY(-2px);
}

.stack-item img,
.stack-icon {
    width: 20px;
    height: 20px;

    object-fit: contain;
}

/* =========================================================
   QA PRINCIPLES
========================================================= */

.principles-section {
    background: var(--dark);

    color: #fff;
}

.principles-section .section-description {
    color: rgba(255, 255, 255, .6);
}

.principles-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.principle-card {
    min-height: 230px;

    padding: 28px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);

    background: rgba(255, 255, 255, .04);

    transition: var(--transition);
}

.principle-card:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, .07);

    border-color: rgba(237, 115, 87, .45);
}

.principle-number {
    color: var(--accent);

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;
}

.principle-card h3 {
    margin-top: 55px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;
}

.principle-card p {
    margin-top: 10px;

    color: rgba(255, 255, 255, .58);

    font-size: 13px;

    line-height: 1.7;
}

/* =========================================================
   PROCESS
========================================================= */

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.process-card {
    position: relative;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
}

.process-step {
    width: 38px;
    height: 38px;

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

    border-radius: 50%;

    background: var(--accent-light);

    color: var(--accent-dark);

    font-size: 12px;
    font-weight: 700;
}

.process-card h3 {
    margin-top: 25px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;
}

.process-card p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.75;
}

/* =========================================================
   TRAJECTORY
========================================================= */

.trajectory {
    display: grid;

    grid-template-columns: .75fr 1.25fr;

    gap: 70px;
}

.trajectory-list {
    display: flex;

    flex-direction: column;

    border-left: 1px solid var(--border);
}

.trajectory-item {
    position: relative;

    padding: 17px 20px 17px 30px;

    cursor: pointer;

    color: var(--muted);

    transition: var(--transition);
}

.trajectory-item::before {
    content: "";

    position: absolute;

    left: -5px;
    top: 23px;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--border);

    transition: var(--transition);
}

.trajectory-item:hover,
.trajectory-item.active {
    color: var(--text);
}

.trajectory-item.active::before {
    background: var(--accent);

    box-shadow: 0 0 0 5px var(--accent-light);
}

.trajectory-item strong {
    display: block;

    font-family: "Space Grotesk", sans-serif;

    font-size: 15px;
}

.trajectory-item span {
    display: block;

    margin-top: 4px;

    font-size: 12px;
}

.trajectory-content {
    padding: 35px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    min-height: 330px;
}

.trajectory-content h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 28px;
}

.trajectory-content .company {
    margin-top: 6px;

    color: var(--accent);

    font-size: 14px;
    font-weight: 600;
}

.trajectory-content p {
    margin-top: 25px;

    color: var(--muted);

    line-height: 1.8;
}

.trajectory-content ul {
    margin-top: 20px;

    display: grid;

    gap: 10px;
}

.trajectory-content li {
    position: relative;

    padding-left: 20px;

    color: var(--muted);

    font-size: 14px;
}

.trajectory-content li::before {
    content: "→";

    position: absolute;

    left: 0;

    color: var(--accent);
}

/* =========================================================
   EDUCATION
========================================================= */

.education-card {
    display: grid;

    grid-template-columns: auto 1fr auto;

    gap: 25px;

    align-items: center;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
}

.education-icon {
    width: 54px;
    height: 54px;

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

    border-radius: 15px;

    background: var(--accent-light);

    color: var(--accent-dark);
}

.education-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;
}

.education-card p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;
}

.education-period {
    color: var(--muted);

    font-size: 12px;
}

/* =========================================================
   CERTIFICATIONS
========================================================= */

.certifications-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.certification-card {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--surface);

    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-5px);

    border-color: rgba(237, 115, 87, .45);

    box-shadow: var(--shadow);
}

.certification-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 17px;
}

.certification-card p {
    margin-top: 9px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}

.certification-badge {
    display: inline-flex;

    margin-bottom: 20px;

    padding: 7px 10px;

    border-radius: 8px;

    background: var(--accent-light);

    color: var(--accent-dark);

    font-size: 10px;
    font-weight: 700;
}

/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.project-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.project-image {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #e9e4dd;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;
}

.project-content p {
    margin-top: 9px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 18px;
}

.project-tag {
    padding: 6px 9px;

    border-radius: 8px;

    background: var(--surface-light);

    color: var(--muted);

    font-size: 10px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding-bottom: 130px;
}

.contact-box {
    position: relative;

    overflow: hidden;

    padding: 70px;

    border-radius: 30px;

    background: var(--dark);

    color: #fff;
}

.contact-box::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -120px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(237, 115, 87, .22);

    filter: blur(30px);
}

.contact-content {
    position: relative;

    z-index: 2;

    max-width: 700px;
}

.contact-content .section-kicker {
    color: #ff9b83;
}

.contact-content h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -3px;
}

.contact-content p {
    margin-top: 20px;

    color: rgba(255, 255, 255, .6);

    line-height: 1.8;
}

.contact-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.contact-buttons .btn-primary {
    background: var(--accent);
}

.contact-buttons .btn-secondary {
    border-color: rgba(255, 255, 255, .2);

    background: transparent;

    color: #fff;
}

.contact-buttons .btn-secondary:hover {
    border-color: var(--accent);

    color: #fff;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 30px 0;

    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer p {
    color: var(--muted);

    font-size: 12px;
}

.footer-links {
    display: flex;

    gap: 18px;
}

.footer-links a {
    color: var(--muted);

    font-size: 12px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark {
    --background: #121211;
    --surface: #1a1918;
    --surface-light: #211f1d;

    --text: #f4f1ec;
    --muted: #aaa49c;

    --border: #34312e;

    --accent: #f18468;
    --accent-dark: #e36d51;
    --accent-light: rgba(241, 132, 104, .13);

    --dark: #0c0c0b;

    --shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

body.dark .site-header {
    background: rgba(18, 18, 17, .82);

    border-bottom-color: rgba(52, 49, 46, .7);
}

body.dark .hero-eyebrow {
    background: rgba(26, 25, 24, .8);

    border-color: var(--border);
}

body.dark .hero-photo-background {
    background: #302d2a;
}

body.dark .opportunity-card {
    background: rgba(26, 25, 24, .94);

    border-color: var(--border);

    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

body.dark .carousel-card,
body.dark .specialty-card,
body.dark .stack-group,
body.dark .stack-item,
body.dark .process-card,
body.dark .trajectory-content,
body.dark .education-card,
body.dark .certification-card,
body.dark .project-card,
body.dark .highlight {
    background: var(--surface);
}

body.dark .stack-item {
    background: var(--surface-light);
}

body.dark .project-tag {
    background: var(--surface-light);
}

body.dark .about-photo::before {
    background: rgba(241, 132, 104, .12);
}

body.dark .hero-aurora {
    background:
        radial-gradient(
            circle,
            rgba(241, 132, 104, .13) 0%,
            rgba(241, 132, 104, .06) 35%,
            rgba(18, 18, 17, 0) 70%
        );
}

body.dark .btn-secondary {
    background: var(--surface);

    border-color: var(--border);

    color: var(--text);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-nav {
    display: none;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1,
    .hero h2,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-status {
        justify-content: center;
    }

    .hero-visual {
        min-height: 450px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-photo {
        max-width: 330px;
    }

    .specialties-grid,
    .stack-groups,
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principles-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trajectory {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .carousel-item {
        flex-basis: 25%;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

    .site-header {
        padding: 14px 0;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-nav {
        position: absolute;

        top: calc(100% + 8px);
        left: 16px;
        right: 16px;

        padding: 14px;

        border: 1px solid var(--border);
        border-radius: 16px;

        background: var(--surface);

        box-shadow: var(--shadow);
    }

    .mobile-nav.active {
        display: flex;

        flex-direction: column;

        gap: 4px;
    }

    .mobile-nav a {
        padding: 12px;

        border-radius: 10px;

        color: var(--muted);

        font-size: 14px;
    }

    .mobile-nav a:hover {
        background: var(--surface-light);

        color: var(--text);
    }

    .hero {
        min-height: auto;

        padding: 125px 0 70px;
    }

    .hero-grid {
        gap: 25px;
    }

    .hero h1 {
        margin-top: 18px;

        font-size: clamp(43px, 13vw, 65px);

        letter-spacing: -3px;
    }

    .hero h2 {
        margin-top: 23px;

        font-size: 20px;
    }

    .hero-description {
        margin-top: 20px;

        font-size: 14px;
    }

    .hero-buttons {
        margin-top: 26px;

        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-status {
        margin-top: 20px;
    }

    .hero-visual {
        min-height: 370px;
    }

    .hero-photo-background {
        width: 270px;
        height: 270px;
    }

    .profile-wrapper {
        width: 250px;
        height: 250px;
    }

    .opportunity-card {
        right: 0;

        bottom: 30px;

        padding: 11px 13px;
    }

    .opportunity-card strong {
        font-size: 11px;
    }

    .opportunity-card small {
        font-size: 9px;
    }

    .decoration-one {
        width: 45px;
        height: 45px;

        top: 35px;
        right: 15px;
    }

    .decoration-two {
        width: 17px;
        height: 17px;

        left: 25px;
        bottom: 40px;
    }

    .section {
        padding: 75px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 37px;

        letter-spacing: -1.5px;
    }

    .section-description {
        font-size: 14px;
    }

    .specialties-grid,
    .stack-groups,
    .principles-grid,
    .process-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .specialty-card,
    .stack-group,
    .process-card,
    .certification-card {
        padding: 24px;
    }

    .principle-card {
        min-height: auto;

        padding: 25px;
    }

    .principle-card h3 {
        margin-top: 35px;
    }

    .trajectory-content {
        padding: 25px;
    }

    .trajectory-content h3 {
        font-size: 23px;
    }

    .education-card {
        grid-template-columns: auto 1fr;

        padding: 23px;
    }

    .education-period {
        grid-column: 2;
    }

    .contact-box {
        padding: 45px 25px;

        border-radius: 24px;
    }

    .contact-content h2 {
        font-size: 42px;

        letter-spacing: -2px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }

    .carousel-item {
        flex: 0 0 100%;
    }

    .carousel-card {
        min-height: 75px;
    }
}

/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-photo-background {
        width: 245px;
        height: 245px;
    }

    .profile-wrapper {
        width: 225px;
        height: 225px;
    }

    .opportunity-card {
        bottom: 20px;

        transform: scale(.92);
        transform-origin: right bottom;
    }

    .section-title {
        font-size: 34px;
    }

    .trajectory-item {
        padding-left: 23px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}