@font-face {
    font-family: 'dquedeville-icon';
    src: url("../fonts/dquedeville-icon-GrOswqp.woff2") format('woff2'), url("../fonts/dquedeville-icon-9mQsBYg.woff") format('woff');
    font-display: block;
}

:root {
    --bg: #0a0c11;
    --surface: #11151d;
    --surface-2: #182030;
    --text: #e9edf5;
    --muted: #8f98ab;
    --line: rgb(200 215 255 / 0.12);
    --accent: #35a0e0;
    --accent-ink: #031522;

    --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-display: 'Archivo', 'Arial Black', sans-serif;

    --gutter: clamp(1rem, 4vw, 3rem);
    --max: 78rem;
    --header-h: 4.5rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
    /* The drawer locks the scroll: the scrollbar space stays reserved so the page does not shift */
    scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1.0625rem/1.65 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Film grain over the whole page */
body::after {
    content: '';
    position: fixed;
    inset: -50%;
    z-index: 100;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
    color: inherit;
}

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

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

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

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--accent);
}

.section-title {
    margin: 0 0 2rem;
    font: 400 clamp(2.5rem, 6vw, 4.75rem)/1 var(--font-serif);
    letter-spacing: -0.01em;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -12px var(--accent);
}

.button--ghost {
    background: transparent;
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line);
}

.button--ghost:hover {
    box-shadow: inset 0 0 0 1px var(--accent);
}

.section-head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .section-title {
    margin-bottom: 0;
}

.section-title em {
    color: var(--accent);
}

.section-intro {
    max-width: 34rem;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.link-more {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.link-more span[aria-hidden] {
    transition: transform 0.3s var(--ease);
}

.link-more:hover span[aria-hidden] {
    transform: translateX(4px);
}

.prose {
    max-width: 42rem;
    color: #cfd6e3;
}

.prose h2,
.prose h3 {
    margin: 2.5rem 0 1rem;
    color: var(--text);
    font: 400 2rem/1.1 var(--font-serif);
}

.prose ul {
    padding-left: 1.25rem;
}

.prose li::marker {
    color: var(--accent);
}

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

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding-inline: var(--gutter);
    transition: background-color 0.4s, backdrop-filter 0.4s, transform 0.5s var(--ease);
}

.site-header.is-scrolled {
    background: rgb(10 12 17 / 0.72);
    backdrop-filter: blur(12px);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header__logo {
    position: relative;
    z-index: 2;
    display: inline-flex;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.site-header__logo:hover {
    color: var(--accent);
}

/* Former qued.fr logo, glyph of the icon font */
.site-header__logo::before {
    content: '\e008';
    font: normal 400 2.5rem/1 'dquedeville-icon';
    -webkit-font-smoothing: antialiased;
}

.site-nav ul {
    display: flex;
    gap: 2.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    position: relative;
    font-size: 0.95rem;
    text-decoration: none;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.3rem;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav .site-nav__cta {
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.site-nav .site-nav__cta::after {
    content: none;
}

.site-nav .site-nav__cta:hover,
.site-nav .site-nav__cta[aria-current] {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.site-header__toggle {
    display: none;
}

@media (max-width: 47.99rem) {
    .site-header__toggle {
        position: relative;
        z-index: 2;
        display: grid;
        place-items: center;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: none;
        color: inherit;
        cursor: pointer;
    }

    .site-header__burger,
    .site-header__burger::before {
        display: block;
        width: 1.1rem;
        height: 1px;
        background: currentColor;
        transition: transform 0.4s var(--ease);
    }

    .site-header__burger {
        transform: translateY(-3px);
    }

    .site-header__burger::before {
        content: '';
        transform: translateY(6px);
    }

    [aria-expanded='true'] .site-header__burger {
        transform: rotate(45deg);
    }

    [aria-expanded='true'] .site-header__burger::before {
        transform: rotate(-90deg);
    }

    .site-nav {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        padding: var(--gutter);
        background: var(--bg);
        visibility: hidden;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.6s var(--ease), visibility 0s 0.6s;
    }

    .site-nav.is-open {
        visibility: visible;
        clip-path: inset(0);
        transition: clip-path 0.6s var(--ease);
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-nav a {
        font: 400 clamp(2.75rem, 12vw, 4rem)/1.15 var(--font-serif);
    }

    .site-nav .site-nav__cta {
        padding: 0;
        border: 0;
    }

    .site-nav .site-nav__cta:hover,
    .site-nav .site-nav__cta[aria-current] {
        background: none;
        color: var(--accent);
    }
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(80svh, 56rem);
    padding: calc(var(--header-h) + 3rem) 0 clamp(3.5rem, 8vh, 6rem);
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #0b2236;
}

/* Parallax images overflow their frame on both sides: the drift must never uncover an edge */
.hero__bg img {
    position: absolute;
    top: -13%;
    left: 0;
    width: 100%;
    height: 126%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    opacity: 0.4;
    mix-blend-mode: luminosity;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(10 12 17 / 0.3), var(--bg) 92%);
}

.hero__title {
    margin: 0;
    font: 800 clamp(2.75rem, 12vw, 9rem)/0.92 var(--font-display);
    font-stretch: 125%;
    letter-spacing: -0.03em;
}

.hero__title em {
    font-family: inherit;
    font-weight: inherit;
}

.hero__title span {
    display: block;
}

.hero__title-last {
    padding-left: clamp(0rem, 12vw, 12rem);
    color: var(--accent);
}

/* Name drawn as particles: the text stays laid out (and readable by screen readers) but unpainted.
   text-fill-color, not color: the canvas reads each part's color to redraw it on resize */
.hero__title.is-particles,
.hero__title.is-particles * {
    -webkit-text-fill-color: transparent;
}

.hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__inner {
    position: relative;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero__portrait {
    width: clamp(4.5rem, 9vw, 6.5rem);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(0.2);
}

.hero__subtitle {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero__subtitle span {
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem;
}

/* Masks of the split title: room for italic overhangs and descenders */
.split-line-mask {
    padding: 0.08em 0.2em 0.16em;
    margin: -0.08em -0.2em -0.16em;
}

/* Above-the-fold elements wait for GSAP, see base.html.twig */
.motion:not(.motion-timeout) [data-hero-title],
.motion:not(.motion-timeout) [data-hero-item],
.motion:not(.motion-timeout) [data-hero-portrait] {
    visibility: hidden;
}

/* About: bento grid */
.about {
    padding-block: clamp(5rem, 12vw, 9rem);
}

.bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 1rem;
}

.bento__tile {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
}

.bento__tile--bio,
.bento__tile--image,
.bento__tile--cv {
    grid-column: 1 / -1;
}

.bento__tile--image {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
}

/* Out of the flow: a portrait photo must not stretch the grid row */
.bento__tile--image img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: 50% 30%;
}

.bento__tile--fact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.bento__tile--cv {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.bento__tile--cv:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -16px var(--accent);
}

.bento__label {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bento__tile--cv .bento__label {
    color: inherit;
    opacity: 0.7;
}

.bento__value {
    display: block;
    margin: 0;
    font: 400 clamp(2.5rem, 5vw, 3.75rem)/1 var(--font-serif);
}

.bento__value--text {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.15;
}

.bento__value small {
    font-size: 0.45em;
    color: var(--muted);
}

@media (min-width: 60rem) {
    .bento {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bento__tile--bio {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento__tile--image {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: auto;
        min-height: 26rem;
    }

    .bento__tile--cv {
        grid-column: span 2;
    }
}

/* Parcours */
.parcours {
    padding-top: clamp(2rem, 6vw, 4rem);
}

/* Call to action */
.cta {
    padding-block: clamp(5rem, 12vw, 9rem);
    text-align: center;
}

.cta .eyebrow {
    justify-content: center;
}

.cta__title {
    margin: 0 0 2.5rem;
    font: 400 clamp(3rem, 9vw, 7.5rem)/0.95 var(--font-serif);
    letter-spacing: -0.02em;
}

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

/* Timeline */
.timeline {
    position: relative;
    padding-bottom: clamp(6rem, 14vw, 11rem);
    /* The cards slide in from the right: before their reveal they must not widen the page */
    overflow-x: clip;
    --rail: 0.5rem;
}

.timeline__track {
    position: absolute;
    top: 0;
    bottom: clamp(6rem, 14vw, 11rem);
    left: calc(var(--gutter) + var(--rail));
    width: 1px;
    background: var(--line);
}

.timeline__progress {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform-origin: top;
}

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

.timeline__item {
    position: relative;
    padding-left: calc(var(--rail) + 2.5rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
}

.timeline__dot {
    position: absolute;
    top: 0.45rem;
    left: calc(var(--rail) - 0.4rem);
    width: 0.8rem;
    height: 0.8rem;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--bg);
    transition: background-color 0.4s;
}

.timeline__item.is-active .timeline__dot {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgb(53 160 224 / 0.18);
}

.timeline__dates {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-transform: capitalize;
}

.timeline__dates span {
    margin-left: 0.75rem;
    padding: 0.15rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: none;
}

.timeline__card {
    display: grid;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

@media (min-width: 60rem) {
    .timeline__card {
        grid-template-columns: 2fr 3fr;
    }
}

.timeline__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

@media (min-width: 60rem) {
    .timeline__media {
        aspect-ratio: auto;
        min-height: 100%;
    }
}

.timeline__media img {
    position: absolute;
    top: -6%;
    left: 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    filter: grayscale(0.6);
    transition: filter 0.6s;
}

.timeline__card:hover .timeline__media img {
    filter: none;
}

.timeline__body {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.timeline__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline__logo {
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0.3rem;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.timeline__company {
    margin: 0;
    font: 400 clamp(2rem, 4vw, 2.75rem)/1 var(--font-serif);
}

.timeline__role {
    margin: 0.25rem 0 0;
    color: var(--accent);
}

.timeline__summary {
    margin: 1.5rem 0 0;
    color: #c3cad8;
}

/* Experience drawer */
.has-drawer {
    overflow: hidden;
}

.drawer {
    width: min(44rem, 100%);
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    overflow: hidden auto;
    overscroll-behavior: contain;
    background: transparent;
    color: var(--text);
}

/* No backdrop blur: recomputed over the whole page on every frame, it made the slide stutter */
.drawer::backdrop {
    background: rgb(5 6 9 / 0.8);
}

/* Close button and content share one grid cell: a float made the media block shrink beside it */
.drawer__panel {
    position: relative;
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    min-height: 100%;
    background: var(--surface);
    border-left: 1px solid var(--line);
}

.drawer__close {
    position: sticky;
    top: 1rem;
    z-index: 1;
    grid-area: 1 / 1;
    align-self: start;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 1rem 1rem 0 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgb(17 21 29 / 0.8);
    color: inherit;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.drawer__close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* The whole dialog slides (not the panel inside its scroll box, which flashed a scrollbar) */
@media (prefers-reduced-motion: no-preference) {
    .drawer[open] {
        animation: drawer-in 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .drawer[open]::backdrop {
        animation: fade-in 0.4s ease;
    }

    .drawer.is-closing {
        animation: drawer-out 0.35s cubic-bezier(0.7, 0, 0.84, 0) forwards;
    }

    .drawer.is-closing::backdrop {
        animation: fade-out 0.35s ease forwards;
    }
}

@keyframes drawer-in {
    from { transform: translateX(100%); }
}

@keyframes drawer-out {
    to { transform: translateX(100%); }
}

@keyframes fade-in {
    from { opacity: 0; }
}

@keyframes fade-out {
    to { opacity: 0; }
}

.drawer__content {
    grid-area: 1 / 1;
}

.xp-panel__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.xp-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xp-panel__body {
    padding: clamp(1.5rem, 5vw, 3rem);
}

.xp-panel__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.xp-panel__logo {
    flex: none;
    width: 4rem;
    height: 4rem;
    padding: 0.4rem;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.xp-panel__company {
    margin: 0;
    font: 400 clamp(2.25rem, 5vw, 3.25rem)/1 var(--font-serif);
}

.xp-panel__role {
    margin: 0.35rem 0 0;
    color: var(--accent);
}

.xp-panel__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 2rem 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    overflow: hidden;
}

.xp-panel__facts div {
    padding: 0.85rem 1rem;
    background: var(--surface);
}

.xp-panel__facts dt {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xp-panel__facts dd {
    margin: 0.2rem 0 0;
}

.xp-panel .prose h2,
.xp-panel .prose h3 {
    margin-top: 2rem;
}

/* Contact page */
.contact {
    display: grid;
    gap: clamp(3rem, 6vw, 5rem);
    padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 7rem));
    padding-bottom: clamp(5rem, 12vw, 9rem);
}

@media (min-width: 60rem) {
    .contact {
        grid-template-columns: 1fr 1.1fr;
        align-items: start;
    }

    .contact__intro {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
    }
}

.contact__title {
    margin: 0;
    font: 400 clamp(3.25rem, 9vw, 7rem)/0.92 var(--font-serif);
    letter-spacing: -0.02em;
}

.contact__title span {
    display: block;
}

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

.contact__lead {
    max-width: 30rem;
    margin: 2rem 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.contact__panel {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
}

.contact__flash {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--accent);
    border-radius: 0.5rem;
    background: rgb(53 160 224 / 0.1);
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.contact-form__alert,
.contact-form__error {
    color: #ff8a8a;
    font-size: 0.9rem;
}

.contact-form__alert ul,
.contact-form__error ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-form__field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.contact-form__field > :not(.contact-form__label, .contact-form__optional) {
    grid-column: 1 / -1;
}

.contact-form__label {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form__optional {
    color: var(--muted);
    font-size: 0.8rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form textarea {
    min-height: 10rem;
    resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgb(53 160 224 / 0.25);
}

.contact-form [aria-invalid='true'] {
    border-color: #ff8a8a;
}

.contact-form__hp {
    position: absolute;
    left: -100vw;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__submit {
    justify-self: start;
    border: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* Footer */
.site-footer {
    padding-top: clamp(3rem, 6vw, 4rem);
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links a {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-block: 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer__bottom a {
    text-decoration: none;
}
