/* Keep every navigation label visible; only the background is transparent. */
.site-header, .navigation { display: contents; }
.wordmark, .nav-links, .language-switch, .navigation .nav-download { position: fixed; z-index: 50; top: 16px; }
.wordmark { left: clamp(24px, 3vw, 54px); color: #fff; mix-blend-mode: difference; text-decoration: none; font-size: 30px; font-weight: 740; letter-spacing: -1.5px; line-height: 44px; white-space: nowrap; }
.brand-period { margin-left: 1px; }
.nav-links { right: 246px; display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); min-height: 44px; color: #fff; mix-blend-mode: difference; }
.navigation button { padding: 12px 0; border: 0; background: transparent; font-size: 14px; font-weight: 650; white-space: nowrap; transition: opacity .18s; }
.navigation button:hover { opacity: .6; }
.language-switch { right: 128px; display: flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; mix-blend-mode: difference; white-space: nowrap; }
.language-switch > span { color: #999; font-size: 11px; }
.navigation .language-switch button { padding: 8px 1px; color: #888; font-size: 12px; font-weight: 450; }
.navigation .language-switch button[aria-pressed="true"] { color: #fff; font-weight: 750; }
.navigation .nav-download { right: clamp(24px, 3vw, 54px); padding: 11px 23px; min-height: 44px; border-radius: 15px; background: #000; color: #fff; }
html[lang="en"] .nav-links { right: 290px; gap: 16px; }
html[lang="en"] .nav-links button { font-size: 12px; }
html[lang="en"] .language-switch { right: 172px; }
/* Sample the pond below the bridge, using the same original as the garden. */
.navigation .nav-download,
.download-button {
  border: 0;
  box-shadow: none;
  background-color: #214b4c;
  background-image: linear-gradient(#082a3259, #082a3259), url("assets/garden-bridge-footer.png");
  background-size: auto, 150% auto;
  background-position: center, 50% 73%;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 1px 4px #05242c;
}
.download-button { min-width: 206px; min-height: 62px; justify-content: center; padding: 12px 24px; text-align: center; }
.navigation .nav-download:hover,
.download-button:hover {
  background-color: #214b4c;
  background-image: linear-gradient(#082a323b, #082a323b), url("assets/garden-bridge-footer.png");
  background-size: auto, 150% auto;
  background-position: center, 50% 73%;
  background-repeat: no-repeat;
  opacity: 1;
}
.page { padding-top: 86px; }
@media (max-width: 1100px) {
  .wordmark { font-size: 25px; }
  .nav-links, html[lang="en"] .nav-links { top: 80px; left: clamp(24px, 3vw, 54px); right: clamp(24px, 3vw, 54px); justify-content: space-between; gap: 12px; min-height: 0; }
  .navigation .nav-links button { font-size: 12px; }
  .page { padding-top: 134px; }
}
@media (max-width: 760px) {
  .wordmark, .language-switch, .navigation .nav-download { top: 18px; }
  .wordmark { left: 24px; font-size: 24px; }
  .navigation .nav-download { right: 24px; padding: 9px 14px; min-height: 40px; border-radius: 11px; font-size: 13px; }
  .language-switch { right: 104px; min-height: 40px; }
  html[lang="en"] .language-switch { right: 140px; }
  .nav-links, html[lang="en"] .nav-links { top: 76px; left: 24px; right: 24px; display: grid; grid-template-columns: repeat(3, auto); column-gap: 14px; row-gap: 0; }
  .navigation .nav-links button { padding: 9px 0; text-align: left; }
  .page { padding-top: 148px; }
}
@media (max-width: 374px) {
  .wordmark { left: 20px; font-size: 20px; }
  .navigation .nav-download { right: 20px; padding: 9px 11px; font-size: 12px; }
  .language-switch { right: 90px; gap: 4px; }
  html[lang="en"] .language-switch { right: 128px; }
  .navigation .language-switch button { font-size: 11px; }
  .nav-links, html[lang="en"] .nav-links { left: 20px; right: 20px; grid-template-columns: repeat(2, auto); }
  .page { padding-top: 184px; }
}

/* The next chapter follows the pale canvas and generous spacing of the reference. */
.learning-world { --learning-paper: #f0f1f2; background: var(--learning-paper); color: #252525; padding: 78px 0 0; overflow: clip; }
.learning-intro { width: min(1720px, calc(100% - 80px)); margin: 0 auto; }
.learning-card { display: grid; grid-template-columns: .75fr 1fr; min-height: 690px; border-radius: 34px; overflow: hidden; background: #fff; }
.learning-image { position: relative; min-height: 100%; display: flex; justify-content: center; align-items: flex-end; padding: 32px 20px; }
.learning-image > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.image-pill { position: relative; display: inline-flex; align-items: center; gap: 15px; padding: 12px 17px; border-radius: 100px; background: #f9f9f9ed; font-size: 15px; white-space: nowrap; }
.image-pill > :first-child { color: #7e98bf; font-weight: 600; }
.learning-intro-copy { display: flex; flex-direction: column; justify-content: center; gap: clamp(75px, 8vw, 145px); padding: 72px 7.3%; }
.learning-intro-copy h2 { font-size: clamp(32px, 3.25vw, 56px); font-weight: 650; line-height: 1.25; margin: 0 0 27px; letter-spacing: -.045em; text-wrap: balance; }
.learning-intro-copy p { margin: 0; font-size: clamp(17px, 1.46vw, 24px); line-height: 1.75; color: #939393; text-wrap: pretty; }
.learning-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; color: #929292; font-size: 15px; margin-bottom: 27px; }
.learning-modes > :first-child { color: #252525; }
.learning-modes i { display: block; width: 1px; height: 18px; background: #b7b7b7; }
.outline-download { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid #181818; border-radius: 60px; background: transparent; padding: 15px 25px; font-size: 17px; font-weight: 550; transition: background .2s, color .2s; }
.outline-download svg { width: 26px; height: 26px; }
.outline-download:hover { background: #111; color: #fff; }
.learning-quote { min-height: 640px; display: flex; align-items: center; justify-content: center; width: 100%; }
.learning-quote svg { display: block; width: 110vw; height: 320px; max-width: none; flex-shrink: 0; margin-left: -10vw; transform: scale(1.75); overflow: hidden; }
.learning-quote text { font: 84px var(--sans); fill: #080808; letter-spacing: 0; }
html[lang="en"] .learning-quote text { font-size: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.learning-details { width: min(1180px, calc(100% - 144px)); margin: 0 auto; }
.learning-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 9%; align-items: center; min-height: 740px; border-top: 1px solid #d9dcde; padding: 100px 0; }
.learning-row-copy { max-width: 415px; }
.learning-eyebrow { display: block; font-size: 16px; font-weight: 550; margin-bottom: 19px; }
.learning-row-copy h3 { font-size: clamp(30px, 2.45vw, 40px); line-height: 1.28; font-weight: 620; letter-spacing: -.045em; text-wrap: pretty; margin: 0 0 24px; }
.learning-row-copy p { font-size: 18px; line-height: 1.7; color: #828282; margin: 0; text-wrap: pretty; }
.learning-visual { width: 100%; max-width: 460px; aspect-ratio: 1743 / 1947; position: relative; justify-self: center; }
.preview-phone { position: absolute; inset: 0 auto 0 0; width: 56.25%; background: #fafbfc; border: 1.5px solid #d5d7d9; border-radius: 15% / 7.5%; overflow: hidden; z-index: 1; }
.preview-phone-content { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; padding: 12px; }
.preview-brand { font-size: clamp(22px, 2vw, 28px); letter-spacing: -1.1px; font-weight: 680; white-space: nowrap; }
.preview-brand > span { color: var(--red); }
.preview-rule { width: 25px; height: 1px; background: #d5d5d5; margin: 29px 0; }
.preview-caption { font-size: 12px; color: #97999b; letter-spacing: 1.5px; text-align: center; }
.kiss-decoration { position: absolute; width: 76%; height: 112%; left: 50%; top: 0; max-width: none; object-fit: contain; object-position: top left; }
.parasol-decoration { position: absolute; width: 106%; height: auto; left: 37%; top: -7%; max-width: none; }
.guided-art-row { position: relative; isolation: isolate; grid-template-columns: 1fr 1.1fr; grid-template-rows: 460px auto; column-gap: 6%; row-gap: 40px; align-items: start; padding-top: 55px; padding-bottom: 80px; }
.guided-art-row .learning-row-copy { grid-column: 1; grid-row: 2; padding-left: 0; max-width: 460px; }
.spring-decoration {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1468;
  object-fit: contain;
  pointer-events: none;
  /* Keep the complete painting, with a soft transition into the paper. */
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}
.guided-phone-status { position: absolute; top: 17px; left: 17px; right: 17px; display: flex; justify-content: space-between; align-items: center; color: #9c9d9d; font-size: 10px; opacity: .65; }
.guided-phone-status svg { width: 45px; height: 13px; }
.guided-visual { grid-column: 1; grid-row: 1; max-width: 460px; height: 460px; min-height: 0; aspect-ratio: auto; margin: 0; }
.guided-phone { width: 50%; left: 15%; background: transparent; border-color: #aeb1b3; opacity: .85; }
.guided-phone-label { position: absolute; left: 0; right: 0; top: 25%; text-align: center; color: #c4c6c8; font-size: 15px; }
.thinking-card { position: absolute; z-index: 3; top: 31%; left: -4%; width: 85%; border-radius: 17px; background: #fff; text-align: center; padding: 31px 20px 22px; }
.thinking-label { font-size: 14px; color: #aaa; }
.thinking-question { font-size: 20px; font-weight: 550; line-height: 1.45; max-width: 16em; min-height: 58px; margin: 11px auto 18px; text-wrap: balance; }
.thinking-next { font-size: 14px; border: 0; border-radius: 100px; padding: 10px 23px; background: #000; color: #fff; }
.thinking-next:hover { background: #333; }
.thinking-count { display: block; margin-top: 15px; color: #aaa; font-size: 9px; letter-spacing: 1.5px; }
.thinking-hint { position: absolute; z-index: 4; width: 120px; left: 84%; top: 38%; font-size: 14px; font-weight: 550; line-height: 1.5; }
.thinking-hint svg { width: 88px; height: 88px; fill: none; stroke: #252525; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transform: translateX(-32px); }
.guided-art-row .thinking-hint { left: 88%; width: 98px; }
.learning-row-reversed .learning-row-copy { padding-left: 12px; }
@media (min-width: 1700px) { .learning-card { min-height: 860px; } }
@media (min-width: 1920px) { .learning-quote svg { transform: scale(2); } }
@media (max-width: 1100px) and (min-width: 761px) {
  .learning-intro { width: calc(100% - 56px); }
  .learning-card { min-height: 620px; }
  .learning-intro-copy { padding: 55px 9%; gap: 65px; }
  .learning-modes { gap: 7px; font-size: 12px; }

  .learning-details { width: calc(100% - 110px); }
  .learning-row { min-height: 630px; column-gap: 7%; padding: 85px 0; }
  .learning-row-copy p { font-size: 16px; }
  .guided-art-row { grid-template-rows: 410px auto; column-gap: 5%; padding-top: 45px; }
  .guided-visual { height: 410px; }
  .thinking-card { left: -3%; width: 86%; padding: 22px 16px 18px; }
  .thinking-question { font-size: 17px; }
  .thinking-hint { font-size: 12px; width: 84px; left: 85%; }
  .guided-art-row .thinking-hint { left: 88%; width: 78px; }
}
@media (max-width: 760px) {
  .learning-world { padding-top: 28px; }
  .learning-intro { width: calc(100% - 32px); }
  .learning-card { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .learning-image { min-height: 375px; padding-bottom: 23px; }
  .learning-image > img { object-position: center 52%; }
  .image-pill { font-size: 12px; gap: 10px; padding: 10px 15px; }
  .learning-intro-copy { padding: 44px 28px; gap: 42px; }
  .learning-intro-copy h2 { font-size: 32px; margin-bottom: 20px; }
  .learning-intro-copy p { font-size: 17px; }
  .learning-modes { gap: 9px; font-size: 12px; margin-bottom: 23px; }
  .outline-download { font-size: 15px; padding: 12px 22px; gap: 10px; }
  .outline-download svg { width: 22px; height: 22px; }
  .learning-quote { min-height: 400px; }
  .learning-quote svg { transform: scale(2); }


  .learning-details { width: calc(100% - 56px); }
  .learning-row { grid-template-columns: 1fr; gap: 45px; min-height: 0; padding: 55px 0 60px; }
  .learning-row-copy { max-width: 480px; }
  .learning-eyebrow { font-size: 14px; margin-bottom: 15px; }
  .learning-row-copy h3 { font-size: 29px; margin-bottom: 18px; }
  .learning-row-copy p { font-size: 16px; line-height: 1.75; }
  .learning-visual { max-width: 330px; width: 95%; }
  .kiss-decoration { width: 69%; height: 108%; left: 47%; }
  .parasol-decoration { width: 82%; left: 34%; top: 5%; }
  .preview-brand { font-size: 21px; }
  .preview-caption { font-size: 10px; letter-spacing: 1px; }
  .preview-rule { margin: 20px 0; }
  .learning-row-reversed .learning-row-copy { grid-row: 1; padding-left: 0; }
  .guided-art-row { grid-template-columns: 1.1fr 1fr; grid-template-rows: 370px auto; gap: 35px 8px; padding-top: 35px; }
  .guided-art-row .learning-row-copy { grid-row: 2; grid-column: 1 / -1; }
  .guided-visual { width: 100%; height: 350px; min-height: 0; margin: 0; }
  .guided-phone { left: 0; width: 90%; }
  .spring-decoration { grid-row: 1; width: 100%; height: auto; }
  .guided-phone-label { font-size: 12px; }
  .thinking-card { left: 0; width: 90%; padding: 23px 20px 18px; top: 31%; }
  .thinking-question { font-size: 18px; min-height: 52px; }
  .thinking-hint { left: auto; right: -6px; width: auto; top: auto; bottom: -10px; font-size: 11px; }
  .guided-art-row .thinking-hint { left: 0; right: auto; bottom: -12px; width: 100%; }
  .guided-art-row .thinking-card { width: 114%; padding: 23px 12px 18px; }
  .guided-art-row .thinking-question { font-size: 16px; min-height: 70px; }
  .thinking-hint svg { display: none; }
}
@media (max-width: 374px) {
  .learning-intro-copy { padding: 34px 23px; }
  .learning-intro-copy h2 { font-size: 28px; }
  .learning-modes { font-size: 11px; gap: 7px; }
  .learning-image { min-height: 300px; }
  .learning-details { width: calc(100% - 44px); }
  .learning-row-copy h3 { font-size: 27px; }
  .guided-art-row { grid-template-rows: 340px auto; }
  .guided-visual { height: 320px; }
  .preview-brand { font-size: 19px; }
}
/* Empty areas reserved for the owner's future content. */
.learning-steps-space { height: calc(93px + clamp(30px, 2.153vw, 33px)); }
.learning-more-space { height: calc(210px + clamp(29px, 3.5vw, 58px) * 1.25); }
@media (max-width: 760px) {
  .learning-steps-space { height: 70px; }
  .learning-more-space { height: 183.75px; }
}
@media (max-width: 593px) { .learning-steps-space { height: 116px; } }
@media (max-width: 549px) { .learning-more-space { height: 222.5px; } }
@media (max-width: 479px) {
  .learning-quote { min-height: 560px; }
  .learning-quote svg { width: 200vw; height: auto; margin-left: 20vw; transform: scale(1.5); }
}
@media (max-width: 374px) { .learning-steps-space { height: 162px; } }
