/*
Theme Name: Ravmok Canopée
Theme URI: https://ravmok.com/
Author: Jonathan
Description: Vitrine native bilingue Ravmok & Fizmi.
Version: 1.0.5
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: ravmok-canopee
License: GPL-2.0-or-later
*/
:root {
  color-scheme: light;
  --forest: #103e3b;
  --deep: #082c2c;
  --ink: #193d37;
  --cream: #f4efdE;
  --paper: #fbf8ed;
  --gold: #dcb869;
  --muted: #557068;
  --line: #c7cbb5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 1em; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #082c2c; outline-offset: 3px; box-shadow: 0 0 0 3px #fbf8ed; }
main:focus { outline: none; }
::selection { background: #dfc787; color: var(--deep); }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 112px; }
.eyebrow, .small-number { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 650; }
.eyebrow { margin-bottom: 25px; }
h2 { font: 400 clamp(42px, 5vw, 72px)/1.08 var(--serif); letter-spacing: -.045em; }
h2 em { font-weight: 400; }
h3 { font: 400 32px/1.15 var(--serif); letter-spacing: -.025em; }
.lead { font-size: 23px; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; text-decoration: none; padding-block: 10px; border-bottom: 1px solid currentColor; }
.text-link span { font-size: 21px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 16px 23px; min-height: 55px; border: 1px solid transparent; text-decoration: none; font-size: 15px; font-weight: 650; transition: background-color .2s, color .2s; }
.button-cream { color: var(--deep); background: var(--cream); }
.button-cream:hover { background: #e5c97d; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; padding: 12px 20px; color: var(--deep); background: var(--cream); }
.skip-link:focus { top: 15px; }
.site-header { position: absolute; z-index: 5; left: 0; right: 0; top: 0; min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 22px max(56px, calc((100vw - 1280px) / 2)); color: var(--cream); border-bottom: 1px solid #f4efde35; }
.wordmark { flex-shrink: 0; position: relative; font: 35px/.85 var(--serif); letter-spacing: -.06em; text-decoration: none; }
.wordmark > span:first-child { font-style: italic; font-size: 25px; color: var(--gold); margin-inline: 2px; }
.wordmark-caption { display: block; margin-top: 10px; font: 9px/1 var(--sans); text-transform: uppercase; letter-spacing: .36em; }
.site-nav { display: flex; align-items: center; gap: 35px; }
.site-nav a { font-size: 14px; text-decoration: none; padding: 9px 0; }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-project { border-bottom: 1px solid #dcb86980; margin-left: 15px; }
.nav-project span { margin-left: 17px; color: var(--gold); }
.menu-toggle { display: none; color: var(--cream); background: transparent; border: 1px solid #f4efde65; padding: 7px 12px; }
.menu-toggle span { margin-left: 15px; }
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 820px; min-height: max(820px, 100svh); overflow: hidden; color: var(--cream); background: var(--deep); }
.hero-landscape, .hero-shade { position: absolute; width: 100%; height: 100%; inset: 0; }
.hero-landscape { object-fit: cover; object-position: 60% center; }
.hero-shade { background: linear-gradient(90deg, #082c2cf5 0%, #082c2cbd 32%, #082c2c25 72%), linear-gradient(0deg, #082c2cdd, transparent 28%, transparent 80%, #082c2c85); }
.hero-content { position: relative; z-index: 1; padding-block: 165px 125px; }
.hero-eyebrow { color: #e6d6a2; margin-bottom: 22px; }
.hero-eyebrow span { margin-right: 12px; }
.hero h1 { font: 400 clamp(76px, 8.7vw, 136px)/.92 var(--serif); letter-spacing: -.065em; max-width: 720px; text-shadow: 0 2px 18px #082c2c45; }
.hero-second { display: block; margin-left: 64px; }
.hero-second i { color: var(--gold); font-size: .68em; }
.hero-subtitle { font-size: 15px; text-transform: uppercase; letter-spacing: .28em; margin-top: 28px; }
.hero-intro { font-size: 20px; line-height: 1.55; margin-top: 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 35px; }
.hero-image-link { border-color: #f4efde60; }
.hero-bottom { position: absolute; z-index: 1; bottom: 25px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #f4efde40; padding-top: 20px; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.hero-bottom a { display: inline-flex; gap: 22px; align-items: center; text-decoration: none; padding: 7px; }
.hero-bottom a > span:last-child { font-size: 23px; }
.intro-section { background: var(--cream); padding-bottom: 70px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.intro-copy { padding-top: 46px; color: #3e5a51; max-width: 560px; }
.intro-copy .text-link { margin-top: 22px; color: var(--ink); }
.duo-strip { display: grid; grid-template-columns: 230px 1fr auto; gap: 50px; align-items: center; border-top: 1px solid var(--line); margin-top: 85px; padding-top: 40px; }
.duo-illustration { position: relative; min-height: 275px; display: flex; align-items: flex-end; justify-content: center; gap: 20px; padding-top: 35px; padding-bottom: 8px; overflow: visible; }
.ravmok-sprite { width: 132px; height: 230px; object-fit: contain; position: relative; z-index: 1; }
.fizmi-sprite { width: 45px; height: 67px; object-fit: contain; align-self: center; margin-bottom: 45px; position: relative; z-index: 1; }
/* Idle_1 body base (64.18, 3), native layer pivot (9.26, 37.68), both in source pixels. */
.duo-illustration::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 44px;
  left: calc(50% - 98.5px + 64.18px - 9.26px);
  bottom: calc(8px + 230px - 3px - 44px + 37.68px);
  background: url("assets/ravmok_antenna_idle_x2.png") center / 40px 44px no-repeat;
  transform-origin: 9.26px 37.68px;
  transform: rotate(.76deg);
  pointer-events: none;
  z-index: 0;
}
.duo-orbit { position: absolute; width: 195px; height: 195px; border: 1px solid #7b948c70; border-radius: 50%; left: 12px; top: 47px; }
.duo-note .small-number { color: var(--muted); }
.duo-note h3 { font-size: 36px; margin-top: 13px; }
.duo-note h3 i { color: #967333; }
.duo-note p { font-size: 16px; margin-top: 16px; color: #49665b; }
.duo-aside { color: #5e7568; font: italic 23px/1.5 var(--serif); padding-left: 35px; border-left: 1px solid var(--line); }
.canopy-section { background: var(--forest); color: var(--cream); }
.canopy-heading { display: grid; grid-template-columns: 1.3fr .7fr; column-gap: 80px; align-items: end; }
.canopy-heading .eyebrow { grid-column: 1 / -1; color: var(--gold); }
.canopy-summary { color: #c9d7c5; max-width: 390px; padding-bottom: 6px; }
.exploration-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; margin-top: 75px; }
.exploration-notes article { border-top: 1px solid #c9d7c548; padding-top: 26px; }
.note-mark { display: block; font: 32px/1 var(--serif); color: var(--gold); margin-bottom: 25px; }
.exploration-notes h3 { font-size: 27px; }
.exploration-notes p { font-size: 15px; color: #c9d7c5; margin-top: 15px; max-width: 310px; }
.encounters-section { background: var(--paper); }
.encounters-heading, .screens-heading { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 110px; align-items: end; }
.encounters-heading > p, .screens-heading > p { color: var(--muted); max-width: 450px; padding-bottom: 7px; }
.creature-feature { display: grid; grid-template-columns: 1.45fr .55fr; gap: 62px; align-items: center; margin-top: 60px; }
.image-link { display: block; position: relative; text-decoration: none; }
.image-expand { display: grid; place-items: center; position: absolute; right: 15px; bottom: 15px; width: 38px; height: 38px; background: #082c2cdd; color: var(--cream); font-size: 21px; border: 1px solid #f4efde70; transition: background .2s; }
.image-link:hover .image-expand { background: var(--forest); }
.creature-copy .small-number { color: var(--muted); }
.creature-copy h3 { font-size: clamp(28px, 3.2vw, 43px); margin-top: 16px; overflow-wrap: break-word; }
.creature-copy > p:not(.small-number) { font: 22px/1.6 var(--serif); color: #5c7366; margin-top: 25px; }
.thin-rule { display: block; height: 1px; width: 50px; background: #ac9050; margin-top: 27px; }
.creature-pair { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 90px; margin-top: 80px; }
.creature-vrillapin { max-width: 475px; }
.creature-toupifougere { margin-top: 110px; }
.creature-pair figcaption { padding-top: 23px; border-top: 1px solid var(--line); margin-top: 20px; }
.creature-pair .small-number { color: var(--muted); }
.creature-pair h3 { font-size: 36px; margin-top: 12px; }
.creature-pair p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.screens-section { background: #e8edde; }
.screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 32px; margin-top: 60px; }
.screenshots .screen-main { grid-column: 1 / -1; }
.screenshots img { width: 100%; }
.screenshots figcaption { display: flex; align-items: baseline; justify-content: space-between; column-gap: 20px; row-gap: 10px; flex-wrap: wrap; padding-top: 18px; }
.screenshots figcaption h3 { font-size: 25px; }
.screenshots figcaption p { font-size: 12px; color: #4e685c; }
.project-section { background: var(--deep); color: var(--cream); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.project-grid .eyebrow { color: var(--gold); }
.project-copy { padding-top: 45px; color: #c8d5c9; }
.project-copy .lead { color: var(--cream); }
.project-copy .button { margin-top: 30px; }
.site-footer { color: #c7d4c9; background: var(--deep); border-top: 1px solid #f4efde30; padding-block: 35px; }
.footer-inner { display: flex; justify-content: space-between; gap: 35px; align-items: center; }
.footer-inner > p { font: 23px/1.3 var(--serif); color: var(--cream); }
.footer-inner > p span { display: block; margin-top: 6px; font: 10px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.site-footer nav { display: flex; gap: 27px; flex-wrap: wrap; font-size: 12px; }
.site-footer a { padding-block: 8px; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.lightbox { position: fixed; max-width: none; width: min(1480px, calc(100% - 56px)); max-height: calc(100svh - 40px); padding: 0; border: 1px solid #c3b78180; color: var(--cream); background: var(--deep); }
.lightbox::backdrop { background: #031b1bf2; }
.lightbox-content { padding: 20px; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 18px; }
.lightbox-top h2 { font: 25px/1.25 var(--serif); letter-spacing: normal; }
.lightbox-close { color: var(--cream); background: transparent; border: 1px solid #f4efde65; padding: 7px 13px; font-size: 14px; }
.lightbox-close span { font-size: 23px; margin-left: 12px; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(100svh - 195px); object-fit: contain; margin: auto; }
.lightbox p { color: #c8d5c9; font-size: 13px; margin-top: 15px; }
.legal-header { position: static; background: var(--deep); }
.legal-main { max-width: 850px; padding-block: 85px 110px; }
.legal-main h1 { font: 400 clamp(40px, 6vw, 64px)/1.08 var(--serif); letter-spacing: -.035em; margin: 25px 0; }
.legal-main h2 { font-size: 30px; letter-spacing: -.02em; margin-top: 46px; margin-bottom: 16px; }
.draft-note { border-left: 3px solid #b38b32; background: var(--cream); padding: 18px 24px; margin-bottom: 35px; }
.legal-main dl { display: grid; grid-template-columns: 190px 1fr; gap: 14px 30px; }
.legal-main dt { font-weight: 600; }
.legal-main dd { margin: 0; color: var(--muted); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { padding-inline: 32px; }
  .section-space { padding-block: 85px; }
  .intro-grid, .project-grid { gap: 55px; }
  .duo-strip { grid-template-columns: 210px 1fr; gap: 38px; }
  .duo-aside { display: none; }
  .canopy-heading { grid-template-columns: 1.1fr .9fr; gap: 28px; }
  .exploration-notes { gap: 35px; }
  .encounters-heading, .screens-heading { gap: 50px; }
  .creature-feature { grid-template-columns: 1.2fr .8fr; gap: 35px; }
  .creature-pair { gap: 50px; }
}
@media (max-width: 740px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .section-space { padding-block: 64px; }
  .site-header { min-height: 88px; flex-wrap: wrap; padding: 20px; gap: 20px; }
  .wordmark { font-size: 29px; }
  .wordmark-caption { font-size: 8px; margin-top: 8px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { flex-basis: 100%; gap: 10px 25px; flex-wrap: wrap; }
  .site-nav a { font-size: 13px; }
  .site-nav .nav-project { margin-left: 0; }
  .js .site-nav { display: none; }
  .js .site-nav[data-open="true"] { display: flex; background: var(--deep); margin: 0 -20px -20px; padding: 20px; border-top: 1px solid #f4efde35; }
  .hero { min-height: 810px; min-height: max(810px, 100svh); }
  .hero-landscape { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, #082c2ce8, #082c2c93 70%, #082c2c55), linear-gradient(0deg, #082c2cdd, transparent 30%); }
  .hero-content { padding-block: 185px 135px; }
  .js .hero-content { padding-top: 145px; }
  .hero h1 { font-size: clamp(69px, 15vw, 103px); }
  .hero-second { margin-left: 30px; }
  .hero-subtitle { letter-spacing: .16em; font-size: 12px; }
  .hero-intro { font-size: 18px; }
  .hero-actions { gap: 16px 24px; }
  .hero-bottom { font-size: 9px; gap: 20px; }
  .hero-bottom > span { max-width: 230px; }
  .scroll-word { display: none; }
  h2 { font-size: clamp(39px, 9vw, 57px); }
  .eyebrow { font-size: 10px; letter-spacing: .12em; margin-bottom: 20px; }
  .lead { font-size: 21px; }
  .intro-grid, .canopy-heading, .encounters-heading, .screens-heading, .project-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy, .project-copy { padding-top: 0; }
  .duo-strip { margin-top: 45px; grid-template-columns: 1fr; gap: 15px; text-align: center; padding-top: 30px; }
  .duo-illustration { width: 230px; margin: auto; }
  .duo-note h3 { font-size: 32px; }
  .canopy-heading .eyebrow { margin-bottom: -9px; }
  .canopy-summary { max-width: 550px; }
  .exploration-notes { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .exploration-notes article { display: grid; grid-template-columns: 35px 1fr; column-gap: 20px; padding-top: 22px; }
  .note-mark { grid-row: 1 / 3; margin: 0; }
  .exploration-notes h3 { font-size: 26px; }
  .exploration-notes p { max-width: none; margin-top: 9px; }
  .creature-feature { grid-template-columns: 1fr; gap: 26px; margin-top: 35px; }
  .creature-copy h3 { font-size: 34px; }
  .creature-copy > p:not(.small-number) { font-size: 21px; margin-top: 12px; }
  .thin-rule { margin-top: 20px; }
  .creature-pair { grid-template-columns: 1fr; gap: 45px; margin-top: 45px; }
  .creature-vrillapin { max-width: none; }
  .creature-vrillapin img { max-height: 490px; width: 100%; object-fit: contain; background: #d6d7d5; }
  .creature-toupifougere { margin-top: 0; }
  .creature-pair h3 { font-size: 32px; }
  .screenshots { grid-template-columns: 1fr; gap: 40px; margin-top: 35px; }
  .screenshots .screen-main { grid-column: auto; }
  .screenshots figcaption h3 { font-size: 24px; }
  .screenshots figcaption p { font-size: 11px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 25px; }
  .site-footer nav { gap: 13px 24px; }
  .lightbox { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .lightbox-content { padding: 12px; }
  .lightbox-top { gap: 10px; }
  .lightbox-top h2 { font-size: 21px; }
  .lightbox-close { flex-shrink: 0; font-size: 12px; }
  .lightbox img { max-height: calc(100svh - 190px); }
  .legal-header .site-nav { flex-basis: auto; display: flex; }
  .legal-main { padding-block: 55px 70px; }
  .legal-main dl { grid-template-columns: 1fr; gap: 5px; }
  .legal-main dd { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.language-links { display: inline-flex; gap: 12px; padding-left: 18px; border-left: 1px solid #f4efde65; white-space: nowrap; }
.language-links [aria-current] { color: var(--gold); text-decoration: underline; }
.site-nav > a[aria-current] { border-bottom: 1px solid var(--gold); }
.sub-menu { display: inline-flex; gap: 16px; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar .legal-header { top: auto; }
.legal-header .site-nav { flex-basis: auto; }
@media(max-width:740px) { .legal-header .site-nav { flex-basis: 100%; } .js .legal-header .site-nav:not([data-open=true]) { display:none; } body.admin-bar .site-header { top:46px; } body.admin-bar .legal-header { top:auto; } }

