@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/*==============================
    ROOT VARIABLES
==============================*/

:root {

    /* Colors */

    --color-bg: #0B0B0B;
    --color-surface: #111111;
    --color-white: #ffffff;
    --color-text: #EAEAEA;
    --color-muted: #A7A7A7;

    --color-accent: #4B7BFF;
    --color-border: rgba(255, 255, 255, .08);

    /* Container */

    --container: 1440px;

    /* Radius */

    --radius-sm: 8px;
    --radius-md: 14px;

    /* Transition */

    --transition-fast: .25s cubic-bezier(.22, 1, .36, 1);
    --transition: .45s cubic-bezier(.22, 1, .36, 1);
    --transition-slow: .8s cubic-bezier(.22, 1, .36, 1);

    --font-body: "Inter", sans-serif;
    --font-heading: "Newsreader", serif;

}


/*==============================
    RESET
==============================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);

    font-size: 16px;
    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

}


img {

    display: block;
    width: 100%;
    height: auto;

}


a {

    text-decoration: none;
    color: inherit;

}


button {

    border: none;
    outline: none;
    cursor: pointer;
    background: none;
    font: inherit;

}


ul {

    list-style: none;

}


/*==============================
    TYPOGRAPHY
==============================*/

h1,
h2,
h3,
h4,
h5,
h6 {

    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;

}


p {

    color: var(--color-muted);

}


.icon-arrow {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.1em;
    color: currentColor;
}

/*==============================
    REUSABLE
==============================*/

.container {

    width: min(100% - 96px, var(--container));
    margin-inline: auto;

}


.section {

    padding: 6rem 0;

}
.theme-toggle-btn {

    position: fixed;
    top: 50%;
    right: 1.75rem;
    transform: translateY(-50%);

    z-index: 1100;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;

    color: var(--color-white);

    box-shadow: 0 4px 20px rgba(0, 0, 0, .18);

    cursor: pointer;
    transition: var(--transition-fast, .25s ease);

}

.theme-toggle-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Show/hide sun vs moon icon based on active theme */

.theme-toggle-btn .icon-moon { display: block; }
.theme-toggle-btn .icon-sun  { display: none; }

body.theme-light .theme-toggle-btn .icon-moon { display: none; }
body.theme-light .theme-toggle-btn .icon-sun  { display: block; }


/*==================================================
    HEADER
==================================================*/

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition: var(--transition);

}


.header.scrolled {

    background: rgba(8, 8, 8, .55);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--color-border);

}


.header .container {

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 1rem 0;

}


/*==============================
    LOGO
==============================*/

.logo {

    display: flex;
    align-items: center;

    flex-shrink: 0;

}


.logo img {

    width: 58px;

}


/*==============================
    NAVIGATION
==============================*/

.nav {

    margin-left: auto;
    margin-right: 3rem;

}


.nav-links {

    display: flex;
    align-items: center;
    gap: 3rem;

}


.nav-links a {

    position: relative;

    color: var(--color-white);

    font-size: .95rem;
    font-weight: 500;
    transition: var(--transition-fast);

}


.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 1px;

    background: var(--color-accent);

    transform: scaleX(0);
    transform-origin: left;

    transition: var(--transition);

}


.nav-links a:hover {

    color: var(--color-accent);

}


.nav-links a:hover::after {

    transform: scaleX(1);

}


/*==============================
    CTA BUTTON
==============================*/

.header-btn {

    display: flex;
    align-items: center;
    gap: .7rem;

    padding: .9rem 1.4rem;

    border: 1px solid rgba(255, 255, 255, .18);

    color: var(--color-white);

    transition: var(--transition);

}


.header-btn span {

    transition: var(--transition);

}


.header-btn:hover {

    background: var(--color-accent);

    border-color: var(--color-accent);

}


.header-btn:hover span {

    transform: translate(4px, -4px);

}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 9rem 0 3rem;
}

/* ---------- Top ---------- */

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-intro {
    max-width: 360px;
}

.section-label {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-muted);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .9rem;
    color: var(--color-muted);
    transition: var(--transition);
}

.hero-scroll:hover {
    color: var(--color-white);
}

.hero-scroll span {
    font-size: 1.1rem;
}

/* ---------- Center ---------- */

.hero-content {
    margin: 5rem 0;
}

.hero-content h1 {
    max-width: 1100px;
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 10vw, 3rem);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.06em;
    color: var(--color-white);
}

.hero-content h1 span {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-accent);
}

/* ---------- Bottom ---------- */

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-services span {
    padding: .7rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(12px);
    font-size: .9rem;
    color: var(--color-text);
}

.primary-btn {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.7rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}

.primary-btn span {
    transition: var(--transition);
}

.primary-btn:hover {
    transform: translateY(-3px);
}

.primary-btn:hover span {
    transform: translate(5px, -5px);
}

/* ---------- Background ---------- */

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url('assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: .28;
    filter: grayscale(20%) contrast(1.05);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.work-content {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 5rem;
    align-items: start;
}

.work-info {
    position: sticky;
    top: 120px;
}

.work-info h2 {
    margin: 1.2rem 0 2rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.05em;
    color: var(--color-white);
}

.work-info .lead {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.work-info p {
    margin-bottom: 2rem;
    max-width: 330px;
    line-height: 1.8;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 600;
    color: var(--color-white);
    transition: var(--transition);
}

.work-link span {
    transition: var(--transition);
}

.work-link:hover {
    color: var(--color-accent);
}

.work-link:hover span {
    transform: translate(5px, -5px);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.project-card.large {
    grid-column: span 2;
}

.project-card a {
    display: block;
}

.project-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card.large img {
    height: 700px;
}

.project-info {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 1.8rem;
}

.project-info span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-accent);
}

.project-info h3 {
    margin-bottom: .35rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-white);
}

.project-info p {
    font-size: .95rem;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-card:hover h3 {
    color: var(--color-accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

/* Image */

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.04);
}

/* Content */

.about-content h2 {
    margin: 1rem 0 2rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.05em;
    color: var(--color-white);
}

.about-content .lead {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.about-content p {
    margin-bottom: 2rem;
    line-height: 1.9;
    color: var(--color-muted);
}

.about-content .primary-btn {
    width: max-content;
}

/* Stats */

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.stat h3 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    color: var(--color-white);
}

.stat p {
    max-width: 160px;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.journal-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 5rem;
}

.journal-heading h2 {
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.05em;
    color: var(--color-white);
}

.journal-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 3rem;
    align-items: start;
}

/* Featured Post */

.featured-post {
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.featured-post a {
    display: block;
}

.featured-post img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    transition: .8s ease;
}

.featured-post:hover img {
    transform: scale(1.05);
}

.post-content {
    padding: 2rem;
}

.post-category {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.post-content h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.05;
    color: var(--color-white);
    transition: var(--transition);
}

.post-content p {
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.post-meta {
    display: flex;
    gap: 2rem;
    font-size: .9rem;
    color: var(--color-muted);
}

.featured-post:hover h3 {
    color: var(--color-accent);
}

/* Side Posts */

.post-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}

.post-card {
    border-bottom: 1px solid var(--color-border);
}

.post-card a {
    display: block;
    padding: 2.5rem 0;
    transition: var(--transition);
}

.post-card h4 {
    margin: .8rem 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-white);
    transition: var(--transition);
}

.post-date {
    font-size: .9rem;
    color: var(--color-muted);
}

.post-card:hover {
    padding-left: 1rem;
}

.post-card:hover h4 {
    color: var(--color-accent);
}

.footer{
    position:relative;
    padding:3rem 0;
    overflow:hidden;
}

.footer-watermark{
    position:absolute;
    left:50%;
    top:48%;
    transform:translate(-50%,-50%);
    font-family:var(--font-heading);
    font-size:22rem;
    font-weight:600;
    line-height:1;
    letter-spacing:-.08em;
    color:rgba(255,255,255,.02);
    white-space:nowrap;
    pointer-events:none;
    user-select:none;
    z-index:0;
}

.footer .container{
    position:relative;
    z-index:2;
}

/* Hero */

.footer-hero{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    max-width:820px;
    margin:0 auto 7rem;
}

.footer-hero h2{
    margin:1rem 0 1.8rem;
    font-family:var(--font-heading);
    font-size:5rem;
    font-weight:600;
    line-height:.95;
    letter-spacing:-.05em;
    color:var(--color-white);
}

.footer-hero p{
    max-width:560px;
    margin-bottom:2.5rem;
    font-size:1.05rem;
    line-height:1.8;
}

/* Divider */

.footer-divider{
    width:100%;
    height:1px;
    background:var(--color-border);
    margin-bottom:5rem;
}

/* Grid */

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr 1fr ;
    gap:4.5rem;
    margin-bottom:5rem;
}

.footer-brand h3{
    margin-bottom:1rem;
    font-family:var(--font-heading);
    font-size:3rem;
    font-weight:600;
    letter-spacing:-.05em;
    color:var(--color-white);
}

.footer-brand p{
    max-width:320px;
    line-height:1.9;
}

.footer-links{
    display:flex;
    flex-direction:column;
}

.footer-links span{
    margin-bottom:1.5rem;
    font-size:.75rem;
    font-weight:600;
    letter-spacing:.15em;
    text-transform:uppercase;
    color:var(--color-accent);
}

.footer-links a{
    width:max-content;
    margin-bottom:.9rem;
    color:var(--color-muted);
    transition:var(--medium);
}

.footer-links a:hover{
    color:var(--color-white);
    transform:translateX(6px);
}

/* Bottom */
.inter-text{
    font-family: 'inter', Arial, Helvetica, sans-serif !important; 
}


.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:2rem;
    border-top:1px solid var(--color-border);
}

.footer-bottom p{
    font-size:.9rem;
    color:var(--color-muted);
}

.reveal,
.hero-content,
.work-content,
.service-item,
.about-grid,
.featured-post,
.post-card,
.footer-hero,
.footer-grid{

    opacity:0;
    transform:translateY(80px);
    transition:1s cubic-bezier(.22,1,.36,1);

}

.show{

    opacity:1;
    transform:none;

}


@media (max-width: 1200px) {

    .container {
        width: min(100% - 64px, var(--container));
    }

    .section {
        padding: 7rem 0;
    }

    /* Hero */

    .hero .container {
        padding: 8.5rem 0 3rem;
    }

    .hero-content h1 {
        font-size: clamp(3.5rem, 8vw, 6rem);
    }

    .hero-top,
    .hero-bottom {
        gap: 2rem;
    }

    /* Work */

    .work-content {
        grid-template-columns: 300px 1fr;
        gap: 3.5rem;
    }

    .work-info h2,
    .services-heading h2,
    .about-content h2,
    .journal-heading h2,
    .footer-hero h2 {
        font-size: 3.5rem;
    }

    .project-card img {
        height: 420px;
    }

    .project-card.large img {
        height: 560px;
    }

    /* Services */

    .service-content {
        grid-template-columns: 1fr 280px;
        gap: 2rem;
    }

    .service-content h3 {
        font-size: 2.2rem;
    }

    /* About */

    .about-grid {
        grid-template-columns: 1fr 400px;
        gap: 4rem;
    }

    .about-image img {
        height: 600px;
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat h3 {
        font-size: 3.5rem;
    }

    /* Journal */

    .featured-post img {
        height: 480px;
    }

    /* Footer */

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
    }

    .footer-hero h2 {
        font-size: 4.5rem;
    }

    .footer-watermark {
        font-size: 18rem;
    }

}


/* ─────────────────────────────────────
   900px — Tablets
───────────────────────────────────── */

@media (max-width: 900px) {

    .container {
        width: min(100% - 48px, var(--container));
    }

    .section {
        padding: 6rem 0;
    }

    /* Header */

    .nav {
        margin-right: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: .9rem;
    }

    .header-btn {
        padding: .8rem 1.2rem;
        font-size: .9rem;
    }

    /* Hero */

    .hero {
        min-height: 100svh; /* fix mobile browser address-bar jump */
    }

    .hero .container {
        min-height: 100svh;
        padding: 8rem 0 3rem;
    }

    .hero-top {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .hero-content {
        margin: 4rem 0;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 9vw, 5rem);
    }

    .hero-intro {
        max-width: 100%;
    }

    .hero-scroll {
        display: none; /* hides "Scroll ↓" on tablet — redundant at this size */
    }

    /* Work */

    .work-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .work-info {
        position: static; /* un-stick on tablet */
        max-width: 640px;
    }

    .work-grid {
        gap: 1.5rem;
    }

    .project-card img {
        height: 340px;
    }

    .project-card.large img {
        height: 480px;
    }

    /* Services */

    .services-heading {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .services-heading p {
        justify-self: start;
        max-width: 560px;
    }

    .service-item {
        grid-template-columns: 56px 1fr;
        gap: 2rem;
        padding: 2.5rem 0;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-arrow {
        display: none;
    }

    .service-content h3 {
        font-size: 2.25rem;
    }

    /* About */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 5rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 500px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Journal */

    .journal-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .journal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-post img {
        height: 400px;
    }

    /* Footer */

    .footer {
        padding: 8rem 0 3rem;
    }

    .footer-hero {
        margin-bottom: 5rem;
    }

    .footer-hero h2 {
        font-size: 4rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-watermark {
        font-size: 16rem;
    }

    /* Dock */

    .floating-dock {
        right: 1.5rem;
        bottom: 1.5rem;
    }

}


/* ─────────────────────────────────────
   768px — Mobile
───────────────────────────────────── */

@media (max-width: 768px) {

    .container {
        width: min(100% - 40px, var(--container));
    }

    .section {
        padding: 5rem 0;
    }

    /* Header */

    .nav{
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .header .container {
        padding: 1.25rem 0;
    }

    .logo img {
        width: 48px;
    }

    /* Hero */

    .hero .container {
        padding: 7rem 0 2.5rem;
    }

    .hero-content {
        margin: 3rem 0;
    }

    .hero-content h1 {
        font-size: clamp(2.6rem, 13vw, 4.5rem);
    }

    .hero-intro p {
        font-size: .95rem;
    }

    .hero-services {
        gap: .6rem;
    }

    .hero-services span {
        font-size: .8rem;
        padding: .6rem .9rem;
    }

    .primary-btn {
        width: 100%;
        justify-content: center;
    }

    /* Work */

    .work-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        grid-column: auto;
    }

    .project-card img,
    .project-card.large img {
        height: 280px;
    }

    .project-info {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
        padding: 1.4rem;
    }

    .project-info h3 {
        font-size: 1.6rem;
    }

    /* Services */

    .service-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }

    .service-content h3 {
        font-size: 2rem;
    }

    .services-heading h2,
    .work-info h2,
    .about-content h2,
    .journal-heading h2 {
        font-size: 3rem;
    }

    /* About */

    .about-image img {
        height: 380px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat h3 {
        font-size: 3rem;
    }

    /* Journal */

    .featured-post img {
        height: 280px;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.8rem;
    }

    .post-card a {
        padding: 2rem 0;
    }

    .post-card h4 {
        font-size: 1.4rem;
    }

    /* Footer */

    .footer {
        padding: 6rem 0 2rem;
    }

    .footer-hero h2 {
        font-size: 2.75rem;
    }

    .footer-hero p {
        font-size: 1rem;
    }

    .footer-watermark {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand h3 {
        font-size: 2.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Dock */

    .floating-dock {
        right: 1rem;
        bottom: 1rem;
    }

    .dock-btn {
        width: 52px;
        height: 52px;
    }

    /* Cursor — hide on touch */

    .cursor,
    .cursor-dot {
        display: none;
    }

    .theme-toggle-btn {
        top: auto;
        bottom: 5.5rem;
        right: 1rem;
        transform: none;
        width: 48px;
        height: 48px;
    }

    .theme-toggle-btn:hover {
        transform: scale(1.06);
    }

}


/* ─────────────────────────────────────
   480px — Small phones
───────────────────────────────────── */

@media (max-width: 480px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 4rem 0;
    }

    /* Hero */

    .hero .container {
        padding: 6.5rem 0 2rem;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 14vw, 3.5rem);
    }

    .hero-services {
        gap: .5rem;
    }

    .hero-services span {
        font-size: .75rem;
        padding: .5rem .8rem;
    }

    /* Work */

    .project-card img,
    .project-card.large img {
        height: 220px;
    }

    /* Services */

    .services-heading h2,
    .work-info h2,
    .about-content h2,
    .journal-heading h2 {
        font-size: 2.5rem;
    }

    .service-content h3 {
        font-size: 1.75rem;
    }

    /* About */

    .about-image img {
        height: 300px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat h3 {
        font-size: 2.5rem;
    }

    /* Journal */

    .featured-post img {
        height: 220px;
    }

    .post-content h3 {
        font-size: 1.6rem;
    }

    .post-card h4 {
        font-size: 1.25rem;
    }

    /* Footer */

    .footer {
        padding: 5rem 0 2rem;
    }

    .footer-hero h2 {
        font-size: 2.25rem;
    }

    .footer-brand h3 {
        font-size: 2rem;
    }

}