/* ============================================================
   Trade Lines Pharmaceutical — index.css
   Aesthetic: Refined Editorial / Luxury Light
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
    --olive: #3a5230;
    --olive-mid: #4d6b40;
    --olive-light: #7a9b6a;
    --gold: #c5a059;
    --gold-light: #e8cfa0;
    --cream: #f8f5ef;
    --cream-dark: #ede8de;
    --ink: #1a1f14;
    --ink-mid: #3a3d34;
    --ink-soft: #6b6e62;
    --white: #ffffff;
    --border: rgba(58, 82, 48, 0.12);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── ───────────────────────────────── ── */
/* ── HERO ── */
/* ── ───────────────────────────────── ── */

.tl-hero {
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

/* Decorative geometric background */
.tl-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tl-hero__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.tl-hero__circle--1 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tl-hero__circle--2 {
    width: 900px;
    height: 900px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tl-hero__circle--3 {
    width: 1200px;
    height: 1200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tl-hero__line {
    position: absolute;
    background: var(--border);
}

.tl-hero__line--h {
    left: 0;
    right: 0;
    height: 1px;
    top: 50%;
}

.tl-hero__line--v {
    top: 0;
    bottom: 0;
    width: 1px;
    left: 50%;
}

/* Floating dots */
.tl-hero__dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.5;
}

.tl-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--olive-light);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.tl-hero__eyebrow::before,
.tl-hero__eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--olive-light);
}

.tl-hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--ink);
    max-width: 820px;
    margin: 0 auto 1.5rem;
    letter-spacing: -0.02em;
}

.tl-hero__headline em {
    font-style: italic;
    color: var(--olive);
}

.tl-hero__sub {
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.75;
}

.tl-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── COUNTDOWN ── */

.tl-countdown {
    display: flex;
    gap: 1px;
    justify-content: center;
    margin: 3rem auto;
    max-width: 520px;
}

.tl-countdown__item {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.5rem 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tl-countdown__item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--olive), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-smooth);
}

.tl-countdown__item:hover::before {
    transform: scaleX(1);
}

.tl-countdown__item:first-child {
    border-radius: 8px 0 0 8px;
}

.tl-countdown__item:last-child {
    border-radius: 0 8px 8px 0;
}

.tl-countdown__num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--olive);
    line-height: 1;
    display: block;
    transition: transform 0.15s var(--ease-spring);
}

.tl-countdown__num.pop {
    transform: scale(1.2);
}

.tl-countdown__label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    text-transform: uppercase;
    margin-top: 0.4rem;
    display: block;
}

/* ── BUTTONS ── */

.btn-primary-tl {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--olive);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s var(--ease-spring), box-shadow 0.25s;
    letter-spacing: 0.02em;
}

.btn-primary-tl:hover {
    background: var(--olive-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 82, 48, 0.25);
    color: var(--white);
}

.btn-ghost-tl {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--olive);
    border: 1.5px solid var(--olive);
    border-radius: 999px;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s var(--ease-spring);
    letter-spacing: 0.02em;
}

.btn-ghost-tl:hover {
    background: var(--olive);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── ───────────────────────────────── ── */
/* ── MARQUEE STRIP ── */
/* ── ───────────────────────────────── ── */

.tl-marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    padding: 1rem 0;
    overflow: hidden;
}

.tl-marquee__track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marqueeScroll 22s linear infinite;
}

.tl-marquee__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    text-transform: uppercase;
}

.tl-marquee__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── ───────────────────────────────── ── */
/* ── PILLARS / FEATURES ── */
/* ── ───────────────────────────────── ── */

.tl-section {
    padding: 7rem 1.5rem;
}

.tl-section-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.tl-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.tl-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 4rem;
}

.tl-pillar {
    background: var(--white);
    padding: 3rem 2.5rem;
    transition: background 0.35s;
    position: relative;
    overflow: hidden;
}

.tl-pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.tl-pillar:hover::after {
    transform: scaleX(1);
}

.tl-pillar:hover {
    background: var(--cream);
}

.tl-pillar__num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    color: var(--cream-dark);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.tl-pillar:hover .tl-pillar__num {
    color: var(--gold-light);
}

.tl-pillar__icon {
    font-size: 1.8rem;
    color: var(--olive);
    margin-bottom: 1.25rem;
    display: block;
}

.tl-pillar__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.tl-pillar__body {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.75;
    font-weight: 300;
}

/* ── ───────────────────────────────── ── */
/* ── FOUNDERS ── */
/* ── ───────────────────────────────── ── */

.tl-founders {
    background: var(--white);
}

.tl-founders__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 760px;
    margin: 4rem auto 0;
}

.tl-founder-card {
    text-align: center;
    position: relative;
}

.tl-founder-card__img-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: visible;
    /* allow the ring to show outside */
    margin: 0 auto 1.5rem;
    position: relative;
    transition: transform 0.4s var(--ease-smooth);
}

/* inner clip circle for the photo */
.tl-founder-card__img-wrap img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--ease-smooth);
}

/* olive ring — sits behind the img via z-index */
.tl-founder-card__img-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--olive);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.35s var(--ease-smooth), inset 0.35s var(--ease-smooth);
}

.tl-founder-card:hover .tl-founder-card__img-wrap::before {
    opacity: 1;
    inset: -10px;
}

.tl-founder-card:hover .tl-founder-card__img-wrap img {
    transform: scale(1.06);
}

.tl-founder-card__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.tl-founder-card__title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
}

/* ── ───────────────────────────────── ── */
/* ── NOTIFY / EMAIL ── */
/* ── ───────────────────────────────── ── */

.tl-notify {
    background: var(--olive);
    color: var(--white);
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tl-notify::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.tl-notify::after {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.tl-notify__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.tl-notify__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.tl-notify__sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.tl-notify__form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 999px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.tl-notify__form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.9rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white);
}

.tl-notify__form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.tl-notify__form button {
    background: var(--gold);
    border: none;
    color: var(--ink);
    padding: 0.9rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.tl-notify__form button:hover {
    background: var(--gold-light);
}

.tl-notify__success {
    display: none;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold-light);
    margin-top: 1.5rem;
}

/* ── ───────────────────────────────── ── */
/* ── FOOTER ── */
/* ── ───────────────────────────────── ── */

.tl-footer {
    background: var(--cream);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem 2rem;
}

.tl-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.tl-footer__brand span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--olive);
}

.tl-footer__brand small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    text-transform: uppercase;
    margin-top: 2px;
}

.tl-footer__links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.tl-footer__links a {
    font-size: 0.83rem;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.25s;
}

.tl-footer__links a:hover {
    color: var(--olive);
}

.tl-footer__copy {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    text-transform: uppercase;
}

/* ── ───────────────────────────────── ── */
/* ── SCROLL PROGRESS BAR ── */
/* ── ───────────────────────────────── ── */

.tl-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), var(--gold));
    z-index: 2000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── ───────────────────────────────── ── */
/* ── CONTAINER ── */
/* ── ───────────────────────────────── ── */

.tl-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── ───────────────────────────────── ── */
/* ── RESPONSIVE ── */
/* ── ───────────────────────────────── ── */

@media (max-width: 768px) {

    .tl-founders__grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .tl-countdown {
        gap: 1px;
    }

    .tl-countdown__num {
        font-size: 2rem;
    }

    .tl-hero {
        padding-top: 7rem;
    }
}