/* record.dad-look.com - The Dad, Look Records Bureau: deep navy, parchment certificates and a gold seal */
body { margin: 0; background: #14213d; color: #f4efe1; font-family: Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #f2c94c; outline-offset: 3px; }
.rc-small { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #b8c0d6; }
.rc-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: #c9a227; }

.rc-top { max-width: 1000px; margin: 0 auto; padding: 22px 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.rc-bureau { margin: 0; display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-size: 18px; letter-spacing: 0.04em; }
.rc-mini-seal { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #c9a227; color: #5a4410; font-size: 16px; }
.rc-motto { margin: 0; font-size: 13px; font-style: italic; color: #b8c0d6; }

.rc-page { max-width: 1000px; margin: 0 auto; padding: 30px 24px 0; display: flex; flex-direction: column; gap: 48px; }

/* The certificate */
.rc-stage { perspective: 1200px; }
.rc-certificate { padding: 16px; background: #f7f0dc; color: #2b2416; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); background-image: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.6), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(201, 162, 39, 0.12), transparent 60%); }
.rc-border { position: relative; padding: 44px 48px 30px; border: 3px double #b08b2e; outline: 1px solid #b08b2e; outline-offset: 6px; text-align: center; }
.rc-cert-kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.4em; text-transform: uppercase; color: #8a6a1f; }
.rc-cert-title { margin: 6px 0 22px; font-family: Georgia, serif; font-size: clamp(32px, 6vw, 54px); font-weight: 400; font-style: italic; color: #14213d; }
.rc-cert-intro { margin: 0; font-family: Georgia, serif; font-size: 18px; font-style: italic; color: #5c5240; }
.rc-cert-name { margin: 10px 0 14px; font-family: Georgia, serif; font-size: clamp(36px, 7vw, 62px); line-height: 1.1; color: #8a1c1c; overflow-wrap: anywhere; }
.rc-cert-record { margin: 10px auto 0; max-width: 620px; font-family: Georgia, serif; font-size: clamp(22px, 3.6vw, 32px); font-weight: 700; line-height: 1.25; color: #14213d; }
.rc-cert-value { margin: 14px 0 0; font-size: 20px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #8a6a1f; }
.rc-cert-value span { font-variant-numeric: tabular-nums; }
.rc-cert-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 30px; text-align: left; }
.rc-signature { display: flex; flex-direction: column; gap: 4px; max-width: 280px; }
.rc-signature img { width: 200px; height: auto; border-bottom: 1px solid #5c5240; padding-bottom: 4px; }
.rc-signature span { font-size: 12px; color: #5c5240; line-height: 1.4; }
.rc-seal { flex: none; width: 120px; height: 120px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)); }
.rc-seal svg { width: 100%; height: 100%; }
.rc-cert-number { margin: 20px 0 0; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a7d62; }

/* Get your own */
.rc-make { padding: 30px; border-radius: 12px; background: #1d2c4e; }
.rc-make h2, .rc-hall h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.rc-make > p { margin: 0 0 18px; line-height: 1.5; color: #d6dcea; }
.rc-form > label { display: block; margin-bottom: 6px; font-weight: 700; }
.rc-form input[type="text"] { box-sizing: border-box; width: 100%; max-width: 420px; min-height: 50px; padding: 0 14px; border: 2px solid #3a4a72; border-radius: 8px; background: #ffffff; color: #14213d; font: inherit; font-size: 17px; }
.rc-form fieldset { margin: 18px 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.rc-form legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.rc-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #3a4a72; border-radius: 8px; cursor: pointer; }
.rc-option:hover { border-color: #c9a227; }
.rc-option input { accent-color: #c9a227; width: 18px; height: 18px; }
.rc-option:has(input:checked) { border-color: #c9a227; background: rgba(201, 162, 39, 0.12); }
.rc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: #f4efe1; color: #14213d; font: inherit; font-size: 17px; font-weight: 800; text-decoration: none; cursor: pointer; }
.rc-button:hover { background: #ffffff; }
.rc-button-gold { margin-top: 16px; background: #c9a227; color: #2b2416; }
.rc-button-gold:hover { background: #e0b93a; }
.rc-status { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #8fe39b; }
.rc-status:empty { display: none; }

/* Hall of records */
.rc-records { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rc-records li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border-radius: 10px; background: #1d2c4e; border-left: 4px solid #c9a227; }
.rc-rank { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #c9a227; color: #2b2416; font-family: Georgia, serif; font-size: 22px; font-weight: 700; }
.rc-records b { font-size: 17px; }
.rc-value { margin: 4px 0 0; font-family: Georgia, serif; font-size: 24px; color: #f2c94c; }

.rc-missing { padding: 60px 20px; text-align: center; }
.rc-missing h1 { font-family: Georgia, serif; font-size: 44px; font-weight: 400; }

/* Bottom */
.rc-bottom { max-width: 1000px; margin: 0 auto; padding: 60px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.rc-cta { padding: 44px 24px; background: #f7f0dc; color: #14213d; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; border: 3px double #b08b2e; }
.rc-cta .rc-kicker { color: #8a6a1f; }
.rc-cta h2 { margin: 0; font-family: Georgia, serif; font-size: 38px; font-weight: 400; line-height: 1.15; }
.rc-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #2b2416; }
.rc-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; }
.rc-cta-button:hover { background: #d95450; }
.rc-cta-arrow { display: inline-block; }
.rc-share { min-height: 48px; padding: 0 22px; border: 2px solid #14213d; border-radius: 999px; background: none; color: #14213d; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.rc-share:hover { background: #14213d; color: #ffffff; }
.rc-cta .rc-status { color: #2e7d32; }
.rc-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #b8c0d6; border-top: 1px solid #2c3b62; padding-top: 14px; }
.rc-bottom .more-title { color: #f4efe1; }

@media (max-width: 640px) {
	.rc-top { padding: 16px 16px 0; }
	.rc-page { padding: 20px 12px 0; gap: 36px; }
	.rc-certificate { padding: 8px; }
	.rc-border { padding: 30px 16px 20px; outline-offset: 3px; }
	.rc-cert-intro { font-size: 15px; }
	.rc-cert-value { font-size: 16px; }
	.rc-cert-foot { flex-direction: column-reverse; align-items: center; text-align: center; }
	.rc-signature { align-items: center; }
	.rc-seal { width: 96px; height: 96px; }
	.rc-make { padding: 22px 16px; }
	.rc-records li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.rc-rank { width: 36px; height: 36px; font-size: 17px; }
	.rc-bottom { padding: 44px 12px 40px; }
	.rc-cta h2 { font-size: 28px; }
	.rc-cta-button { font-size: 17px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .rc-certificate { animation: rc-present 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; transform-origin: center bottom; }
	.js .rc-seal { animation: rc-stamp 0.6s 1s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
	.rc-seal-ring { transform-origin: 60px 60px; animation: rc-spin 30s linear infinite; }
	.js .rc-cert-name { animation: rc-ink 1.2s 0.5s ease both; }
	.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--d, 0) * 80ms); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.rc-cta-button { animation: rc-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.rc-cta-button:hover { transform: scale(1.02); }
	.rc-cta-arrow { animation: rc-nudge 1.1s ease-in-out infinite; }
}

@keyframes rc-present { from { opacity: 0; transform: rotateX(25deg) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes rc-stamp { 0% { opacity: 0; transform: scale(2.4) rotate(-30deg); } 100% { opacity: 1; transform: none; } }
@keyframes rc-spin { to { transform: rotate(360deg); } }
@keyframes rc-ink { from { opacity: 0; letter-spacing: 0.2em; filter: blur(4px); } to { opacity: 1; letter-spacing: normal; filter: none; } }
@keyframes rc-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 rc-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
