/* Page-specific styles carried over from the static site. */

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.team-card { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.team-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--bar); z-index: 1; }
.team-photo, .team-card .img-missing { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; display: block; border-bottom: 2px solid var(--ink); }
.team-initials { display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--bar); font: 900 64px/1 var(--sans); font-stretch: 110%; letter-spacing: -0.02em; }
.team-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.team-body h3 { font-size: 24px; line-height: 1.1; font-weight: 900; font-stretch: 105%; }
.team-body h3 .cred { font-weight: 600; font-size: 18px; }
.team-body .role { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.team-body .role .years { color: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; }
.team-body p { font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--body); }
.team-books { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.team-books span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.team-books a { font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 4px 9px; border: 1.5px solid var(--line); border-radius: 4px; }
.team-books a:hover { border-color: var(--ink); }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.contact-card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 36px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--bar); }
.contact-card .kicker { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.contact-card .big { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; font-weight: 900; font-stretch: 110%; color: var(--ink); text-decoration: none; word-break: normal; overflow-wrap: normal; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.contact-card .big:hover { color: var(--pink-text); text-decoration: underline; }
.contact-card p { font-size: 17px; line-height: 1.5; color: var(--body); }
.contact-form { border: 2px solid var(--ink); border-radius: var(--radius); padding: 40px; background: var(--cream); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-form[hidden] { display: none; }
.contact-form h2 { grid-column: 1 / -1; font-size: 32px; font-weight: 900; font-stretch: 110%; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.contact-form label .opt { font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form textarea { padding: 14px 16px; border-radius: 6px; border: 2px solid var(--ink); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact-form button { min-height: 56px; padding: 0 36px; border-radius: 6px; border: 0; background: var(--pink-text); color: var(--white); font-size: 17px; font-weight: 800; cursor: pointer; }
.contact-form button:hover { background: #A80063; }
.contact-form button[disabled] { opacity: .6; cursor: default; }
.contact-form .form-msg { width: auto; flex: 1; }
@media (max-width: 900px) { .contact-grid, .contact-form { grid-template-columns: 1fr; } }

/* ---- post-color-me-learning ---- */
.article-body ul, .article-body ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 14px; }
.article-body a { color: var(--blue-text); }
.article-body .note { font-family: var(--sans); font-size: 16px; color: var(--muted); }
.article-body .book-head { font-family: var(--sans); font-size: 18px; line-height: 1.5; }
.watch-box { max-width: 760px; margin: 0 auto 72px; border: 2px solid var(--ink); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: relative; overflow: hidden; }
.watch-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--pink); }
.watch-box p { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--body); }

