/* Mella Weber – bold editorial design: black, white, one copper accent */
:root {
    --bg: #fbfaf8;
    --surface: #ffffff;
    --soft: #f2efeb;
    --dark: #121110;
    --dark-2: #1c1a18;
    --text: #3b3f46;
    --heading: #121110;
    --muted: #5f6570;
    --muted-dark: #b9b3ac;
    --border: #e6e2dd;
    --border-dark: #34302c;

    --accent: #c2410c;
    --accent-ink: #9a3412;
    --accent-light: #f59e6b;
    --accent-soft: #fbeee6;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", Times, serif;

    --radius: 20px;
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 1.5rem;
    --space-l: 2.5rem;
    --space-xl: clamp(4rem, 10vw, 7.5rem);
    --max: 76rem;
    --shadow: 0 24px 60px rgba(18, 17, 16, 0.12);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    hyphens: auto;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

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

h1,
h2,
h3 {
    color: var(--heading);
    line-height: 1.08;
    margin: 0 0 var(--space-s);
    hyphens: manual;
}

h2 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 var(--space-s);
}

a {
    color: var(--accent-ink);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

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

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--heading);
    color: #fff;
    padding: var(--space-xs) var(--space-s);
    z-index: 100;
}

.skip-link:focus {
    left: var(--space-s);
}

/* Header and navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 248, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s);
    min-height: 4.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    color: var(--heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.brand-dots {
    display: inline-flex;
}

.brand-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.brand-dots span + span {
    display: none;
}

.brand {
    margin-right: auto;
    white-space: nowrap;
}

/* Narrow phones: menu button shows the icon only, so name and DE / EN fit */
@media (max-width: 26rem) {
    .header-inner {
        gap: 0.25rem;
    }

    .menu-toggle {
        padding: 0 0.7rem;
    }

    .menu-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* Language switch DE / EN */
.lang-switch {
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--muted);
    text-decoration: none;
}

.lang-switch a:hover {
    color: var(--accent);
}

.lang-switch a[aria-current="page"] {
    color: var(--heading);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--heading);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.main-nav.is-open {
    display: block;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: var(--space-xs) 1.25rem var(--space-s);
}

.main-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--heading);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.main-nav li:last-child a {
    border-bottom: 0;
}

.no-js .menu-toggle {
    display: none;
}

.no-js .main-nav {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
}

@media (min-width: 52rem) {
    .menu-toggle {
        display: none;
    }

    .lang-switch {
        order: 3;
    }

    .main-nav,
    .no-js .main-nav {
        display: block;
        position: static;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .main-nav ul {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0;
    }

    .main-nav a {
        position: relative;
        min-height: 44px;
        padding: 0 0.85rem;
        border: 0;
    }

    .main-nav a::after {
        content: "";
        position: absolute;
        left: 0.85rem;
        right: 0.85rem;
        bottom: 8px;
        height: 2px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s var(--ease);
        transition-property: transform;
    }

    .main-nav a:hover::after {
        transform: scaleX(1);
    }

    .main-nav .nav-cta a {
        margin-left: 0.5rem;
        border-radius: 999px;
        background: var(--heading);
        color: #fff;
    }

    .main-nav .nav-cta a::after {
        display: none;
    }

    .main-nav .nav-cta a:hover {
        background: var(--accent);
    }
}

/* Buttons */
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0 1.6rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s var(--ease);
    transition-property: transform;
}

.button:hover {
    transform: translateY(-3px);
}

.button .arrow {
    transition: transform 0.3s var(--ease);
    transition-property: transform;
}

.button:hover .arrow {
    transform: translateX(4px);
}

.button-ghost {
    background: transparent;
    color: var(--heading);
    border: 2px solid currentColor;
}

.button-light {
    background: #fff;
    color: var(--dark);
}

.button-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin-top: var(--space-l);
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - 4.25rem);
    min-height: calc(100svh - 4.25rem);
    display: flex;
    align-items: center;
    padding: var(--space-l) 0;
    background: var(--accent);
    color: #fff;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: var(--space-l);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-m);
    color: var(--accent-ink);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 2px;
    background: currentColor;
}

.hero .eyebrow {
    color: #fff;
}

.hero h1 {
    margin: 0 0 var(--space-m);
    color: #fff;
    font-size: clamp(3.4rem, 11vw, 8.5rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.hero h1 .line > span {
    display: block;
}

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

.button-dark {
    background: var(--dark);
    color: #fff;
}

.accent-light {
    color: var(--accent-light);
}

/* Warm sand block */
.sand {
    background: #e9e1d6;
}

.sand .tile {
    border-color: transparent;
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    margin: 0 0 var(--space-m);
    padding: 0;
    list-style: none;
    color: #fff;
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    font-weight: 600;
}

.hero-roles li + li::before {
    content: "·";
    margin-right: 1.25rem;
    color: var(--dark);
}

.hero-lead {
    max-width: 34rem;
    color: #fff;
    font-size: 1.125rem;
}

.hero-photo {
    position: relative;
    width: min(100%, 26rem);
    margin-inline: auto;
}

.hero-photo img {
    position: relative;
    border-radius: 999px 999px var(--radius) var(--radius);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    /* Calmer colours so the red hair is less glaring */
    filter: saturate(0.72) brightness(0.96);
}

/* Black and white copy on top that fades out: photo turns from b/w to colour */
.hero-photo .hero-photo-bw {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
    filter: grayscale(1);
}

.js .hero-photo .hero-photo-bw {
    display: block;
    animation: to-colour 2.4s ease-in-out 1.6s forwards;
}

@keyframes to-colour {
    to {
        opacity: 0;
    }
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px 999px calc(var(--radius) + 14px) calc(var(--radius) + 14px);
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    display: none;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
}

.scroll-hint::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (min-width: 52rem) {
    .hero-grid {
        grid-template-columns: 1.35fr 1fr;
    }

    .scroll-hint {
        display: block;
    }
}

/* Load animation for the hero */
.js .hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: rise 1s var(--ease) forwards;
}

.js .hero h1 .line > span {
    transform: translateY(105%);
    animation: line-up 1.1s var(--ease) forwards;
}

.js .hero h1 .line:nth-child(2) > span {
    animation-delay: 0.12s;
}

.js .d1 { animation-delay: 0.35s; }
.js .d2 { animation-delay: 0.5s; }
.js .d3 { animation-delay: 0.65s; }
.js .d4 { animation-delay: 0.25s; }

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes line-up {
    to {
        transform: none;
    }
}

/* Marquee band */
.marquee {
    overflow: hidden;
    background: var(--dark);
    color: #fff;
    padding: 1.1rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee ul {
    display: flex;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.marquee li {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
    font-family: "Lato", system-ui, sans-serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.marquee li::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #fff;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Sections */
.section {
    padding: var(--space-xl) 0;
}

.section-head {
    display: grid;
    gap: var(--space-m);
    margin-bottom: var(--space-l);
}

.section-head p {
    max-width: 36rem;
    color: var(--muted);
    font-size: 1.15rem;
}

@media (min-width: 52rem) {
    .section-head {
        grid-template-columns: 1.3fr 1fr;
        align-items: end;
    }
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-s);
    color: var(--accent-ink);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 2.5rem;
    height: 2px;
    background: currentColor;
}

/* Project tiles */
.projects {
    display: grid;
    gap: var(--space-m);
}

@media (min-width: 40rem) {
    .projects {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 64rem) {
    .projects {
        grid-template-columns: repeat(6, 1fr);
    }

    .projects .tile {
        grid-column: span 2;
    }
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
    transition-property: transform, box-shadow;
}

.tile:hover,
.tile:focus-visible {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.tile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 11rem;
    padding: var(--space-l);
    background: #fff;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.tile-logo img {
    width: auto;
    max-width: 85%;
    max-height: 100%;
    transition: transform 0.6s var(--ease);
    transition-property: transform;
}

.tile:hover .tile-logo img {
    transform: scale(1.08);
}

.tile-body {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-m);
}

.tile-body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
    transition-property: transform;
}

.tile:hover .tile-body::before {
    transform: scaleX(1);
}

.tile-num {
    color: var(--accent-ink);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
}

.tile-label {
    margin-bottom: var(--space-xs);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tile p {
    color: var(--muted);
}

.tile-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    margin-top: auto;
    color: var(--heading);
    font-weight: 700;
}

.tile-more .arrow {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--soft);
    transition: transform 0.4s var(--ease);
    transition-property: transform;
}

.tile:hover .tile-more .arrow {
    transform: translateX(6px) rotate(-45deg);
}

/* Past projects */
.past {
    margin-top: var(--space-xl);
}

.past h3 {
    margin-bottom: var(--space-m);
}

.past-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--heading);
}

.past-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.25rem 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.past-list strong {
    color: var(--heading);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.past-list span {
    color: var(--muted);
    font-family: var(--font-serif);
    font-style: italic;
}

/* Statement: photo and sentence */
@font-face {
    font-family: "Lato";
    src: url("/assets/fonts/lato-latin-300.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Full-width photo, sentence on the left over the photo */
.statement {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 34rem;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
}

.statement-photo {
    position: absolute;
    inset: 0;
    margin: 0;
}

.statement-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% 35%;
}

/* Darkening so the white text stays readable */
.statement-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 17, 16, 0.85) 0%, rgba(18, 17, 16, 0.35) 55%, rgba(18, 17, 16, 0) 80%);
}

.statement-text {
    position: relative;
    width: 100%;
    padding: var(--space-xl) clamp(1.25rem, 6vw, 5rem);
}

@media (min-width: 52rem) {
    .statement {
        align-items: center;
        min-height: clamp(36rem, 52vw, 52rem);
    }

    .statement-photo img {
        object-position: 70% 40%;
    }

    .statement-photo::after {
        background: linear-gradient(90deg, rgba(18, 17, 16, 0.7) 0%, rgba(18, 17, 16, 0.35) 40%, rgba(18, 17, 16, 0) 60%);
    }

    .statement-text {
        width: min(50%, 40rem);
    }
}

.statement blockquote {
    margin: 0;
}

.statement-sentence {
    margin: 0 0 var(--space-m);
    font-family: "Lato", var(--font-sans, system-ui), sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 3.1rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    hyphens: manual;
}

.statement footer {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* Webdesign (sand block, services as copper blocks) */
.services {
    display: grid;
    gap: var(--space-s);
    margin: 0 0 var(--space-xl);
    padding: 0;
    list-style: none;
}

@media (min-width: 40rem) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 64rem) {
    .services {
        grid-template-columns: repeat(4, 1fr);
    }
}

.services li {
    padding: var(--space-m);
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease);
    transition-property: transform;
}

.services li:hover {
    transform: translateY(-4px);
}

.services h3 {
    color: #fff;
}

.services .num {
    display: block;
    margin-bottom: var(--space-s);
    color: #fff;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.6rem;
}

.services h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
}

.services p {
    margin: 0;
    font-size: 0.98rem;
}

.clients-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: var(--space-s);
    margin-bottom: var(--space-m);
}

.clients-head h3 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.clients {
    display: grid;
    gap: var(--space-m);
}

@media (min-width: 40rem) {
    .clients {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    margin-top: var(--space-xl);
    padding-top: var(--space-l);
    border-top: 1px solid rgba(18, 17, 16, 0.15);
}

.cta-line .accent-light {
    color: var(--accent-ink);
}

.cta-line p {
    margin: 0;
    color: var(--heading);
    font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* About */
.about-grid {
    display: grid;
    gap: var(--space-l);
}

@media (min-width: 52rem) {
    .about-grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }
}

.about-photo {
    position: relative;
}

.about-photo img {
    border-radius: var(--radius);
}

.about-photo figcaption {
    margin-top: var(--space-xs);
    color: var(--muted);
    font-size: 0.9rem;
}

.about-text .lead {
    color: var(--heading);
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.timeline {
    display: grid;
    gap: 0;
    margin: var(--space-l) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--heading);
}

.timeline li {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: var(--space-s);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.timeline strong {
    color: var(--accent-ink);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Contact */
.contact {
    position: relative;
    padding: var(--space-xl) 0;
    background: var(--accent);
    color: #fff;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    width: 40rem;
    height: 40rem;
    left: -12rem;
    bottom: -20rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-grid {
    position: relative;
    display: grid;
    gap: var(--space-l);
}

@media (min-width: 52rem) {
    .contact-grid {
        grid-template-columns: 1.4fr 1fr;
        align-items: end;
    }
}

.contact h2 {
    color: #fff;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    line-height: 0.95;
}

.contact .kicker {
    color: #fff;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-list span {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.contact-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact .placeholder {
    background: #fff;
    color: var(--accent-ink);
}

/* Simple text pages */
.page {
    padding: var(--space-xl) 0;
}

.page h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.prose {
    max-width: 46rem;
}

.prose h2 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    margin-top: var(--space-l);
}

.prose h3 {
    margin-top: var(--space-m);
}

.placeholder {
    background: var(--accent-soft);
    color: var(--accent-ink);
    padding: 0 0.3rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Footer */
.site-footer {
    padding: var(--space-l) 0;
    background: var(--dark);
    color: var(--muted-dark);
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-s);
}

.footer-inner p {
    margin: 0;
}

.footer-inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-inner a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

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

/* Scroll reveal (only with JavaScript) */
.js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-property: opacity, transform;
    transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scroll-hint::after,
    .marquee-track {
        animation: none;
    }

    .js .hero-photo .hero-photo-bw {
        display: none;
    }

    .js .hero-anim,
    .js .hero h1 .line > span {
        opacity: 1;
        transform: none;
        animation: none;
    }

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

    .button,
    .button .arrow,
    .services li,
    .tile,
    .tile-logo img,
    .tile-body::before,
    .tile-more .arrow,
    .main-nav a::after {
        transition: none;
    }
}
