/* Homepage additions under review (11/26): story section A + tic-tac-toe footer. Not live yet. */
.pe-st { background: var(--navy); margin-top: clamp(40px, 5vw, 80px); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(56px, 7vw, 104px); }
.pe-st + .who { padding-top: clamp(64px, 7vw, 110px); }
.pe-st-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pe-st h2 { font: 800 clamp(30px, 4.6vw, 64px)/1.06 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; color: var(--navy); }
.pe-st h2 span { display: block; }
.pe-st h2 span + span { color: var(--red); }
.pe-st-body { display: grid; gap: 22px; }
.pe-st p { font: 400 clamp(16px, 1.35vw, 19px)/1.65 var(--f-display); color: #222; max-width: 60ch; margin: 0; }
.pe-st-end { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3vw, 44px); border-top: 2px solid var(--navy); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pe-st .pe-st-turn { font: 800 clamp(22px, 2.6vw, 36px)/1.2 var(--f-display); letter-spacing: -.01em; color: var(--navy); max-width: none; }
.pe-st-lead { display: inline-flex; align-items: center; gap: 14px; font: 600 14px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.pe-st-lead i { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex: none; transition: background .25s, transform .25s; }
.pe-st-lead svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; }
.pe-st-lead:hover i { background: var(--red); transform: translateY(4px); }
@media (max-width: 860px) { .pe-st-grid { grid-template-columns: 1fr; } }

/* Tic-tac-toe footer (replaces the pixel wall on the homepage) */
.pe-ttt-footer { padding-top: 64px; }
.pe-ttt-footer .pe-ft-top { align-items: center; padding-top: 0; }
.pe-ttt { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; order: 2; }  /* Let's connect sits on the left, the game on the right (Zahra, 11/26) */
.pe-ttt-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: clamp(210px, 22vw, 290px); }
.pe-ttt-board button { aspect-ratio: 1 / 1; border: 0; border-radius: 0; padding: 0; background: rgba(255,255,255,.08); color: #fff; font: 800 clamp(34px, 3.6vw, 52px)/1 var(--f-display); cursor: pointer; transition: background .15s; }
.pe-ttt-board button:hover:not(:disabled) { background: rgba(255,255,255,.18); }
.pe-ttt-board button:disabled { cursor: default; }
.pe-ttt-board button.x { background: var(--teal); color: var(--navy); }
.pe-ttt-board button.o { background: #fff; color: var(--navy); }
.pe-ttt-board button.dim { opacity: .35; }
.pe-ttt-board button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pe-ttt-side h3 { font: 500 clamp(22px, 2.2vw, 32px)/1.1 var(--f-display); text-transform: uppercase; color: #fff; margin: 0 0 10px; }
.pe-ttt-side p { font: 400 16px/1.4 var(--f-display); color: #D9E2EC; margin: 0 0 16px; min-height: 1.4em; }
.pe-ttt-again { background: none; border: 1px solid rgba(255,255,255,.5); border-radius: 50px; color: #fff; padding: 8px 16px; font: 600 12px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pe-ttt-again:hover { background: #fff; color: var(--navy); }
.pe-ttt-right { display: grid; gap: 24px; justify-items: start; }
.pe-st h2, .pe-st .pe-st-turn, .pe-st-lead { color: #fff; }
.pe-st h2 span + span { color: var(--coral); }
.pe-st p { color: #D9E2EC; }
.pe-st-end { border-top-color: rgba(255,255,255,.35); }
.pe-st-lead i { background: #fff; } .pe-st-lead svg { stroke: var(--navy); }
.pe-st-lead:hover i { background: var(--teal); }

/* ---------- Services: two layouts on the same markup, chosen by a class on <body> (next2.py).
   .sv-tabs = side by side: three words on one line, one panel under them.  .sv-rows = reveal rows that open on click. ---------- */
.pe-sv-ex { position: relative; }
/* websites: laptop + phone */
.pe-dev { padding: 0 9% 5% 5%; }
.pe-lap-scr { border: clamp(7px, .9vw, 13px) solid #171B22; border-bottom-width: clamp(9px, 1.1vw, 16px); border-radius: 14px 14px 0 0; overflow: hidden; background: #171B22; }
.pe-lap-scr img, .pe-ph img { width: 100%; height: auto; display: block; }
.pe-lap-base { height: clamp(8px, 1vw, 14px); margin: 0 -6%; background: linear-gradient(#DADDE3, #A9AFBA); border-radius: 2px 2px 14px 14px; position: relative; }
.pe-lap-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); background: #8F96A3; border-radius: 0 0 8px 8px; }
.pe-ph { position: absolute; right: 0; bottom: 0; width: 21%; border: clamp(4px, .5vw, 7px) solid #171B22; border-radius: clamp(12px, 1.6vw, 24px); overflow: hidden; background: #171B22; box-shadow: 0 18px 40px rgba(0,47,93,.28); }
/* branding: a one-page brand sheet with its cover behind it */
.pe-bs { aspect-ratio: 16 / 10.5; }
.pe-sheet { position: absolute; top: 4%; height: 92%; width: auto; max-width: none; display: block; box-shadow: 0 16px 40px rgba(0,47,93,.22); }
.pe-sheet-b { left: 12%; transform: rotate(-6deg); }
.pe-sheet-f { right: 14%; transform: rotate(3deg); }

/* side by side */
.sv-tabs .pe-sv { background: var(--cream); padding: clamp(56px, 7vw, 100px) 0; }
.sv-tabs .pe-sv > .container { display: grid; grid-template-columns: repeat(3, max-content) 1fr; column-gap: clamp(16px, 3vw, 44px); align-items: end; }
.sv-tabs .pe-sv-hd { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 40px; margin-bottom: clamp(18px, 2.4vw, 30px); }
.sv-tabs .pe-sv h2 { margin: 0; font: 800 clamp(22px, 2.4vw, 32px)/1.1 var(--f-display); letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; max-width: none; }
.sv-tabs .pe-sv-sub { margin: 0; font: 400 16px/1.5 var(--f-display); color: #222; max-width: none; }
.sv-tabs .pe-sv-ac { display: contents; }
.sv-tabs .pe-sv-ac > button { all: unset; box-sizing: border-box; grid-row: 2; cursor: pointer; padding: 0 0 10px; border-bottom: 4px solid transparent; }
.sv-tabs .pe-sv-ac:nth-of-type(2) > button { grid-column: 1; }
.sv-tabs .pe-sv-ac:nth-of-type(3) > button { grid-column: 2; }
.sv-tabs .pe-sv-ac:nth-of-type(4) > button { grid-column: 3; }
.sv-tabs .pe-sv-ac > button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sv-tabs .pe-sv-wd { display: block; font: 800 clamp(22px, 3.4vw, 46px)/1.1 var(--f-display); letter-spacing: -.01em; text-transform: lowercase; color: #B9B6BF; transition: color .25s; }
.sv-tabs .pe-sv-ac > button:hover .pe-sv-wd { color: #8C93A1; }
.sv-tabs .pe-sv-ac.on .pe-sv-wd { color: var(--ink); }
.sv-tabs .pe-sv-ac.on > button { border-bottom-color: var(--ink); }
.sv-tabs .pe-sv-ac.c2.on .pe-sv-wd { color: var(--red); }
.sv-tabs .pe-sv-ac.c2.on > button { border-bottom-color: var(--red); }
.sv-tabs .pe-sv-ac.c3.on .pe-sv-wd { color: var(--teal); }
.sv-tabs .pe-sv-ac.c3.on > button { border-bottom-color: var(--teal); }
.sv-tabs .pe-sv-pn { grid-column: 1 / -1; grid-row: 3; display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 24px clamp(24px, 5vw, 80px); align-items: center; border-top: 1px solid #E3E1E6; margin-top: -1px; padding: clamp(24px, 3vw, 44px) 0 0; }
.sv-tabs .pe-sv-info { display: grid; gap: 22px; align-content: center; }
.sv-tabs .pe-sv-pn.nov { grid-template-columns: 1fr; }
.sv-tabs .pe-sv-pn.nov .pe-sv-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: center; }
.sv-tabs .pe-sv-ac.on .pe-sv-pn { display: grid; }
.sv-tabs .pe-sv-mid { display: grid; gap: 8px; align-content: start; }
.sv-tabs .pe-sv-tl { margin: 0; font: 600 13px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: #5A5A5A; }
.sv-tabs .pe-sv-ds { margin: 0; font: 600 clamp(19px, 1.8vw, 26px)/1.35 var(--f-display); color: var(--ink); max-width: 28ch; }
.sv-tabs .pe-sv-p { margin: 6px 0 0; font: 400 16.5px/1.65 var(--f-display); color: #222; max-width: 52ch; }
.sv-tabs .pe-sv ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid #E3E1E6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; align-content: start; }
.sv-tabs .pe-sv li { display: flex; gap: 10px; align-items: baseline; font: 500 15px/1.4 var(--f-display); color: var(--ink); }
.sv-tabs .pe-sv li::before { content: ""; width: 6px; height: 6px; background: var(--ink); flex: none; transform: translateY(-2px); }
.sv-tabs .pe-sv-more { justify-self: start; display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.sv-tabs .pe-sv-more i { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.sv-tabs .pe-sv-more svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; }
.sv-tabs .pe-sv-ld, .sv-tabs .pe-sv-ar { display: none; }
.sv-tabs .pe-sv-in { display: contents; }
@media (max-width: 800px) { .sv-tabs .pe-sv-pn, .sv-tabs .pe-sv-pn.nov .pe-sv-info, .sv-tabs .pe-sv ul { grid-template-columns: 1fr; } }

/* reveal rows */
.sv-rows .pe-sv { background: var(--cream); padding: clamp(56px, 7vw, 100px) 0; }
.sv-rows .pe-sv-hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 40px; margin-bottom: clamp(22px, 3vw, 40px); }
.sv-rows .pe-sv h2 { margin: 0; font: 800 clamp(22px, 2.4vw, 32px)/1.1 var(--f-display); letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; max-width: none; }
.sv-rows .pe-sv-sub { margin: 0; font: 400 16px/1.5 var(--f-display); color: #222; max-width: none; }
.sv-rows .pe-sv-ac { border-top: 2px solid var(--ink); }
.sv-rows .pe-sv-ac:last-of-type { border-bottom: 2px solid var(--ink); }
.sv-rows .pe-sv-ac > button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 16px clamp(20px, 4vw, 64px); align-items: center; padding: clamp(18px, 2.2vw, 30px) 0; }
.sv-rows .pe-sv-ac > button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sv-rows .pe-sv-wd { display: block; font: 800 clamp(30px, 4.4vw, 64px)/1 var(--f-display); letter-spacing: -.02em; text-transform: lowercase; color: var(--ink); transition: color .25s; }
.sv-rows .pe-sv-ld { font: 500 clamp(17px, 1.6vw, 22px)/1.4 var(--f-display); color: #222; max-width: 34ch; }
.sv-rows .pe-sv-ar { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background .25s, transform .35s, border-color .25s; }
.sv-rows .pe-sv-ar svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; transition: stroke .25s; }
.sv-rows .pe-sv-ac > button:hover .pe-sv-wd, .sv-rows .pe-sv-ac.on .pe-sv-wd { color: var(--coral); }  /* Same as the step numbers: Branding coral, Marketing teal, Websites red (Zahra, 11/26 (Zahra, 11/26) */
.sv-rows .pe-sv-ac.c2 > button:hover .pe-sv-wd, .sv-rows .pe-sv-ac.c2.on .pe-sv-wd { color: var(--teal); }
.sv-rows .pe-sv-ac.c3 > button:hover .pe-sv-wd, .sv-rows .pe-sv-ac.c3.on .pe-sv-wd { color: var(--red); }
.sv-rows .pe-sv-ac > button:hover .pe-sv-ar { background: var(--ink); }
.sv-rows .pe-sv-ac > button:hover .pe-sv-ar svg { stroke: #fff; }
.sv-rows .pe-sv-ac.on .pe-sv-ar { background: var(--ink); transform: rotate(-90deg); }
.sv-rows .pe-sv-ac.on .pe-sv-ar svg { stroke: #fff; }
.sv-rows .pe-sv-pn { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.2,1); }
.sv-rows .pe-sv-ac.on .pe-sv-pn { grid-template-rows: 1fr; }
.sv-rows .pe-sv-in { overflow: hidden; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px clamp(24px, 5vw, 80px); align-items: center; opacity: 0; transition: opacity .35s .1s; }
.sv-rows .pe-sv-ac.on .pe-sv-in { opacity: 1; padding-bottom: clamp(28px, 3.5vw, 52px); }
.sv-rows .pe-sv-pn.nov .pe-sv-in { grid-template-columns: 1fr; }
.sv-rows .pe-sv-pn.nov .pe-sv-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; }
.sv-rows .pe-sv-pn.nov .pe-sv-more { grid-column: 1 / -1; }
.sv-rows .pe-sv-info { display: grid; gap: 22px; align-content: center; }
.sv-rows .pe-sv-mid { display: grid; gap: 10px; align-content: start; }
.sv-rows .pe-sv-tl { margin: 0; font: 600 13px/1.3 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: #5A5A5A; }
.sv-rows .pe-sv-p { margin: 0; font: 400 17px/1.65 var(--f-display); color: #222; max-width: 52ch; }
.sv-rows .pe-sv ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid #D0CED4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; align-content: start; }
.sv-rows .pe-sv li { display: flex; gap: 10px; align-items: baseline; font: 500 15px/1.4 var(--f-display); color: var(--ink); }
.sv-rows .pe-sv li::before { content: ""; width: 6px; height: 6px; background: var(--ink); flex: none; transform: translateY(-2px); }
.sv-rows .pe-sv-more { justify-self: start; display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.sv-rows .pe-sv-more i { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.sv-rows .pe-sv-more svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; }
@media (max-width: 800px) {
.sv-rows .pe-sv-ac > button { grid-template-columns: minmax(0, 1fr) auto; }
.sv-rows .pe-sv-ld { grid-column: 1 / -1; grid-row: 2; }
.sv-rows .pe-sv-in, .sv-rows .pe-sv-pn.nov .pe-sv-info, .sv-rows .pe-sv ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.sv-rows .pe-sv-pn, .sv-rows .pe-sv-in, .sv-rows .pe-sv-ar, .sv-rows .pe-sv-wd { transition: none; }
}
.sv-rows .pe-sv-ds { display: none; }

/* ---------- Proof it works (compact): heading + arrows on the left, one quote on the right (next2.py) ---------- */
.pe-pf { --pf-bg: #E3E1E6; --pf-fg: var(--ink); --pf-sub: #333; --pf-ey: #5A5A5A; --pf-line: var(--red); --pf-ring: rgba(17,17,17,.5); --pf-dot: rgba(17,17,17,.3);
  background: var(--pf-bg); padding: clamp(56px, 7vw, 100px) 0; }
.pe-pf > .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); column-gap: clamp(24px, 5vw, 72px); align-items: start; grid-template-rows: auto auto 1fr; }
.pe-pf-ey { grid-column: 1; margin: 0 0 8px; font: 600 12px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--pf-ey); }
.pe-pf h2 { grid-column: 1; margin: 0; color: var(--pf-fg); font: italic 700 clamp(28px, 3.2vw, 46px)/1.12 "Playfair Display", Georgia, serif; text-transform: none; letter-spacing: 0; max-width: none; }
.pe-pf-ctl { grid-column: 1; display: flex; align-items: center; gap: 14px; margin-top: clamp(16px, 2vw, 26px); }
.pe-pf-vp { grid-column: 2; grid-row: 1 / span 3; min-width: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.pe-pf-vp::-webkit-scrollbar { display: none; }
.pe-pf-sl { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; margin: 0; display: grid; align-content: center; gap: 26px; box-sizing: border-box; }
.pe-pf-q { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; }
.pe-pf-mk { font: italic 900 78px/.8 "Playfair Display", Georgia, serif; color: var(--pf-line); height: 44px; }
.pe-pf blockquote { margin: 0; padding: 0; border: 0; font: 400 clamp(18px, 1.75vw, 25px)/1.55 var(--f-display); color: var(--pf-fg); max-width: 40em; }
.pe-pf-who { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; justify-items: start; text-align: left; padding-left: calc(14px + 2.6em); }
.pe-pf-badge { grid-row: 1 / span 3; align-self: center; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center; }
.pe-pf-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-pf-badge img.in { width: 64%; height: auto; object-fit: contain; }
.pe-pf-nm { margin: 0; font: 500 16px/1.3 var(--f-display); color: var(--pf-fg); }
.pe-pf-rl { margin: 0; font: 600 11px/1.5 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--pf-sub); }
.pe-pf-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 10px; }
.pe-pf-tags li { font: 400 13px/1.5 var(--f-display); color: var(--pf-sub); }
.pe-pf-tags li + li::before { content: "\00B7"; margin-right: 10px; color: #8A8A8A; }
.pe-pf-ar { all: unset; box-sizing: border-box; cursor: pointer; font: 600 12px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--pf-fg); padding: 8px 0 7px; border-bottom: 1px solid var(--pf-ring); transition: border-color .25s, color .25s; }
.pe-pf-ar svg { width: 14px; height: 14px; fill: none; stroke: var(--pf-fg); stroke-width: 1.6; transition: stroke .25s; }
.pe-pf-ar:hover { border-bottom-color: var(--pf-line); color: var(--pf-line); }
.pe-pf-ar:focus-visible, .pe-pf-dots button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.pe-pf-dots { display: flex; gap: 9px; align-items: center; }
.pe-pf-dots button { all: unset; box-sizing: border-box; width: 8px; height: 8px; border-radius: 50%; background: var(--pf-dot); cursor: pointer; transition: background .25s, width .25s; }
.pe-pf-dots button[aria-current="true"] { background: var(--pf-line); width: 22px; border-radius: 8px; }
@media (max-width: 800px) {
  .pe-pf > .container { grid-template-columns: 1fr; grid-template-rows: none; }
  .pe-pf-vp { grid-column: 1; grid-row: 3; margin-top: 18px; }
  .pe-pf-ctl { grid-row: 4; }
  .pe-pf-who { padding-left: 0; }
  .pe-pf-q { grid-template-columns: 1fr; row-gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .pe-pf-vp { scroll-behavior: auto; } }

/* "Who we are" is hidden for now (Zahra, 11/26); remove the hidden attribute in next2.py to bring it back. */
.who[hidden] { display: none !important; }
.believe[hidden] { display: none !important; }
.pe-ttt-footer { margin-top: 0; }

/* ---------- Work + article: a film strip of tall covers; the last panel is the article (next2.py) ---------- */
.pe-wk { background: #fff; padding: clamp(56px, 7vw, 100px) 0; }
.pe-wk-hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(26px, 3.5vw, 48px); }
.pe-wk h2 { margin: 0; font: 800 clamp(26px, 3.2vw, 44px)/1.08 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); max-width: none; }
.pe-wk-strip { display: flex; gap: 10px; height: clamp(380px, 38vw, 540px); }
.pe-wk-s { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); transition: flex-grow .55s cubic-bezier(.2,.7,.2,1); }
.pe-wk-s img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .7s; }
.pe-wk-s:first-child img { object-position: 72% center; }
.pe-wk-s::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 38%, rgba(0,0,0,.82)); }
.pe-wk-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 8px; padding: clamp(14px, 1.6vw, 22px); }
.pe-wk-lb { font: 600 11px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: #fff; opacity: .85; }
.pe-wk-t { font: 800 clamp(16px, 1.5vw, 22px)/1.15 var(--f-display); letter-spacing: -.01em; }
.pe-wk-d { font: 400 14.5px/1.45 var(--f-display); color: #EDEDED; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s, opacity .35s; }
.pe-wk-s:hover, .pe-wk-s:focus-visible { flex-grow: 2.4; }
.pe-wk-s:hover img, .pe-wk-s:focus-visible img { filter: none; transform: scale(1.03); }
.pe-wk-s:hover .pe-wk-d, .pe-wk-s:focus-visible .pe-wk-d { max-height: 90px; opacity: 1; }
.pe-wk-s:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.pe-wk-a { flex-grow: 1.5; background: var(--ink); }
.pe-wk-a::after { display: none; }
.pe-wk-a .pe-wk-cap { gap: 12px; }
.pe-wk-a .pe-wk-lb { color: var(--coral); opacity: 1; font-size: 12px; }
.pe-wk-a .pe-wk-t { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.2; }
.pe-wk-a .pe-wk-d { max-height: none; opacity: 1; color: #D8D8D8; }
.pe-wk-a:hover .pe-wk-t { color: var(--coral); }
.pe-wk-go { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.pe-wk-go i { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.pe-wk-go svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 2; }
@media (max-width: 800px) {
  .pe-wk-strip { height: 420px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .pe-wk-strip::-webkit-scrollbar { display: none; }
  .pe-wk-s, .pe-wk-a { flex: 0 0 72%; scroll-snap-align: start; }
  .pe-wk-s:hover { flex-grow: 0; }
  .pe-wk-s img { filter: none; }
  .pe-wk-d { max-height: 90px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .pe-wk-s, .pe-wk-s img, .pe-wk-d { transition: none; } }

/* ---------- How it works: three steps (next2.py) ---------- */
.pe-hw { background: var(--cream); padding: clamp(56px, 7vw, 100px) 0; }
.pe-hw-hd { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 52px); }
.pe-hw-ey { margin: 0; font: 600 13px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: #5A5A5A; }
.pe-hw h2 { margin: 0; font: 800 clamp(26px, 3.2vw, 44px)/1.08 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); max-width: 18em; }
.pe-hw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 56px); }
.pe-hw-steps li { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 3px solid var(--ink); }
.pe-hw-n { font: 800 clamp(40px, 5vw, 72px)/1 var(--f-display); letter-spacing: -.03em; color: var(--coral); }  /* coral, teal, red: teal in the middle (Zahra, 11/26) */
.pe-hw-steps li:nth-child(2) .pe-hw-n { color: var(--teal); } .pe-hw-steps li:nth-child(3) .pe-hw-n { color: var(--red); }
.pe-hw h3 { margin: 0; font: 800 clamp(20px, 1.9vw, 26px)/1.2 var(--f-display); color: var(--ink); text-transform: none; }
.pe-hw-steps p { margin: 0; font: 400 16.5px/1.6 var(--f-display); color: #222; max-width: 36ch; }
.pe-hw-btn { margin-top: clamp(28px, 3.5vw, 44px); display: inline-flex; } .pe-hw-btn .btn-label { background: var(--ink); color: #fff; }

/* ---------- Unlock Your Weekly Wins: sign-up (next2.py) ---------- */
.pe-ww { background: var(--cream); padding: clamp(48px, 6vw, 84px) 0; }
.pe-ww > .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.pe-ww-vid { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.pe-ww-vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-ww-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; }
.pe-ww-play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 4px; }
.pe-ww-ey { margin: 0 0 8px; font: 600 12px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: #5A5A5A; }
.pe-ww h2 { margin: 0 0 12px; font: 800 clamp(26px, 3.2vw, 44px)/1.05 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); max-width: none; }
.pe-ww-ds { margin: 0 0 20px; font: 400 17px/1.55 var(--f-display); color: #222; max-width: 38ch; }
.pe-ww-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; }
.pe-ww-form input[type=text], .pe-ww-form input[type=email] { min-width: 0; box-sizing: border-box; padding: 15px 18px; border: 1.5px solid var(--ink); background: #fff; font: 400 16px/1.2 var(--f-display); color: var(--ink); border-radius: 40px; }
.pe-ww-ok { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font: 400 14px/1.45 var(--f-display); color: var(--ink); margin-top: 4px; }
.pe-ww-ok input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.pe-ww-ok a { color: var(--ink); text-decoration: underline; }
.pe-ww-form button { grid-column: 1 / -1; justify-self: start; margin-top: 6px; padding: 15px 28px; border: 0; border-radius: 40px; background: var(--ink); color: #fff; font: 600 13px/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.pe-ww-form button:hover { background: var(--red); }
.pe-ww-fine { margin: 14px 0 0; font: 400 12.5px/1.5 var(--f-display); color: #5A5A5A; max-width: 52ch; }
@media (max-width: 800px) { .pe-hw-steps, .pe-ww > .container, .pe-ww-form { grid-template-columns: 1fr; } }

/* ---------- Color versions. Both: black footer. D (.pe-d): navy story band. E (.pe-e): soft gray layers. ---------- */
.pe-ttt-footer { background: var(--ink); }
.pe-ttt-board button.x, .pe-ttt-board button.o, .pe-ttt-again:hover { color: var(--ink); }
.pe-e .pe-st { background: #E3E1E6; }
.pe-e .pe-st h2, .pe-e .pe-st .pe-st-turn, .pe-e .pe-st-lead { color: var(--ink); }
.pe-e .pe-st h2 span + span { color: #128C84; }  /* the dark teal from the hero word (Tarian, 11/26) */
.pe-e .pe-st p { color: #222; }
.pe-e .pe-st-end { border-top-color: var(--ink); }
.pe-e .pe-st-lead i { background: var(--ink); } .pe-e .pe-st-lead svg { stroke: #fff; }
.pe-e .pe-pf { --pf-bg: #fff; }

/* ---------- Footer, homepage: brand + three columns on the left, game on the right ---------- */
.pe-ttt-footer .pe-ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(36px, 4vw, 56px); }
.pe-ttt-right { display: grid; gap: clamp(26px, 3vw, 40px); justify-items: stretch; }
.pe-f-brand { display: grid; gap: 14px; padding-bottom: clamp(22px, 2.6vw, 32px); border-bottom: 1px solid rgba(255,255,255,.22); }
.pe-f-brand img { width: 190px; height: auto; filter: brightness(0) invert(1); display: block; }
.pe-f-brand p { margin: 0; font: 400 16px/1.5 var(--f-display); color: #D0D0D0; max-width: 44ch; }
.pe-f-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px clamp(20px, 3vw, 48px); align-items: start; }
.pe-f-cols > div { display: grid; gap: 12px; justify-items: start; align-content: start; }
.pe-f-cols h3 { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 3px solid var(--teal); font: 600 14px/1.2 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.pe-f-cols .pe-mail { margin-top: 0; font-size: clamp(16px, 1.4vw, 20px); border-bottom-width: 2px; }
.pe-f-link { font: 600 13px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.pe-f-link:hover { color: var(--teal); }
.pe-f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pe-f-cols li a { font: 400 16px/1.2 var(--f-display); color: #D0D0D0; }
.pe-f-cols li a:hover { color: var(--teal); }
.pe-ttt { order: 2; align-self: center; }
@media (max-width: 1000px) { .pe-ttt-footer .pe-ft-top { grid-template-columns: 1fr; } .pe-ttt { justify-self: start; } }
@media (max-width: 640px) { .pe-f-cols { grid-template-columns: 1fr 1fr; } .pe-f-soc { grid-column: 1 / -1; } }

/* ---------- FAQ page ---------- */
.pe-fq { background: var(--cream); padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); }
.pe-fq-hd { display: grid; gap: 12px; margin-bottom: clamp(36px, 5vw, 72px); }
.pe-fq-ey { margin: 0; font: 600 13px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: #5A5A5A; }
.pe-fq h1 { margin: 0; font: 800 clamp(34px, 5.4vw, 80px)/1.02 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); max-width: 12em; }
.pe-fq-sub { margin: 0; font: 400 18px/1.5 var(--f-display); color: #222; }
.pe-fq-sub a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pe-fq-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 16px clamp(24px, 5vw, 80px); padding: clamp(24px, 3vw, 40px) 0; border-top: 2px solid var(--ink); }
.pe-fq-g h2 { margin: 0; font: 800 clamp(20px, 2vw, 28px)/1.15 var(--f-display); color: var(--ink); text-transform: none; }
.pe-fq-l details { border-bottom: 1px solid #D0CED4; }
.pe-fq-l summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; font: 600 clamp(17px, 1.5vw, 21px)/1.3 var(--f-display); color: var(--ink); }
.pe-fq-l summary::-webkit-details-marker { display: none; }
.pe-fq-l summary::after { content: "+"; flex: none; font: 400 28px/1 var(--f-display); color: var(--ink); transition: transform .25s, color .25s; }
.pe-fq-l details[open] summary::after { transform: rotate(45deg); color: var(--red); }
.pe-fq-l summary:hover { color: var(--red); }
.pe-fq-l summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.pe-fq-l p { margin: 0 0 22px; font: 400 17px/1.65 var(--f-display); color: #222; max-width: 62ch; }
@media (max-width: 800px) { .pe-fq-g { grid-template-columns: 1fr; } }

/* ---------- Very wide screens: scale the page up so it does not sit in a thin column, and keep the team photo from outgrowing the screen ---------- */
@media (min-width: 1700px) { .hero-image { max-height: min(88vh, 1000px); overflow: hidden; } .hero-image img { width: 100%; height: min(88vh, 1000px); object-fit: cover; object-position: center 30%; } }
/* No page zoom here: zoom fights the smooth-scroll script, so the page could not reach or use the footer on very wide screens (11/26). Widen the column instead. */
@media (min-width: 2100px) { :root { --max: 1900px; } }
@media (min-width: 2600px) { :root { --max: 2300px; } }

/* ---------- Very wide screens: larger body text (headings and sections already scale). Tarian's 3000px monitor, 11/26. ---------- */
@media (min-width: 2100px) { body[class] .pe-nav a { font-size: 17.5px; } body[class] .pe-hd .btn-label, body[class] .pe-hero .btn-label, body[class] .pe-hw-btn .btn-label { font-size: 16.2px; } body[class] .pe-h-row h3 { font-size: 16.2px; } body[class] .pe-h-row p { font-size: 22.5px; } body[class] .pe-st p { font-size: 23.8px; } body[class] .pe-st-lead { font-size: 17.5px; } body[class] .pe-sv-sub { font-size: 20.0px; } body[class] .pe-sv-ld { font-size: 27.5px; } body[class] .pe-sv-tl { font-size: 16.2px; } body[class] .pe-sv-p { font-size: 21.2px; } body[class] .pe-sv li { font-size: 18.8px; } body[class] .pe-sv-more { font-size: 16.2px; } body[class] .pe-wk-lb { font-size: 13.8px; } body[class] .pe-wk-t { font-size: 27.5px; } body[class] .pe-wk-d { font-size: 18.1px; } body[class] .pe-wk-a .pe-wk-t { font-size: 32.5px; } body[class] .pe-wk-a .pe-wk-lb { font-size: 15.0px; } body[class] .pe-wk-go { font-size: 16.2px; } body[class] .pe-hw-ey { font-size: 16.2px; } body[class] .pe-hw h3 { font-size: 32.5px; } body[class] .pe-hw-steps p { font-size: 20.6px; } body[class] .pe-pf-ey { font-size: 15.0px; } body[class] .pe-pf blockquote { font-size: 31.2px; } body[class] .pe-pf-nm { font-size: 20.0px; } body[class] .pe-pf-rl { font-size: 13.8px; } body[class] .pe-pf-tags li { font-size: 16.2px; } body[class] .pe-pf-ar { font-size: 15.0px; } body[class] .pe-ww-ey { font-size: 15.0px; } body[class] .pe-ww-ds { font-size: 21.2px; } body[class] .pe-ww-form input[type=text], body[class] .pe-ww-form input[type=email] { font-size: 20.0px; } body[class] .pe-ww-ok { font-size: 17.5px; } body[class] .pe-ww-form button { font-size: 16.2px; } body[class] .pe-ww-fine { font-size: 15.6px; } body[class] .pe-f-brand p { font-size: 20.0px; } body[class] .pe-f-cols h3 { font-size: 17.5px; } body[class] .pe-f-cols .pe-mail { font-size: 25.0px; } body[class] .pe-f-link { font-size: 16.2px; } body[class] .pe-f-cols li a { font-size: 20.0px; } body[class] .pe-ft-bot p { font-size: 17.5px; } body[class] .pe-ttt-side p { font-size: 20.0px; } body[class] .pe-ttt-again { font-size: 15.0px; } body[class] .pe-sv-ld, body[class] .pe-sv-p, body[class] .pe-h-row p { max-width: 46ch; } body[class] .pe-f-brand img { width: 240px; } body[class] .pe-hd .logo img { width: 230px; } }
@media (min-width: 2600px) { body[class] .pe-nav a { font-size: 21.0px; } body[class] .pe-hd .btn-label, body[class] .pe-hero .btn-label, body[class] .pe-hw-btn .btn-label { font-size: 19.5px; } body[class] .pe-h-row h3 { font-size: 19.5px; } body[class] .pe-h-row p { font-size: 27.0px; } body[class] .pe-st p { font-size: 28.5px; } body[class] .pe-st-lead { font-size: 21.0px; } body[class] .pe-sv-sub { font-size: 24.0px; } body[class] .pe-sv-ld { font-size: 33.0px; } body[class] .pe-sv-tl { font-size: 19.5px; } body[class] .pe-sv-p { font-size: 25.5px; } body[class] .pe-sv li { font-size: 22.5px; } body[class] .pe-sv-more { font-size: 19.5px; } body[class] .pe-wk-lb { font-size: 16.5px; } body[class] .pe-wk-t { font-size: 33.0px; } body[class] .pe-wk-d { font-size: 21.8px; } body[class] .pe-wk-a .pe-wk-t { font-size: 39.0px; } body[class] .pe-wk-a .pe-wk-lb { font-size: 18.0px; } body[class] .pe-wk-go { font-size: 19.5px; } body[class] .pe-hw-ey { font-size: 19.5px; } body[class] .pe-hw h3 { font-size: 39.0px; } body[class] .pe-hw-steps p { font-size: 24.8px; } body[class] .pe-pf-ey { font-size: 18.0px; } body[class] .pe-pf blockquote { font-size: 37.5px; } body[class] .pe-pf-nm { font-size: 24.0px; } body[class] .pe-pf-rl { font-size: 16.5px; } body[class] .pe-pf-tags li { font-size: 19.5px; } body[class] .pe-pf-ar { font-size: 18.0px; } body[class] .pe-ww-ey { font-size: 18.0px; } body[class] .pe-ww-ds { font-size: 25.5px; } body[class] .pe-ww-form input[type=text], body[class] .pe-ww-form input[type=email] { font-size: 24.0px; } body[class] .pe-ww-ok { font-size: 21.0px; } body[class] .pe-ww-form button { font-size: 19.5px; } body[class] .pe-ww-fine { font-size: 18.8px; } body[class] .pe-f-brand p { font-size: 24.0px; } body[class] .pe-f-cols h3 { font-size: 21.0px; } body[class] .pe-f-cols .pe-mail { font-size: 30.0px; } body[class] .pe-f-link { font-size: 19.5px; } body[class] .pe-f-cols li a { font-size: 24.0px; } body[class] .pe-ft-bot p { font-size: 21.0px; } body[class] .pe-ttt-side p { font-size: 24.0px; } body[class] .pe-ttt-again { font-size: 18.0px; } body[class] .pe-f-brand img { width: 290px; } body[class] .pe-hd .logo img { width: 270px; } body[class] .pe-ttt-board { width: 380px; } body[class] .pe-pf-badge { width: 84px; height: 84px; } }

/* Weekly Wins form: hidden bot trap + result message */
.pe-ww-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pe-ww-msg { grid-column: 1 / -1; margin: 4px 0 0; min-height: 1.4em; font: 600 16px/1.4 var(--f-display); color: var(--ink); }
.pe-ww-msg.err { color: #B3261E; }
.pe-ww-form.done input, .pe-ww-form.done .pe-ww-ok, .pe-ww-form.done button { display: none; }

/* Story line emphasis + legal pages + legal links in the footer bar */
.pe-st-turn em { font-style: italic; }
.pe-ft-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.pe-ft-legal a { font: 400 14px/1.4 var(--f-display); color: #D0D0D0; }
.pe-ft-legal a:hover { color: var(--teal); }
.pe-lg { background: var(--cream); padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); }
.pe-lg-in { max-width: 820px; }
.pe-lg h1 { margin: 0 0 clamp(24px, 3vw, 40px); font: 800 clamp(34px, 5vw, 68px)/1.04 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); }
.pe-lg h2 { margin: 2.2em 0 .6em; font: 800 clamp(19px, 1.7vw, 23px)/1.25 var(--f-display); color: var(--ink); text-transform: none; }
.pe-lg p { margin: 0 0 1.1em; font: 400 17px/1.7 var(--f-display); color: #222; }
.pe-lg-todo { background: #FFF3BF; border-left: 4px solid var(--amber); padding: 12px 16px; }

/* Team photo sits right under the hero, with no white frame while it animates */
.pe-hero { padding-bottom: 0; }
.pe-hero + .hero-image { margin-top: 18px; }
.hero-image img { transform-origin: 50% 0; }

/* ---------- Hero word, teal ombre (trial for Tarian, 11/26): light teal word, a brand-teal wave and a dark-teal wave. Only on pages whose <body> has .pe-ombre. ---------- */
.pe-ombre .pe-h-big { background-color: #2AD2C5;
  background-image: linear-gradient(var(--cream) max(1px,.0075em), transparent max(1px,.0075em)), linear-gradient(90deg, var(--cream) max(1px,.0075em), transparent max(1px,.0075em)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 205Q75 145 150 205T300 205T450 205T600 205V300H0Z' fill='%230A5C57'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 125Q50 65 100 125T200 125T300 125T400 125V300H0Z' fill='%23128C84'/%3E%3C/svg%3E");
  background-size: .18em .18em, .18em .18em, 6em 100%, 4.5em 100%; background-repeat: repeat, repeat, repeat-x, repeat-x; }
/* Typed word under the hero word (Branding / Marketing / Websites) in red, heavier, so it does not get lost (Tarian, 11/26). Preview only for now. */
.pe-ombre .pe-h-bot { color: var(--red); font-weight: 800; }
/* Footer (Zahra, 11/26): no underline on the email address, only the column headers keep theirs; less space at the top. */
.pe-f-cols .pe-mail { border-bottom: 0; padding-bottom: 0; }
.pe-ttt-footer .pe-ft-top { padding-top: clamp(18px, 2.2vw, 32px); }
.pe-wall-footer.pe-ttt-footer { padding-top: 10px; }

/* Hero option 2 (trial, preview only, 11/26): teal on top, blue-teal, navy at the bottom; typed word navy. */
.pe-ombre.pe-nt .pe-h-big { background-color: #2AD2C5;
  background-image: linear-gradient(var(--cream) max(1px,.0075em), transparent max(1px,.0075em)), linear-gradient(90deg, var(--cream) max(1px,.0075em), transparent max(1px,.0075em)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 205Q75 145 150 205T300 205T450 205T600 205V300H0Z' fill='%23002F5D'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 125Q50 65 100 125T200 125T300 125T400 125V300H0Z' fill='%230E7F9A'/%3E%3C/svg%3E");
  background-size: .18em .18em, .18em .18em, 6em 100%, 4.5em 100%; background-repeat: repeat, repeat, repeat-x, repeat-x; }
.pe-ombre.pe-nt .pe-h-bot { color: var(--navy); }
/* The italic "just" in the story line, in the same dark teal as the line above it (Zahra, 11/26). */
.pe-e .pe-st .pe-st-turn em { color: #128C84; }
/* No white band between the team photo and the story section (Zahra, 11/26). */
body[class] .pe-st { margin-top: 0; }
body[class] .hero-image { margin-bottom: 0; padding-bottom: 0; }
body[class] .hero-image img { display: block; }
/* Footer: the first column is always at least as wide as the email address, so it never runs into "Explore" (11/26). */
@media (min-width: 641px) { .pe-f-cols { grid-template-columns: minmax(max-content, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr); } }
@media (min-width: 1001px) and (max-width: 1300px) { .pe-f-cols { gap: 28px 20px; } .pe-f-cols .pe-mail { font-size: 15px; } }
.pe-f-soc .socials { flex-wrap: wrap; }  /* icons drop to a second row instead of running into the game on narrower screens */

/* Hero word color order 3 (Zahra + Tarian, 11/26): red top, gold, thin coral line, navy middle, teal bottom. Same five brand colors. */
body[class] .pe-h-big{background-color:#FE6D6A;background-image:linear-gradient(#F7F7F9 max(1px,.0075em),transparent max(1px,.0075em)),linear-gradient(90deg,#F7F7F9 max(1px,.0075em),transparent max(1px,.0075em)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 225Q75 145 150 225T300 225T450 225T600 225V300H0Z' fill='%232AD2C5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 136Q50 56 100 136T200 136T300 136T400 136V300H0Z' fill='%23FF8D6B'/%3E%3Cpath d='M0 150Q50 70 100 150T200 150T300 150T400 150V300H0Z' fill='%23002F5D'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 75Q75 5 150 75T300 75T450 75T600 75V300H0Z' fill='%23EFA60B'/%3E%3C/svg%3E")}

/* Hero word rotates between three color orders, one per visit (Zahra, 11/26). Order 3 is the default above; a small script in index.html adds pe-mix1 or pe-mix5 to <body>. */
body.pe-mix1 .pe-h-big{background-color:#FF8D6B;background-image:linear-gradient(#F7F7F9 max(1px,.0075em),transparent max(1px,.0075em)),linear-gradient(90deg,#F7F7F9 max(1px,.0075em),transparent max(1px,.0075em)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 225Q75 145 150 225T300 225T450 225T600 225V300H0Z' fill='%232AD2C5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 136Q50 56 100 136T200 136T300 136T400 136V300H0Z' fill='%23EFA60B'/%3E%3Cpath d='M0 150Q50 70 100 150T200 150T300 150T400 150V300H0Z' fill='%23002F5D'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 75Q75 5 150 75T300 75T450 75T600 75V300H0Z' fill='%23FE6D6A'/%3E%3C/svg%3E")}
body.pe-mix5 .pe-h-big{background-color:#EFA60B;background-image:linear-gradient(#F7F7F9 max(1px,.0075em),transparent max(1px,.0075em)),linear-gradient(90deg,#F7F7F9 max(1px,.0075em),transparent max(1px,.0075em)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 225Q75 145 150 225T300 225T450 225T600 225V300H0Z' fill='%232AD2C5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 136Q50 56 100 136T200 136T300 136T400 136V300H0Z' fill='%23FF8D6B'/%3E%3Cpath d='M0 150Q50 70 100 150T200 150T300 150T400 150V300H0Z' fill='%23002F5D'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 75Q75 5 150 75T300 75T450 75T600 75V300H0Z' fill='%23FE6D6A'/%3E%3C/svg%3E")}

.pe-sv:focus { outline: 0; }  /* the section is focused after the down arrow glides to it; no ring around the whole section */
/* Testimonials: what we did for the client, bold, with teal slashes between (Zahra, 11/26). */
body[class] .pe-pf-tags { gap: 6px 0; margin-top: 12px; align-items: baseline; }
body[class] .pe-pf-tags li { font: 400 16px/1.2 var(--f-display); color: var(--ink); }
body[class] .pe-pf-tags li + li::before { content: "/"; margin: 0 10px; color: var(--teal); font-weight: 800; }

.pe-f-brand p span { white-space: nowrap; }  /* "Made in Detroit." never splits across two lines */

body[class] .pe-f-brand p { max-width: none; }  /* the whole footer line, "Made in Detroit." included, sits on one line wherever there is room (Zahra, 11/26) */
