/* =====================================================================
   anactrna v8 — structure modelled on aliciadubuis.com.
   White page, tiny header, a feed of large images with small captions,
   Overview / Index, Read More panel. Burgundy only as a quiet accent.
   ===================================================================== */
:root {
  --ink: #111; --grey: #8a8a8a; --line: #e6e6e6; --accent: #650d1b;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --m: clamp(12px, 2.2vw, 32px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--serif); font-size: 15px; line-height: 1.35; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover, button:hover { color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sc { font-variant: small-caps; text-transform: lowercase; letter-spacing: .05em; color: var(--grey); }

/* header */
.hd { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; padding: 12px var(--m) 10px; background: #fff; }
.hd-name { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hd-mid { text-align: center; }
.hd-mid p { margin: 0; }
.hd-line a { border-bottom: 1px solid currentColor; }
.more { font-family: var(--sans); font-size: 12px; font-weight: 600; }
.more span { font-weight: 400; color: var(--grey); }
.hd-views { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px !important; }
.hd-views button { color: #c8c8c8; }
.hd-views button[aria-pressed="true"] { color: var(--ink); }
.hd-views span { color: #c8c8c8; }
.hd-right { justify-self: end; margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 600; }

/* read more */
.readmore[hidden] { display: none; }
.readmore { padding: 10px var(--m) 50px; border-bottom: 1px solid var(--line); }

.rm-lead { margin: 10px auto 40px; max-width: 40ch; text-align: center; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; }

/* overview feed */
.overview { padding: 0 var(--m); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); margin-bottom: clamp(70px, 9vw, 140px); }
.row figure { margin: 0; }
.row.full figure { grid-column: 1 / -1; }

.row.center figure { grid-column: 3 / 11; }
.row.pair figure:first-child { grid-column: 1 / 7; }
.row.pair figure:last-child { grid-column: 7 / -1; }

 .row.pair .phone-stage { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; }
.phone-stage { display: grid; place-items: center; background: #f2f2f2; }
.phone-stage img { width: auto; height: 82%; filter: drop-shadow(0 20px 24px rgba(0,0,0,.2)); }
.ph { position: relative; width: 100%; background: repeating-linear-gradient(135deg, #f4f4f4 0 14px, #ececec 14px 28px); }
.need { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 8px 10px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: rgba(255,255,255,.9); border: 1px dashed var(--accent); }
.cap { margin: 8px 0 0; font-size: 15px; }
.cap b { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-right: 4px; }
.cap .n { color: var(--grey); margin-right: 6px; }
.cap a, .cap .more { font-family: var(--sans); font-size: 12px; font-weight: 600; }

/* index */
.index[hidden], .overview[hidden] { display: none; }
.index { list-style: none; margin: 30px auto 120px; padding: 0 var(--m); max-width: 900px; }
.index a { position: relative; display: grid; grid-template-columns: 3em minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 2fr) auto; gap: 14px; align-items: baseline; padding: 4px 0; font-size: 16px; }
.index .n { text-align: right; color: var(--grey); font-size: 13px; }
.index .m { color: var(--grey); font-size: 14px; }
.index .pl { font-family: var(--sans); font-size: 12px; color: var(--grey); }
.index .th { position: absolute; left: 50%; top: calc(100% + 4px); width: 220px; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 5; }
.index .th img { width: 100%; height: auto; }
.index a:hover .th { opacity: 1; }

/* footer */
.ft { display: flex; justify-content: space-between; gap: 16px; padding: 14px var(--m) 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--grey); }
.ft a { color: var(--ink); }

@media (max-width: 760px) {
  .hd { grid-template-columns: 1fr auto; }
  .hd-mid { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  
  .row figure, .row.center figure, .row.pair figure:first-child, .row.pair figure:last-child { grid-column: 1 / -1; }
  .row.pair { row-gap: 40px; }
  .index a { grid-template-columns: 2em minmax(0, 1fr) auto; }
  .index .m { grid-column: 2; }
  .index .th { display: none; }
  .ft { flex-direction: column; gap: 4px; }
}

/* project page */
.case { padding: 0 var(--m); }
#credits b { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lead { margin: clamp(40px, 6vw, 80px) auto clamp(50px, 6vw, 90px); max-width: 26ch; text-align: center; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; }
.case .row img, .case .row video { width: 100%; height: auto; }
.case .phone-stage video { width: auto; height: 86%; }
.fc { text-align: center; font-family: var(--sans); font-size: 10.5px !important; color: var(--grey); }
.note { max-width: 560px; margin: 0 auto clamp(70px, 9vw, 130px); text-align: center; display: grid; gap: 8px; }
.note b { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.note p { margin: 0; font-size: 18px; line-height: 1.45; }
.kpi { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin: 6px 0 10px; }
.kpi div { display: grid; gap: 2px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); max-width: 22ch; }
.kpi span { font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1; }
.sel { display: grid; justify-items: center; gap: 10px; padding: 40px 0 100px; }
.sel b { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; justify-items: center; }
.sel li span { display: inline-block; width: 2.4em; text-align: right; margin-right: 10px; color: var(--grey); font-size: 13px; }
.sel li.on a { color: var(--accent); }
.close { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
 .row.center .phone-stage { aspect-ratio: 4 / 3; }
/* NOMW pair, phone video */
.row.pair .phone-stage video { height: 86%; width: auto; }

/* jad'OR: the numbers next to the work */

/* =====================================================================
   rhythm: full-screen picture / centred work, everything centred
   ===================================================================== */
.overview { padding: 0; }
.full { margin: 0 0 clamp(70px, 9vw, 130px); }
.full img { width: 100%; height: 100svh; object-fit: cover; display: block; }
.full .cap { text-align: center; padding: 0 var(--m); }
.work { width: min(62vw, 980px); margin: 0 auto clamp(70px, 9vw, 130px); }
.work .w-img { display: block; }
.work .ph { aspect-ratio: 16 / 10; }
.work .phone-stage { aspect-ratio: 16 / 10; }
.work .phone-stage img { height: 86%; }
.work .cap { text-align: center; }

.readmore { text-align: center; }
.rm-lead { max-width: 48ch; }
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1100px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--m); text-align: center; }
.info h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.info ol, .info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.info li span { display: block; color: var(--grey); font-size: 14px; }
@media (max-width: 760px) {
  .full img { height: 82svh; }
  .work { width: auto; margin-inline: var(--m); }
  
  .info { grid-template-columns: minmax(0, 1fr); }
}
/* captions on one line, like the reference */
.work .cap, .full .cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work { overflow: visible; }
@media (max-width: 760px) { .work .cap, .full .cap { white-space: normal; } }
/* full pictures: the whole image, full width, never cropped */
.full img { height: auto !important; object-fit: initial !important; }
/* first picture: the identity line sits on the image, visible on arrival */
.full:first-child { position: relative; }
.full:first-child .cap { position: absolute; left: var(--m); top: clamp(24px, 4vw, 56px); margin: 0; padding: 0; text-align: left; white-space: normal; max-width: 26ch; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.2; color: var(--ink); }
.full:first-child .cap b { display: block; font-size: clamp(12px, 1vw, 14px); margin-bottom: 6px; }
@media (max-width: 760px) { .full:first-child .cap { font-size: 18px; max-width: 16ch; } }

/* services written on the walking-coat picture */
.svcs { position: relative; color: #fff; }
.svcs::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.25) 55%, rgba(0,0,0,.15)); pointer-events: none; }
.svcs-in { position: absolute; z-index: 2; left: 0; right: 0; top: 0; padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 110px); }
.svcs .lab { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.svcs h2 { margin: 14px 0 0; font-family: var(--sans); font-weight: 600; font-size: clamp(40px, 4.8vw, 80px); line-height: .98; letter-spacing: -.045em; }
.svcs h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; }
.svcs-intro { max-width: 56ch; margin: 22px 0 44px; display: grid; gap: 10px; }
.svcs-intro p { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85); }
.svcs-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.45); }
.svcs-list > li { border-bottom: 1px solid rgba(255,255,255,.45); }
.hd2 { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #fff; padding: 4px 0; text-align: left; }
.hd2:hover { color: #fff; }
.hd2 .nm { font-family: var(--sans); font-size: clamp(12px, 1vw, 14px); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hd2 .no { font-family: var(--sans); font-weight: 600; font-size: clamp(76px, 9vw, 150px); line-height: .9; letter-spacing: -.05em; color: rgba(255,255,255,.92); transition: color .3s; }
.svcs-list:hover > li:not(.open) .no { color: rgba(255,255,255,.4); }
.dt { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.1,1); }
.svcs-list li.open .dt { grid-template-rows: 1fr; }
.dt-in { overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 10px 40px; }
.svcs-list li.open .dt-in { padding-bottom: 28px; }
.dt h3 { margin: 0; font-family: var(--sans); font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.dt p { margin: 0 0 10px; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); }
.dt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dt ul li { position: relative; padding-left: 16px; font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,.78); }
.dt ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1px; background: currentColor; }
.svcs-cta { display: inline-block; margin-top: 34px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; border-bottom: 1px solid #fff; padding-bottom: 4px; }
.svcs-cta:hover { color: #fff; opacity: .75; }
.info { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 760px) {
  .svcs img { height: auto; min-height: 1400px; object-fit: cover !important; }
  .svcs-in { padding: 48px 18px; }
  .hd2 .no { font-size: clamp(52px, 16vw, 80px); }
  .dt-in { grid-template-columns: minmax(0, 1fr); }
  .info { grid-template-columns: minmax(0, 1fr); }
}

/* numbers card: overlaps the right edge of the work, spilling onto the page */
.w-box { position: relative; }
.numcard { position: absolute; top: 50%; right: clamp(-150px, -10vw, -40px); transform: translateY(-50%); width: clamp(200px, 19vw, 300px); background: #fff; border: 1px solid var(--ink); padding: clamp(22px, 2.6vw, 40px) clamp(18px, 2vw, 30px); display: grid; gap: clamp(20px, 2.6vw, 34px); text-align: center; z-index: 3; }
.numcard div { display: grid; gap: 6px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.numcard span { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 72px); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: .95; }
.numcard div:first-child span { color: var(--accent); }

@media (max-width: 760px) {
  .numcard { position: relative; top: auto; right: auto; transform: none; width: auto; margin: -28px 18px 0; }
}

/* work gallery: thumbnails under the visual, hover swaps the main frame */
.work .w-img { position: relative; }
.w-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f2f2f2; }
.w-alt[hidden] { display: none !important; }
.w-thumbs { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.w-thumbs button { flex: 0 0 auto; width: clamp(64px, 7.5vw, 110px); aspect-ratio: 3 / 4; padding: 0; border: 0; background: #f2f2f2; cursor: pointer; opacity: .55; outline: 1px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; display: grid; place-items: center; overflow: hidden; }
.w-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.w-thumbs button.on, .w-thumbs button:hover { opacity: 1; outline-color: var(--ink); }
.w-thumbs .ph-mini { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #ececec 0 6px, #f6f6f6 6px 12px); }
.work .w-thumbs + .cap { margin-top: 18px; }
@media (max-width: 760px) {
  .w-thumbs { justify-content: flex-start; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; }
  .w-thumbs button { width: 64px; }
}

/* case page: phone recordings shown alone, centred, no grey stage, capped at a size the source keeps sharp */
.case .phone-solo { display: grid; place-items: center; background: none; }
.case .row .phone-solo video { width: min(100%, 360px); height: auto; }

/* text written on a full picture, centred (Notes from ana) */
.full.has-over { position: relative; }
.full .over { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(30ch, 84%); margin: 0; text-align: center; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 42px); line-height: 1.15; color: #fff; text-shadow: 0 1px 24px rgba(0,0,0,.35); pointer-events: none; }
.full .over b { display: block; font-family: var(--sans); font-size: clamp(11px, .9vw, 13px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.full.has-over .cap { margin-top: 14px; }
/* gallery frame: white, and phone recordings kept at a size their 1000px source stays sharp */
.w-alt { background: #fff; }
video.w-alt { object-fit: contain; padding: 4% 0; box-sizing: border-box; }
@media (min-width: 761px) { video.w-alt { max-height: 100%; } }
.w-vid { height: 100%; width: 100%; }
.work .cap .ctx { font-style: italic; }
/* phone screenshots: white, centred, never shown bigger than half their pixel height (sharp on Retina) */
.work .phone-stage { background: #fff; }
.work .phone-stage img { height: auto; max-height: min(86%, 485px); width: auto; filter: none; }
.case .row .phone-solo img { width: auto; max-width: 100%; height: auto; max-height: 485px; }
.numcard .nc-note { margin: 0; padding-top: clamp(14px, 1.6vw, 22px); border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.25; color: var(--ink); }
/* one phone size everywhere: 485px tall max, so every recording and screenshot stays sharp */
.work video.w-alt { padding: 0; object-fit: contain; }
.work .w-vid { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: auto; height: min(86%, 485px); background: none; }
.case .row .phone-solo video { width: auto; max-width: 100%; height: min(485px, 160vw); }
.work.vid-on .w-img::after { content: ""; position: absolute; inset: 0; background: #fff; z-index: 1; }
.work .w-vid { z-index: 2; }

/* Not On My Watch: the idea and the role instead of numbers */
.numcard.idea { text-align: left; gap: 14px; width: clamp(230px, 21vw, 320px); }
.numcard.idea .lab { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.numcard.idea .q { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 32px); line-height: 1.12; color: var(--ink); }
.numcard.idea dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.numcard.idea dt { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); padding-top: 3px; }
.numcard.idea dd { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.25; color: var(--ink); }
/* services: lower on the picture and narrower */
@media (min-width: 761px) {
  .svcs-in { top: 34%; left: clamp(20px, 6vw, 110px); right: auto; width: min(640px, 46vw); padding: 0; }
  .svcs h2 { font-size: clamp(34px, 3.4vw, 56px); }
  .svcs-intro { margin: 18px 0 34px; }
  .svcs-intro p { font-size: 15px; }
  .svcs-list .hd2 .no { font-size: clamp(48px, 5vw, 84px); }
}
.work .shot-stage { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #fff; }
.work .shot-stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.work .shot-stage { aspect-ratio: auto; display: block; }
.work .shot-stage img { display: block; width: 100%; height: auto; max-height: none; }
/* gallery thumbnails: each picture in its own shape, uncropped; selected = thin line underneath */
.w-thumbs { gap: 14px; align-items: flex-end; margin-top: 18px; }
.w-thumbs button { width: auto; height: clamp(54px, 5.2vw, 76px); aspect-ratio: auto; background: none; opacity: .45; outline: 0; padding: 0 0 8px; border-bottom: 1px solid transparent; transition: opacity .25s, border-color .25s; }
.w-thumbs button img { width: auto; height: 100%; object-fit: contain; }
.w-thumbs button.on, .w-thumbs button:hover { opacity: 1; outline: 0; border-bottom-color: var(--ink); }
.w-thumbs .ph-mini { width: clamp(86px, 8.3vw, 122px); height: 100%; }
.w-thumbs button { display: block; height: auto; }
.w-thumbs button img, .w-thumbs .ph-mini { display: block; height: clamp(54px, 5.2vw, 76px); }
/* case captions: one short line under each picture */
.case .fc { font-family: var(--serif); font-style: italic; font-size: 15px !important; line-height: 1.35; color: var(--grey); max-width: 52ch; margin: 12px auto 0; }
/* warm off-white stage (same as the watson mockups), used behind the jad'OR phones */
.work .phone-stage, .work .w-alt, .work.vid-on .w-img::after { background: var(--stage, #fff); }
.case.staged .phone-solo { background: #f2f1ec; aspect-ratio: 3 / 2; padding: 4% 0; box-sizing: border-box; }
.case.staged .row .phone-solo img, .case.staged .row .phone-solo video { max-height: min(485px, 100%); height: 100%; width: auto; }
.case.staged .phone-solo { aspect-ratio: auto; padding: clamp(40px, 5vw, 72px) 0; }
.case.staged .row .phone-solo img, .case.staged .row .phone-solo video { height: min(485px, 120vw); max-height: none; width: auto; }
/* results: numbers on one baseline; a prefix ("up to") sits small above its number without pushing it down */
.kpi { align-items: flex-start; row-gap: 40px; }
.kpi div { text-align: center; justify-items: center; }
.kpi span { position: relative; white-space: nowrap; }
.kpi .pre { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
/* phone recordings: cut away the white border baked into the video, along the phone's outline */
video[poster*="jador-reel-phone"] { clip-path: inset(2% 8.2% 2.8% 7.9% round 12.5% / 6.8%); }
video[poster*="nomw-mobile-phone"] { clip-path: inset(1.7% 7.6% 2.4% 7.6% round 12.5% / 6.8%); }
video[src*="jador-reel-phone"] { clip-path: inset(2% 8.2% 2.8% 7.9% round 12.5% / 6.8%); }
video[src*="nomw-mobile-phone"] { clip-path: inset(1.7% 7.6% 2.4% 7.6% round 12.5% / 6.8%); }
@media (min-width: 761px) { .kpi { flex-wrap: nowrap; gap: clamp(28px, 3.5vw, 56px); } .kpi div { max-width: 18ch; } }
/* jad'OR Reel (HD): file already cropped to the phone, only the rounded corners to trim */
video[src*="jador-reel-hd"], video[poster*="jador-reel-hd"] { clip-path: inset(0 round 14% / 6.7%); }
/* Spotify playlist under Notes from ana */
.sound { width: min(640px, calc(100% - 2 * var(--m))); margin: clamp(34px, 4vw, 56px) auto 0; text-align: center; }
.sound .lab { display: block; margin-bottom: 14px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.sound iframe { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
/* Notes from ana: text + playlist together, centred on the picture */
.full .over-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 84%); display: grid; justify-items: center; gap: clamp(22px, 2.6vw, 36px); pointer-events: none; }
.full .over-box .over { position: static; transform: none; width: auto; max-width: 30ch; }
.full .over-box .sound { width: 100%; margin: 0; pointer-events: auto; }
/* "transparent" player: screen blend drops Spotify's black background so the photo shows through */
.full .over-box .sound iframe { mix-blend-mode: screen; opacity: .92; }
@media (max-width: 760px) { .full .over-box .sound iframe { height: 80px; } }

/* hero → About: a quiet hint appears on hover */
.to-about > a { display: block; position: relative; cursor: pointer; }

.to-about > a img { transition: filter .5s; }
.to-about > a:hover img { filter: brightness(.94); }

/* About page: everything centred, vertically too */
.about { min-height: calc(100svh - 160px); display: grid; align-content: center; justify-items: center; gap: clamp(34px, 4vw, 56px); padding: clamp(60px, 8vw, 120px) var(--m); text-align: center; }
.about-lead { margin: 0; max-width: 34ch; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; color: var(--ink); }
.about .about-xp { display: block; padding: 0; max-width: none; }
.about-cta { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.about-cta a { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
/* footer info: only Contact left, centred */
.info { grid-template-columns: minmax(0, 1fr); max-width: 520px; }

/* hero: identity centred in white on the picture, with About me underneath */
.full.to-about { position: relative; }
.to-about .over-box { gap: 18px; }
.over-more { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 4px; text-shadow: 0 1px 18px rgba(0,0,0,.3); transition: border-color .3s; }
.to-about > a:hover ~ .over-box .over-more { border-bottom-color: #fff; }
.to-about .over-box { top: min(50%, 68vh); }
/* hero on phones: 9:16 portrait frame, cropped on the sides only */
@media (max-width: 760px) {
  .full.to-about img { aspect-ratio: 9 / 16; height: auto !important; object-fit: cover !important; object-position: 60% 50% !important; }
  .to-about .over-box { top: 62%; }
}
/* phones: number/idea cards and gallery thumbnails centred */
@media (max-width: 760px) {
  .numcard, .numcard.idea { position: relative; top: auto; right: auto; transform: none; width: auto; max-width: 420px; margin: -28px auto 0; left: 0; box-sizing: border-box; }
  .w-box { display: flex; flex-direction: column; }
  .numcard { align-self: center; width: calc(100% - 32px); }
  .numcard.idea { text-align: center; justify-items: center; }
  .numcard.idea dl { grid-template-columns: 1fr; gap: 4px; width: 100%; }
  .numcard.idea dt { padding-top: 10px; }
  .w-thumbs { justify-content: center; }
}
/* phones: narrower cards */
@media (max-width: 760px) {
  .numcard { width: min(270px, 74%); padding: 22px 18px; gap: 18px; }
  .numcard.idea { width: min(310px, 84%); }
  .numcard span { font-size: 46px; }
  .numcard .nc-note { font-size: 16px; }
}
/* phones: header menu centred */
@media (max-width: 760px) { .hd-mid { text-align: center; } }
/* footer: always one line, also on phones */
@media (max-width: 760px) { .ft { flex-direction: row; align-items: baseline; gap: 10px; font-size: 12px; white-space: nowrap; } }
/* phones: services — the picture fits the text (no empty band below), text centred in it */
@media (max-width: 760px) {
  .svcs { overflow: hidden; }
  .svcs img { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 0; object-fit: cover !important; object-position: 50% 30%; z-index: 0; }
  .svcs-in { position: relative; padding: 88px 18px; }
}
/* phones: Notes from ana like the services — picture fits the text, text centred in it, Read below */
@media (max-width: 760px) {
  .full.has-over:not(.to-about) { display: grid; grid-template-columns: 100%; }
  .full.has-over:not(.to-about) > a, .full.has-over:not(.to-about) > .over-box { grid-area: 1 / 1; }
  .full.has-over:not(.to-about) > a { position: relative; overflow: hidden; }
  .full.has-over:not(.to-about) > a img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover !important; object-position: 50% 60%; }
  .full.has-over:not(.to-about) .over-box { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 96px 22px; z-index: 1; }
  .full.has-over:not(.to-about) .cap { grid-area: 2 / 1; }
}
@media (max-width: 760px) {
  .full.has-over:not(.to-about) .over-box { min-height: 82svh; box-sizing: border-box; align-content: center; }
}
@media (max-width: 760px) {
  .full.has-over:not(.to-about) .over-box { min-height: 0; aspect-ratio: 9 / 16; padding: 40px 22px; }
}

/* EN / FR switch in the header */
.hd-right .lang { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
/* footer: email truly centred (equal side columns), same axis as Contact */
.ft { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; }
.ft > span:nth-child(2) { text-align: center; }
.ft > span:last-child { justify-self: end; }
/* headings used for SEO keep the editorial look */
h1.lead, h1.over, h1.about-lead { font-weight: 400; }
h1.lead { font-family: var(--serif); }
/* project section titles are real headings (h2) for search engines, styled like the former labels */
.note h2.nt { display: block; margin: 0; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: inherit; color: inherit; }

/* contact form — same language as the site: hairlines, serif inputs, uppercase sans labels */
.info .cf-intro { margin: 0 0 26px; font-size: 18px; line-height: 1.4; }
.cf { display: grid; gap: 22px; text-align: left; max-width: 520px; margin: 0 auto; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cf legend, .cf-field > span { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.cf-topic { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-topic legend { width: 100%; }
.cf-opt { cursor: pointer; }
.cf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cf-opt span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--grey); transition: border-color .2s, color .2s; }
.cf-opt:hover span { color: var(--ink); }
.cf-opt input:checked + span { border-color: var(--ink); color: var(--ink); }
.cf-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cf-field input, .cf-field textarea { width: 100%; box-sizing: border-box; padding: 6px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-family: var(--serif); font-size: 18px; line-height: 1.4; color: var(--ink); resize: vertical; transition: border-color .2s; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: #b5b5b5; }
.cf-field input:focus, .cf-field textarea:focus { outline: 0; border-bottom-color: var(--ink); }
.cf-field.bad input, .cf-field.bad textarea { border-bottom-color: var(--accent); }
.cf-send { justify-self: center; margin-top: 6px; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.cf-send:hover { opacity: .7; }
.cf-send:disabled { opacity: .4; cursor: default; }
.cf-note { margin: -8px 0 0; text-align: center; font-size: 13px; color: var(--grey); }
.cf-status { margin: 0; text-align: center; font-size: 18px; line-height: 1.4; color: var(--ink); }
.cf-status.err { color: var(--accent); font-size: 15px; }
.cf.sent > :not(.cf-status) { display: none; }
.info .cf-direct { margin: 34px 0 6px; font-size: 15px; color: var(--grey); }
.info .cf-direct a, .info .cf-social a { color: var(--ink); }
.info .cf-social { margin: 0; font-size: 15px; }
