/* A calm shore: the site's look, ported from the approved prototype (17 Nov 2026).
   Class names are camelCase (two words or more); one accent (deep teal) owns the breathing surfaces only. */
@font-face{font-family:'Alef';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/alef-400-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Alef';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/alef-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Alef';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/alef-700-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Alef';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/alef-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Varela Round';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/varela-round-400-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Varela Round';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/varela-round-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --mist: #EEF2EE;        /* page */
  --mistDeep: #E1E8E2;    /* wash: footer, rights band, chips, icon discs */
  --mistDark: #D3DDD6;    /* hover on the wash */
  --foam: #F7F9F6;        /* raised surfaces: title card, finding cards, note, rows */
  --ink: #1D2E2A;         /* text */
  --inkSoft: #53645D;     /* meta, labels */
  --deep: #12424F;        /* accent: the breathing card and stage, focus rings, links */
  --onDeep: #EAF2EF;      /* text and controls on deep */
  --onDeepSoft: #B9CCC8;  /* secondary text on deep */
  --sage: #3E7F72;        /* evidence: study level bars, note and source numerals */
  --sageOff: #C9D7CF;     /* empty level bar */
  --sun: #F2B97F;         /* help now: the ERAN pill, the help block mark, the footer numbers */
  --sunInk: #4A2A12;      /* text on sun */
  --sunWash: #FAEAD7;     /* the article's "when to get help" block */
  --display: "Varela Round", "Arial Hebrew", sans-serif;
  --text: "Alef", "Arial Hebrew", sans-serif;
  --shadow: 0 26px 52px -30px rgba(18, 66, 79, .40), 0 8px 18px -12px rgba(18, 66, 79, .22);
  --shadowSoft: 0 18px 36px -28px rgba(18, 66, 79, .36), 0 4px 10px -8px rgba(18, 66, 79, .16);
  --ease: cubic-bezier(.3, .7, .2, 1);
  --breathEase: cubic-bezier(.37, 0, .63, 1);
  --pageMax: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; scroll-padding-bottom: 96px; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 19px/1.85 var(--text); }
body:has(.topicSheet[open]), body.hasFocus { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 8px; }
.pageWrap { max-width: var(--pageMax); margin-inline: auto; padding-inline: 16px; }
.skipLink { position: absolute; inset-inline-start: -999px; top: 8px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; }
.skipLink:focus { inset-inline-start: 16px; z-index: 90; border-radius: 14px; background: var(--deep); color: var(--onDeep); }
.uiIcon { width: 22px; height: 22px; flex: none; }
.tapScale { transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.tapScale:active { transform: scale(.97); }

/* Masthead: centred wordmark, topics button at the start, the breathing link at the end. No nav row. */
.siteMast { background: var(--mist); }
.mastRow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; min-height: 68px; }
.topicsButton { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 10px 14px; border: 0; border-radius: 999px; background: var(--mistDeep); font: 700 17px/1 var(--text); cursor: pointer; white-space: nowrap; }
.topicsButton:hover { background: var(--mistDark); }
.wordMark { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: none; color: var(--deep); font: 400 21px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.wordMark b { font-weight: 400; }
.wordMark span { color: var(--inkSoft); }
.wordMark span b { color: var(--deep); }
.markIcon { width: 28px; height: 28px; flex: none; }
.breathLink { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; border-radius: 999px; text-decoration: none; font: 700 17px/1 var(--text); color: var(--deep); }
.breathLink:hover, .breathLink[aria-current] { background: var(--mistDeep); }
.breathLinkText { display: none; }

/* Home hero: the breathing exercise over a full bleed dawn sea */
.shoreHero { position: relative; isolation: isolate; overflow: hidden; padding: 26px 0 34px; }
.heroPhoto img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.heroGrid { display: grid; gap: 22px; }
.heroTitle { margin: 0; font: 400 44px/1.08 var(--display); letter-spacing: -.02em; color: var(--ink); max-width: 11ch; }
.heroLine { margin: 12px 0 0; font: 400 20px/1.55 var(--text); max-width: 28ch; }
.breathCard { background: rgba(18, 66, 79, .88); color: var(--onDeep); border-radius: 32px; padding: 14px 16px 18px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.breathCard :focus-visible, .breathStage :focus-visible { outline-color: var(--onDeep); }
.cardHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cardTitle { margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 400 21px/1.2 var(--display); }
.cardFull { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding-inline: 12px 14px; border-radius: 999px; text-decoration: none; font: 700 16px/1 var(--text); white-space: nowrap; background: rgba(234, 242, 239, .12); }
.cardFull:hover { background: rgba(234, 242, 239, .2); }

/* The ripple: three translucent rings that grow on the in breath and settle on the out breath */
.ringStage { position: relative; display: grid; place-items: center; height: 236px; }
.ringSet { position: absolute; width: 228px; aspect-ratio: 1; transform: scale(.6); transition: transform .8s var(--breathEase); }
.ringSet span { position: absolute; border-radius: 50%; }
.ringSet .ringOuter { inset: 0; background: rgba(234, 242, 239, .09); }
.ringSet .ringMiddle { inset: 15%; background: rgba(234, 242, 239, .12); }
.ringSet .ringCore { inset: 30%; background: rgba(234, 242, 239, .18); }
.ringRead { position: relative; display: grid; justify-items: center; text-align: center; }
.breathDigit { font: 400 96px/.92 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.breathCue { font: 400 23px/1.25 var(--display); }
[data-breath]:not(.isRunning) .ringRead { opacity: .62; }
.breathRound { margin: 0 0 12px; text-align: center; font: 700 16px/1.4 var(--text); color: var(--onDeepSoft); }
.breathControls, .stageControls { display: grid; gap: 14px; }
.segmentPick { border: 0; margin: 0; padding: 0; min-width: 0; }
.segmentLegend { padding: 0; margin-bottom: 6px; font: 700 15px/1.3 var(--text); color: var(--onDeepSoft); }
.segmentRow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: rgba(234, 242, 239, .12); }
.segmentItem { position: relative; display: block; }
.segmentItem input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmentItem span { display: grid; place-items: center; min-height: 44px; padding-inline: 6px; border-radius: 999px; font: 700 17px/1 var(--text); white-space: nowrap; transition: background-color 200ms var(--ease); }
.segmentItem input:checked + span { background: var(--onDeep); color: var(--deep); }
.segmentItem input:focus-visible + span { outline: 3px solid var(--onDeep); outline-offset: 2px; }
.breathToggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding-inline: 28px; border: 0; border-radius: 999px; background: var(--onDeep); color: var(--deep); font: 700 19px/1 var(--text); cursor: pointer; }
.togglePlay, .togglePause { display: inline-flex; }
.togglePause, .isRunning .togglePlay { display: none; }
.isRunning .togglePause { display: inline-flex; }

/* Section heads shared by the home blocks */
.blockTitle { margin: 0 0 18px; font: 400 32px/1.15 var(--display); letter-spacing: -.01em; }
.sideHead { display: grid; gap: 4px; align-content: start; }
.sideHead .blockTitle { margin-bottom: 6px; }
.quietLink { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 16px/1.3 var(--text); color: var(--inkSoft); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Topic photo tiles */
.topicBlock { padding-top: 46px; }
.tileGrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.photoTile { display: grid; gap: 10px; text-decoration: none; }
.tileFrame { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 24px; background: var(--mistDeep); box-shadow: var(--shadowSoft); }
.tileFrame img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.photoTile:hover .tileFrame img { transform: scale(1.03); }
.tileText { display: grid; gap: 4px; padding-inline: 2px; }
.tileName { font: 400 19px/1.3 var(--display); }
.tileQualifier { display: block; font: 400 15px/1.4 var(--text); color: var(--inkSoft); }
.tileCount { display: inline-flex; align-items: center; gap: 6px; font: 700 15px/1.3 var(--text); color: var(--inkSoft); }
.tileCount .uiIcon { width: 18px; height: 18px; }

/* What the research shows: findings with the study type and its place in the evidence ladder */
.evidenceBlock { padding-top: 56px; display: grid; gap: 14px; }
.findingGrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.findingGrid li { display: grid; }
.findingCard { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 26px; background: var(--foam); text-decoration: none; box-shadow: var(--shadowSoft); }
.studyType { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1.3 var(--text); color: var(--inkSoft); }
.levelBars { display: inline-flex; align-items: flex-end; gap: 3px; }
.levelBars span { width: 5px; border-radius: 3px; }
.levelBars span:nth-child(1) { height: 8px; }
.levelBars span:nth-child(2) { height: 12px; }
.levelBars span:nth-child(3) { height: 16px; }
.levelBars .levelOn { background: var(--sage); }
.levelBars .levelOff { background: var(--sageOff); }
.findingText { font: 400 22px/1.42 var(--display); }
.findingCite { font: 400 15px/1.3 var(--text); color: var(--inkSoft); }
.findingFoot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 2px; font: 700 16px/1.35 var(--text); }
.findingPage { flex: 1; min-width: 0; }
.findingFoot > .uiIcon { color: var(--inkSoft); }
.sourceBadge { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 11px; border-radius: 999px; background: var(--mistDeep); color: var(--ink); font: 700 14px/1.2 var(--text); text-decoration: none; white-space: nowrap; }
.sourceBadge .uiIcon { width: 17px; height: 17px; }

/* Rights band and link rows */
.rightsBand { margin-top: 64px; padding: 42px 0; background: var(--mistDeep); }
.rightsGrid { display: grid; gap: 18px; }
.rightsText p { margin: 0; max-width: 46ch; }
.rightsText a, .aboutText a, .copyText a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rightsList, .readList { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rightsRow, .readRow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 14px 16px; border-radius: 22px; background: var(--foam); text-decoration: none; }
.rowIcon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); }
.rowText { display: grid; gap: 6px; justify-items: start; }
.rowText b { font: 700 18px/1.4 var(--text); }
.rowText small { font: 400 15px/1.35 var(--text); color: var(--inkSoft); }
.rightsRow > .uiIcon, .readRow > .uiIcon { color: var(--inkSoft); }

/* About the site, from the home page text */
.aboutBlock { padding-top: 56px; display: grid; gap: 18px; }
.aboutText p { margin: 0 0 16px; max-width: 64ch; }
.englishRow { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border-radius: 22px; background: var(--foam); text-decoration: none; font: 700 17px/1.3 var(--text); box-shadow: var(--shadowSoft); }

/* Footer */
.siteFoot { margin-top: 72px; padding: 40px 0 calc(104px + env(safe-area-inset-bottom)); background: var(--mistDeep); }
.footGrid { display: grid; gap: 26px; }
.footNote { margin: 10px 0 0; font-size: 16px; line-height: 1.7; color: var(--inkSoft); max-width: 46ch; }
.footHead { margin: 0 0 6px; font: 400 20px/1.2 var(--display); }
.footTels { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footTel { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 700 17px/1.3 var(--text); }
.footTel b { min-width: 4.4ch; padding: 6px 10px; border-radius: 999px; background: var(--sun); color: var(--sunInk); text-align: center; font: 400 18px/1 var(--display); }
.footLinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; align-content: start; }
.footLinks .footHead { grid-column: 1 / -1; }
.footLinks a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 17px; line-height: 1.3; }
.footLinks a:hover { text-decoration: underline; }
.footCopy { margin-block: 22px 0; font-size: 15px; color: var(--inkSoft); }

/* The ERAN pill: floating at the inline end on every page; 101 and 100 inside the opened pill */
.helpDock { position: fixed; z-index: 60; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 10px; }
.helpPill { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--sun); color: var(--sunInk); box-shadow: 0 16px 34px -16px rgba(122, 72, 24, .55), 0 4px 10px -6px rgba(122, 72, 24, .30); }
.helpCall { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 14px 8px; border-radius: 999px; text-decoration: none; font: 700 17px/1 var(--text); white-space: nowrap; transition: padding 260ms var(--ease); }
.helpCall .uiIcon { width: 20px; height: 20px; margin-inline-end: 8px; }
/* While reading on a phone (scrolling down) the pill shrinks to the icon and 1201; up, near the top or at the footer it opens again */
.helpLong { display: inline-block; max-width: 14em; overflow: hidden; margin-inline-end: .3em; transition: max-width 260ms var(--ease), margin 260ms var(--ease), opacity 200ms var(--ease), visibility 0s; }
.helpDock.isCompact .helpCall { padding-inline: 12px 6px; }
.helpDock.isCompact .helpLong { max-width: 0; margin-inline-end: 0; opacity: 0; visibility: hidden; transition: max-width 260ms var(--ease), margin 260ms var(--ease), opacity 160ms var(--ease), visibility 0s 260ms; }
.helpMore { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(74, 42, 18, .10); color: var(--sunInk); cursor: pointer; }
.helpMore .uiIcon { transition: transform 200ms var(--ease); }
.helpMore[aria-expanded="true"] .uiIcon { transform: rotate(180deg); }
.helpDock :focus-visible { outline-color: var(--sunInk); }
.helpPanel { list-style: none; margin: 0; padding: 8px; width: min(320px, calc(100vw - 32px)); border-radius: 24px; background: var(--foam); box-shadow: var(--shadow); }
.helpPanel[hidden] { display: none; }
.helpRow { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 58px; padding: 6px 10px; border-radius: 16px; text-decoration: none; }
.helpRow:hover { background: var(--sunWash); }
.helpRow b { font: 400 26px/1 var(--display); color: var(--sunInk); }
.helpRow span { display: grid; font: 700 17px/1.3 var(--text); }
.helpRow small { font: 400 15px/1.3 var(--text); color: var(--inkSoft); }

/* Topics sheet: full screen, calm, photo per section */
.topicSheet { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 0 48px; border: 0; background: var(--mist); color: var(--ink); overflow-y: auto; }
.topicSheet::backdrop { background: rgba(29, 46, 42, .35); }
.topicSheet[open] { animation: sheetRise 320ms var(--ease); }
@keyframes sheetRise { from { opacity: 0; transform: translateY(18px); } }
.sheetBar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 68px; background: var(--mist); }
.sheetTitle { margin: 0; font: 400 26px/1.2 var(--display); }
.sheetClose { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 12px 16px; border: 0; border-radius: 999px; background: var(--mistDeep); font: 700 17px/1 var(--text); cursor: pointer; }
.sheetGrid { display: grid; gap: 26px; padding-top: 6px; }
.sheetHead { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 14px; text-decoration: none; }
.sheetHead img { width: 72px; height: 72px; object-fit: cover; border-radius: 18px; }
.sheetName { display: inline-flex; align-items: center; gap: 8px; font: 400 20px/1.3 var(--display); }
.sheetList { list-style: none; margin: 8px 0 0; padding: 0; }
.sheetLink { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: 14px; text-decoration: none; font-size: 18px; line-height: 1.4; }
.sheetLink:hover { background: var(--mistDeep); }
.sheetExtra { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; }
.sheetTool { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding-inline: 16px 18px; border-radius: 999px; background: var(--foam); text-decoration: none; font: 700 17px/1 var(--text); }
.sheetTool.sheetHelp { background: var(--sun); color: var(--sunInk); }

/* Article: full bleed photo, the title on a soft card over its bottom edge */
.storyPhoto { position: relative; height: 300px; background: var(--mistDeep); }
.storyPicture { display: block; height: 100%; }
.storyPicture img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 40%; }
.photoCredit { position: absolute; top: 12px; inset-inline-end: 12px; margin: 0; padding: 5px 10px; border-radius: 999px; background: rgba(29, 46, 42, .42); color: var(--foam); font: 400 13px/1.2 var(--text); }
.storyHeadWrap { position: relative; margin-top: -64px; }
.storyHead { max-width: 900px; padding: 22px 20px 18px; border-radius: 28px; background: var(--foam); box-shadow: var(--shadow); }
.storyKicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 15px/1.4 var(--text); color: var(--inkSoft); }
.storyKicker .uiIcon { width: 20px; height: 20px; }
.storyTitle { margin: 0; font: 400 34px/1.2 var(--display); letter-spacing: -.01em; }
.storyDek { margin: 12px 0 0; font-size: 19px; line-height: 1.65; color: var(--inkSoft); }
.byLine { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 12px; font: 700 15px/1.3 var(--text); color: var(--inkSoft); }
.byName { color: var(--ink); }
.byLine .sourceBadge { min-height: 44px; padding-inline: 14px; }
.byMeta { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.byMeta .uiIcon { width: 18px; height: 18px; }
.storyGrid { display: grid; padding-top: 30px; }
.copyText { max-width: 630px; min-width: 0; }
.copyText p { margin: 0 0 20px; }
.storyIntro p:first-child { font-size: 21px; line-height: 1.75; }
.copyText h2 { margin: 48px 0 14px; font: 400 29px/1.25 var(--display); letter-spacing: -.01em; }
.copyText h3 { margin: 32px 0 8px; font: 700 22px/1.4 var(--text); }
.copyText ul { margin: 0 0 24px; padding-inline-start: 22px; }
.copyText li { margin-bottom: 12px; }
.copyText li::marker { color: var(--sage); }
.sideNote { margin: 6px 0 14px; }
.noteInner { padding: 20px 20px 12px; border-radius: 26px; background: var(--foam); box-shadow: var(--shadowSoft); }
.noteTitle { margin: 0 0 12px; font: 400 22px/1.2 var(--display); }
.noteList { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: note; }
.noteList li { counter-increment: note; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; font-size: 17px; line-height: 1.65; }
.noteList li::before { content: counter(note); font: 400 26px/1.1 var(--display); color: var(--sage); }
.noteSources { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font: 700 16px/1.3 var(--text); color: var(--deep); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.helpBlock { margin: 44px 0 8px; padding: 22px 20px 4px; border-radius: 28px; background: var(--sunWash); }
.helpBlock h2 { margin-top: 0; }
.helpMark { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--sun); color: var(--sunInk); }
.copyText .helpTel { color: var(--sunInk); text-decoration-thickness: 2px; }
.sourceList { margin-top: 36px; scroll-margin-top: 20px; }
.listTitle { margin: 0 0 14px; font: 400 26px/1.2 var(--display); }
.sourceItems { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 560px; counter-reset: source; }
.sourceItems li { counter-increment: source; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 8px; font-size: 16px; line-height: 1.55; scroll-margin-top: 20px; }
.sourceItems li::before { content: counter(source); grid-row: span 2; padding-top: 8px; font: 400 21px/1.3 var(--display); color: var(--sage); }
.sourceItems a { display: inline-block; padding-block: 10px; color: var(--deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.sourceMeta { font-size: 15px; color: var(--inkSoft); }
.sourceItems li:target { background: var(--foam); border-radius: 14px; }
.readNext { margin-top: 40px; }

/* Tool: a calm full screen breathing stage, the article below */
.breathStage { position: relative; isolation: isolate; display: grid; min-height: calc(100svh - 68px); background: var(--deep); color: var(--onDeep); }
.stagePhoto img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.breathStage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18, 66, 79, .62); }
.stageInner { display: grid; align-content: center; justify-items: center; gap: 4px; width: 100%; padding-block: 18px 88px; }
.stageTop { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 720px; }
.stageTitle { margin: 0; font: 400 28px/1.2 var(--display); letter-spacing: -.01em; }
.focusToggle { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding-inline: 12px 14px; border: 0; border-radius: 999px; background: rgba(234, 242, 239, .14); color: var(--onDeep); font: 700 16px/1 var(--text); cursor: pointer; }
.focusToggle:hover { background: rgba(234, 242, 239, .22); }
.focusClose, .isFocus .focusOpen { display: none; }
.isFocus .focusClose { display: inline; }
.breathStage .ringStage { width: 100%; height: 268px; }
.breathStage .ringSet { width: 260px; }
.breathStage .breathDigit { font-size: 112px; }
.breathStage .breathCue { font-size: 26px; }
.stageControls { width: 100%; max-width: 560px; }
.breathStage.isFocus { position: fixed; inset: 0; z-index: 55; min-height: 100%; overflow-y: auto; }
.toolHead { padding-top: 26px; }
.toolHead .storyKicker { margin-bottom: 4px; }

/* Added in the port: pages the prototype did not show */
.findingTop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.breathTool { display: grid; justify-items: center; gap: 4px; width: 100%; }
.breathLink.startSide { justify-self: start; }
.storyHeadWrap.plainHead { margin-top: 26px; }
.plainHead .storyHead { box-shadow: var(--shadowSoft); }
.notFoundLine { margin: 12px 0 0; font-size: 19px; line-height: 1.65; }
.notFoundLine a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pageContents { margin-top: 12px; }
.pageContents summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding-inline: 14px 12px; border-radius: 14px; background: var(--mist); cursor: pointer; list-style: none; font: 700 16px/1.3 var(--text); color: var(--deep); }
.pageContents summary:hover { background: var(--mistDeep); }
.pageContents summary::-webkit-details-marker { display: none; }
.pageContents summary .uiIcon { width: 20px; height: 20px; transform: rotate(180deg); transition: transform 200ms var(--ease); }
.pageContents[open] summary .uiIcon { transform: none; }
.pageContents:not([open]) ol { display: none; }
.pageContents ol { margin: 2px 0 4px; padding-inline-start: 20px; font-size: 16px; line-height: 1.45; }
.pageContents li::marker { color: var(--sage); }
.pageContents a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.pageContents a:hover { text-decoration: underline; }
.copyText ol { margin: 0 0 24px; padding-inline-start: 24px; }
.copyText blockquote { margin: 24px 0; padding: 14px 20px; border-radius: 20px; background: var(--foam); color: var(--inkSoft); }
.tableScroll { overflow-x: auto; margin: 0 0 24px; border-radius: 18px; background: var(--foam); }
.copyText table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.55; }
.copyText th, .copyText td { padding: 10px 12px; text-align: start; vertical-align: top; }
.copyText th { font-weight: 700; color: var(--deep); }
.copyText tr:nth-child(even) td { background: var(--mist); }
.aboutText .helpBlock { margin-top: 28px; }
.aboutBlock .sourceList { margin-top: 8px; }
.aboutText .helpBlock h2 { margin: 0 0 10px; font: 400 26px/1.25 var(--display); }
.aboutText .helpBlock p { margin: 0 0 16px; }
[dir="ltr"] .readRow > .uiIcon:last-child, [dir="ltr"] .rightsRow > .uiIcon:last-child { transform: scaleX(-1); }

/* Phones under 440px: the topics button keeps its label for screen readers only, so it never reaches the centred wordmark */
@media (max-width: 439px) {
  .topicsButton { justify-content: center; min-width: 44px; padding-inline: 10px; }
  .topicsLabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 359px) {
  .cardFull { padding-inline: 10px; }
  .cardFullText { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .tapScale, .ringSet, .tileFrame img, .segmentItem span, .helpMore .uiIcon, .helpCall, .helpLong, .helpDock.isCompact .helpLong, .pageContents summary .uiIcon { transition: none; }
  .tapScale:active { transform: none; }
  .photoTile:hover .tileFrame img { transform: none; }
  .topicSheet[open] { animation: none; }
}

@media (min-width: 900px) {
  .pageWrap { padding-inline: 32px; }
  .mastRow { min-height: 80px; }
  .wordMark { font-size: 25px; }
  .markIcon { width: 32px; height: 32px; }
  .breathLinkText { display: inline; }
  .breathLink { padding-inline: 14px 16px; }

  .shoreHero { padding: 64px 0; }
  .heroGrid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; min-height: 560px; }
  .heroTitle { font-size: 84px; max-width: 11ch; }
  .heroLine { font-size: 22px; max-width: 36ch; }
  .breathCard { justify-self: end; width: 100%; max-width: 470px; padding: 20px 26px 26px; }
  .ringStage { height: 286px; }
  .ringSet { width: 280px; }
  .breathDigit { font-size: 124px; }
  .breathControls { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }

  .blockTitle { font-size: 38px; }
  .topicBlock { padding-top: 72px; }
  .tileGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .tileName { font-size: 21px; }
  .evidenceBlock { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; padding-top: 80px; }
  .findingGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .findingCard { padding: 24px; }
  .rightsBand { margin-top: 80px; padding: 56px 0; }
  .rightsGrid { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
  .aboutBlock { grid-template-columns: 280px minmax(0, 650px); column-gap: 40px; padding-top: 80px; }
  .aboutText { display: contents; }
  .aboutText .blockTitle { grid-column: 1; grid-row: 1 / span 8; }
  .aboutText p, .aboutText .helpBlock { grid-column: 2; }
  .englishRow, .aboutBlock .sourceList { grid-column: 2; }

  .footGrid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }

  .sheetBar { min-height: 80px; }
  .sheetGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 12px; }
  .sheetHead { grid-template-columns: 1fr; }
  .sheetHead img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 22px; }

  .storyPhoto { height: 500px; }
  .storyPicture img { object-position: 50% 30%; }
  .storyHeadWrap { margin-top: -104px; }
  .storyHead { padding: 34px 44px 26px; }
  .storyTitle { font-size: 50px; }
  .storyGrid { grid-template-columns: minmax(0, 630px) 300px; justify-content: space-between; column-gap: 48px; padding-top: 44px; align-items: start; }
  .storyIntro, .storyBody, .sourceList, .readNext { grid-column: 1; }
  .sideNote { grid-column: 2; grid-row: 1 / span 4; align-self: stretch; margin: 0; }
  .noteInner { position: static; }

  .breathStage { min-height: calc(100svh - 80px); }
  .stageTitle { font-size: 40px; }
  .breathStage .ringStage { height: 380px; }
  .breathStage .ringSet { width: 360px; }
  .breathStage .breathDigit { font-size: 150px; }
  .stageControls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; max-width: 820px; }
  .toolHead { padding-top: 36px; }
  .stageInner { padding-block: 28px 40px; }

  .storyHeadWrap.plainHead { margin-top: 40px; }
}

/* The side note sticks only where it fits above the ERAN pill (a long English note on an 800px screen would sit under it) */
@media (min-width: 900px) and (min-height: 1000px) {
  .noteInner { position: sticky; top: 24px; }
}
