/* ==========================================================================
   Ecofriends Trading OÜ — design system
   Editorial dark theme, eco-conscious palette, Tallinn studio feel.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
    /* Surfaces */
    --bg-0: #07140f;            /* deepest */
    --bg-1: #0a1c16;            /* page background */
    --bg-2: #0e251d;            /* elevated band */
    --bg-3: #133127;            /* card */
    --bg-4: #194036;            /* card hover */

    /* Lines & overlays */
    --line: rgba(232, 226, 210, 0.10);
    --line-strong: rgba(232, 226, 210, 0.22);
    --overlay: rgba(7, 20, 15, 0.65);

    /* Text */
    --text-0: #f3ecdb;          /* headlines, cream */
    --text-1: #e8e2d2;          /* body */
    --text-2: #b6bdb4;          /* muted */
    --text-3: #7e8a82;          /* very muted */

    /* Brand accents */
    --accent: #9fe3b8;          /* sage mint */
    --accent-strong: #6cc591;
    --accent-soft: rgba(159, 227, 184, 0.14);
    --accent-glow: rgba(108, 197, 145, 0.35);

    /* Type */
    --font-serif: "Fraunces", "Times New Roman", Georgia, serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing & radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-soft: 0 30px 80px -40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 0 1px var(--line), 0 30px 80px -40px var(--accent-glow);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --container: 1200px;
    --gutter: clamp(20px, 4vw, 48px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg-1);
    color: var(--text-1);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease), opacity 200ms var(--ease); }
a:hover { color: var(--accent); }

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Layout helpers ---------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 900px; }

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
@media (max-width: 860px) {
    .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Typography --------------------------------------------------- */
.kicker {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(159, 227, 184, 0.04);
    color: var(--text-2);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}
.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.display {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(40px, 7vw, 84px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--text-0);
    margin: 0 0 28px;
    max-width: 16ch;
}
.display em {
    font-style: italic;
    color: var(--accent);
    font-weight: 300;
}

.h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--text-0);
    margin: 0 0 16px;
    max-width: 22ch;
}
.h2 .muted {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 400;
    color: var(--text-2);
    letter-spacing: 0;
    line-height: 1.55;
    margin-top: 16px;
    max-width: 56ch;
}

h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(20px, 1.6vw, 23px);
    letter-spacing: -0.01em;
    color: var(--text-0);
    margin: 0 0 12px;
    line-height: 1.25;
}

.lead {
    font-size: clamp(17px, 1.5vw, 19.5px);
    line-height: 1.6;
    color: var(--text-2);
    max-width: 58ch;
    margin: 0 0 36px;
}

.prose p {
    color: var(--text-2);
    font-size: 16.5px;
    line-height: 1.72;
    margin: 0 0 18px;
    max-width: 62ch;
}
.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: all 220ms var(--ease);
    white-space: nowrap;
    line-height: 1;
}
.btn svg { transition: transform 220ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    background: var(--accent);
    color: #08251a;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    color: #06180f;
    box-shadow: 0 14px 40px -20px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-1);
    border-color: var(--line-strong);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large { padding: 16px 26px; font-size: 15px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ---------- Header ------------------------------------------------------ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-strong), var(--accent));
    z-index: 1000;
    transition: width 80ms linear;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 28, 22, 0.55);
    border-bottom: 1px solid transparent;
    transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.site-header.scrolled {
    background: rgba(7, 20, 15, 0.85);
    border-bottom-color: var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-0);
    font-weight: 500;
}
.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(159, 227, 184, 0.18), rgba(159, 227, 184, 0.02));
    border: 1px solid var(--line);
    color: var(--accent);
}
.brand-text { display: inline-flex; align-items: baseline; gap: 6px; font-size: 15px; letter-spacing: 0.005em; }
.brand-name { font-weight: 600; }
.brand-suffix {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--text-3);
    text-transform: uppercase;
}

.primary-nav ul {
    display: flex;
    gap: 28px;
}
.primary-nav a {
    font-size: 14px;
    color: var(--text-2);
    position: relative;
    padding: 6px 0;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 220ms var(--ease);
}
.primary-nav a:hover { color: var(--text-0); }
.primary-nav a:hover::after { width: 100%; }

.nav-cta { padding: 11px 18px; font-size: 13.5px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text-1);
    transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--gutter);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    color: var(--text-1);
    border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 12px; }

@media (max-width: 920px) {
    .primary-nav, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    .mobile-menu.open { display: block; }
}

/* ---------- Hero -------------------------------------------------------- */
.hero {
    position: relative;
    padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px);
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, 120vw);
    height: 800px;
    background: radial-gradient(closest-side, rgba(108, 197, 145, 0.22), rgba(108, 197, 145, 0));
    filter: blur(30px);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 70%);
    opacity: 0.55;
}

.hero-inner { position: relative; }

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    color: var(--text-2);
    font-size: 14px;
}
.hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-bullets .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-3);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: floatY 2.4s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}
@media (max-width: 720px) { .scroll-hint { display: none; } }

/* ---------- Trust strip ------------------------------------------------- */
.trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    padding: clamp(36px, 5vw, 56px) 0;
}
.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 4vw, 48px);
}
.trust-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid var(--line);
    padding-left: clamp(16px, 2vw, 24px);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-num {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 38px);
    color: var(--text-0);
    letter-spacing: -0.02em;
    font-weight: 400;
    line-height: 1;
}
.trust-label {
    font-size: 12.5px;
    color: var(--text-2);
    line-height: 1.5;
    letter-spacing: 0.02em;
}
@media (max-width: 720px) {
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-item { border-left: 0; padding-left: 0; }
}

/* ---------- About / two-col labels -------------------------------------- */
.col-label .kicker { margin-bottom: 12px; }
.col-label .h2 { margin-top: 12px; }

.checklist {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}
.checklist li {
    position: relative;
    padding-left: 28px;
    color: var(--text-1);
    font-size: 15.5px;
    line-height: 1.55;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.55em;
    width: 14px; height: 14px;
    background: var(--accent-soft);
    border-radius: 50%;
}
.checklist li::after {
    content: "";
    position: absolute;
    left: 4px; top: 0.85em;
    width: 6px; height: 3px;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
}

/* ---------- Services ---------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--bg-1);
    padding: clamp(28px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: background 280ms var(--ease), transform 280ms var(--ease);
    position: relative;
    min-height: 280px;
}
.service-card:hover { background: var(--bg-2); }
.service-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 320ms var(--ease);
}
.service-card:hover::after { opacity: 0.6; }

.service-num {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.04em;
}
.service-card p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Approach / Principles --------------------------------------- */
.principles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 980px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

.principle {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 28px;
    border-top: 1px solid var(--line-strong);
    position: relative;
}
.principle-num {
    font-family: var(--font-serif);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.06em;
}
.principle p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* ---------- Process ----------------------------------------------------- */
.process-list {
    display: grid;
    gap: 0;
    counter-reset: step;
}
.process-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: clamp(20px, 3vw, 48px);
    padding: clamp(28px, 4vw, 44px) 0;
    border-top: 1px solid var(--line);
    align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }

.process-marker {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-2);
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 17px;
    letter-spacing: 0.04em;
    flex: 0 0 auto;
}
.process-body p { margin: 0; color: var(--text-2); max-width: 60ch; font-size: 16px; }
@media (max-width: 600px) {
    .process-step { grid-template-columns: 1fr; }
    .process-marker { width: 56px; height: 56px; font-size: 15px; }
}

/* ---------- Band / Mission quote ---------------------------------------- */
.band {
    padding: clamp(80px, 10vw, 140px) 0;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.band-inner { max-width: 900px; margin: 0 auto; }
.band-quote {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.35;
    color: var(--text-0);
    letter-spacing: -0.005em;
    margin: 24px 0 20px;
    font-weight: 400;
}
.band-attr { color: var(--text-3); font-size: 13.5px; letter-spacing: 0.04em; margin: 0; }
.band .kicker { justify-content: center; }

/* ---------- FAQ --------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
    border-top: 1px solid var(--line);
    padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--font-serif);
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--text-0);
    line-height: 1.35;
    font-weight: 400;
    transition: color 220ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    position: relative;
    flex: 0 0 auto;
    transition: background 220ms var(--ease), border-color 220ms var(--ease), transform 320ms var(--ease);
}
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background: var(--text-1);
    top: 50%; left: 50%;
    transition: transform 280ms var(--ease), background 220ms var(--ease);
}
.faq-icon::before { width: 10px; height: 1.4px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.4px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before { background: var(--bg-0); }
.faq-item[open] .faq-icon::after  { transform: translate(-50%, -50%) scaleY(0); }

.faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 360ms var(--ease), opacity 260ms var(--ease), padding 260ms var(--ease);
}
.faq-item[open] .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding-bottom: 26px;
}
.faq-answer p {
    margin: 0;
    color: var(--text-2);
    max-width: 62ch;
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- Contact ----------------------------------------------------- */
.section-contact { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); }

.contact-list { margin-top: 32px; display: grid; gap: 22px; }
.contact-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    align-items: start;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--text-1);
    line-height: 1.55;
}
.contact-list .contact-key {
    color: var(--text-3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding-top: 2px;
}
.contact-list a { color: var(--accent); }
.contact-list a:hover { color: var(--text-0); }

.contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 44px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    box-shadow: var(--shadow-soft);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }

.field label {
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--text-2);
    text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-1);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color 220ms var(--ease), background 220ms var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(159, 227, 184, 0.04);
}
.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
                      linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}
.field select option { background: var(--bg-2); color: var(--text-1); }
.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }

.form-note {
    grid-column: 1 / -1;
    color: var(--text-3);
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0;
}
.form-status {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--accent);
    font-size: 14px;
    min-height: 1.2em;
}
.contact-form .btn { grid-column: 1 / -1; justify-self: start; }

@media (max-width: 620px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- Footer ------------------------------------------------------ */
.site-footer {
    background: var(--bg-0);
    border-top: 1px solid var(--line);
    padding: clamp(60px, 8vw, 96px) 0 32px;
    color: var(--text-2);
    font-size: 14px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(32px, 4vw, 64px);
    padding-bottom: clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
}
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-3);
    margin: 0 0 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-1); }
.footer-col a:hover { color: var(--accent); }

.brand-footer { margin-bottom: 18px; }
.footer-tag {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--text-1);
    line-height: 1.45;
    margin: 0;
    max-width: 24ch;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    padding-top: 28px;
    color: var(--text-3);
    font-size: 12.5px;
}
.footer-bottom p { margin: 0; }

@media (max-width: 760px) {
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    will-change: opacity, transform;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
