:root {
--accent: #0060aa;
--light: #f5f7fa;
--dark: #1c1c1c;
--text-main: #1c1c1c;
--text-light: #ffffff;

/* desktop container sizing */
--container-min: 980px; /* safe minimum width for laptops */
--container-ideal: 78vw; /* take more screen width on desktop */
--container-max: 1280px; /* comfortable max on large monitors */
}

body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Noto Sans", sans-serif;
line-height: 1.6;
color: var(--text-main);
background: #fff;
font-size: 16.5px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}

.case {
max-width: clamp(var(--container-min), var(--container-ideal), var(--container-max));
margin: 0 auto;
padding: 0 28px 70px;
box-sizing: border-box;
text-align: center;
}

/* Title area (background handled by 3rd-party container) */
header.hero {
padding: 68px 0 18px;
}

.kicker {
display: inline-block;
margin: 0 0 12px;
font-size: 13px;
font-weight: 800;
letter-spacing: 0.10em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.80);
}

header.hero h1 {
margin: 0 0 14px;
font-size: 44px;
line-height: 1.12;
color: var(--text-light);
letter-spacing: -0.02em;
}

header.hero p.deck {
margin: 0;
font-size: 17px;
color: rgba(255, 255, 255, 0.88);
max-width: 78ch;
margin-left: auto;
margin-right: auto;
text-align: left;
}

section {
max-width: 900px;
margin: 2.2rem auto 0;
text-align: left;
}

h2 {
margin: 44px 0 12px;
font-size: 28px;
line-height: 1.25;
letter-spacing: -0.01em;
color: var(--text-main);
}

h2::after {
content: "";
display: block;
height: 3px;
width: min(420px, 55%);
background: var(--accent);
margin-top: 12px;
border-radius: 999px;
}

h3 {
margin: 28px 0 8px;
font-size: 20px;
line-height: 1.35;
color: var(--text-main);
}

p {
margin: 0 0 16px;
text-align: left; /* avoid justification artifacts */
}

a {
color: var(--accent);
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

hr {
border: 0;
height: 1px;
background: rgba(28, 28, 28, 0.12);
margin: 28px 0;
}

blockquote {
margin: 22px 0;
padding: 18px 18px;
border-left: 4px solid var(--accent);
background: var(--light);
border-radius: 14px;
color: rgba(28, 28, 28, 0.92);
font-size: 17px;
}

blockquote p {
margin: 0;
}

ul {
margin: 14px 0 16px;
padding-left: 22px;
}

li {
margin: 10px 0;
}

/* Figure / Frame */
figure.frame {
margin: 22px 0 34px;
}

figure.frame .slot {
position: relative;
width: 100%;
overflow: hidden;
border-radius: 18px;
background: #0a0f16;
border: 1px solid rgba(0, 0, 0, 0.10);
box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
aspect-ratio: 16 / 9; /* default */
}

figure.frame .slot img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/* Optional: for technical images where cropping is undesirable */
figure.frame[data-fit="contain"] .slot img {
object-fit: contain;
}

figure.frame figcaption {
margin-top: 10px;
font-size: 13px;
color: rgba(28, 28, 28, 0.72);
text-align: center;
}

/* Per-photo aspect ratios (match the supplied image set) */
figure.frame[data-ratio="16:9"] .slot { aspect-ratio: 16 / 9; }
figure.frame[data-ratio="4:3"] .slot { aspect-ratio: 4 / 3; }
figure.frame[data-ratio="3:4"] .slot { aspect-ratio: 3 / 4; }
figure.frame[data-ratio="1:1"] .slot { aspect-ratio: 1 / 1; }
figure.frame[data-ratio="2048:1097"] .slot { aspect-ratio: 2048 / 1097; }

/* Credits / Info box */
.credits-box {
margin: 22px 0 34px;
padding: 18px 18px;
border-radius: 16px;
background: var(--light);
border: 1px solid rgba(28, 28, 28, 0.10);
}

.credit-row {
display: grid;
grid-template-columns: 190px 1fr;
gap: 14px;
padding: 10px 0;
border-bottom: 1px dashed rgba(28, 28, 28, 0.16);
}

.credit-row:last-child {
border-bottom: 0;
}

.credit-label {
font-weight: 800;
color: rgba(28, 28, 28, 0.78);
}

.credit-value {
color: rgba(28, 28, 28, 0.94);
}

/* CTA */
.cta-box {
max-width: 760px;
margin: 42px auto 0;
padding: 22px 22px;
border-radius: 18px;
border: 1px solid rgba(0, 96, 170, 0.22);
background: rgba(0, 96, 170, 0.06);
}

.cta-box h3 {
margin: 0 0 10px;
}

.cta-box p {
margin: 0;
}

@media (max-width: 1040px) {
.case {
max-width: 100%;
padding: 0 18px 56px;
}

header.hero {
padding: 56px 0 14px;
}

header.hero h1 {
font-size: 36px;
}

.credit-row {
grid-template-columns: 1fr;
}
}

@media (max-width: 560px) {
header.hero h1 {
font-size: 30px;
}

h2 {
font-size: 24px;
}
}