/* ============================================================
   components.css — Visual Component Styles
   Single Responsibility: owns appearance rules for discrete
   UI components. No structural / positioning concerns here.
   ============================================================ */

/* ── Logo ─────────────────────────────────────────────────── */
.logo-plate {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: clamp(210px, 28vw, 300px);
    height: auto;
    animation: float-logo 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 32px rgba(242, 172, 13, 0.28)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

/* ── Bean particle ────────────────────────────────────────── */
.bean {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse at 40% 35%, rgba(242, 172, 13, 0.45), rgba(19, 29, 56, 0.85));
    opacity: 0;
    animation: float-bean var(--dur, 12s) var(--delay, 0s) ease-in-out infinite;
}

.bean::after {
    content: '';
    position: absolute;
    width: 1.5px;
    height: 60%;
    top: 20%;
    left: 50%;
    transform: translateX(-50%) rotate(10deg);
    background: rgba(242, 172, 13, 0.3);
    border-radius: 2px;
}

/* ── Steam particle ───────────────────────────────────────── */
.steam {
    position: absolute;
    width: 3px;
    border-radius: 3px;
    bottom: 0;
    background: linear-gradient(to top, rgba(242, 172, 13, 0.22), transparent);
    animation: rise var(--sd, 3s) var(--ss, 0s) ease-out infinite;
}

/* ── Brand text block ─────────────────────────────────────── */
.brand {
    text-align: center;
    margin-top: 16px;
    animation: fade-in 2.4s 0.5s ease both;
}

.brand-origin {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: 0.7rem;
    letter-spacing: 0.55em;
    color: rgba(242, 172, 13, 0.5);
    text-transform: uppercase;
}

.divider {
    width: 130px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 14px auto 12px;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: rgba(242, 172, 13, 0.65);
    letter-spacing: 0.15em;
}

/* ── Social links ─────────────────────────────────────────── */
.socials {
    display: flex;
    gap: 26px;
    margin-top: 28px;
    animation: fade-in 2.4s 1s ease both;
}

.social-link {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(242, 172, 13, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(242, 172, 13, 0.65);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 172, 13, 0.15), transparent);
    transform: scale(0);
    transition: transform 0.4s;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(242, 172, 13, 0.25);
}

.social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}