/* AE Works. Replica of the Squarespace site's styling.
   Tokens taken from the live site's own CSS on 14 Oct 2026. */
:root {
  --cream: hsl(62.73, 100%, 95.69%);   /* site "white" */
  --black: hsl(0, 48%, 7%);            /* site "black" */
  --olive: hsl(106, 35%, 49%);         /* site "darkAccent", green sections */
  --green: hsl(142, 100%, 35%);        /* site "accent": decoration and links on dark only */
  --deep: #0A6B34;                     /* accessible green for buttons and links on cream: 6.5:1 */
  --periwinkle: hsl(222, 74%, 86%);    /* site "lightAccent", unused */
  --pink: #F0A6EE;                     /* hero photo duotone */
  --heading: "Averia Serif Libre", Georgia, serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1300px;
  --gutter: 4vw;
  /* Squarespace size scale: base 20px, heading values 6 / 4 / 2 / 1.6 */
  --unit: calc(.012 * min(100vh, 900px));
  --h1: calc(5 * var(--unit) + 1rem);
  --h2: calc(3 * var(--unit) + 1rem);
  --h3: calc(1 * var(--unit) + 1rem);
  --h4: calc(.6 * var(--unit) + 1rem);
  --large: 1.4rem;
  --small: .9rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 20px; -webkit-text-size-adjust: 100%; }
@media (max-width: 800px) { html { font-size: 17px; } }
body { margin: 0; background: var(--cream); color: var(--black); font-family: var(--body); font-weight: 400; letter-spacing: -.03em; line-height: 1.3; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 700; letter-spacing: -.06em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { margin: 0 0 1em; }
.large { font-size: var(--large); }
.small, .meta-text { font-size: var(--small); }
.label { font-family: var(--heading); font-size: var(--h4); margin-bottom: .4em; }
.note { background: var(--periwinkle); padding: .75rem 1rem; border-radius: 6px; font-size: var(--small); }
em { font-style: italic; }

.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--cream); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Section themes, as on the live site: white = cream, light = olive, black = dark */
.sec { padding: 4.5rem var(--gutter); }
@media (max-width: 800px) { .sec { padding: 3rem var(--gutter); } }
.sec > .inner { max-width: var(--wrap); margin: 0 auto; }
.sec.light { background: var(--olive); color: var(--black); }
.sec.light a { color: var(--black); }
.sec.black { background: var(--black); color: var(--cream); }
.sec.black a { color: var(--green); }
.sec.white { background: var(--cream); }
hr.rule { border: 0; border-top: 1px solid var(--black); margin: 0 0 1.5rem; }
hr.rule.after { margin: 2rem 0 0; }

/* Header */
.site-header { background: var(--olive); border-bottom: 1.5px solid var(--black); padding: 0 var(--gutter); position: sticky; top: 0; z-index: 20; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(30,10,10,.55); }
.site-header .inner { max-width: var(--wrap); margin: 0 auto; min-height: 5rem; display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between; align-items: center; transition: min-height .2s; }
.site-header.scrolled .inner { min-height: 4rem; }
.wordmark { display: flex; align-items: baseline; gap: .45rem; color: var(--black); text-decoration: none; line-height: 1; padding: .6rem 0; }
.wordmark b { font-family: var(--heading); font-weight: 700; letter-spacing: -.05em; font-size: 1.45rem; }
.wordmark i { font-style: normal; font-family: var(--heading); font-weight: 700; font-size: 1.45rem; }
.wordmark span { font-family: var(--heading); font-weight: 700; letter-spacing: -.05em; font-size: 1.45rem; }
.site-header nav { display: flex; align-items: center; gap: .25rem; font-size: 1.1rem; }
.site-header nav a { color: var(--black); text-decoration: none; padding: .5rem .8rem; border-radius: 999px; line-height: 1; transition: background-color .15s, color .15s; }
.site-header nav a:hover { background: rgba(254,255,233,.35); }
.site-header nav a[aria-current] { background: var(--cream); }
.site-header nav a.nav-cta { background: var(--black); color: var(--cream); margin-left: .6rem; padding: .65rem 1.1rem; }
.site-header nav a.nav-cta:hover { background: var(--cream); color: var(--black); }
@media (max-width: 640px) { .site-header .inner, .site-header.scrolled .inner { min-height: 0; padding: .8rem 0 .7rem; } .wordmark b, .wordmark i, .wordmark span { font-size: 1.25rem; } .site-header nav { margin-left: -.8rem; } .site-header nav a.nav-cta { margin-left: auto; } .site-header nav { width: calc(100% + .8rem); } }

/* Footer */
.site-footer { background: var(--black); color: var(--cream); padding: 3.5rem var(--gutter) 2.5rem; }
.site-footer .inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: .6rem; grid-template-columns: 1fr auto; align-items: end; }
.site-footer .inner > div { display: grid; gap: .6rem; }
.site-footer h2 { font-size: var(--h2); margin: 0; color: var(--cream); }
.site-footer .footer-name { font-family: var(--heading); font-weight: 700; letter-spacing: -.04em; font-size: var(--h4); line-height: 1.1; margin: 0 0 .9rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--green); }
.site-footer .year { font-size: var(--small); }
@media (max-width: 600px) { .site-footer .inner { grid-template-columns: 1fr; } .site-footer .year { text-align: right; } }

/* Wavy divider at the bottom of a green section (Squarespace "wavy", stroke in the accent green) */
.sec.has-wave { position: relative; z-index: 1; }
.wave { position: absolute; left: 0; right: 0; bottom: -69px; height: 70px; width: 100%; display: block; }
.sec.light .wave .fill { fill: var(--olive); }
.sec.white .wave .fill { fill: var(--cream); }
.wave .stroke { fill: none; stroke: var(--green); stroke-width: 4; }
.sec.has-wave + .sec { padding-top: 7rem; }

/* Photos */
.photo { margin: 0; }
.photo img { width: 100%; }
.photo.wide, .two-col .photo, .gallery .photo, .logo-fig { border-radius: 8px; overflow: hidden; }
.duotone { position: relative; overflow: hidden; }
.duotone img { filter: grayscale(1) contrast(1.05); }
.duotone::after { content: ""; position: absolute; inset: 0; background: var(--pink); mix-blend-mode: multiply; pointer-events: none; }
.duotone::before { content: ""; position: absolute; inset: 0; background: var(--pink); mix-blend-mode: lighten; opacity: .3; pointer-events: none; z-index: 1; }
.photo figcaption { font-size: var(--small); padding-top: .6rem; line-height: 1.35; }
.photo figcaption b { display: block; }

/* Buttons: Squarespace primary button, pill shape */
.btn { display: inline-block; font-family: var(--body); font-size: 1rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; background: var(--deep); color: var(--cream); padding: .75em 2.4em; border-radius: 999px; text-decoration: none; border: 0; }
.btn:hover { background: var(--black); color: var(--cream); }
.btn.small { font-size: var(--small); padding: .65em 2em; }
/* On green sections: black buttons (19:1 text, 6.7:1 edge) */
.sec.light .btn, .site-header .btn { background: var(--black); color: var(--cream); }
.sec.light .btn:hover { background: var(--cream); color: var(--black); }

/* Circled word (hand-drawn oval in accent green) */
.circled { position: relative; display: inline-block; padding: 0 .1em; }
.circled::after { content: ""; position: absolute; inset: -.25em -.4em -.3em -.4em; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'><path d='M30,12 C70,-2 180,2 190,36 C198,66 110,82 50,74 C10,68 -4,40 14,24 C22,16 30,14 40,12' fill='none' stroke='%2300b34a' stroke-width='5' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat; }

/* Home */
.hero { display: grid; gap: 2rem 4rem; align-items: center; }
main > .sec:first-child { padding-top: 3.5rem; }
@media (max-width: 800px) { main > .sec:first-child { padding-top: 1.5rem; } }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; } }
.eyebrow { font-size: var(--small); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.hero h1 { font-size: clamp(2.6rem, min(6.2vw, 10vh), 5.4rem); line-height: 1.02; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn-ghost, .sec.light .btn-ghost { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.btn-ghost:hover, .sec.light .btn-ghost:hover { background: var(--black); color: var(--cream); }
.hero .hero-photo { margin: 0; max-width: none; aspect-ratio: 4 / 5; border-radius: 12px; }
.hero .hero-photo img { height: 100%; object-fit: cover; object-position: 35% center; }
@media (max-width: 899px) { .hero { min-height: 0; } .hero .hero-photo { aspect-ratio: 4 / 3; } }
.hero .tag { font-size: var(--h4); padding-top: 1rem; }
/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .hero .hero-photo, .hero .tag { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero .hero-photo { animation-name: reveal; animation-duration: 1.1s; animation-delay: .1s; }
  .hero .tag { animation-delay: .4s; }
  .circled::after { animation: draw 1s ease-out .9s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; clip-path: inset(8% 8% 8% 8% round 12px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 12px); } }
@keyframes draw { from { opacity: 0; transform: scale(.85) rotate(-4deg); } to { opacity: 1; transform: none; } }
.hero h1 { margin-bottom: .6em; }
.hero .intro { max-width: 760px; }
.hero .intro { font-size: var(--large); max-width: 30em; margin: 0; }
.hero .tag { font-family: var(--heading); font-size: var(--h4); line-height: 1.2; letter-spacing: -.04em; margin: 0; }
.quote h2 { margin-bottom: .5em; }
.quote .who { font-size: var(--small); line-height: 1.35; }
.quote .who b { display: block; font-weight: 700; }
.quote .who span { display: block; }
.quote .who b + span { font-weight: 700; }

.carousel { position: relative; margin-top: 1rem; }
.carousel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.carousel-head h2 { margin: 0; }
.carousel-arrows { position: absolute; z-index: 2; left: .9rem; right: .9rem; top: var(--arrow-y, 40%); transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none; }
.carousel-arrows button { pointer-events: auto; box-shadow: 0 0 0 2px var(--cream), 0 6px 18px hsla(0, 48%, 7%, .25); }
@media (min-width: 1420px) { .carousel-arrows { left: -1.5rem; right: -1.5rem; } }
@media (max-width: 800px) { .carousel-arrows { left: .5rem; right: .5rem; } .carousel-arrows button { width: 2.6rem; height: 2.6rem; } }
.carousel-arrows button { width: 3rem; height: 3rem; border-radius: 50%; border: 0; padding: 0; background: var(--deep); color: var(--cream); cursor: pointer; display: grid; place-items: center; transition: background-color .15s, transform .15s; }
.carousel-arrows button svg { width: 1.3rem; height: 1.3rem; display: block; }
.carousel-arrows button:hover { background: var(--black); transform: scale(1.05); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 1.25rem); gap: 2.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: .5rem; }
.track::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: flex; flex-direction: column; gap: .5rem; }
.card .photo { margin-bottom: 1rem; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.card .photo img { height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .photo img { transform: scale(1.03); }
.card h3 { margin: 0 0 .1em; font-size: var(--h3); }
.card p { font-size: 1rem; margin-bottom: 1rem; max-width: 34em; }
.card .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 800px) { .track { grid-auto-columns: 88%; gap: 1.5rem; } .carousel-head { flex-wrap: wrap; } }

.logos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem 2.5rem; align-items: center; justify-items: center; }
.logos img { max-height: 56px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.15); transition: filter .2s; }
.logos li:hover img { filter: none; opacity: 1; }
.cta { text-align: center; }
.cta h2 { margin-bottom: .8em; }
.offer-sec { padding-top: 1rem; }
.offer-sec h2 { margin-bottom: 1.2rem; }
.offer { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 3rem; grid-template-columns: repeat(3, 1fr); }
.offer li { padding-bottom: 1.6rem; border-bottom: 2px solid var(--black); }
.offer h3 { font-size: var(--h4); margin-bottom: .3em; }
.offer li { position: relative; }
.offer-icon { display: block; width: 5.6rem; height: 5.6rem; color: hsl(106, 32%, 38%); margin: 0 0 .8rem -.3rem; }
.offer-icon svg { width: 100%; height: 100%; overflow: visible; }
.offer-icon g { opacity: .8; transition: opacity .3s; }
.offer-icon .blob { fill: hsla(106, 35%, 49%, .13); filter: blur(5px); transform-origin: center; transition: transform .6s cubic-bezier(.3,.7,.2,1), fill .3s; }
.offer li:hover .offer-icon g { opacity: 1; }
.offer li:hover .offer-icon .blob { transform: rotate(-10deg) scale(1.06); fill: hsla(106, 35%, 49%, .2); }
.offer p { font-size: var(--small); margin: 0; }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; gap: 1.5rem; } }

/* About, contact */
.two-col { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1fr 1fr; } }
.about-intro p { font-size: var(--large); }
.about-body p { font-size: 1.15rem; line-height: 1.6; letter-spacing: -.012em; max-width: 34em; margin-bottom: 1.2em; }
.about-body h3 { font-size: var(--h3); margin-bottom: 1.2em; }
.contact .btn { margin-top: .5rem; }

/* Projects */
.tiles { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, 1fr); margin: 2rem 0; }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }
.tile { text-decoration: none; color: var(--black); }
.tile .photo { aspect-ratio: 3 / 2; margin-bottom: .9rem; background: #fff; border-radius: 8px; overflow: hidden; }
.tile .photo img { transition: transform .4s; }
.tile:hover .photo img { transform: scale(1.03); }
.tile .photo img { height: 100%; object-fit: cover; }
.tile h3 { font-size: var(--h4); }
.tile:hover h3 { text-decoration: underline; }

.project-head .subtitle { font-size: 1rem; margin: -.3em 0 1.5em; }
.meta { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 1.5rem 0 0; }
.meta dt { font-family: var(--heading); font-size: 1rem; letter-spacing: -.04em; margin-bottom: .3rem; }
.meta dd { margin: 0; font-size: var(--small); }
.meta ul, .plain { margin: 0; padding: 0; list-style: none; }
.plain { font-size: 1rem; }
.changed { margin: 0; padding: 0; list-style: none; max-width: 820px; }
.changed li { padding: .6rem 0 .6rem 1.4rem; position: relative; border-top: 1px solid var(--black); }
.changed li::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: .55rem; height: .55rem; background: var(--green); border-radius: 50%; }
.wide { margin: 2rem 0; }
.logo-fig { max-width: 420px; margin: 1rem 0 2rem; background: #fff; }
.quotes { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quotes .quote h3 { margin-bottom: .5em; }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 1rem; }
.gallery .photo { aspect-ratio: 1; overflow: hidden; }
.gallery .photo img { height: 100%; object-fit: cover; }
.prevnext { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--black); padding-top: 1.5rem; }
.prevnext a { text-decoration: none; color: var(--black); font-family: var(--heading); font-weight: 700; font-size: var(--h4); letter-spacing: -.05em; }
.prevnext a:hover { text-decoration: underline; }
.prevnext span { display: block; font-family: var(--body); font-weight: 400; font-size: var(--small); letter-spacing: -.03em; }
.prevnext .next { margin-left: auto; text-align: right; }

:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.sec.black :focus-visible, .site-footer :focus-visible { outline-color: var(--pink); }

/* Big statement band */
.statement { text-align: left; }
.sec.statement { padding-top: 7rem; padding-bottom: 5rem; }
.statement-big { font-family: var(--heading); font-weight: 700; letter-spacing: -.06em; line-height: .95; font-size: clamp(3.2rem, 10vw, 9rem); margin: 0 0 .35em; }
.statement-sub { font-family: var(--heading); font-size: var(--h3); letter-spacing: -.04em; line-height: 1.2; max-width: 24em; margin: 0; }
@media (prefers-reduced-motion: no-preference) { .statement .circled::after { animation: none; } }

/* The Human Layer (AI) */
.human-sec { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.human { display: grid; gap: 2rem 5rem; align-items: start; }
@media (min-width: 900px) { .human { grid-template-columns: 1fr 1fr; } }
.human .eyebrow { color: var(--pink); }
.human h2 { color: var(--cream); font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 0; }
.human p { font-size: 1.05rem; line-height: 1.45; }
.human .human-note { font-family: var(--heading); font-style: italic; color: var(--pink); font-size: var(--h4); }
.sec.black .btn-pink { background: var(--pink); color: var(--black); }
.sec.black .btn-pink:hover { background: var(--cream); color: var(--black); }

/* Client logos: two rows scrolling in opposite directions */
.sec.clients { padding-top: 3rem; padding-bottom: 5.5rem; overflow: hidden; }
.clients-title { text-align: center; font-size: var(--h2); margin-bottom: 2.8rem; }
.marquee { overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); }
body { overflow-x: clip; }
.marquee + .marquee { margin-top: 3.2rem; }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 44s; }
.marquee-track li { flex: none; padding: 0 3.2rem; display: grid; place-items: center; height: 68px; }
.marquee-track img { width: auto; max-width: none; display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .marquee-track li { padding: 0 1.8rem; } .marquee-track img { transform: scale(.82); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; margin-left: 0; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 1.5rem 0; }
  .marquee-track li[aria-hidden] { display: none; }
}

/* Gallery lightbox */
.g-item { display: block; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.g-item img { transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.lightbox { --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; position: fixed; inset: 0; z-index: 100; background: hsla(0, 48%, 4%, .985); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 4.5rem 2rem 2rem; font-family: var(--mono); color: var(--cream); letter-spacing: 0; }
.lightbox[hidden] { display: none; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; border-bottom: 1px solid hsla(62, 100%, 96%, .12); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.lb-count { opacity: .7; font-variant-numeric: tabular-nums; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .9rem; min-width: 0; }
.lb-frame { position: relative; padding: 10px; max-width: 100%; }
.lb-frame::before, .lb-frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid hsla(62, 100%, 96%, .5); pointer-events: none; }
.lb-frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.lb-frame::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 11rem); width: auto; border-radius: 0; }
.lightbox figcaption { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; opacity: .55; text-align: center; max-width: 60ch; }
.lightbox button { border: 0; cursor: pointer; display: grid; place-items: center; font: inherit; color: inherit; background: transparent; }
.lb-prev, .lb-next { width: 2.6rem; height: 2.6rem; border: 1px solid hsla(62, 100%, 96%, .18) !important; border-radius: 2px; opacity: .55; transition: opacity .2s, border-color .2s, background-color .2s; }
.lb-prev svg, .lb-next svg { width: 1.1rem; height: 1.1rem; }
.lb-prev:hover, .lb-next:hover { opacity: 1; border-color: hsla(62, 100%, 96%, .5) !important; background: hsla(62, 100%, 96%, .05); }
.lb-close { gap: .5rem; grid-auto-flow: column; padding: .35rem .5rem; opacity: .7; text-transform: uppercase; letter-spacing: .12em; transition: opacity .2s; }
.lb-close:hover { opacity: 1; }
.lb-close kbd { font: inherit; border: 1px solid hsla(62, 100%, 96%, .3); border-radius: 2px; padding: .1rem .35rem; text-transform: lowercase; }
.lightbox :focus-visible { outline: 1px solid var(--pink); outline-offset: 3px; }
@media (max-width: 700px) { .lightbox { grid-template-columns: 1fr; padding: 4rem 1rem 5rem; } .lb-bar { padding: 1rem; } .lb-prev, .lb-next { position: absolute; bottom: 1.2rem; } .lb-prev { left: 1rem; } .lb-next { right: 1rem; } .lightbox img { max-height: 68vh; } }

/* Video: still with play button, loads YouTube only on click */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--black); margin: 1.5rem 0 .8rem; max-width: 960px; }
.video iframe, .video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { padding: 0; cursor: pointer; background: none; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-play:hover img { transform: scale(1.03); }
.play-icon { position: absolute; left: 50%; top: 50%; width: 5.2rem; height: 5.2rem; transform: translate(-50%, -50%); border-radius: 50%; background: var(--pink); color: var(--black); display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transition: transform .2s, background-color .2s; }
.play-icon svg { width: 2.2rem; height: 2.2rem; margin-left: .25rem; }
.video-play:hover .play-icon { transform: translate(-50%, -50%) scale(1.08); background: var(--cream); }
.video-credit { font-size: var(--small); max-width: 960px; }

/* Hero fits a laptop viewport (e.g. MacBook Pro, Chrome with bookmarks bar) */
@media (min-width: 900px) {
  .hero .hero-photo { max-height: calc(100vh - 5rem - 6rem); width: 100%; }
}
@media (min-width: 900px) and (max-height: 900px) {
  main > .sec:first-child { padding-top: 2.2rem; }
  .hero h1 { margin-bottom: .45em; }
  .hero-actions { margin-top: 1.5rem; }
}
