/* Golden Dog Team page */
.gd-team-page {
    width: min(1680px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.gd-team-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    min-height: 310px;
    overflow: hidden;
    border: 1px solid rgba(196, 148, 38, .55);
    border-radius: 24px;
    color: #f9f4e8;
    background:
        radial-gradient(circle at 72% 36%, rgba(194, 147, 41, .16), transparent 28%),
        linear-gradient(115deg, #080b0d 0%, #111719 55%, #1a1610 100%);
    box-shadow: 0 22px 50px rgba(23, 18, 9, .16);
}

.gd-team-hero::before,
.gd-team-hero::after {
    content: "";
    position: absolute;
    width: 62px;
    height: 62px;
    opacity: .65;
    pointer-events: none;
}

.gd-team-hero::before {
    left: 18px;
    top: 18px;
    border-left: 1px solid #c99c35;
    border-top: 1px solid #c99c35;
    border-radius: 18px 0 0;
}

.gd-team-hero::after {
    right: 18px;
    bottom: 18px;
    border-right: 1px solid #c99c35;
    border-bottom: 1px solid #c99c35;
    border-radius: 0 0 18px;
}

.gd-team-hero__content {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: clamp(42px, 5vw, 78px);
}

.gd-team-eyebrow {
    margin: 0 0 12px;
    color: #c99c35;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gd-team-hero h1,
.gd-team-section h2,
.gd-team-collaborators h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.035em;
}

.gd-team-hero h1 {
    color: #fffaf0;
    font-size: clamp(46px, 5.7vw, 82px);
    line-height: .98;
}

.gd-team-ornament {
    display: block;
    position: relative;
    width: min(100%, 460px);
    height: 1px;
    margin: 24px 0 22px;
    background: linear-gradient(90deg, #c99c35, rgba(201, 156, 53, .1));
}

.gd-team-ornament::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 1px solid #c99c35;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #111719;
}

.gd-team-intro {
    max-width: 690px;
    color: rgba(255, 250, 240, .86);
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.65;
}

.gd-team-intro > :first-child { margin-top: 0; }
.gd-team-intro > :last-child { margin-bottom: 0; }

.gd-team-hero__visual {
    position: relative;
    min-height: 310px;
    overflow: hidden;
}

.gd-team-moon {
    position: absolute;
    right: 12%;
    top: 18%;
    width: 185px;
    height: 185px;
    border: 1px solid rgba(201, 156, 53, .24);
    border-radius: 50%;
    box-shadow:
        0 0 0 22px rgba(201, 156, 53, .028),
        0 0 0 44px rgba(201, 156, 53, .018),
        inset 0 0 55px rgba(201, 156, 53, .08);
}

.gd-team-moon::before,
.gd-team-moon::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    background: rgba(201, 156, 53, .18);
    transform: translate(-50%, -50%);
}
.gd-team-moon::before { width: 1px; height: 145%; }
.gd-team-moon::after { width: 145%; height: 1px; }

.gd-team-forest {
    position: absolute;
    inset: auto -3% 0 0;
    height: 66%;
    opacity: .58;
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 120px 100%;
    clip-path: polygon(0 100%, 0 78%, 6% 78%, 9% 50%, 12% 78%, 18% 78%, 22% 30%, 26% 78%, 32% 78%, 36% 48%, 40% 78%, 47% 78%, 51% 18%, 56% 78%, 62% 78%, 66% 44%, 70% 78%, 77% 78%, 82% 26%, 87% 78%, 93% 78%, 96% 52%, 100% 78%, 100% 100%);
}

.gd-team-forest--back {
    bottom: 18px;
    background: #27312f;
    opacity: .42;
    transform: scaleX(1.04);
}
.gd-team-forest--front { background: #090d0e; }

.gd-team-section {
    padding: 62px 0 0;
}

.gd-team-section__heading {
    margin: 0 0 24px;
}

.gd-team-section h2 {
    color: #16120d;
    font-size: clamp(35px, 3vw, 52px);
    line-height: 1.05;
}

.gd-team-collaborators h2 {
    max-width: 320px;
    color: #16120d;
    font-size: clamp(28px, 2.15vw, 40px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.gd-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gd-team-card {
    display: grid;
    grid-template-columns: minmax(170px, 34%) minmax(0, 1fr);
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #e7dcc8;
    border-radius: 20px;
    background: rgba(255, 252, 246, .94);
    box-shadow: 0 12px 32px rgba(57, 39, 12, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gd-team-card:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 133, 25, .52);
    box-shadow: 0 18px 38px rgba(57, 39, 12, .11);
}

.gd-team-card__media {
    min-height: 100%;
    background: linear-gradient(145deg, #172023, #392d20);
}

.gd-team-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.82) contrast(1.02);
}

.gd-team-card__placeholder {
    display: grid;
    place-items: center;
    min-height: 300px;
    color: rgba(255,255,255,.72);
    font: 700 72px/1 Georgia, serif;
}

.gd-team-card__content {
    padding: 30px 30px 26px;
}

.gd-team-card h3 {
    margin: 0;
    color: #18130e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2vw, 34px);
    line-height: 1.08;
}

.gd-team-card__role {
    margin: 9px 0 0;
    color: #a87308;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .02em;
}

.gd-team-card__rule {
    display: block;
    width: 46px;
    height: 1px;
    margin: 17px 0;
    background: #c99c35;
}

.gd-team-card__bio {
    color: #51483c;
    font-size: 15px;
    line-height: 1.6;
}

.gd-team-card__bio p,
.gd-team-card__bio ul,
.gd-team-card__bio ol,
.gd-team-card__bio div {
    margin: 0 0 10px;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.gd-team-card__bio ul,
.gd-team-card__bio ol {
    padding-left: 20px !important;
}

.gd-team-card__bio > :last-child { margin-bottom: 0; }
.gd-team-card__bio a { color: #966500; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 2px; }

.gd-team-collaborators {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.45fr) minmax(260px, .72fr);
    gap: 36px;
    align-items: center;
    margin-top: 30px;
    padding: 34px;
    border: 1px solid #e5d8c1;
    border-radius: 22px;
    background: #fffaf1;
    box-shadow: 0 14px 34px rgba(57, 39, 12, .07);
}

.gd-team-collaborators__heading .gd-team-ornament {
    max-width: 190px;
    margin-bottom: 0;
}
.gd-team-collaborators__heading .gd-team-ornament::after { background: #fffaf1; }

.gd-team-collaborators__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    align-content: start;
}

.gd-team-collaborator-link {
    display: block;
    padding: 10px 0;
    color: #4b3b25;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 156, 53, .2);
    transition: color .18s ease, border-color .18s ease, transform .18s ease;
}

.gd-team-collaborator-link:hover,
.gd-team-collaborator-link:focus-visible {
    color: #9a6a00;
    border-color: rgba(201, 156, 53, .55);
    transform: translateX(2px);
}

.gd-team-collaborators__list .gd-entry-content {
    display: block;
    color: #342b21;
}

.gd-team-collaborators__list .gd-entry-content p,
.gd-team-collaborators__list .gd-entry-content li {
    break-inside: avoid;
    margin: 0 0 10px;
}

.gd-team-collaborators__list .gd-entry-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gd-team-collaborators__list .gd-entry-content a {
    color: #4b3b25;
    font-weight: 800;
    text-decoration-color: rgba(170, 116, 8, .45);
    text-underline-offset: 3px;
}

.gd-team-thanks {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 150px;
    padding: 26px;
    border: 1px solid rgba(201, 156, 53, .62);
    border-radius: 18px;
    color: #f8f1e2;
    background: linear-gradient(145deg, #101517, #19130d);
}

.gd-team-thanks__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid #c99c35;
    border-radius: 50%;
    color: #c99c35;
    font-size: 25px;
}

.gd-team-thanks p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.5;
}

.gd-team-section--fallback .gd-content-card { max-width: none; }

@media (max-width: 1180px) {
    .gd-team-hero { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); }
    .gd-team-collaborators { grid-template-columns: 1fr 1.5fr; }
    .gd-team-thanks { grid-column: 1 / -1; min-height: auto; }
    .gd-team-collaborators__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .gd-team-page { width: min(100% - 28px, 760px); padding-top: 18px; }
    .gd-team-hero { grid-template-columns: 1fr; }
    .gd-team-hero__content { padding: 42px 32px 38px; }
    .gd-team-hero__visual { min-height: 150px; }
    .gd-team-moon { top: -35px; right: 8%; }
    .gd-team-grid { grid-template-columns: 1fr; }
    .gd-team-card { grid-template-columns: 190px minmax(0, 1fr); }
    .gd-team-collaborators { grid-template-columns: 1fr; }
    .gd-team-thanks { grid-column: auto; }
}

@media (max-width: 620px) {
    .gd-team-page { width: min(100% - 20px, 520px); }
    .gd-team-hero__content { padding: 38px 24px 32px; }
    .gd-team-hero__visual { min-height: 105px; }
    .gd-team-section { padding-top: 44px; }
    .gd-team-card { grid-template-columns: 1fr; }
    .gd-team-card__media { height: 330px; }
    .gd-team-card__media img,
    .gd-team-card__placeholder { min-height: 330px; height: 330px; }
    .gd-team-card__content { padding: 25px 23px 24px; }
    .gd-team-collaborators { padding: 26px 22px; gap: 26px; }
    .gd-team-collaborators__list { grid-template-columns: 1fr; }
    .gd-team-thanks { align-items: flex-start; }
}


/* 0.8.62 — team records managed by Golden Dog Core */
.gd-team-card h3 a {
    color: inherit;
    text-decoration: none;
}

.gd-team-card h3 a:hover,
.gd-team-card h3 a:focus-visible {
    color: #966500;
}

.gd-team-collaborator-link {
    min-width: 0;
}

.gd-team-collaborator-link span {
    display: block;
}

.gd-team-collaborator-link small {
    display: block;
    margin-top: 3px;
    color: #a87308;
    font-size: 12px;
    font-weight: 800;
}

.gd-team-collaborator-link--plain:hover {
    color: #4b3b25;
    border-color: rgba(201, 156, 53, .2);
    transform: none;
}


/* 0.8.65 — calmer collaborators heading */
@media (min-width: 1181px) {
    .gd-team-collaborators__heading {
        align-self: center;
    }
}

@media (max-width: 620px) {
    .gd-team-collaborators h2 {
        max-width: none;
        font-size: clamp(28px, 9vw, 36px);
    }
}
