/* university.dad-look.com - Dad, Look University */
:root {
	--maroon: #6b1e2e;
	--maroon-2: #84283b;
	--gold: #c9a34e;
	--parchment: #f8f0dc;
	--paper: #fffaf0;
	--ink: #2a1c18;
	--muted: #6e5a48;
	--wax: #a31d24;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--parchment); color: var(--ink); font-family: Helvetica, Arial, sans-serif; line-height: 1.5; }
a { color: var(--maroon); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.un-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.un-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px; background: var(--maroon); color: #ffffff; }
.un-logo { display: inline-flex; align-items: center; gap: 10px; color: #ffffff; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 700; text-decoration: none; }
.un-crest-mini { width: 22px; height: 26px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.un-top-note { margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; color: #f1d9a0; }

.un-page { max-width: 880px; margin: 0 auto; padding: 36px 24px 24px; }
.un-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--maroon); }
.un-hero h1 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 6vw, 48px); line-height: 1.12; color: var(--maroon); }
.un-lede { margin: 0; max-width: 680px; font-size: 19px; color: #4a3a30; }

/* The diploma */
.un-diploma { position: relative; margin-top: 8px; padding: 40px 34px 30px; background: var(--paper); border: 3px solid var(--maroon); outline: 2px solid var(--gold); outline-offset: -12px; text-align: center; box-shadow: 0 18px 36px rgba(107, 30, 46, 0.18); font-family: Georgia, "Times New Roman", serif; }
.un-crest { display: block; position: relative; width: 70px; height: 84px; margin: 0 auto 10px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.un-crest span { position: absolute; inset: 5px; background: var(--maroon); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.un-crest span::after { content: ""; position: absolute; left: 18px; top: 22px; width: 24px; height: 18px; background: var(--paper); border-radius: 2px; box-shadow: inset 2px 0 0 var(--gold); }
.un-dip-uni { margin: 0 0 14px; font-size: 24px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); }
.un-dip-small { margin: 0; font-style: italic; font-size: 17px; color: var(--muted); }
.un-dip-name { margin: 8px 0 10px; font-size: clamp(30px, 7vw, 52px); font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.un-dip-degree { display: flex; flex-direction: column; margin: 8px auto 12px; max-width: 560px; font-size: clamp(22px, 4.5vw, 30px); font-weight: 700; line-height: 1.2; color: var(--maroon); }
.un-dip-degree span { margin-top: 4px; font-size: 0.8em; color: var(--ink); }
.un-dip-sign { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 10px; }
.un-dip-sign > span:not(.un-wax) { flex: 1; padding-top: 6px; border-top: 1px solid var(--muted); font-size: 13px; color: var(--muted); }
.un-dip-sign i { display: block; font-size: 18px; color: var(--ink); }
.un-wax { flex: none; display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #c42c33, var(--wax) 60%, #7a1218); color: #f5c7c9; font-family: Helvetica, Arial, sans-serif; font-weight: 900; font-size: 20px; box-shadow: 0 0 0 5px rgba(163, 29, 36, 0.35); }
.un-dip-date { margin: 0; font-style: italic; font-size: 15px; color: var(--muted); }
.un-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.un-again { display: inline-flex; align-items: center; min-height: 50px; padding: 0 18px; border: 2px solid var(--maroon); border-radius: 6px; font-weight: 900; text-decoration: none; }
.un-status { min-height: 1.5em; margin: 10px 0 0; font-size: 15px; }

/* Facts, courses, ceremony */
.un-facts, .un-courses, .un-ceremony { margin-top: 42px; }
.un-facts h2, .un-courses h2, .un-ceremony h2, .un-apply h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; color: var(--maroon); }
.un-facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.un-facts dl div { padding: 14px 16px; background: var(--paper); border-top: 4px solid var(--gold); border-radius: 4px; }
.un-facts dt { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.un-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; }
.un-courses ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.un-courses li { display: grid; grid-template-columns: 110px 1fr; gap: 2px 14px; padding: 14px 16px; background: var(--paper); border-left: 5px solid var(--maroon); border-radius: 4px; }
.un-code { grid-row: span 2; font-weight: 900; color: var(--maroon); letter-spacing: 0.04em; }
.un-courses li b { font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.un-courses li span:last-child { font-size: 15px; color: var(--muted); }
.un-ceremony ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.un-ceremony li { padding: 12px 16px; background: var(--paper); border-radius: 4px; font-size: 16px; }
.un-ceremony time { display: inline-block; min-width: 58px; font-weight: 900; color: var(--maroon); }

/* Apply */
.un-apply { margin-top: 42px; padding: 26px 24px; background: var(--maroon); color: #ffffff; border-radius: 10px; }
.un-apply h2 { color: #ffffff; }
.un-sub { margin: 0 0 16px; color: #f1d9a0; }
.un-form fieldset { margin: 0 0 16px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px; }
.un-form legend { margin-bottom: 8px; font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.un-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--maroon-2); border: 2px solid transparent; border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 1.35; }
.un-option input { margin-top: 3px; accent-color: var(--gold); }
.un-option:has(input:checked) { border-color: var(--gold); background: #94304a; }
.un-name-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.un-name-row { display: flex; flex-wrap: wrap; gap: 8px; }
.un-name-row input { flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: 6px; font: inherit; font-size: 17px; }
.un-name-row button, .un-share { min-height: 52px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--gold); color: var(--maroon); font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.un-name-row button:hover, .un-share:hover { background: #dcb867; }
.un-count { margin: 14px 0 0; font-size: 14px; color: #f1d9a0; }

/* Call to action and footer */
.un-bottom { max-width: 880px; margin: 0 auto; padding: 24px 24px 48px; }
.un-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 24px; background: var(--paper); border: 3px solid var(--maroon); outline: 2px solid var(--gold); outline-offset: -10px; text-align: center; }
.un-cta-kicker { margin: 0; font-size: 13px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--maroon); }
.un-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 32px; color: var(--maroon); }
.un-cta p { margin: 0; max-width: 580px; color: #4a3a30; }
.un-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 600px; min-height: 76px; padding: 18px 24px; background: var(--maroon); color: #ffffff; font-size: 22px; font-weight: 900; text-transform: uppercase; text-decoration: none; border-radius: 6px; }
.un-cta-button:hover { background: var(--maroon-2); }
.un-cta-arrow { display: inline-block; }
.un-share-light { background: transparent; border: 2px solid var(--maroon); color: var(--maroon); }
.un-share-light:hover { background: var(--maroon); color: #ffffff; }
.un-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 14px; border-top: 2px solid var(--maroon); font-size: 13px; color: var(--muted); }

@media (max-width: 600px) {
	.un-page { padding: 26px 16px 16px; }
	.un-bottom { padding: 16px 16px 40px; }
	.un-diploma { padding: 30px 16px 24px; }
	.un-dip-sign { flex-wrap: wrap; justify-content: center; }
	.un-dip-sign > span:not(.un-wax) { flex: 1 1 40%; }
	.un-courses li { grid-template-columns: 1fr; }
	.un-code { grid-row: auto; }
	.un-apply { padding: 22px 16px; }
	.un-cta h2 { font-size: 26px; }
	.un-cta-button { font-size: 18px; min-height: 66px; }
}

@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--d, 0) * 90ms); }
	.js .reveal.is-visible { opacity: 1; transform: none; }
	.un-diploma { animation: un-unroll 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; transform-origin: 50% 0; }
	.un-wax { animation: un-press 0.5s ease-out 0.7s both; }
	.un-cta-arrow { animation: un-nudge 1.1s ease-in-out infinite; }
}
@keyframes un-unroll { from { opacity: 0; transform: scaleY(0.6); } to { opacity: 1; transform: none; } }
@keyframes un-press { from { transform: scale(1.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes un-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
