/* simatimaya 2026 - bridge between the older page styles (style.css) and the new design (design.css).
   Loaded after both. Old colour/font tokens are pointed at the new palette, so every page
   (yoga, guides, events, blog, member area) takes the new look; clashing rules are settled here. */
:root {
  --olive: #3D6A66;      /* = dziļais tirkīzs */
  --olive-deep: #2F5552;
  --olive-soft: #9DB8B1; /* = salvija */
  --cream: #DCE7E2;      /* = jūras putas */
  --paper: #F5F0E7;      /* = krēms */
  --sand: #E7DACA;       /* = smiltis */
  --blush: #E4DACC;
  --taupe: #8C7660;      /* = dreifkoks */
  --ink: #263634;        /* = tinte */
  --ink-soft: #4E5B58;
  --line: #D9D2C4;
  --white: #FBF8F3;
  --serif: "Noto Serif Display", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
body { background: var(--kremas); }

/* ---------- header ---------- */
.site-header { background: rgba(245, 240, 231, .94); border-bottom: 1px solid rgba(61, 106, 102, .14); }
.site-header .wrap { height: 76px; }
.brand { font: 300 1.6rem/1 var(--serif); color: var(--tirkizs); text-transform: none; letter-spacing: .02em; }
.nav a { font: 500 .68rem/1 var(--sans); letter-spacing: .24em; color: var(--tinte); border: 0; padding: 8px 0; background: linear-gradient(var(--tirkizs), var(--tirkizs)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.nav a:hover, .nav a.active { background-size: 100% 1px; }
.lang { border: 0; gap: 2px; }
.lang button { font: 500 .66rem/1 var(--sans); letter-spacing: .2em; padding: 6px 8px; border-radius: 999px; color: var(--tinte); }
.lang button.on { background: var(--tirkizs); color: var(--balts); }
.icon-btn { color: var(--tinte); }
.icon-btn svg { stroke-width: 1.25; }
.badge { background: var(--tirkizs); }
@media (max-width: 1240px) { .nav { background: var(--kremas); } .nav a { font-size: .8rem; } }

/* ---------- inner page heading: deep teal band like the mood board ---------- */
.page-head { background: var(--tirkizs); color: var(--kremas); padding: 96px 0 84px; position: relative; overflow: hidden; }
.page-head .eyebrow { color: var(--putas); }
.page-head h1 { text-transform: none; font: 200 clamp(2.6rem, 6vw, 4.8rem)/1.05 var(--serif); letter-spacing: -.01em; }
.page-head p { font-size: 1.05rem; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(30px, 5vw, 70px); background: var(--kremas); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 60C180 10 330 100 540 64S900 0 1080 40s280 40 360 10V110H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 60C180 10 330 100 540 64S900 0 1080 40s280 40 360 10V110H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.eyebrow { font: 500 .72rem/1.6 var(--sans); letter-spacing: .3em; color: var(--dreifkoks-teksts); }

/* ---------- old content blocks in the new look ---------- */
.split img, .wrap > img { border-radius: 999px 999px 18px 18px; }
.split img.wide { border-radius: 18px; }
.cream { background: var(--putas); }
.sand { background: var(--smiltis); }
.olive { background: var(--tirkizs); color: var(--kremas); }
.card { border-radius: 160px 160px 18px 18px; background: var(--balts); border: 0; box-shadow: 0 0 0 1px rgba(61, 106, 102, .14); padding-top: 70px; }
.ticks li::before { content: ""; top: 19px; left: 0; width: 18px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M1 4c2.5-3 5-3 7.5 0s5 3 7.5 0 5-3 7 0' fill='none' stroke='%233D6A66' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.ticks li { padding-left: 30px; }
.lessons details { border-color: rgba(61, 106, 102, .2); }
.lessons summary { font-family: var(--serif); font-weight: 300; }
.faq summary { font-family: var(--serif); font-weight: 300; font-size: 1.15rem; }
.site-footer .big { font: 200 clamp(3rem, 11vw, 9rem)/1 var(--serif); text-transform: none; }
.site-footer h4 { color: var(--salvija); letter-spacing: .28em; }
.site-footer { color: var(--putas); }
.carousel .car-item img { border-radius: 10px; }
.link { color: var(--tirkizs); }

/* ---------- settle clashes with the new design classes ---------- */
.hero-26 { height: auto; background: none; overflow: hidden; }
.hero-26::after { display: none; }
.hero-26 .hero-sub { font: 400 .72rem/1.9 var(--sans); letter-spacing: .26em; text-transform: uppercase; background: none; -webkit-text-fill-color: currentColor; color: var(--dreifkoks-teksts); margin: 0 0 26px; }
.hero-26 .hero-copy { padding-top: 72px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
h1.lines, h2.lines { text-align: inherit; color: inherit; }
h1.lines { font-size: clamp(3.2rem, min(9vw, 11.5vh), 7rem); }
h2.lines { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.split .tall-arch img, .split .round-photo img, .round-photo img { aspect-ratio: auto; height: 100%; border-radius: 0; }
.tall-arch img, .arch img { border-radius: 0; }
.section .reviews { grid-template-columns: none; }
.section .reviews img { aspect-ratio: auto; border: 0; }
.rev-zoom { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.caption-26 { font-size: .78rem; color: var(--dreifkoks-teksts); margin-top: 12px; }
.btn.full { width: 100%; justify-content: center; }
.price-sub { font-size: .85rem; color: var(--dreifkoks-teksts); }
.band .bowl-art { width: 160px; height: 160px; }
.trio-26 p { margin-bottom: 1.1em; }
.breath-section { padding-bottom: calc(var(--s6) + 30px); }
.edge { display: block; }

/* the small breathing circle: on every page except the home page (which has the big one) */
body.is-home .mini-breath { display: none; }
.mini-breath { top: 96px; }
.admin-bar .mini-breath { top: 128px; }

/* the vertical side tab sits under the sticky header */
.side-tab { z-index: 40; }
@media (max-width: 760px) { .side-tab { display: none; } }

/* Cart and checkout: nothing moving next to the payment form */
.woocommerce-checkout .mini-breath, .woocommerce-cart .mini-breath { display: none; }

/* five offerings on the home page, five parts of the online yoga membership */
@media (min-width: 1100px) {
  .arches.five { grid-template-columns: repeat(5, 1fr); }
  .steps.five { grid-template-columns: repeat(5, 1fr); }
  .steps.five .step:nth-child(4n+1) { border-left: 1px solid rgba(61, 106, 102, .2); }
  .steps.five .step:first-child { border-left: 0; }
  .steps.five .step:nth-child(n+5) { border-top: 0; }
}
.steps.five .step .ico { margin-top: 6px; }
span.btn[aria-disabled] { cursor: default; opacity: .75; }

/* Pictures that carry text (calendar, guides, Human Design, reviews) keep straight edges,
   so nothing is cut off; arches stay for photos only. */
.split img.rita-cal, .split img.wide, [data-route="celvezi"] .split img, [data-route="celvezi"] img,
[data-route="par-mani"] .split img.wide { border-radius: 14px; }
.split img.rita-cal { object-fit: contain; background: var(--balts); }
.card { border-radius: 18px; padding-top: 32px; }
.card img, .card .thumb { border-radius: 10px; }
.reviews figure { border-radius: 14px; padding: 14px; }
.reviews img { border-radius: 8px; }

/* Course inside "Mans konts": wider reading column, calmer type */
.wp-content .sm-course__grid { grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.wp-content .sm-lesson__title { font: 300 clamp(1.6rem, 2.6vw, 2.3rem)/1.2 var(--serif); letter-spacing: -.005em; margin-bottom: 18px; }
.wp-content .sm-lesson__crumb { color: var(--dreifkoks-teksts); letter-spacing: .24em; }
.wp-content .sm-lesson__body { font-size: 1.02rem; line-height: 1.85; max-width: 70ch; }
.wp-content .sm-lesson__body p { margin: 0 0 1.1em; }
.wp-content .sm-lesson__body h2, .wp-content .sm-lesson__body h3 { font: 400 1.3rem/1.35 var(--serif); margin: 1.6em 0 .6em; }
.wp-content .sm-lesson__body strong { font-weight: 500; }
.wp-content .sm-course__nav { border-color: rgba(61, 106, 102, .18); border-radius: 14px; }
@media (max-width: 900px) { .wp-content .sm-course__grid { grid-template-columns: 1fr; } }
.login-label { white-space: nowrap; }
@media (min-width: 1241px) { .site-header .nav { gap: 20px; } .site-header .nav a { letter-spacing: .18em; } }
.page-intro h1.lines { font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.split img.small-photo { width: min(100%, 334px); aspect-ratio: 334 / 432; height: auto; justify-self: center; align-self: center; }

/* Rīta miers heading: four small line icons (yoga, breathing, meditation, recordings) */
.head-icons { list-style: none; padding: 0; margin: 34px auto 0; display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; }
.head-icons li { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--kremas); font: 500 .66rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.head-icons .ico { width: 48px; height: 48px; color: var(--putas); }
@media (max-width: 560px) { .head-icons { gap: 18px 26px; } .head-icons li { width: 40%; } }
.split img.landscape-photo { aspect-ratio: auto; height: auto; border-radius: 18px; align-self: center; }

/* Home hero a little smaller - not the whole screen */
.hero-26 { min-height: min(76svh, 700px); }
.hero-26 .hero-media { min-height: 540px; }
.hero-26 h1.lines { font-size: clamp(2.8rem, min(6.6vw, 9vh), 5.4rem); }
.hero-26 .hero-copy { padding-top: 48px; padding-bottom: 48px; }
.hero-26 .hero-rule { height: 32px; margin-bottom: 14px; }
.hero-26 .hero-sub { margin-bottom: 22px; }
.hero-26 .btn { min-height: 46px; padding: 0 24px; font-size: .68rem; }
@media (min-width: 1700px) { .hero-26 { max-width: 1600px; margin: 0 auto; } }

/* Home photo: the frame moves as one piece (parallax), effects sit on exact spots of the photo */
.hero-26 .hero-media .pan { position: absolute; inset: 0; height: 112%; will-change: transform; }
.hero-26 .hero-media .pan img { width: 100%; height: 100%; object-fit: cover; }
.hero-26 .fx { position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, -50%); }
/* sound from the crystal bowl: soft white rings that widen and fade */
.vibe i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); box-shadow: 0 0 12px rgba(255, 255, 255, .35); opacity: 0; animation: vibe 4.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.vibe i:nth-child(2) { animation-delay: 1.2s; }
.vibe i:nth-child(3) { animation-delay: 2.4s; }
.vibe i:nth-child(4) { animation-delay: 3.6s; }
@keyframes vibe { 0% { transform: scale(.35); opacity: 0; } 12% { opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
/* the globe turns slowly */
.globe-spin { border-radius: 50%; background: url(/img/globuss-faktura.webp) 0 0 / auto 100% repeat-x; box-shadow: inset -10px -6px 18px rgba(40, 30, 20, .28), inset 6px 4px 12px rgba(255, 255, 255, .25); animation: globe 26s linear infinite; }
@keyframes globe { to { background-position-x: -200%; } }
@media (prefers-reduced-motion: reduce) { .vibe, .globe-spin { display: none; } }
.hero-26 .hero-media .pan.zoom { animation: settle 14s var(--ease-out) both; }
/* show the whole photo from head to the crystal bowl */
@media (min-width: 861px) { .hero-26 { grid-template-columns: 1.15fr .85fr; } }
.hero-26 .hero-lines { left: -18%; bottom: 3%; width: 46%; }
/* the gong: rings start at the gong's edge and travel outwards */
.gong-vibe i { animation-name: gong-vibe; animation-duration: 5.2s; }
.gong-vibe i:nth-child(2) { animation-delay: 1.3s; }
.gong-vibe i:nth-child(3) { animation-delay: 2.6s; }
.gong-vibe i:nth-child(4) { animation-delay: 3.9s; }
@keyframes gong-vibe { 0% { transform: scale(1); opacity: 0; } 10% { opacity: .85; } 100% { transform: scale(3.4); opacity: 0; } }
/* long Latvian words in headings must fit on a phone */
.post .page-head h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
@media (max-width: 560px) { .page-head h1 { font-size: 2.05rem; overflow-wrap: break-word; hyphens: auto; } }
.post-img { border-radius: 14px; max-height: 640px; width: 100%; object-fit: cover; margin-bottom: 30px; }

/* Health notice and Zoom notice */
.health-note, .zoom-note { background: var(--balts); border: 1px solid rgba(61, 106, 102, .2); border-radius: 14px; padding: clamp(20px, 3vw, 32px); }
.health-note h3, .zoom-note h3 { font: 400 1.35rem/1.3 var(--serif); margin: 0 0 12px; color: var(--tirkizs); }
.health-note p, .zoom-note p { font-size: .95rem; }
.health-note .small { font-size: .82rem; color: var(--dreifkoks-teksts); margin: 0; }
.zoom-note { background: var(--putas); border-color: transparent; }

/* Grid columns may not grow wider than the screen (the sideways-scrolling reviews strip pushed the price card out). */
.split > *, .grid > *, .hero-26 > * { min-width: 0; }
.reviews { max-width: 100%; }
/* Header never wider than the screen. */
.site-header .wrap { max-width: 100%; box-sizing: border-box; }
.site-header .tools { flex-shrink: 0; }
.site-header .brand { min-width: 0; }
@media (max-width: 480px) { .site-header .wrap { gap: 10px; } .site-header .tools { gap: 6px; } }
/* Wide tables on legal pages scroll inside their own box on phones. */
.wp-content table { display: block; max-width: 100%; overflow-x: auto; }
/* 1241-1440 px screens: the full menu fits only when a little tighter. */
@media (min-width: 1241px) and (max-width: 1440px) {
  .site-header .nav { gap: 14px; }
  .site-header .nav a { letter-spacing: .1em; }
  .site-header .login-label { display: none; }
  .site-header .wrap { gap: 16px; }
}
