@charset "UTF-8";

:root {
  --paper: #f6f5ef;
  --ink: #203f35;
  --muted: #5a6860;
  --line: #d9ded4;
  --green: #dfe9d6;
  --forest: #193e34;
  --orange: #ba4c2a;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 2px; }
::selection { background: #cee1b9; color: var(--ink); }
figure, p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1192px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 12px 22px; background: var(--forest); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; gap: 0; flex-shrink: 0; }
.brand-name { font-weight: 800; font-size: 27px; letter-spacing: -1.3px; line-height: 1.2; }
.brand-dot { color: var(--orange); }
.brand-tagline { color: var(--muted); font-size: 11px; letter-spacing: .045em; margin-top: 4px; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; font-size: 13px; }
.main-nav a, .footer-links > a { text-underline-offset: 5px; }
.main-nav a:hover, .footer-links > a:hover { text-decoration: underline; }
.languages { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: end; font-size: 12px; max-width: 300px; }
.languages a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 12px; border-radius: 5px; color: var(--muted); }
.languages a:hover { background: #e7eade; }
.languages a[aria-current] { background: var(--forest); color: var(--paper); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 26px; padding-block: 82px 77px; align-items: center; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .16em; line-height: 1.6; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.tiny-star { font-size: 21px; color: var(--orange); line-height: 1; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5.8vw, 78px); line-height: 1.08; letter-spacing: -.058em; }
.hero h1 { margin-top: 24px; }
h1 em { font-weight: 400; color: #507346; }
.hero-description { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 440px; margin-top: 26px; }
.hero-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; border: 1px solid transparent; padding: 12px 19px; border-radius: 5px; font-size: 13px; font-weight: 600; transition: background .15s ease, transform .15s ease; }
.button-primary { background: var(--forest); color: var(--paper); }
.button-primary:hover { background: #2a5948; transform: translateY(-2px); }
.button > span { font-size: 20px; line-height: 1; font-weight: 400; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #9eaaa0; padding-block: 10px; }
.text-link > span { text-decoration: none; font-size: 18px; }
.text-link:hover { color: var(--orange); text-decoration-color: var(--orange); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 10px; }
.small-line { width: 23px; height: 1px; background: #849681; }
.word-world { height: 439px; width: 100%; max-width: 510px; position: relative; isolation: isolate; }
.orbit { position: absolute; border: 1px solid #d7ddcf; border-radius: 50%; z-index: -1; }
.orbit-one { width: 370px; height: 370px; top: 31px; left: 51px; }
.orbit-two { width: 256px; height: 370px; top: 31px; left: 106px; transform: rotate(33deg); }
.orbit-three { width: 370px; height: 150px; top: 141px; left: 51px; transform: rotate(-16deg); }
.word-card { position: absolute; top: 99px; left: 47px; width: 333px; height: 260px; background: #fffcf3; border: 1px solid #dddcd0; box-shadow: 9px 15px 0 #e5e8dd, 13px 20px 34px #203f3510; transform: rotate(-7deg); padding: 27px 28px; }
.word-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 8px; letter-spacing: .1em; }
.word-card-top > span:last-child { font-size: 18px; }
.word-main { font-family: var(--serif); font-size: 52px; letter-spacing: -.06em; line-height: 1.25; margin-top: 18px; }
.word-period { color: var(--orange); }
.word-translation { font-family: var(--serif); font-size: 22px; color: #6e795f; margin-top: 3px; }
.word-rule { width: 68%; height: 1px; background: var(--line); margin-top: 23px; }
.word-definition { font-size: 10px; margin-top: 10px; max-width: 205px; line-height: 1.5; }
.word-spark { position: absolute; right: 20px; bottom: 10px; font-size: 56px; color: #adba89; line-height: 1; }
.word-tag { position: absolute; font-family: var(--serif); font-size: 29px; padding: 4px 24px 7px; box-shadow: 2px 3px 0 #203f350a; z-index: 2; }
.tag-bonjour { top: 38px; left: 81px; background: #d6e2c8; transform: rotate(-11deg); }
.tag-bonjour span { font-family: Arial, sans-serif; font-size: 19px; margin-left: 14px; }
.tag-hola { right: 15px; top: 127px; color: #f7f4e9; background: var(--forest); transform: rotate(12deg); padding-inline: 23px; }
.tag-ciao { top: 326px; left: 2px; background: #e9e7da; transform: rotate(6deg); padding: 2px 23px 5px; font-style: italic; }
.tag-hej { top: 309px; right: 9px; background: #eebfa3; transform: rotate(10deg); font-size: 35px; padding: 0 22px 7px; }
.world-star { position: absolute; color: var(--orange); line-height: 1; }
.star-one { font-size: 43px; right: 62px; top: 52px; transform: rotate(13deg); }
.star-two { font-size: 21px; left: 12px; top: 185px; color: #829579; }
.world-stamp { position: absolute; right: 1px; top: 217px; width: 69px; text-align: center; color: #6f8162; font-size: 7px; letter-spacing: .12em; transform: rotate(10deg); line-height: 1.6; }
.world-stamp > span { display: block; font-size: 50px; line-height: 1; }
figcaption { position: absolute; bottom: 6px; left: 0; width: 100%; text-align: center; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.journey-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #eeefe5; }
.journey-strip .wrap { display: flex; justify-content: space-around; gap: 24px; padding-block: 20px; }
.journey-strip .wrap > span { display: flex; align-items: center; gap: 15px; font-family: var(--serif); font-size: 17px; font-style: italic; }
.journey-strip span span { font-size: 15px; color: #7c8e6b; font-style: normal; }
.explore-section { padding-block: 83px 87px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 35px; }
h2 { font-family: var(--serif); font-size: clamp(34px, 3.2vw, 43px); font-weight: 400; letter-spacing: -.04em; line-height: 1.17; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p, .section-heading > div:last-child:not(:first-child) { max-width: 330px; }
.section-heading p:not(.eyebrow) { font-size: 13px; line-height: 1.8; color: var(--muted); }
.resource-layout { display: grid; grid-template-columns: 1fr 1.16fr; gap: 48px; }
.project-card { min-height: 352px; display: flex; flex-direction: column; justify-content: space-between; background: var(--forest); color: var(--paper); padding: 28px 32px; border-radius: 8px; transition: background .18s ease; }
.project-card:focus-within { background: #265340; }
.project-top { display: flex; align-items: center; gap: 12px; }
.project-top .eyebrow { color: #d5e2c9; font-size: 8px; letter-spacing: .11em; }
.project-top > span:last-child { margin-left: auto; font-size: 25px; }
.project-icon { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #76917d; border-radius: 8px; font-family: var(--serif); font-size: 30px; line-height: 1; position: relative; flex-shrink: 0; }
.project-icon > span { font-family: Arial, sans-serif; position: absolute; top: 0; right: 2px; font-size: 12px; }
.project-bottom { margin-top: 35px; }
.project-bottom h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.project-bottom .brand-dot { color: #edb78d; }
.project-bottom p { max-width: 330px; font-size: 13px; line-height: 1.8; color: #d4dece; margin-top: 15px; }
.project-action { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 16px; border-top: 1px solid #557163; font-size: 12px; }
.project-action > span { font-size: 20px; }
.project-action { gap: 16px; text-decoration: underline; text-underline-offset: 5px; }
.project-action:hover { color: #f0c7a6; }
.resource-list { display: flex; flex-direction: column; }
.resource-link { display: grid; grid-template-columns: 24px 1fr 21px; align-items: start; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--line); flex: 1; transition: color .15s; }
.resource-link:first-child { border-top: 1px solid var(--line); }
.link-number { font-family: var(--serif); font-size: 13px; color: #7e897a; padding-top: 1px; }
.resource-link .eyebrow { color: var(--muted); font-size: 8px; }
.resource-link h3 { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin-top: 5px; }
.resource-link h3 a { text-decoration: underline; text-decoration-color: #a8b5a6; text-underline-offset: 4px; }
.resource-link p { font-size: 11px; color: var(--muted); margin-top: 6px; }
.resource-link > span:last-child { font-size: 23px; align-self: center; transition: transform .15s; }
.resource-link h3 a:hover { color: var(--orange); }
.resource-link:focus-within > span:last-child { transform: translate(3px, -3px); }
.without-feature { display: block; }
.learning-questions { padding-bottom: 80px; }
.answers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 30px 0 0; }
.answers-grid > div { border-top: 1px solid var(--line); padding-top: 20px; }
.answers-grid dt { font-weight: 600; font-size: 16px; line-height: 1.5; }
.answers-grid dd { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.archive-section { padding-block: 76px 80px; background: #e9eddf; border-block: 1px solid #dee3d6; }
.archive-section .text-link { margin-top: 13px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.archive-empty { grid-column: 1 / -1; max-width: 640px; color: var(--muted); }
.archive-language-links { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 16px 0 0; padding: 0; }
.learning-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.archive-card { position: relative; border-top: 1px solid #bbc7b0; padding: 24px 40px 24px 0; min-height: 205px; transition: border-color .15s; }
.archive-card .eyebrow { font-size: 8px; color: var(--muted); }
.archive-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; max-width: 280px; margin-top: 23px; }
.archive-card p { color: var(--muted); font-size: 12px; max-width: 245px; line-height: 1.75; margin-top: 14px; }
.round-arrow { display: grid; place-items: center; position: absolute; right: 0; top: 75px; width: 30px; height: 30px; border: 1px solid #bdc8b3; border-radius: 50%; font-size: 17px; }
.archive-card:hover { border-color: var(--orange); }
.archive-card:hover .round-arrow { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.story-section { display: grid; grid-template-columns: .8fr 1.3fr; align-items: center; gap: 100px; padding-block: 90px; }
.story-section h2 { margin-top: 13px; }
.story-section p:not(.eyebrow) { margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 1.85; max-width: 580px; }
.story-section .closure-note { font-size: 11px !important; color: var(--ink) !important; }
.closure-note > span { color: var(--orange); margin-right: 6px; }
.story-mark { width: 244px; height: 190px; border: 1px solid #d6ddcd; margin-inline: auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 4px; transform: rotate(-12deg); }
.story-mark > span:not(.story-bridge) { font-family: var(--serif); font-size: 94px; line-height: 1; transform: rotate(12deg); }
.story-mark > span:first-child { color: #9cae8e; }
.story-mark .story-bridge { font-size: 50px; color: var(--orange); margin-top: -28px; padding-inline: 12px; }
.site-footer { border-top: 1px solid var(--line); padding-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.site-footer p { color: var(--muted); font-size: 11px; margin-top: 10px; }
.footer-links { display: flex; align-items: start; gap: 35px; font-size: 12px; padding-top: 4px; }
.footer-links .text-link { padding-top: 0; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; width: 100%; color: var(--muted); font-size: 9px; padding-block: 20px; border-top: 1px solid var(--line); }
.page-intro { padding-block: 75px 50px; }
.page-intro h1 { margin-block: 18px 25px; }
.page-intro > p:last-child { max-width: 640px; color: var(--muted); }
.archive-list { padding-bottom: 80px; }
.archive-list .archive-grid { row-gap: 30px; }
.article { max-width: 790px; padding-block: 35px 70px; }
.back-link { margin-bottom: 40px; }
.article h1 { font-size: clamp(42px, 5vw, 64px); margin-top: 17px; }
.archive-notice { background: #e9eddf; border-left: 3px solid #82996b; padding: 17px 22px; color: #45583e; font-size: 12px; line-height: 1.8; margin-block: 30px 36px; }
.article-body { color: #3f4c42; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.article-body p { margin-block: 0 1.3em; }
.article-body h2, .article-body h3 { margin-block: 1.5em .6em; }
.article-body ul, .article-body ol { padding-inline-start: 1.5em; }
.article-cta { margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-cta h2 { font-size: 32px; }
.article-cta p { color: var(--muted); font-size: 14px; margin-block: 13px 22px; }
.article-cta .button { max-width: 100%; }
.closed-page { padding-block: 90px 120px; max-width: 900px; min-height: 65vh; }
.closed-page h1 { font-size: clamp(45px, 5vw, 72px); margin-block: 20px 30px; }
.closed-page > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 17px; }
.closed-page > .text-link { margin-top: 20px; }
html[lang="ru"] .hero h1 { font-size: clamp(48px, 5.4vw, 72px); }
html[lang="ru"] .hero-actions { gap: 17px; }
html[dir="rtl"] .word-world { direction: ltr; }
@media (min-width: 1450px) { .hero { padding-block: 98px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .main-nav { gap: 20px; }
  .word-world { transform: scale(.88); transform-origin: center; width: 440px; margin-left: -20px; }
  .hero { grid-template-columns: 1.1fr .9fr; gap: 0; padding-block: 58px; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-description { max-width: 390px; font-size: 15px; }
  .resource-layout { gap: 30px; }
  .story-section { gap: 50px; }
}
@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; gap: 14px; padding-block: 22px 16px; }
  .main-nav { order: 3; width: 100%; justify-content: center; font-size: 12px; gap: 30px; }
  .hero { grid-template-columns: 1fr 1fr; padding-block: 48px; }
  .hero h1, html[lang="ru"] .hero h1 { font-size: 53px; }
  .hero .eyebrow { font-size: 8px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 10px; }
  .word-world { width: 420px; transform: scale(.72); transform-origin: left center; margin-left: 0; }
  .hero-note { margin-top: 14px; }
  .resource-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
  .project-card { padding: 25px; }
  .project-bottom h3 { font-size: 34px; }
  .resource-link { gap: 8px; grid-template-columns: 20px 1fr 18px; }
  .resource-link h3 { font-size: 15px; }
  .section-heading { gap: 30px; }
  .section-heading > p, .section-heading > div:last-child:not(:first-child) { max-width: 250px; }
  .archive-card h3 { font-size: 23px; }
  .story-section { gap: 30px; }
  .story-mark { width: 200px; height: 160px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 100px; }
  .brand-name { font-size: 25px; }
  .brand-tagline { font-size: 9px; }
  .languages { display: grid; grid-template-columns: repeat(2, auto); font-size: 11px; max-width: 55%; }
  .languages a { min-height: 36px; padding: 6px 10px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 42px; padding-bottom: 25px; }
  .hero h1, html[lang="ru"] .hero h1 { font-size: clamp(48px, 11.8vw, 68px); margin-top: 20px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-description { font-size: 15px; margin-top: 22px; max-width: 420px; }
  .hero-actions { margin-top: 24px; gap: 16px; }
  .button { font-size: 12px; gap: 17px; padding-inline: 16px; }
  .text-link { font-size: 11px; gap: 9px; }
  .hero-note { margin-top: 18px; }
  .word-world { height: 356px; width: 350px; max-width: 100%; transform: none; margin: 28px auto 0; }
  .orbit-one { width: 280px; height: 280px; left: 35px; top: 31px; }
  .orbit-two { width: 210px; height: 280px; left: 70px; top: 31px; }
  .orbit-three { width: 280px; height: 130px; top: 112px; left: 35px; }
  .word-card { width: 265px; height: 215px; left: 30px; top: 79px; padding: 21px; }
  .word-card-top { font-size: 6px; }
  .word-main { font-size: 44px; margin-top: 10px; }
  .word-translation { font-size: 20px; }
  .word-rule { margin-top: 18px; }
  .word-definition { font-size: 8px; max-width: 160px; }
  .word-spark { font-size: 47px; right: 15px; }
  .word-tag { font-size: 24px; padding-inline: 19px; }
  .tag-bonjour { top: 20px; left: 40px; }
  .tag-hola { top: 94px; right: 0; padding-inline: 17px; }
  .tag-ciao { top: 274px; left: 2px; }
  .tag-hej { top: 259px; right: 0; font-size: 28px; }
  .star-one { font-size: 34px; top: 22px; right: 30px; }
  .star-two { top: 145px; left: 0; font-size: 18px; }
  .world-stamp { top: 179px; right: -2px; width: 50px; font-size: 5px; }
  .world-stamp > span { font-size: 39px; }
  figcaption { font-size: 9px; bottom: 5px; }
  .journey-strip .wrap { gap: 8px; justify-content: space-between; padding-block: 17px; }
  .journey-strip .wrap > span { font-size: 12px; gap: 6px; line-height: 1.4; }
  .journey-strip span span { font-size: 11px; }
  .explore-section { padding-block: 53px; }
  .section-heading { display: block; margin-bottom: 27px; }
  h2 { font-size: 35px; }
  .section-heading > p, .section-heading > div:last-child:not(:first-child) { max-width: 100%; margin-top: 19px; }
  .resource-layout { grid-template-columns: 1fr; gap: 26px; }
  .project-card { padding: 25px; min-height: 325px; }
  .project-bottom h3 { font-size: 32px; }
  .resource-link { padding-block: 22px; gap: 12px; }
  .resource-link h3 { font-size: 17px; }
  .resource-link p { font-size: 12px; }
  .learning-questions { padding-bottom: 50px; }
  .answers-grid { grid-template-columns: 1fr; gap: 24px; }
  .archive-section { padding-block: 51px 36px; }
  .archive-grid { grid-template-columns: 1fr; gap: 0; }
  .archive-card { min-height: 163px; padding-block: 22px; padding-right: 48px; }
  .archive-card h3 { font-size: 26px; max-width: 100%; margin-top: 12px; }
  .archive-card p { max-width: 100%; margin-top: 9px; }
  .round-arrow { top: 60px; }
  .story-section { grid-template-columns: 1fr; gap: 35px; padding-block: 52px; }
  .story-mark { width: 180px; height: 130px; margin-inline: 10px auto; }
  .story-mark > span:not(.story-bridge) { font-size: 74px; }
  .story-mark .story-bridge { font-size: 35px; }
  .story-section p:not(.eyebrow) { font-size: 14px; margin-top: 20px; }
  .site-footer { padding-top: 29px; gap: 22px; }
  .footer-links { width: 100%; flex-wrap: wrap; gap: 10px 28px; font-size: 11px; }
  .footer-bottom { flex-direction: column; gap: 5px; padding-block: 16px 24px; }
  .page-intro { padding-block: 42px 30px; }
  .page-intro > p:last-child { font-size: 15px; }
  .archive-list { padding-bottom: 40px; }
  .archive-list .archive-grid { row-gap: 0; }
  .article { padding-top: 21px; }
  .article h1 { font-size: 43px; }
  .back-link { margin-bottom: 25px; }
  .archive-notice { padding: 15px 17px; }
  .article-body { font-size: 16px; }
  .closed-page { padding-block: 55px 70px; }
  .closed-page > p:not(.eyebrow) { font-size: 15px; }
}
@media (max-width: 389px) {
  .word-world { width: 280px; height: 330px; }
  .orbit-one { width: 230px; height: 250px; left: 20px; top: 33px; }
  .orbit-two { width: 170px; height: 250px; left: 50px; top: 33px; }
  .orbit-three { width: 230px; height: 110px; left: 20px; top: 108px; }
  .word-card { width: 225px; height: 200px; left: 24px; top: 80px; padding: 17px; }
  .word-main { font-size: 38px; }
  .word-translation { font-size: 17px; }
  .word-card-top { font-size: 5px; }
  .word-definition { max-width: 145px; }
  .word-spark { font-size: 35px; right: 12px; bottom: 15px; }
  .tag-bonjour { left: 25px; }
  .tag-hola { top: 105px; }
  .tag-ciao { top: 258px; }
  .tag-hej { top: 253px; }
  .world-stamp { top: 193px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .back-link, .article-cta, .skip-link { display: none; }
  body { background: white; color: black; }
  .article { width: 100%; max-width: none; padding: 0; }
  .archive-notice { border: 1px solid #777; }
}
