/* bookedin.dad-look.com - BookedIn: a professional profile page in warm grey, white cards and a deep teal */
body { margin: 0; background: #f3f1ec; color: #1d1d1d; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: #0e6b62; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #0e6b62; outline-offset: 2px; }
.bi-small { margin: 2px 0 0; font-size: 13px; color: #666666; }
.bi-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: #2f8f4e; }

/* Bar */
.bi-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 8px 24px; background: #ffffff; border-bottom: 1px solid #e3e0d8; }
.bi-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.bi-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: #0e6b62; color: #ffffff; font-size: 22px; font-weight: 900; }
.bi-logo-text { font-size: 20px; font-weight: 800; color: #1d1d1d; }
.bi-search { flex: 1; max-width: 280px; margin: 0; padding: 8px 14px; border-radius: 6px; background: #eef3f2; font-size: 14px; color: #666666; }
.bi-bar nav { margin-left: auto; display: flex; gap: 20px; }
.bi-bar nav a { color: #444444; font-size: 14px; font-weight: 700; text-decoration: none; }
.bi-bar nav a:hover { color: #0e6b62; }

.bi-page { max-width: 1128px; margin: 0 auto; padding: 24px 20px 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.bi-main, .bi-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bi-card { padding: 22px 24px; border-radius: 10px; background: #ffffff; box-shadow: 0 0 0 1px #e3e0d8; }
.bi-card h2 { margin: 0 0 12px; font-size: 20px; }
.bi-card p { line-height: 1.55; }

/* Profile header */
.bi-profile { position: relative; padding: 0 0 22px; overflow: hidden; }
.bi-banner { height: 160px; background: linear-gradient(120deg, #0e6b62, #2f8f4e 50%, #d9b24c); background-size: 200% 100%; }
.bi-avatar-wrap { position: relative; width: 156px; height: 156px; margin: -86px 0 0 24px; }
/* The cover photo is 1200x800; these numbers zoom it in on the book's front cover */
.bi-cover { display: block; border-radius: 50%; background: #111111 url("/img/dad-look-i-wrote-a-book-front-cover.jpg") 64.7% 72.8% / 252% auto no-repeat; }
.bi-avatar { position: absolute; inset: 10px; width: 136px; height: 136px; border: 4px solid #ffffff; box-sizing: border-box; }
.bi-ring { position: absolute; inset: 0; border-radius: 50%; }
.bi-ring svg { width: 100%; height: 100%; }
.bi-ring { background: conic-gradient(from 200deg, #2f8f4e 0 62%, transparent 62% 100%); -webkit-mask: radial-gradient(circle, transparent 66px, #000000 67px); mask: radial-gradient(circle, transparent 66px, #000000 67px); }
.bi-ring text { dominant-baseline: middle; font-size: 7px; font-weight: 900; letter-spacing: 0.08em; fill: #ffffff; }
.bi-profile-body { padding: 8px 24px 0; }
.bi-profile h1 { margin: 0; font-size: 26px; line-height: 1.2; }
.bi-pronoun { font-size: 15px; font-weight: 400; color: #666666; }
.bi-headline { margin: 6px 0 0; font-size: 17px; }
.bi-location { margin: 8px 0 0; font-size: 14px; color: #666666; }
.bi-location a { font-weight: 700; }
.bi-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bi-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: #0e6b62; color: #ffffff; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.bi-button:hover { background: #0a524b; color: #ffffff; }
.bi-button-ghost { background: #ffffff; color: #0e6b62; box-shadow: inset 0 0 0 1.5px #0e6b62; }
.bi-button-ghost:hover { background: #eef6f5; color: #0e6b62; }
.bi-button-small { min-height: 32px; padding: 0 14px; font-size: 14px; }
.bi-button[aria-pressed="true"] { background: #e7f4ef; color: #2f8f4e; box-shadow: inset 0 0 0 1.5px #2f8f4e; }
.bi-note { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #0e6b62; line-height: 1.45; }
.bi-note:empty { display: none; }
.bi-open { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: #e7f4ef; font-size: 14px; }
.bi-open b { color: #2f8f4e; }
.bi-open p { margin: 4px 0 0; }

/* Experience, skills, recommendations */
.bi-experience { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.bi-experience li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.bi-experience p { margin: 6px 0 0; font-size: 15px; }
.bi-company { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 6px; background: #eef3f2; color: #0e6b62; font-size: 22px; font-weight: 900; }
.bi-skills { margin: 0; padding: 0; list-style: none; }
.bi-skills li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #efece5; }
.bi-skills li:last-child { border-bottom: 0; }
.bi-rec-form label { display: block; margin-bottom: 8px; font-size: 15px; }
.bi-rec-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bi-rec-row input { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; border: 1px solid #bdbab2; border-radius: 6px; font: inherit; font-size: 15px; }
.bi-rec { margin: 16px 0 0; padding: 16px 18px; border-left: 4px solid #0e6b62; background: #f6faf9; font-size: 16px; line-height: 1.6; }
.bi-rec cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; font-weight: 700; color: #666666; }

/* Feed */
.bi-feed { display: flex; flex-direction: column; gap: 12px; }
.bi-feed-title { margin: 12px 0 0; font-size: 20px; }
.bi-post-head { display: flex; align-items: center; gap: 10px; }
.bi-post-avatar { flex: none; width: 48px; height: 48px; }
.bi-post-head p { margin: 0; }
.bi-post-text { margin: 14px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.bi-post-stats { margin-top: 12px; padding-bottom: 8px; border-bottom: 1px solid #efece5; }
.bi-post-actions { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.bi-react, .bi-comment { min-height: 38px; padding: 0 14px; border: 0; border-radius: 6px; background: none; color: #555555; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.bi-react:hover, .bi-comment:hover { background: #f3f1ec; }
.bi-react[aria-pressed="true"] { color: #2f8f4e; }

/* Sidebar */
.bi-side { position: sticky; top: 72px; }
.bi-viewers { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bi-viewers li { display: flex; flex-direction: column; font-size: 14px; }
.bi-viewers span { color: #666666; font-size: 13px; }
.bi-stats { margin: 0; }
.bi-stats div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #efece5; font-size: 14px; }
.bi-stats dt { color: #666666; }
.bi-stats dd { margin: 0; font-weight: 700; text-align: right; }
.bi-premium { background: linear-gradient(160deg, #fff8e6, #ffffff); }
.bi-premium p { margin: 0 0 12px; font-size: 14px; }

/* Bottom */
.bi-bottom { max-width: 1128px; margin: 0 auto; padding: 56px 20px 48px; display: flex; flex-direction: column; gap: 28px; }
.bi-cta { padding: 44px 24px; border-radius: 14px; background: #0e3f3a; color: #ffffff; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.bi-cta .bi-kicker { color: #8fe3b0; }
.bi-cta h2 { margin: 0; font-size: 38px; }
.bi-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #d3ede8; }
.bi-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.bi-cta-button:hover { background: #d95450; color: #ffffff; }
.bi-cta-arrow { display: inline-block; }
.bi-share { min-height: 48px; padding: 0 22px; border: 2px solid #ffffff; border-radius: 999px; background: none; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.bi-share:hover { background: #ffffff; color: #0e3f3a; }
.bi-status { margin: 0; font-size: 14px; font-weight: 700; color: #8fe3b0; }
.bi-status:empty { display: none; }
.bi-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #666666; border-top: 1px solid #e3e0d8; padding-top: 14px; }
.bi-footer a { color: #1d1d1d; }

@media (max-width: 900px) {
	.bi-page { grid-template-columns: minmax(0, 1fr); }
	.bi-side { position: static; }
	.bi-search { display: none; }
}
@media (max-width: 600px) {
	.bi-bar { padding: 8px 14px; gap: 12px; }
	.bi-logo-text { font-size: 17px; }
	.bi-bar nav { gap: 14px; }
	.bi-page { padding: 12px 0 0; }
	.bi-card { padding: 18px 16px; border-radius: 0; }
	.bi-profile { padding: 0 0 18px; }
	.bi-banner { height: 110px; }
	.bi-avatar-wrap { width: 128px; height: 128px; margin: -66px 0 0 14px; }
	.bi-avatar { inset: 8px; width: 112px; height: 112px; }
	.bi-ring { -webkit-mask: radial-gradient(circle, transparent 54px, #000000 55px); mask: radial-gradient(circle, transparent 54px, #000000 55px); }
	.bi-profile-body { padding: 8px 16px 0; }
	.bi-profile h1 { font-size: 22px; }
	.bi-headline { font-size: 15px; }
	.bi-feed-title { margin-left: 16px; }
	.bi-bottom { padding: 44px 16px 40px; }
	.bi-cta h2 { font-size: 30px; }
	.bi-cta-button { font-size: 17px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.bi-banner { animation: bi-shift 12s ease-in-out infinite alternate; }
	.js .bi-ring { animation: bi-ring 1.2s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .bi-card { animation: bi-rise 0.4s ease both; }
	.bi-button.is-pop, .bi-react.is-pop { animation: bi-pop 0.35s ease; }
	.bi-rec:not([hidden]) { animation: bi-rise 0.4s ease both; }
	.bi-cta-button { animation: bi-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.bi-cta-button:hover { transform: scale(1.02); }
	.bi-cta-arrow { animation: bi-nudge 1.1s ease-in-out infinite; }
}

@keyframes bi-shift { from { background-position: 0 0; } to { background-position: 100% 0; } }
@keyframes bi-ring { from { opacity: 0; transform: rotate(-90deg) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes bi-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bi-pop { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes bi-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes bi-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
