/* magazine.dad-look.com - LOOK: black, white, a high-contrast serif and one cover star */
:root { --serif: Didot, "Bodoni 72", "Bodoni MT", "Bodoni 72 Oldstyle", "Libre Bodoni", Georgia, "Times New Roman", serif; }
body { margin: 0; background: #ffffff; color: #111111; font-family: Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ec6e6a; outline-offset: 3px; }
.mg-kicker { display: block; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #ec6e6a; }

/* Top bar */
.mg-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 28px; padding: 12px 24px; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid #111111; }
.mg-logo { font-family: var(--serif); font-size: 34px; letter-spacing: 0.04em; text-decoration: none; line-height: 1; }
.mg-bar nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mg-bar nav::-webkit-scrollbar { display: none; }
.mg-bar ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 20px; white-space: nowrap; }
.mg-bar nav a { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; padding: 8px 0; display: inline-block; }
.mg-bar nav a:hover, .mg-bar nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 #111111; }

/* The front: the cover and the table of contents */
.mg-front { max-width: 1100px; margin: 0 auto; padding: 48px 24px 24px; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 64px; align-items: center; }
.mg-stage { perspective: 1400px; }
.mg-cover { --rx: 0deg; --ry: 0deg; position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; container-type: inline-size; color: #ffffff; text-decoration: none; background: #222222; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.3s ease-out; }
.mg-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mg-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 28%), linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 45%), linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 35%); }
.mg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 45%, transparent 60%); background-size: 250% 100%; background-position: var(--shine, 100%) 0; pointer-events: none; }
.mg-cover > span { position: absolute; z-index: 1; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.mg-masthead { left: 0; right: 0; top: 1cqw; text-align: center; font-family: var(--serif); font-size: 33cqw; line-height: 1; letter-spacing: 0.02em; }
.mg-issue { left: 0; right: 0; top: 36cqw; text-align: center; font-size: 2.6cqw; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.mg-lines { left: 4.5cqw; top: 48cqw; width: 60cqw; display: flex; flex-direction: column; gap: 4cqw; }
.mg-line { display: block; font-size: 2.5cqw; line-height: 1.3; white-space: nowrap; }
.mg-line b { display: block; font-family: var(--serif); font-size: 4.4cqw; font-weight: 400; line-height: 1.05; margin-bottom: 0.6cqw; }
.mg-main { left: 4.5cqw; bottom: 6cqw; width: 68cqw; font-family: var(--serif); font-size: 6.8cqw; line-height: 1; }
.mg-main small { display: block; margin-bottom: 1.5cqw; font-family: Helvetica, Arial, sans-serif; font-size: 2.8cqw; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: #ec6e6a; }
.mg-price { right: 4.5cqw; bottom: 17cqw; font-size: 2.8cqw; font-weight: 700; letter-spacing: 0.08em; }
.mg-barcode { right: 4.5cqw; bottom: 5cqw; width: 18cqw; height: 10cqw; background: #ffffff repeating-linear-gradient(90deg, #111111 0 2px, transparent 2px 4px, #111111 4px 5px, transparent 5px 8px, #111111 8px 11px, transparent 11px 12px) content-box; padding: 1.2cqw; box-sizing: border-box; text-shadow: none; }

.mg-toc ol { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid #111111; }
.mg-toc li { border-bottom: 1px solid #dddddd; }
.mg-toc a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; text-decoration: none; }
.mg-toc a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.mg-page { font-family: var(--serif); font-size: 34px; line-height: 1; }
.mg-toc small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #777777; }
.mg-toc a > span:last-child { font-family: var(--serif); font-size: 22px; line-height: 1.2; }

/* Letter from the editor */
.mg-letter { max-width: 680px; margin: 56px auto 0; padding: 40px 24px; border-top: 1px solid #111111; border-bottom: 1px solid #111111; }
.mg-letter h2 { margin: 10px 0 18px; font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1.05; }
.mg-letter p { font-family: Georgia, serif; font-size: 19px; line-height: 1.6; }
.mg-signoff { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.mg-signoff span { font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #777777; }

/* Story grid */
.mg-grid, .mg-next { max-width: 1100px; margin: 0 auto; padding: 56px 24px 0; }
.mg-grid-title { margin: 0 0 22px; font-family: var(--serif); font-size: 36px; font-weight: 400; border-bottom: 1px solid #111111; padding-bottom: 10px; }
.mg-grid ul, .mg-next ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.mg-grid a, .mg-next a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.mg-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eeeeee; margin-bottom: 6px; }
.mg-card-title { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.mg-card-dek { font-size: 15px; line-height: 1.5; color: #555555; }
.mg-grid a:hover .mg-card-title, .mg-next a:hover .mg-card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mg-next a { padding-top: 14px; border-top: 3px solid #111111; }

/* Article */
.mg-article { max-width: 1000px; margin: 0 auto; padding: 48px 24px 0; }
.mg-article-head { max-width: 760px; margin: 0 auto; text-align: center; }
.mg-article-head h1 { margin: 14px 0 16px; font-family: var(--serif); font-size: clamp(40px, 7vw, 72px); font-weight: 400; line-height: 1.02; }
.mg-dek { margin: 0 auto; max-width: 620px; font-family: Georgia, serif; font-size: 21px; font-style: italic; line-height: 1.5; color: #333333; }
.mg-byline { margin: 18px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #777777; }
.mg-hero { margin: 36px 0 0; }
.mg-hero img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #eeeeee; }
.mg-hero-tall { max-width: 600px; margin-left: auto; margin-right: auto; }
.mg-hero-tall img { aspect-ratio: 4 / 5; }
.mg-hero figcaption { margin-top: 8px; font-size: 13px; color: #666666; font-style: italic; }
.mg-body { max-width: 680px; margin: 40px auto 0; font-family: Georgia, serif; font-size: 20px; line-height: 1.7; }
.mg-body p { margin: 0 0 22px; }
.mg-first::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--serif); font-size: 92px; line-height: 0.8; }
.mg-pull { margin: 36px 0; padding: 26px 0; border-top: 1px solid #111111; border-bottom: 1px solid #111111; font-family: var(--serif); font-size: 34px; line-height: 1.2; text-align: center; }
.mg-end { text-align: center; font-size: 14px; }

.mg-missing { max-width: 680px; margin: 0 auto; padding: 100px 24px 40px; text-align: center; }
.mg-missing h1 { font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1.05; margin: 14px 0; }
.mg-missing p { font-family: Georgia, serif; font-size: 19px; }
.mg-link { font-weight: 700; }

/* Bottom */
.mg-bottom { max-width: 1100px; margin: 0 auto; padding: 72px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.mg-cta { background: #111111; color: #ffffff; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mg-cta h2 { margin: 0; font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1.1; }
.mg-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #dddddd; }
.mg-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; }
.mg-cta-button:hover { background: #d95450; }
.mg-cta-arrow { display: inline-block; }
.mg-share { min-height: 48px; padding: 0 22px; border: 1px solid #ffffff; border-radius: 999px; background: none; color: #ffffff; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.mg-share:hover { background: #ffffff; color: #111111; }
.mg-status { margin: 0; font-size: 14px; font-weight: 700; color: #8fe39b; }
.mg-status:empty { display: none; }
.mg-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 #111111; padding-top: 14px; }

@media (max-width: 860px) {
	.mg-front { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.mg-stage { max-width: 480px; width: 100%; margin: 0 auto; }
	.mg-grid ul, .mg-next ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.mg-bar { gap: 16px; padding: 10px 16px; }
	.mg-logo { font-size: 28px; }
	.mg-front { padding: 28px 16px 16px; }
	.mg-letter { margin-top: 40px; padding: 32px 16px; }
	.mg-letter h2 { font-size: 36px; }
	.mg-letter p { font-size: 17px; }
	.mg-grid, .mg-next { padding: 44px 16px 0; }
	.mg-grid ul, .mg-next ul { grid-template-columns: minmax(0, 1fr); }
	.mg-article { padding: 32px 16px 0; }
	.mg-dek { font-size: 18px; }
	.mg-body { font-size: 18px; }
	.mg-first::first-letter { font-size: 76px; }
	.mg-pull { font-size: 27px; }
	.mg-bottom { padding: 56px 16px 40px; }
	.mg-cta h2 { font-size: 32px; }
	.mg-cta-button { font-size: 18px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .mg-cover { animation: mg-arrive 1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
	.js .mg-masthead { animation: mg-fade 1.2s 0.3s ease both; }
	.js .mg-lines .mg-line { animation: mg-slide 0.6s ease both; }
	.js .mg-lines .mg-line:nth-child(1) { animation-delay: 0.6s; }
	.js .mg-lines .mg-line:nth-child(2) { animation-delay: 0.75s; }
	.js .mg-lines .mg-line:nth-child(3) { animation-delay: 0.9s; }
	.js .mg-lines .mg-line:nth-child(4) { animation-delay: 1.05s; }
	.js .mg-main { animation: mg-slide 0.7s 1.2s ease both; }
	.js .mg-cover::after { transition: background-position 0.3s ease-out; }
	.js .mg-toc li { animation: mg-rise 0.5s ease both; }
	.js .mg-toc li:nth-child(1) { animation-delay: 0.4s; }
	.js .mg-toc li:nth-child(2) { animation-delay: 0.5s; }
	.js .mg-toc li:nth-child(3) { animation-delay: 0.6s; }
	.js .mg-toc li:nth-child(4) { animation-delay: 0.7s; }
	.js .mg-toc li:nth-child(5) { animation-delay: 0.8s; }
	.js .mg-toc li:nth-child(6) { animation-delay: 0.9s; }
	.js .mg-article-head > * { animation: mg-rise 0.6s ease both; }
	.js .mg-article-head > *:nth-child(2) { animation-delay: 0.1s; }
	.js .mg-article-head > *:nth-child(3) { animation-delay: 0.2s; }
	.js .mg-article-head > *:nth-child(4) { animation-delay: 0.3s; }
	.js .mg-hero img { animation: mg-fade 1s 0.3s ease both; }
	.mg-grid img { transition: transform 0.5s ease, filter 0.5s ease; }
	.mg-grid a:hover img { transform: scale(1.02); filter: contrast(1.08); }
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.mg-cta-button { animation: mg-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.mg-cta-button:hover { transform: scale(1.02); }
	.mg-cta-arrow { animation: mg-nudge 1.1s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
	.mg-cover { transition: none; }
}

@keyframes mg-arrive { from { opacity: 0; transform: translateY(30px) rotateX(12deg) rotateY(-14deg); } to { opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)); } }
@keyframes mg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mg-slide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes mg-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes mg-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 mg-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
