:root {
    --blue: #2e3092;
    --blue-deep: #1c1e63;
    --navy: #131a3a;
    --navy-2: #0e1430;
    --cream: #f8f7f3;
    --blue-soft: #eff0fa;
    --gold: #fec10d;
    --gold-hover: #ffcd3a;
    --gold-soft: #fff7df;
    --gold-ink: #8a6500;
    --ink: #191b44;
    --muted: #5d607f;
    --line: #e4e5f0;
    --radius: 22px;
    --heading: 'Poppins', system-ui, sans-serif;
    --body: 'Open Sans', system-ui, sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--navy);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--heading); line-height: 1.15; }

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ---------- Entrance ---------- */

.reveal {
    animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
    animation-delay: var(--d, 0s);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { animation: none; }
}

/* ---------- Header ---------- */

.top {
    display: flex;
    justify-content: center;
    padding: 20px 24px;
    background: var(--cream);
    border-bottom: 3px solid var(--gold);
}

.logo img { height: 56px; width: auto; }

.kicker {
    margin: 44px 0 24px;
    text-align: center;
    font-family: var(--heading);
    font-size: 28px;
    font-weight: 500;
    color: #fff;
}

/* ---------- Profile card ---------- */

.profile {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    overflow: hidden;
    background: var(--cream);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}

.profile-info { padding: 48px 48px 44px; }

.eyebrow {
    font-family: var(--heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.profile h1 {
    margin-top: 10px;
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--blue);
}

.role {
    margin-top: 6px;
    font-family: var(--heading);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
}

.welcome {
    margin: 18px 0 26px;
    color: var(--muted);
}

.btn-join {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 32px;
    background: var(--gold);
    color: var(--blue-deep);
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(254, 193, 13, .35);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-join .icon { width: 24px; height: 24px; }

.btn-join:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(254, 193, 13, .45);
}

.btn-join:focus-visible,
.btn-tap:focus-visible,
.copy:focus-visible,
.contact-list a:focus-visible,
.social a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

/* Recording notice */

.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 14px 16px;
    background: var(--gold-soft);
    border-left: 3px solid var(--gold);
    border-radius: 0 12px 12px 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #3d3a2a;
}

.notice .icon { color: #c48f00; margin-top: 2px; }
.notice strong { color: var(--ink); }

.quick {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 0;
}

.quick > div {
    padding: 10px 16px;
    background: var(--blue-soft);
    border-radius: 12px;
}

.quick dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.quick dd {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--heading);
    font-size: 19px;
    font-weight: 600;
    color: var(--blue);
}

.quick dd span { white-space: nowrap; }

.copy {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--blue);
    cursor: pointer;
}

.copy .icon { width: 15px; height: 15px; grid-area: 1 / 1; }
.copy .icon:last-child { display: none; color: #1a8a4a; }
.copy.copied .icon:first-child { display: none; }
.copy.copied .icon:last-child { display: block; }
.copy:hover { border-color: var(--blue); }

.profile-photo {
    order: -1;
    position: relative;
    margin: 0;
    min-height: 100%;
    background: var(--blue-soft);
}

.profile-photo::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
}

.profile-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

/* ---------- Secondary cards ---------- */

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.card {
    padding: 32px;
    background: var(--cream);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--blue);
}

.card h2 .icon { color: var(--gold-ink); }

.card-text {
    margin: 10px 0 20px;
    font-size: 15px;
    color: var(--muted);
}

.card-text strong { color: var(--ink); }

.tap-list { display: grid; gap: 10px; }

.btn-tap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1.5px solid var(--blue);
    border-radius: 999px;
    color: var(--blue);
    font-family: var(--heading);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.btn-tap b { font-weight: 600; margin-left: 4px; white-space: nowrap; }
.btn-tap:hover { background: var(--blue); color: #fff; }

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

.contact-list li + li { margin-top: 10px; }

.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

@media (hover: hover) {
    .contact-list a:hover { color: var(--blue); text-decoration: underline; }
}

.contact-list .icon {
    width: 36px;
    height: 36px;
    padding: 9px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    transition: background .15s ease, color .15s ease;
}

.social a:hover { background: var(--gold); color: var(--blue-deep); }
.social svg { width: 17px; height: 17px; }

/* ---------- Book ---------- */

.book {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 44px;
    align-items: center;
    margin-top: 20px;
    padding: 36px 48px 36px 36px;
    background: var(--cream);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

/* Cover image has a white backdrop, so frame it in a white panel */
.book-art {
    display: block;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.book-art img {
    width: 100%;
    height: auto;
    transition: transform .25s ease;
}

.book-art:hover img { transform: translateY(-4px) rotate(-1deg); }

.book-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--gold-soft);
    border: 1px solid rgba(254, 193, 13, .6);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.book-status .icon { width: 15px; height: 15px; }

.book h2 {
    margin-top: 16px;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--blue);
}

.book-sub {
    margin-top: 8px;
    font-family: var(--heading);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

.book-by {
    margin-top: 6px;
    font-size: 15px;
    color: var(--muted);
}

.book-pitch {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 22px;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    background: var(--blue);
    border-radius: 999px;
    color: #fff;
    font-family: var(--heading);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(46, 48, 146, .28);
    transition: background .15s ease, transform .15s ease;
}

.btn-book:hover { background: var(--blue-deep); transform: translateY(-2px); }

.book-link {
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

.book-link:hover { text-decoration: underline; }

.btn-book:focus-visible,
.book-link:focus-visible,
.book-art:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Footer ---------- */

.footer {
    margin-top: 56px;
    padding: 36px 0 32px;
    background: var(--navy-2);
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
}

.notice-footer {
    margin-top: 0;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .92);
}

.notice-footer .icon { color: var(--gold); }
.notice-footer strong { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
}

.footer-bottom img { height: 40px; width: auto; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .profile { grid-template-columns: 1fr; }
    .profile-info { padding: 36px 32px; }

    /* Join controls first, portrait after */
    .profile-photo { order: 0; min-height: 0; aspect-ratio: 1 / 1; }
    .profile-photo::after { width: auto; height: 2px; left: 0; bottom: auto; }

    .cards { grid-template-columns: 1fr; }
    .book { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
    .book-art { justify-self: center; width: 200px; }
}

@media (max-width: 560px) {
    .wrap { padding: 0 14px; }
    .top { padding: 16px; }
    .logo img { height: 44px; }
    .kicker { margin: 28px 0 16px; font-size: 22px; }

    .profile-info { padding: 30px 22px 26px; }
    .btn-join { display: flex; justify-content: center; width: 100%; }
    .quick > div { flex: 1 1 auto; }
    .quick dd { font-size: 17px; }

    .card { padding: 26px 22px; }
    .btn-tap { font-size: 14px; padding: 13px 16px; }

    .book { padding: 26px 22px 30px; }
    .btn-book { width: 100%; justify-content: center; }
    .book-actions { justify-content: center; }
}
