/* ============================================================
   ATELIER 3D · Les Sentes
   Theme: maker / isometric / neighborhood tech
   ============================================================ */

:root {
    /* Palette */
    --ink: #0E1116;
    --ink-soft: #2A2F38;
    --paper: #FBF7EE;
    --paper-warm: #F3EDDD;
    --cream: #FFF9EC;
    --rule: #1a1d24;

    --accent: #FF4E1F;        /* extrusion orange */
    --accent-deep: #D33A0E;
    --violet: #4833FF;        /* digital blue-violet */
    --violet-deep: #2E1EC9;
    --mint: #26C286;
    --sky: #BFE4FF;
    --yellow: #FFD24A;

    /* Typography */
    --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Instrument Serif", Georgia, serif;
    --font-mono: "JetBrains Mono", "Menlo", monospace;

    /* Spacing */
    --wrap: 1200px;
    --radius-s: 6px;
    --radius-m: 12px;
    --radius-l: 20px;

    /* Shadows */
    --shadow-flat: 0 1px 0 rgba(14,17,22,0.08);
    --shadow-pop: 0 10px 30px -12px rgba(14,17,22,0.25);
    --shadow-lifted: 0 24px 50px -20px rgba(14,17,22,0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; }

.container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== BACKGROUND GRID & CUBES ====== */

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(14,17,22,0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(14,17,22,0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.cubes-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cube {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.25;
    animation: float 18s ease-in-out infinite;
}

.cube .face {
    position: absolute;
    width: 50%;
    height: 50%;
}
.cube .top    { top: 0;    left: 25%; background: var(--yellow); transform: skewX(-30deg) scaleY(0.577); transform-origin: bottom; }
.cube .left   { bottom: 0; left: 0;   background: var(--accent); transform: skewY(30deg); }
.cube .right  { bottom: 0; right: 0;  background: var(--violet); transform: skewY(-30deg); }

.cube-1 { top: 12%;  left: 4%;   animation-delay: 0s; }
.cube-2 { top: 68%;  left: 8%;   animation-delay: -6s; width: 56px; height: 56px; }
.cube-3 { top: 18%;  right: 6%;  animation-delay: -3s; width: 48px; height: 48px; }
.cube-4 { bottom: 10%; right: 10%; animation-delay: -9s; width: 100px; height: 100px; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(2deg); }
}

/* ====== NAV ====== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 247, 238, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14,17,22,0.08);
}

.nav-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.brand-mark {
    position: relative;
    width: 28px;
    height: 28px;
    display: inline-block;
    flex-shrink: 0;
}
.brand-mark .mark-face {
    position: absolute;
    width: 14px;
    height: 14px;
}
.brand-mark .f-top   { top: 0; left: 7px; background: var(--yellow); transform: skewX(-30deg) scaleY(0.577); transform-origin: bottom; }
.brand-mark .f-left  { bottom: 0; left: 0; background: var(--accent); transform: skewY(30deg); }
.brand-mark .f-right { bottom: 0; right: 0; background: var(--violet); transform: skewY(-30deg); }
.brand-mark.small { width: 22px; height: 22px; }
.brand-mark.small .mark-face { width: 11px; height: 11px; }
.brand-mark.small .f-top { left: 5.5px; }

.brand-3d {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 4px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-weight: 500;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }

@media (max-width: 720px) {
    .nav-links { display: none; }
}

/* ====== BUTTONS ====== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.12s, box-shadow 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--ink);
    color: var(--cream);
    box-shadow: var(--shadow-pop);
}
.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lifted);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    font-size: 1.08rem;
}

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

.hero {
    position: relative;
    z-index: 1;
    padding: 72px 0 96px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero { padding: 48px 0 64px; }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--cream);
    border: 1px solid rgba(14,17,22,0.12);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 24px;
}
.tag-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(1.75rem, 5.2vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    font-weight: 600;
    word-break: normal;
    overflow-wrap: break-word;
}
.hero-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0 0 36px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--cream);
    border: 1px solid rgba(14,17,22,0.08);
    border-radius: var(--radius-m);
}
@media (max-width: 540px) {
    .hero-meta { grid-template-columns: 1fr; gap: 12px; }
}
.meta-block {
    display: flex;
    flex-direction: column;
}
.meta-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    opacity: 0.7;
    margin-bottom: 4px;
}
.meta-value {
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}
.meta-small {
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero visual: isometric scene */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: min(460px, 100%);
    justify-self: center;
    width: 100%;
}
@media (max-width: 540px) {
    .hero-visual { display: none; }
}
.iso-scene {
    position: absolute;
    inset: 0;
    perspective: 1200px;
}
.iso-ground {
    position: absolute;
    inset: 20% 10% 20% 10%;
    background:
        linear-gradient(135deg, rgba(72,51,255,0.08), rgba(255,78,31,0.08)),
        var(--cream);
    border: 2px solid var(--ink);
    border-radius: 8px;
    transform: rotateX(60deg) rotateZ(-45deg);
    box-shadow: var(--shadow-lifted);
}

.iso-piece {
    position: absolute;
    border: 2px solid var(--ink);
    border-radius: 4px;
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--ink);
    animation: hover 4s ease-in-out infinite;
}
.iso-piece.p1 {
    width: 80px; height: 80px;
    top: 20%; left: 32%;
    background: var(--accent);
    transform: rotate(-6deg);
    animation-delay: 0s;
}
.iso-piece.p2 {
    width: 56px; height: 56px;
    top: 46%; left: 18%;
    background: var(--violet);
    transform: rotate(10deg);
    animation-delay: -1s;
}
.iso-piece.p3 {
    width: 72px; height: 48px;
    top: 42%; right: 18%;
    background: var(--yellow);
    transform: rotate(-4deg);
    animation-delay: -2s;
}
.iso-piece.p4 {
    width: 40px; height: 90px;
    top: 10%; right: 24%;
    background: var(--mint);
    transform: rotate(6deg);
    animation-delay: -1.5s;
    border-radius: 20px;
}
@keyframes hover {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

.iso-caption {
    position: absolute;
    bottom: -8px;
    left: 0;
    background: var(--ink);
    color: var(--cream);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--shadow-pop);
}
.iso-caption .code-line { opacity: 0.9; }
.iso-caption strong { color: var(--yellow); font-weight: 500; }

/* ====== SECTIONS ====== */

.section {
    position: relative;
    z-index: 1;
    padding: 96px 0;
}
@media (max-width: 720px) {
    .section { padding: 64px 0; }
}

.section-head {
    max-width: 820px;
    margin-bottom: 56px;
}
.section-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-kicker.light { color: var(--yellow); }

.section-title {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0;
    font-weight: 600;
}
.section-title.light { color: var(--cream); }

/* ====== STORY (L'histoire du projet) ====== */

.story {
    padding: 72px 0 56px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,210,74,0.18), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(72,51,255,0.08), transparent 45%);
}

.story-wrap {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.story-title {
    margin-bottom: 32px;
}
.story-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.story-prose {
    font-size: 1.14rem;
    line-height: 1.65;
    color: var(--ink);
}
.story-prose p {
    margin: 0 0 18px;
}
.story-prose p:last-child { margin-bottom: 0; }
.story-prose strong {
    color: var(--ink);
    font-weight: 600;
    position: relative;
    padding: 0 2px;
    background: linear-gradient(transparent 70%, rgba(255,210,74,0.45) 70%);
}

.story-sign {
    margin-top: 32px;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px dashed rgba(14,17,22,0.2);
}
.sign-hand {
    font-family: "Caveat", cursive;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    transform: rotate(-3deg);
    transform-origin: left bottom;
}
.sign-meta {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    color: var(--ink-soft);
    letter-spacing: -0.005em;
}

/* ====== CONCEPT GRID ====== */

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.concept-card {
    position: relative;
    padding: 32px 28px;
    background: var(--cream);
    border: 1px solid rgba(14,17,22,0.1);
    border-radius: var(--radius-m);
    transition: transform 0.2s, box-shadow 0.2s;
}
.concept-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-pop);
}

.concept-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-soft);
    opacity: 0.5;
}

.concept-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    font-weight: 600;
}
.concept-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* ====== TIMELINE ====== */

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    max-width: 820px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
        var(--ink) 0 6px,
        transparent 6px 12px);
}
@media (max-width: 540px) {
    .timeline::before { left: 68px; }
}

.timeline-item {
    display: grid;
    grid-template-columns: 72px 36px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
}
@media (max-width: 540px) {
    .timeline-item { grid-template-columns: 50px 36px 1fr; }
}

.time {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    padding-top: 2px;
    color: var(--ink);
}

.dot {
    position: relative;
    width: 16px;
    height: 16px;
    margin: 6px auto;
    background: var(--accent);
    border: 3px solid var(--paper);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--ink);
}

.event h4 {
    margin: 0 0 4px;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.event p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.96rem;
}

/* ====== PARTNERS ====== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.partner-card {
    padding: 32px 24px;
    background: var(--paper-warm);
    border-radius: var(--radius-m);
    border: 1px solid rgba(14,17,22,0.08);
}

.partner-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--cream);
    border-radius: 12px;
    margin-bottom: 20px;
}
.partner-icon svg { width: 32px; height: 32px; }

.team-card {
    background: var(--cream);
    border: 1.5px solid var(--ink);
    position: relative;
}
.team-card::before {
    content: '';
    position: absolute;
    top: -8px; right: -8px;
    width: 24px; height: 24px;
    background: var(--yellow);
    border: 1.5px solid var(--ink);
    border-radius: 50%;
}
.team-icon {
    background: var(--accent);
}

.partner-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.partner-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

/* ====== SIGNUP ====== */

.signup {
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.signup::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 180%;
    background: radial-gradient(circle, rgba(255,78,31,0.15), transparent 70%);
    pointer-events: none;
}

.signup-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .signup-wrap { grid-template-columns: 1fr; gap: 32px; }
}

.signup-intro .section-title { margin-bottom: 20px; }
.signup-blurb {
    color: rgba(251,247,238,0.75);
    margin: 0 0 24px;
    font-size: 1.02rem;
}

.signup-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.signup-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(251,247,238,0.9);
    font-size: 0.98rem;
}
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: var(--mint);
    color: var(--ink);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.signup-form {
    background: var(--cream);
    color: var(--ink);
    padding: 32px;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-lifted);
}
@media (max-width: 540px) {
    .signup-form { padding: 24px 20px; }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-field label,
.form-fieldset legend {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.form-field input,
.form-field textarea {
    font-family: var(--font-display);
    font-size: 1rem;
    padding: 12px 14px;
    border: 1.5px solid rgba(14,17,22,0.15);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 0.15s, background 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}
.form-field textarea { resize: vertical; min-height: 70px; }

.form-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px;
}
.form-fieldset legend {
    padding: 0;
    margin-bottom: 12px;
}

.counter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 540px) {
    .counter-row { grid-template-columns: 1fr; }
}
.counter { display: flex; flex-direction: column; gap: 6px; }
.counter label {
    font-size: 0.82rem;
    color: var(--ink-soft);
}
.counter-control {
    display: flex;
    align-items: center;
    background: var(--paper);
    border: 1.5px solid rgba(14,17,22,0.15);
    border-radius: 8px;
    overflow: hidden;
}
.cbtn {
    background: none;
    border: none;
    width: 36px;
    height: 44px;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--ink);
    font-weight: 500;
    transition: background 0.12s;
}
.cbtn:hover { background: rgba(14,17,22,0.08); }
.counter input {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    pointer-events: none;
}
.counter input::-webkit-outer-spin-button,
.counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    cursor: pointer;
}
.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.chip span {
    display: inline-block;
    padding: 10px 16px;
    border: 1.5px solid rgba(14,17,22,0.2);
    border-radius: 999px;
    background: var(--paper);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.15s;
}
.chip input:checked + span {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}
.chip:hover span { border-color: var(--ink); }

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0 24px;
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.4;
}
.consent input {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
}
.consent a {
    color: var(--accent);
    text-decoration: underline;
}

/* Success state */
.signup-success {
    background: var(--cream);
    color: var(--ink);
    padding: 48px 32px;
    border-radius: var(--radius-l);
    text-align: center;
    box-shadow: var(--shadow-lifted);
}
.signup-success h3 {
    font-size: 1.8rem;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.signup-success h3 em {
    font-family: var(--font-serif);
    color: var(--accent);
}
.success-icon {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ink);
    font-weight: 700;
}
.success-detail {
    background: var(--paper-warm);
    padding: 20px;
    border-radius: 12px;
    margin: 24px 0;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}
.success-detail div { margin: 4px 0; }
.success-detail span { color: var(--ink-soft); }

/* Error state */
.signup-error {
    background: #FFF5F3;
    border: 1.5px solid var(--accent);
    color: var(--ink);
    padding: 32px;
    border-radius: var(--radius-l);
    text-align: center;
}
.signup-error h3 { color: var(--accent); margin: 0 0 12px; }

/* ====== FAQ ====== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
}

.faq-item {
    border-top: 1px solid rgba(14,17,22,0.12);
    padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(14,17,22,0.12); }

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

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

.site-footer {
    position: relative;
    z-index: 1;
    padding: 56px 0 32px;
    border-top: 1px solid rgba(14,17,22,0.1);
    background: var(--paper-warm);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}
@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .foot-brand { justify-content: center; }
}

.foot-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 0.98rem;
}
.foot-sub {
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.foot-contact {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.foot-contact a {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--ink-soft);
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.foot-contact a:hover {
    color: var(--accent);
    border-color: var(--accent);
}
@media (max-width: 720px) {
    .foot-contact { justify-content: center; }
}

.foot-credit {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.95rem;
    color: var(--ink);
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px dashed rgba(14,17,22,0.2);
}
.foot-credit strong {
    color: var(--accent);
    font-weight: 600;
}

.foot-note {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.84rem;
    color: var(--ink-soft);
    opacity: 0.7;
    margin: 12px 0 0;
    font-family: var(--font-mono);
}
