/* oqaro.studio, concept „Punctul corai”, with films. Light only, brand ivory. Motion lives in script.js and in the films; this file holds states and fallbacks. */
@font-face { font-family: Manrope; src: url(/assets/fonts/Manrope.ttf) format("truetype"); font-weight: 200 800; font-display: swap }

:root {
  --ivory: #F4F1EC; --ink: #22221F; --coral: #F26641; --coral-text: #B8442A;
  --muted: #5F5C55; --line: #22221F1F; --card: #FBF9F6;
  --g: 24px; --radius: 36px;
  --pop: cubic-bezier(.34, 1.56, .64, 1); --enter: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (max-width: 640px) { :root { --g: 16px; --radius: 26px } }
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.6 Manrope, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip }
h1, h2, h3, p, figure { margin: 0 }
h1, h2, h3 { font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance }
p { max-width: 64ch }
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-underline-offset: 4px }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 6px }
.wrap { width: min(100% - 2 * var(--g), 1240px); margin-inline: auto }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 999px; z-index: 100 }
.skip:focus { top: 12px }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.muted { color: var(--muted) }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.arr { display: inline-block; transition: transform .25s var(--enter) }
a:hover .arr { transform: translate(3px, -3px) }

/* The logo: letters in currentColor, the tail separate so it can leave and grow back */
.mark { display: block; width: 100%; height: auto; overflow: visible }
.tail { transform-box: fill-box; transform-origin: 14% 14% }

/* Dot spots: where the guide dot lands. Without the guide they are the dot. */
.dot-spot { display: inline-block; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); vertical-align: middle }
.js:not(.no-guide) .dot-spot { background: transparent; box-shadow: inset 0 0 0 2px currentColor; opacity: .28; transition: opacity .2s }
.js:not(.no-guide) .dot-spot.is-here { opacity: 0 }

/* The guide dot */
.guide-dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .18s; will-change: transform }
.guide-dot.on { opacity: 1 }
.guide-dot i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--coral); will-change: transform }

/* Header */
.site-header .head { display: flex; justify-content: space-between; align-items: center; min-height: 88px }
.brand { display: block; width: 124px; color: var(--ink) }
.site-header nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600 }
.site-header nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center }
.site-header nav a:hover { text-decoration: underline }

/* Hero */
.hero { padding-block: 12px 56px }
.hero-mark { color: var(--ink) }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-top: clamp(24px, 3.4vw, 48px) }
.hero h1 { font-size: clamp(44px, 7.2vw, 104px); letter-spacing: -.055em }
.hero-side { display: flex; flex-direction: column; gap: 26px; padding-bottom: 8px }
.hero-side p { font-size: 18px; color: var(--muted) }
.meet { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; min-height: 52px; padding: 12px 24px 12px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; text-decoration: none }
.meet:hover { box-shadow: inset 0 0 0 1px var(--ink) }
.app-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line) }
.app-index a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line) }
.app-index a span { color: var(--coral-text); font-size: 12px }
.app-index a:hover { box-shadow: inset 0 0 0 1px var(--ink) }

/* App bands: each app in its own colours, set from data in apps.css */
.apps { display: flex; flex-direction: column; gap: 20px }
.app-band { width: min(100% - 2 * var(--g), 1240px); margin-inline: auto; background: var(--app-bg, var(--card)); color: var(--app-fg, var(--ink)); border-radius: var(--radius); padding: clamp(26px, 5vw, 64px); scroll-margin-top: 16px }
.band-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center }
.band-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0 }
.app-num { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700 }
.app-num .cat { color: var(--app-muted, var(--muted)); font-weight: 600 }
.app-icon { display: block; width: 88px; height: 88px; border-radius: 22%; box-shadow: 0 6px 18px rgba(0, 0, 0, .18) }
.app-band h1, .app-band h2 { font-size: clamp(40px, 5.4vw, 76px) }
.statement { font-size: clamp(22px, 2.4vw, 31px); font-weight: 650; line-height: 1.22; letter-spacing: -.02em }
.summary, .note { color: var(--app-muted, var(--muted)) }
.note { font-size: 14px }
.feats { list-style: none; margin: 0; padding: 0 }
.feats li { padding: 12px 0; border-top: 1px solid var(--app-line, var(--line)); font-weight: 600; font-size: 15px }
.feats li:last-child { border-bottom: 1px solid var(--app-line, var(--line)) }
.status { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600 }
.pip { width: 8px; height: 8px; border-radius: 50%; background: var(--coral) }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px }
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 24px; border-radius: 999px; background: var(--app-fg, var(--ink)); color: var(--app-bg, var(--ivory)); font-weight: 700; text-decoration: none; transition: transform .2s var(--enter) }
.btn:hover { transform: translateY(-2px) }
.link { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 10px }
.ext { display: flex; flex-wrap: wrap; gap: 4px 22px }
.band-media { min-width: 0; transition: transform .7s var(--pop) }
.js .app-band:not(.is-awake) .band-media { transform: translateY(14px) }
.app-band.is-awake .band-media { transform: translateY(0) }

/* Carousel */
.carousel { min-width: 0 }
.track { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--app-line, var(--line)) transparent; overscroll-behavior-x: contain }
.slide { flex: 0 0 min(60vw, 250px); scroll-snap-align: start }
.is-art .slide { flex-basis: min(78vw, 400px) }
.slide-link { display: block; border-radius: 24px; overflow: hidden; box-shadow: 0 22px 40px -28px #00000080; transition: transform .3s var(--enter) }
.slide-link:hover { transform: translateY(-4px) }
.slide figcaption { display: flex; gap: 10px; padding: 14px 4px 0; font-size: 14px; line-height: 1.4; color: var(--app-muted, var(--muted)) }
.slide figcaption span { font-weight: 700; color: var(--app-fg, var(--ink)) }
.carousel-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--app-muted, var(--muted)) }
.buttons { display: flex; gap: 10px }
.buttons button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; color: var(--app-fg, var(--ink)); box-shadow: inset 0 0 0 1.5px var(--app-line, var(--line)); font: 600 18px/1 Manrope, Arial, sans-serif; cursor: pointer; transition: background .2s, box-shadow .2s }
.buttons button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px currentColor }
.buttons button:disabled { opacity: .35; cursor: default }

/* Studio, management, contact */
.studio, .management, .contact, .feats-section, .detail, .faq { padding-block: clamp(56px, 9vw, 120px) 0 }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 22px }
.studio h2, .management h2, .detail h2, .faq h2, .feats-section h2 { font-size: clamp(34px, 4.6vw, 64px) }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; letter-spacing: -.01em }
.mgmt-card { background: var(--card); border-radius: var(--radius); padding: clamp(26px, 5vw, 56px); box-shadow: inset 0 0 0 1px var(--line) }
.mgmt-card .split > div { display: flex; flex-direction: column; gap: 16px; color: var(--muted) }
.mgmt-card .link { color: var(--ink) }
.contact { padding-bottom: clamp(56px, 9vw, 120px) }
.contact h2 { font-size: clamp(48px, 8vw, 120px); letter-spacing: -.06em }
.contact > p { margin-top: 18px; font-size: 18px; color: var(--muted) }
.big-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; min-height: 64px; padding: 16px 30px 16px 20px; border-radius: 999px; font-size: clamp(18px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; text-decoration: none; background: var(--coral); color: var(--ink) }
.big-btn .dot-spot { background: var(--ink) }
.js:not(.no-guide) .big-btn { background: transparent; box-shadow: inset 0 0 0 2px var(--ink) }
.js:not(.no-guide) .big-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--coral); clip-path: circle(0 at 31px 50%); transition: clip-path .55s var(--enter) }
.js:not(.no-guide) .big-btn.is-filled::before { clip-path: circle(150% at 31px 50%) }

/* Films (made with Remotion from site.json). They play only in view, never with Save-Data (reduced motion no longer stops them, 05.11.2026);
   the button pauses and plays them. Without JavaScript the first frame stays as a picture. */
.film { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--film-bg, var(--ivory)); isolation: isolate }
.film video { display: block; width: 100%; height: auto; background: var(--film-bg, var(--ivory)) }
.film-hero { --film-bg: var(--ivory); margin-inline: auto; max-width: min(100%, calc((100vh - 260px) * 16 / 9)) }
@supports (height: 100svh) { .film-hero { max-width: min(100%, calc((100svh - 260px) * 16 / 9)) } }
.film-hero .film-p { display: none }
.film-app { --film-bg: var(--app-bg, var(--card)); max-width: 540px; margin-inline: auto; border-radius: calc(var(--radius) - 8px) }
.film-toggle { position: absolute; right: clamp(10px, 1.6vw, 18px); bottom: clamp(10px, 1.6vw, 18px); z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #22221FB8; color: var(--ivory); cursor: pointer; opacity: .62; transition: opacity .2s, transform .2s var(--enter) }
.film-toggle:hover, .film-toggle:focus-visible, .film:not(.is-playing) .film-toggle { opacity: 1 }
.film-toggle:hover { transform: scale(1.06) }
.film-icon { display: block; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor }
.is-playing .film-icon { width: 13px; height: 16px; margin-left: 0; border-width: 0 4px; border-color: currentColor }
.app-positions .film-toggle { background: #F4F1EC2E }
.gallery { padding-top: clamp(48px, 7vw, 96px) }
.gallery .carousel { margin-top: 22px }
@media (max-width: 700px) {
  .film-hero { max-width: none }
  .film-hero .film-l { display: none }
  .film-hero .film-p { display: block }
}

/* Headings whose words rise into place when they scroll into view (only with JavaScript and motion) */
.js .rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .04em .16em; margin: -.1em -.04em -.16em }
.js .rise .w > span { display: inline-block; transform: translateY(108%) }
.js .rise.is-in .w > span { transform: none; transition: transform .75s var(--enter) }
.js .rise.is-in .w:nth-child(2) > span { transition-delay: .07s }
.js .rise.is-in .w:nth-child(3) > span { transition-delay: .14s }
.js .rise.is-in .w:nth-child(4) > span { transition-delay: .21s }
.js .rise.is-in .w:nth-child(5) > span { transition-delay: .28s }
.js .rise.is-in .w:nth-child(6) > span { transition-delay: .35s }
.js .rise.is-in .w:nth-child(7) > span { transition-delay: .42s }
.js .rise.is-in .w:nth-child(n+8) > span { transition-delay: .49s }

/* App pages */
.app-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding-block: 6px 18px; font-size: 14px; font-weight: 600 }
.app-nav div { display: flex; flex-wrap: wrap; gap: 4px 20px }
.app-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center }
.app-nav a[aria-current] { text-decoration: underline }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px }
.feat { background: var(--card); border-radius: 26px; padding: 26px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px }
.feat h3 { font-size: 23px; letter-spacing: -.025em; line-height: 1.15 }
.feat p { color: var(--muted); font-size: 16px }
.faq-list { margin-top: 26px; max-width: 820px }
.faq details { border-top: 1px solid var(--line) }
.faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 20px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1 }
.faq details[open] summary::after { content: "−" }
.faq details p { padding-bottom: 20px; color: var(--muted) }
.others { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-block: 8px 72px }
.others a { display: inline-flex; gap: 8px; font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; text-decoration: none }
.others a:hover span:first-child { text-decoration: underline }

/* Documents */
.legal, .support { padding-block: 8px 80px }
.draft { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600 }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; margin-top: 28px }
.toc { position: sticky; top: 16px; align-self: start; font-size: 14px }
.toc summary { font-weight: 700; cursor: pointer; padding-bottom: 8px }
.toc nav { display: flex; flex-direction: column }
.toc a { padding: 6px 0; text-decoration: none; color: var(--muted) }
.toc a:hover { color: var(--ink); text-decoration: underline }
.policy { min-width: 0; overflow-wrap: anywhere }
.policy h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 20px }
.policy h2 { font-size: 26px; margin: 44px 0 16px; padding-top: 22px; border-top: 1px solid var(--line) }
.policy p, .policy ul { margin-block: 14px }
.table-scroll { overflow-x: auto; margin-block: 20px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line) }
.policy table { border-collapse: collapse; min-width: 640px; font-size: 14px }
.policy th, .policy td { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line) }
.policy th { background: var(--ink); color: var(--ivory) }
.support h1 { font-size: clamp(34px, 4.6vw, 56px) }
.support h2 { font-size: 26px; margin-top: 32px }
.support p, .support ul { margin-block: 12px }
.lost { padding-block: 60px 100px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start }
.lost .btn { background: var(--ink); color: var(--ivory) }

/* Footer */
.site-footer { background: var(--ink); color: var(--ivory); padding: clamp(48px, 7vw, 88px) 0 24px; margin-top: 40px }
.footer-mark { display: block; color: var(--ivory); max-width: 1240px }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px }
.footer-grid h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #B9B6AE; margin-bottom: 14px; font-weight: 700 }
.footer-grid a { display: flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 600; width: fit-content }
.footer-grid a:hover { text-decoration: underline }
.footer-grid p { color: #CFCCC4; font-size: 15px }
.footer-grid .muted { color: #B9B6AE }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #F4F1EC2E; font-size: 13px; color: #CFCCC4 }
.footer-bottom a { min-height: 40px; display: inline-flex; align-items: center }

@media (max-width: 860px) {
  .hero-row, .band-inner, .split, .legal-grid { grid-template-columns: minmax(0, 1fr) }
  .hero-row { gap: 26px }
  .feat-grid { grid-template-columns: minmax(0, 1fr) }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
  .toc { position: static }
}
@media (max-width: 520px) {
  .site-header nav { gap: 18px; font-size: 14px }
  .brand { width: 104px }
  .footer-grid { grid-template-columns: minmax(0, 1fr) }
}
.feat-num { font-size: 13px; font-weight: 700; color: var(--coral-text) }
/* Glidebook story pages (16.11.2026): a list by level and one page per story */
.story-head { padding-block: 8px 12px; display: flex; flex-direction: column; gap: 18px; max-width: 900px }
.story-head h1 { font-size: clamp(40px, 6vw, 84px) }
.story-level { padding-block: clamp(36px, 6vw, 72px) 0 }
.story-level h2 { font-size: clamp(26px, 3vw, 38px); padding-top: 22px; border-top: 1px solid var(--line) }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 26px }
.story-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; min-width: 0 }
.story-card img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line) }
.story-meta { font-size: 13px; font-weight: 700; color: var(--muted) }
.story-title { font-size: 19px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2 }
.story-card:hover .story-title { text-decoration: underline }
.story-summary { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5 }
.story-cover img { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1; border-radius: var(--radius) }
.story-text { padding-block: clamp(48px, 7vw, 96px) 0; max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6 }
.story-more { padding-block: clamp(48px, 7vw, 96px) 72px }
@media (max-width: 860px) { .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 520px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px } .story-title { font-size: 16px } }
