/* Beyond the Expected. Small outdoor adventures with Amy Garside.
   Colours from the Northumberland lane: storm slate sky, bone cloud, deep sea blue, barley. */

:root {
  --ink: #1a232c;
  --ink-soft: #3b4752;
  --bone: #f2efe7;
  --ground: #e7ecef;
  --ground-2: #dde4e9;
  --sky: #86a4bf;
  --deep: #35546f;
  --barley: #c7a45a;
  --serif: "Piazzolla", "Iowan Old Style", Georgia, serif;
  --sans: "Asap", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--deep) var(--ground); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.js { scroll-behavior: auto; } /* the smooth scroller does the easing; the browser's own smooth scroll fights it */
.hero.is-scrub .ct .ln > span, .hero.is-scrub .ct .ct__line { transition: none; will-change: transform, opacity; } /* the scroll drives the words once the opening has played */
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 34rem; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); margin-bottom: 1.2rem; }
em { font-style: italic; }
::selection { background: var(--barley); color: var(--ink); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 2px; }
.on-photo :focus-visible { outline-color: var(--bone); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -3rem; background: var(--bone); color: var(--ink); padding: .6rem 1rem; font-weight: 600; z-index: 100; transition: top .2s; }
.skip:focus { top: 1rem; }

/* Controls */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .75rem 1.25rem; background: var(--ink); color: var(--bone); font: 600 1rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; border-radius: 2px; transition: transform .18s var(--ease-out), background .18s; }
.btn:hover { background: var(--deep); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .06s; }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--bone { background: var(--bone); color: var(--ink); }
.btn--bone:hover { background: #fff; }
.link { display: inline-flex; align-items: baseline; gap: .4rem; text-decoration: none; font-weight: 600; background: linear-gradient(var(--barley), var(--barley)) no-repeat 0 100% / 100% 1.5px; padding-bottom: .15rem; transition: background-size .25s var(--ease-out); }
.link:hover { background-size: 0 1.5px; }
.link svg { width: .9em; height: .9em; align-self: center; transition: transform .25s var(--ease-out); }
.link:hover svg { transform: translate(3px, -3px); }

/* Top bar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--gutter); color: var(--bone); transition: color .3s, background .3s; }
.top.is-light { color: var(--ink); background: color-mix(in srgb, var(--ground) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top .name { font-weight: 600; text-decoration: none; font-size: .95rem; }
.top nav { display: flex; gap: 1.8rem; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem 0; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .25s var(--ease-out); }
.top nav a:hover { background-size: 100% 1.5px; }
@media (max-width: 760px) { .top { padding: .8rem var(--gutter); } .top nav { gap: .9rem; } .top nav a { font-size: .85rem; } .top .btn { min-height: 40px; padding: .55rem .85rem; font-size: .9rem; } }
@media (max-width: 430px) { .top .name { display: none; } }
.top .btn { min-height: 44px; padding: .65rem 1.05rem; }
.top.is-light .btn--bone { background: var(--ink); color: var(--bone); }
.top.is-light.on-night { color: var(--bone); background: rgba(5,7,10,.72); }
.top.is-light.on-night .btn--bone { background: var(--bone); color: var(--ink); }

/* Hero: her own footage in three chapters, pinned while you scroll through them */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--bone); }
.hero__stage { position: absolute; inset: 0; }
.ch { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s cubic-bezier(.4,0,.2,1); }
.ch.is-on { opacity: 1; }
.ch__poster, .ch__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch__v { opacity: 0; transition: opacity .6s ease; }
.ch__v.is-playing { opacity: 1; }
.ch .ch__v { transition: opacity .6s ease, transform 9s linear; } /* the slow zoom rule above would otherwise wipe out the fade */
.ch .ch__v.slow-in { transition: opacity 1.6s ease, transform 9s linear; } /* first start, often late on Safari in Low Power Mode, fades in gently */
.ch img, .ch video { transform: scale(1.06); transition: transform 9s linear; }
.ch.is-on img, .ch.is-on video { transform: scale(1); }
.hero__scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(26,35,44,.62) 0%, rgba(26,35,44,.18) 22%, rgba(26,35,44,0) 40%), linear-gradient(0deg, rgba(26,35,44,.82) 0%, rgba(26,35,44,.45) 26%, rgba(26,35,44,0) 52%); }
.hero__grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ct { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(5.5rem, 13vh, 8.5rem); pointer-events: none; }
.ct .ln { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.14em; }
.ct .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.ct.is-on .ln > span { transform: none; }
.ct .ln:nth-child(2) > span { transition-delay: .08s; } .ct .ln:nth-child(3) > span, .ct .ln:nth-child(4) > span { transition-delay: .16s; }
.ct__line { margin: 1.2rem 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.4; opacity: 0; transform: translateY(10px); transition: opacity .8s ease .35s, transform .8s ease .35s; text-shadow: 0 1px 16px rgba(26,35,44,.6); }
.ct.is-on .ct__line { opacity: 1; transform: none; }
.ct:not(.is-on) .ct__line { transition-delay: 0s; }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 30; font-size: clamp(4rem, 12.5vw, 13rem); line-height: .9; letter-spacing: -.03em; color: var(--bone); text-shadow: 0 2px 40px rgba(26,35,44,.35); }
.ct__big { margin: 0; max-width: none; font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 30; font-size: clamp(3rem, 8.4vw, 8.6rem); line-height: .94; letter-spacing: -.025em; text-shadow: 0 2px 40px rgba(26,35,44,.35); }
.hero__rail { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: .6rem; }
.hero__rail span { display: block; width: 2px; height: 54px; background: rgba(242,239,231,.3); transform: scaleY(.62); transform-origin: 50% 50%; transition: background .5s, transform .5s var(--ease-out); }
.hero__rail span.is-on { background: var(--bone); transform: none; }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.4rem; z-index: 3; display: flex; justify-content: flex-end; }
.hero__latest a { color: var(--bone); font-family: var(--serif); font-size: clamp(1.05rem, 1.4vw, 1.35rem); text-decoration: none; border-bottom: 1.5px solid var(--barley); padding-bottom: .15rem; transition: border-color .2s; }
.hero__latest a:hover { border-color: var(--bone); }
.top .name em { font-style: italic; }
.top .name { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; letter-spacing: -.01em; }
@media (max-width: 760px) {
  .ct { bottom: 6.2rem; }
  .hero__title { font-size: clamp(3.6rem, 19vw, 6.4rem); }
  .ct__big { font-size: clamp(2.6rem, 13vw, 4.6rem); }
  .hero__rail { right: .7rem; } .hero__rail span { height: 36px; }
  .hero__foot { justify-content: flex-start; bottom: 1.8rem; }
}
@media (min-width: 761px) {
  .ct[data-i="1"], .ct[data-i="3"] { left: 54%; }
  .ct[data-i="3"] .ct__big { font-size: clamp(2.8rem, 6.2vw, 6.6rem); }
  /* a soft shade on the side the words sit, so they hold over bright sky and pale rock */
  .ch::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, rgba(26,35,44,.55) 0%, rgba(26,35,44,.32) 34%, rgba(26,35,44,0) 62%); }
  .ch[data-i="0"]::after { background: radial-gradient(ellipse 62% 48% at 24% 62%, rgba(26,35,44,.62) 0%, rgba(26,35,44,.36) 55%, rgba(26,35,44,0) 100%), linear-gradient(90deg, rgba(26,35,44,.4) 0%, rgba(26,35,44,0) 60%); }
  .ch[data-i="1"]::after, .ch[data-i="3"]::after { background: linear-gradient(270deg, rgba(26,35,44,.62) 0%, rgba(26,35,44,.38) 36%, rgba(26,35,44,0) 60%); }
}
@media (max-width: 760px) {
  /* on a phone she fills the lower half, so the words sit in the sky, dark on a light morning haze */
  .ct { bottom: auto; top: clamp(5.2rem, 11vh, 6.5rem); }
  .hero__title, .ct__big, .ct__line { color: var(--ink); text-shadow: none; }
  .ct__line { font-weight: 500; }
  .hero__scrim { background: linear-gradient(180deg, rgba(242,239,231,.72) 0%, rgba(242,239,231,.5) 26%, rgba(242,239,231,.16) 44%, rgba(242,239,231,0) 56%), linear-gradient(0deg, rgba(26,35,44,.7) 0%, rgba(26,35,44,0) 24%); }
  .top:not(.is-light) { color: var(--ink); }
  .top:not(.is-light) .btn--bone { background: var(--ink); color: var(--bone); }
  .hero__rail span { background: rgba(26,35,44,.25); } .hero__rail span.is-on { background: var(--ink); }
  /* the opening shot looks straight down with no sky, so it keeps light lettering on a soft dark shade */
  body[data-ch="0"] .ct[data-i="0"] .hero__title, body[data-ch="0"] .ct[data-i="0"] .ct__line { color: var(--bone); text-shadow: 0 2px 26px rgba(26,35,44,.55); }
  body[data-ch="0"] .hero__scrim { background: linear-gradient(180deg, rgba(26,35,44,.76) 0%, rgba(26,35,44,.64) 32%, rgba(26,35,44,.4) 46%, rgba(26,35,44,0) 62%), linear-gradient(0deg, rgba(26,35,44,.7) 0%, rgba(26,35,44,0) 24%); }
  body[data-ch="0"] .top:not(.is-light) { color: var(--bone); }
  body[data-ch="0"] .top:not(.is-light) .btn--bone { background: var(--bone); color: var(--ink); }
  body[data-ch="0"] .hero__rail span { background: rgba(242,239,231,.3); } body[data-ch="0"] .hero__rail span.is-on { background: var(--bone); }
  /* a portrait screen magnifies the Hajar shot, so the words sit low, under a dark shade, clear of her face */
  .ct[data-i="3"] { top: auto; bottom: 5.4rem; }
  .ct[data-i="3"] .ct__big, .ct[data-i="3"] .ct__line { color: var(--bone); text-shadow: 0 2px 26px rgba(26,35,44,.6); }
  body[data-ch="3"] .hero__scrim { background: linear-gradient(0deg, rgba(26,35,44,.88) 0%, rgba(26,35,44,.72) 30%, rgba(26,35,44,.36) 46%, rgba(26,35,44,0) 60%), linear-gradient(180deg, rgba(242,239,231,.55) 0%, rgba(242,239,231,0) 14%); }
  /* in the Hajar walk she comes right up to the camera, so on a phone the words sit low, below her face */
}
@media (prefers-reduced-motion: reduce) { .ch, .ch__v, .ch img, .ct .ln > span, .ct__line { transition: none; } }

/* Sections */
.section { padding: clamp(4.5rem, 11vw, 10rem) var(--gutter); }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; }
.intro { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .intro { grid-template-columns: 1.2fr 1fr; align-items: end; gap: clamp(2rem, 5vw, 5rem); } .intro h2 { margin: 0; } }

/* The films: contact prints from each day out */
.films-wrap { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
.films { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
@media (min-width: 900px) { .films--pair { grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); } }
.film { display: grid; gap: 1.2rem; }
.film__frame { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 10; }
@media (min-width: 761px) { .film--wide .film__frame { aspect-ratio: 21 / 9; } }
.film__frame img { width: 100%; height: 100%; object-fit: cover; }
.js .film__frame > img { height: 124%; top: -12%; position: relative; }
.film__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease-out); z-index: 1; }
.film.is-playing .film__loop { opacity: 1; }
.film__frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(26,35,44,.78) 0%, rgba(26,35,44,.25) 38%, rgba(26,35,44,0) 60%); }
.film__over { position: absolute; left: clamp(1rem, 3vw, 2.5rem); right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.2rem); z-index: 3; color: var(--bone); display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.film__over h3 { font-size: clamp(1.8rem, 4vw, 4rem); line-height: 1.04; max-width: 18ch; text-shadow: 0 2px 24px rgba(26,35,44,.6); }
.film__over h3 .w { display: inline-block; }
.film--wide .film__over h3 { font-size: clamp(2rem, 5.2vw, 5.4rem); }
.film__where { font-weight: 600; font-size: .95rem; white-space: nowrap; opacity: .9; }
.film__play { position: absolute; inset: 0; z-index: 4; display: grid; align-items: start; justify-items: end; padding: clamp(.9rem, 2.4vw, 1.8rem); color: var(--bone); text-decoration: none; }
.film__play span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(242,239,231,.18); border: 1.5px solid rgba(242,239,231,.75); backdrop-filter: blur(6px); transition: transform .3s var(--ease-out), background .3s; }
.film__play:hover span, .film__play:focus-visible span { transform: scale(1.1); background: var(--bone); color: var(--ink); }
.film__play svg { width: 26px; height: 26px; margin-left: 4px; }
.film__body { display: grid; gap: .6rem 2.5rem; }
@media (min-width: 900px) { .film__body { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.film__q { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; margin: 0; max-width: 24ch; }
.film__facts { display: flex; flex-wrap: wrap; gap: .4rem 2rem; list-style: none; margin: .6rem 0 0; padding: 0; font-variation-settings: "wdth" 82, "wght" 500; font-variant-numeric: tabular-nums; }
.film__facts li { white-space: nowrap; }
.film__facts b { font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
.film__text p { margin: 0 0 .8rem; }
.film__quote { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 20; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.3; color: var(--deep); margin: 0 0 .8rem; max-width: 30ch; }

/* Reveals: one entrance per element, nothing hidden without JS */
@media (prefers-reduced-motion: reduce) { .js .rv, .js .film--wide { opacity: 1; transform: none; clip-path: none; } .js .film__frame img, .js .about__wrap img { height: 100%; top: 0; } }

footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2.5rem; display: grid; gap: 1.6rem; }
@media (min-width: 760px) { footer { grid-template-columns: 1fr auto; align-items: end; } }
footer p { margin: 0; }
.foot-mark { font-family: var(--serif); font-size: 1.6rem; }
.credit { font-size: .9rem; color: var(--ink-soft); margin-top: 1.2rem; }
.credit a { font-weight: 600; color: #1F2125; text-decoration: none; }
.credit a span { color: #A8005A; }
.credit a:hover, .credit a:focus-visible { text-decoration: underline; text-decoration-color: #D6006F; text-underline-offset: .2em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot-links a { text-decoration: none; font-weight: 600; padding: .5rem 0; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .25s var(--ease-out); }
.foot-links a:hover { background-size: 100% 1.5px; }

/* About: two frames from the wall walk, text alongside */
.about { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr 1fr; } }
.about__pics { position: relative; aspect-ratio: 5 / 4; }
.about__pic { position: absolute; object-fit: cover; background: var(--ink); }
.about__wrap { position: absolute; overflow: hidden; }
.about__wrap img { position: relative; width: 100%; height: 124%; top: -12%; object-fit: cover; }
.about__wrap--a { left: 0; top: 0; width: 70%; height: 68%; }
.about__wrap--b { right: 0; bottom: 0; width: 54%; height: 54%; box-shadow: 0 30px 60px -30px rgba(26,35,44,.5); outline: 6px solid var(--ground); }
.about__text h2 { margin-bottom: 1.2rem; }
.about__copy p { margin-bottom: 1em; }
.about__copy .lead { margin-bottom: 1.2em; }

/* Latest */
.on-ink { background: var(--ink); color: var(--bone); }
.on-ink .intro h2 { margin: 0 0 1rem; }
.latest { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .latest { grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.5rem); } }
.card { display: block; text-decoration: none; color: inherit; }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #2a3640; margin-bottom: .8rem; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); position: static; }
.card:hover .thumb img { transform: scale(1.04); }
.card h3 { font-size: 1.45rem; line-height: 1.2; }

/* Say hello */
.hello { display: grid; gap: clamp(2rem, 4vw, 4rem); background: var(--ground-2); padding-bottom: clamp(4.5rem, 11vw, 10rem); }
@media (min-width: 900px) { .hello { grid-template-columns: 1fr 1fr; align-items: start; } }
.form { display: grid; gap: 1rem; max-width: 36rem; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
label { font-weight: 600; font-size: .95rem; }
.field { display: grid; gap: .4rem; }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bone); border: 1.5px solid var(--ink); border-radius: 2px; padding: .8rem .9rem; min-height: 48px; transition: box-shadow .18s, border-color .18s; caret-color: var(--deep); }
input:focus, textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 55%, transparent); }
textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .95rem; margin: 0; }

/* The tent: pinned stage, night to morning on scroll */
.tent { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: #05070a; color: var(--bone); overflow: hidden; }
.tent__stage { position: absolute; inset: 0; }
#tent, .tent__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#tent { opacity: 0; transition: opacity .8s ease; z-index: 2; }
#tent.is-live { opacity: 1; }
.tent__still { filter: brightness(.12); }
.tent__time { position: absolute; left: var(--gutter); top: clamp(5rem, 12vh, 7rem); margin: 0; font-weight: 600; font-size: .95rem; opacity: .75; z-index: 3; }
.tent__line { position: absolute; left: var(--gutter); bottom: 14vh; margin: 0; max-width: 22ch; font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 30; font-size: clamp(1.8rem, 4.2vw, 4rem); line-height: 1.15; z-index: 3; color: #140f08; text-shadow: 0 0 2px rgba(255,246,226,.85), 0 0 14px rgba(255,238,205,.45);
  -webkit-mask-image: radial-gradient(circle 30vh at var(--mx, 40%) var(--my, 55%), #000 0%, #000 55%, rgba(0,0,0,.5) 80%, transparent 100%); mask-image: radial-gradient(circle 30vh at var(--mx, 40%) var(--my, 55%), #000 0%, #000 55%, rgba(0,0,0,.5) 80%, transparent 100%); }
.tent__morning { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 10vh; z-index: 4; opacity: 0; transform: translateY(16px); display: grid; gap: 1.4rem; justify-items: start; }
.tent__morning-line { margin: 0; max-width: 26ch; font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.12; color: var(--ink); text-shadow: 0 0 1px rgba(242,239,231,.8), 0 0 14px rgba(242,239,231,.7); }
.tent__morning-line em { font-variation-settings: "opsz" 24; }
.tent.is-morning .tent__morning .btn--bone { background: var(--ink); color: var(--bone); }
@media (prefers-reduced-motion: reduce) { .tent { height: auto; } .tent__stage { position: relative; height: 100svh; } .tent__still { filter: none; } .tent__line { -webkit-mask-image: none; mask-image: none; color: var(--ink); } .tent__morning { opacity: 1; transform: none; position: relative; padding: 2rem var(--gutter); } }

/* Closing (retired): the same film component, the quote as the title, Subscribe where Watch the film sits */
.close { padding-top: 0; }
.film--close .film__over--close { flex-direction: column; align-items: flex-start; gap: .8rem; }
.film--close .film__over h2 { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 24; font-size: clamp(1.5rem, 3.2vw, 3.2rem); line-height: 1.12; letter-spacing: -.01em; max-width: 26ch; margin: 0; color: var(--bone); text-shadow: 0 2px 24px rgba(26,35,44,.6); }
.film--close .film__frame::after { background: linear-gradient(0deg, rgba(26,35,44,.92) 0%, rgba(26,35,44,.72) 48%, rgba(26,35,44,.3) 72%, rgba(26,35,44,0) 90%); }

/* Phone frames: taller, play control out of the title's way (after the film rules so it wins) */
@media (max-width: 760px) {
  .film__frame { aspect-ratio: 4 / 3; }
  .film__play span { width: 56px; height: 56px; }
  .film__over { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .film__over h3 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .film__where { white-space: normal; }
}

/* Smooth scroll wrapper */
#smooth-wrapper { position: relative; }
.js .film__over h3, .js .film__over h2 { overflow: hidden; }
.js .rv { opacity: 1; transform: none; } /* GSAP drives the reveal; nothing is hidden if it fails */

/* Amy's own photographs: keep the subject in frame at every crop */
.film__frame img[data-src*="petroglyphs"], .film__frame img[src*="petroglyphs"] { object-position: 70% 55%; }
.film__frame img[data-src*="almadam-sand"], .film__frame img[src*="almadam-sand"] { object-position: 66% 22%; }
.film__frame img[data-src*="wadi-shab"], .film__frame img[src*="wadi-shab"] { object-position: 40% 50%; }
.film__frame img[data-src*="coast-rocks"], .film__frame img[src*="coast-rocks"] { object-position: 60% 55%; }

/* The on-page player: films play here, on the site, one after another */
.player { width: min(92vw, 1180px); max-width: none; padding: 0; border: 0; background: transparent; color: var(--bone); overflow: visible; }
.player::backdrop { background: rgba(10,14,18,.86); backdrop-filter: blur(6px); }
.player[open] { animation: playerIn .45s var(--ease-out); }
@keyframes playerIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.player__title { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.2; max-width: none; }
.player__close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(242,239,231,.6); background: transparent; color: var(--bone); cursor: pointer; transition: background .2s, color .2s, transform .2s; flex: none; }
.player__close:hover { background: var(--bone); color: var(--ink); transform: rotate(90deg); }
.player__close svg { width: 20px; height: 20px; }
.player__screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1rem; }
.player__yt { color: var(--bone); }
@media (prefers-reduced-motion: reduce) { .player[open] { animation: none; } }

/* ---------------- Work with me ---------------- */
.wk-hero { position: relative; height: 82vh; height: 82svh; min-height: 520px; overflow: hidden; background: var(--ink); color: var(--bone); }
.wk-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; will-change: transform; }
.wk-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,35,44,.6) 0%, rgba(26,35,44,0) 26%), linear-gradient(0deg, rgba(26,35,44,.86) 0%, rgba(26,35,44,.44) 34%, rgba(26,35,44,0) 60%); }
.wk-hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(2.5rem, 8vh, 5rem); }
.wk-hero__title { margin: 0; font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 30; font-size: clamp(3.4rem, 10vw, 10rem); line-height: .92; letter-spacing: -.03em; }
.wk-hero__line { margin: 1rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.45rem); max-width: 34ch; text-shadow: 0 1px 16px rgba(26,35,44,.6); }
.wk-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }
.wk-hero__kit { color: var(--bone); font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 1.5px; text-shadow: 0 1px 14px rgba(26,35,44,.7); padding: .6rem 0; }
.wk-hero__kit:hover { text-decoration-color: var(--barley); }
.wk-intro { display: grid; gap: clamp(1.5rem, 4vw, 4rem); }
@media (min-width: 900px) { .wk-intro { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.wk-numbers h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 18ch; }
.wk-films { display: grid; gap: clamp(1.4rem, 3vw, 2.5rem); }
@media (min-width: 760px) { .wk-films { grid-template-columns: repeat(3, 1fr); } }
.wk-film { margin: 0; }
.wk-film__frame { aspect-ratio: 16 / 10; overflow: hidden; background: #2a3640; margin-bottom: 1rem; }
.wk-film__frame img { width: 100%; height: 100%; object-fit: cover; }
.wk-film figcaption { font-size: 1.05rem; line-height: 1.4; }
.wk-film figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .35rem; font-variant-numeric: lining-nums; }
.wk-film figcaption span { display: block; margin-top: .4rem; font-size: .95rem; opacity: .82; }
.wk-total { margin: clamp(2rem, 4vw, 3.5rem) 0 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 46ch; }
.wk-offer h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.wk-offers { display: grid; gap: 0 clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) { .wk-offers { grid-template-columns: 1fr 1fr; } }
.wk-o { padding: 1.6rem 0 1.8rem; border-top: 1.5px solid var(--ink); }
.wk-o h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .7rem; }
.wk-o p { margin: 0; }
.wk-places h2 { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.wk-pl { margin: 0; display: grid; gap: 0; }
.wk-pl > div { display: grid; gap: .3rem 2rem; padding: 1.1rem 0; border-top: 1.5px solid rgba(26,35,44,.25); }
@media (min-width: 760px) { .wk-pl > div { grid-template-columns: 16rem 1fr; } }
.wk-pl dt { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); }
.wk-pl dd { margin: 0; align-self: center; font-size: 1.05rem; }
.top nav a[aria-current="page"] { background-size: 100% 1.5px; }
.form-head { margin: 0 0 .2rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.wk-earlier { margin: 1rem 0 0; max-width: 52ch; opacity: .9; }
.wk-earlier .link { color: var(--bone); }
.wk-who h2 { margin-bottom: 1rem; }
.wk-w { display: grid; gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .wk-w { grid-template-columns: repeat(3, 1fr); } }
.wk-w h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 1rem; }
.wk-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.wk-bars li { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: baseline; }
.wk-bars span { font-size: 1rem; }
.wk-bars b { font-weight: 600; font-variation-settings: "wdth" 82; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.wk-bars li::after { content: ""; grid-column: 1 / -1; height: 6px; background: linear-gradient(90deg, var(--deep) calc(var(--v) * 1%), transparent 0) no-repeat, rgba(26,35,44,.1); border-radius: 3px; transform-origin: left; }
.wk-src { margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; font-size: .95rem; color: var(--ink-soft); }
/* the Work with me page carries shorter sections, so it uses tighter spacing than the home page */
.page-work .section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.page-work .wk-intro { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.player__acts { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn--ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px rgba(242,239,231,.6); }
.btn--ghost:hover { background: rgba(242,239,231,.12); }
.btn--ghost svg { width: 1.05em; height: 1.05em; }
.player__end { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; gap: 1.4rem; padding: clamp(1rem, 4vw, 3rem); background: rgba(14,19,24,.94); }
.player__end h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); margin: 0; }
.player__end-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2vw, 1.6rem); }
.player__end-grid button { all: unset; cursor: pointer; display: grid; gap: .6rem; }
.player__end-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s var(--ease-out); }
.player__end-grid button:hover img, .player__end-grid button:focus-visible img { transform: scale(1.03); }
.player__end-grid button:focus-visible { outline: 3px solid var(--bone); outline-offset: 4px; }
.player__end-grid span { font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.2; }
.player__end-row { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
@media (max-width: 600px) { .player__end { align-content: start; overflow: auto; } .player__end-grid span { font-size: .95rem; } }
/* Print and PDF: the media kit as a clean document */
@media print {
  .top, .skip, .hero__rail, .player, .wk-hero__scrim, form, .wk-hero__actions, .hp, footer .foot-links { display: none !important; }
  #smooth-wrapper, #smooth-content { position: static !important; transform: none !important; height: auto !important; overflow: visible !important; }
  body { background: #fff; }
  .section { padding: 1.4rem 0 !important; break-inside: avoid; }
  .wk-hero { height: 9cm !important; min-height: 0; }
  .wk-hero { height: auto !important; background: #1a232c !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wk-hero__img { position: static !important; display: block; height: 8cm !important; transform: none !important; object-position: 60% 60%; }
  .wk-hero__copy { position: static !important; padding: 1rem 1.2rem 1.2rem; }
  .wk-hero__title { font-size: 3.2rem !important; }
  .kit-dl { display: none !important; }
  .wk-who, .wk-offer, .wk-places { break-before: auto; }
  .wk-film, .wk-o, .wk-pl > div, .wk-w__col { break-inside: avoid; }
  .on-ink { background: #1a232c !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; padding-inline: 1.2rem !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .wk-bars li::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
[tabindex="-1"]:focus { outline: none; } /* sections the menu links move to; only real controls show a focus ring */

/* Voiceover demos (Work with me). A dark band: a short intro, five demos you can play, the usage notice. */
.voice h2 { max-width: 20ch; }
.voice .lead { max-width: 54ch; color: color-mix(in srgb, var(--bone) 88%, transparent); }
.voice :focus-visible { outline-color: var(--bone); }
.vo-list { list-style: none; margin: clamp(2rem, 4vw, 3.4rem) 0 0; padding: 0; max-width: 46rem; }
.vo__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 1.6rem); padding: 1.1rem 0; border-top: 1.5px solid rgba(242,239,231,.22); }
.vo__item:last-of-type { border-bottom: 1.5px solid rgba(242,239,231,.22); }
.vo__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--bone); color: var(--ink); cursor: pointer; transition: transform .18s var(--ease-out), background .18s; }
.vo__btn:hover { background: #fff; transform: translateY(-1px); }
.vo__btn:active { transform: translateY(1px) scale(.97); transition-duration: .06s; }
.vo__btn svg { grid-area: 1 / 1; width: 20px; height: 20px; }
.vo__btn .ic-pause { display: none; }
.vo__btn[aria-pressed="true"] { background: var(--barley); }
.vo__btn[aria-pressed="true"] .ic-play { display: none; }
.vo__btn[aria-pressed="true"] .ic-pause { display: block; }
.vo__meta { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.vo__name { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.15; }
.vo__tone { font-size: .9rem; color: color-mix(in srgb, var(--bone) 72%, transparent); }
.vo__len { font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; color: color-mix(in srgb, var(--bone) 72%, transparent); }
.vo-notice { margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; max-width: 54ch; font-size: .85rem; color: color-mix(in srgb, var(--bone) 66%, transparent); }
.vo-more { margin: 1.4rem 0 0; }
@media (prefers-reduced-motion: reduce) { .vo__btn { transition: none; } }
