/* Responsive tokens follow the five device frames in YAYASTUDIO.AI. */
:root {
  --page: 32px;
  --gap: 16px;
  --side: 56px;
  --large: 192px;
  --medium: 96px;
  --small: 24px;
  --title: 186px;
  --number: 152px;
  --body: 92px;
  --caption: 24px;
  --label: 32px;
  --navigation-space: 0px;
  --wine: #630700;
  --pink: #ff97d0;
  --green: #125603;
  --lime: #c3f380;
  --purple: #7523b4;
  --yellow: #fae170;
  --orange: #d13f13;
  --blush: #fcc5c6;
  --brown: #9d6713;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--page); }
body { margin: 0; background: #f6f6f6; font-family: 'Outfit', sans-serif; font-weight: 400; line-height: 1.2; -webkit-font-smoothing: antialiased; }
button, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
p, h1, h2, h3 { margin: 0; font-weight: 400; }
img { display: block; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 30; padding: 12px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.page-container { display: flex; align-items: flex-start; padding: var(--page); }
.sidebar-nav { position: sticky; top: var(--page); width: 208px; flex-shrink: 0; display: flex; flex-direction: column; gap: var(--gap); padding-right: 32px; max-height: calc(100dvh - 2 * var(--page)); overflow-y: auto; scrollbar-width: none; }
.sidebar-nav::-webkit-scrollbar { display: none; }
.menu-item, .menu-logo { width: 176px; min-height: 112px; flex-shrink: 0; border: 0; border-radius: 2px; text-decoration: none; position: relative; transition: width 160ms linear, border-radius 160ms linear; }
.menu-logo { background: var(--wine); color: var(--pink); display: grid; place-items: center; }
.menu-logo picture { display: block; position: absolute; top: 32px; left: 7.5px; }
.menu-item[aria-current], .menu-logo[aria-current] { width: 192px; }
@media (hover: hover) {
  .menu-item:hover, .menu-logo:hover { width: 192px; }
}
.menu-item:focus-visible, .menu-logo:focus-visible { width: 192px; }
.menu-item { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 24px 16px; }
.menu-number { font-family: 'Orbitron', sans-serif; font-size: 16px; font-weight: 600; }
.menu-label { font-size: 24px; font-weight: 500; }
.menu-dot { position: absolute; right: 8px; bottom: 8px; width: 8px; height: 8px; opacity: 0; transition: opacity 160ms linear; }
.menu-dot img { width: 8px; height: 8px; }
.menu-item:hover .menu-dot, .menu-item[aria-current] .menu-dot, .menu-logo:hover .menu-dot, .menu-logo[aria-current] .menu-dot, .menu-item:focus-visible .menu-dot, .menu-logo:focus-visible .menu-dot { opacity: 1; }
.theme-hi { --background: var(--pink); --text: var(--green); }
.theme-products { --background: var(--green); --text: var(--lime); }
.theme-mission { --background: var(--lime); --text: var(--purple); }
.theme-team { --background: var(--purple); --text: var(--yellow); }
.theme-legals { --background: var(--yellow); --text: var(--orange); }
.theme-career { --background: var(--orange); --text: var(--blush); }
.theme-contact { --background: var(--blush); --text: var(--brown); }
.menu-item, .panel { background: var(--background); color: var(--text); }
.content-area { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); container-type: inline-size; }
.section-group { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.panel { border-radius: 2px; }
.hero { --background: var(--wine); --text: var(--pink); }
.hero-art {
  /* Keep the complete hero and divider above the fold, with the next section visible. */
  height: min(
    calc((100cqw - 2 * var(--side)) * .238763 + 2 * min(var(--large), 8svh)),
    max(48px, calc(100svh - 2 * var(--page) - var(--navigation-space) - 2 * var(--gap) - 2 * var(--small) - 1.2 * var(--caption) - clamp(32px, 12svh, 128px)))
  );
  padding: 0 var(--side);
}
.hero-art picture { display: block; height: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; }
.section-divider { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: var(--small) var(--side); font-size: var(--caption); }
.section-divider > span, .section-divider > p { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.divider-num { display: flex; align-items: center; gap: 8px; font-family: 'Orbitron', sans-serif; }
.divider-num img { width: 8px; height: 8px; }
.section-title { padding: var(--medium) var(--side); display: flex; flex-direction: column; gap: var(--large); }
.section-number { font-family: 'Orbitron', sans-serif; font-size: var(--number); font-weight: 500; }
.section-heading, .hi-title, .founders-heading, .contact-row { font-size: var(--title); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: break-word; }
.section-number, .section-heading, .hi-title, .founders-heading, .contact-row, .section-divider, .menu-number, .menu-label, .hi-description, .hi-intro-text, .mission-text, .contact-paragraph, .contact-email { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.hi-content { padding: var(--large) var(--side); display: flex; flex-direction: column; gap: var(--medium); }
.hi-row { display: flex; align-items: center; gap: var(--medium); }
.hi-description { font-size: var(--caption); max-width: 12em; }
.hi-intro { padding: var(--large) var(--side); }
.hi-intro-text { font-size: 112px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .1em; }
.product-divider { text-align: center; }
.product-divider picture { flex-shrink: 0; }
.product-divider picture img { height: 25px; width: auto; }
.product-card { overflow: hidden; }
.product-card-header { position: relative; display: block; cursor: pointer; padding: var(--medium) var(--side); list-style: none; }
.product-card-header::-webkit-details-marker, .legal-card summary::-webkit-details-marker { display: none; }
.product-card-row { display: grid; grid-template-columns: max-content minmax(0, 1fr) 219px; align-items: center; gap: var(--side); }
.product-name { font-size: var(--label); }
.product-description { font-size: var(--caption); opacity: .65; }
.product-logo { display: flex; align-items: center; justify-content: center; min-height: 32px; }
.product-logo img { height: auto; }
.product-logo--coiffa img { width: 88px; }
.product-fold { position: absolute; right: 0; bottom: 0; padding: 8px 20px; background: var(--text); color: var(--background); font-size: 16px; opacity: 0; transition: opacity 160ms; }
.product-card-header:hover .product-fold, .product-card-header:focus-visible .product-fold { opacity: 1; }
.product-card[open] .product-fold { display: none; }
.product-details-content { margin: 0 var(--side); padding: var(--side) 0 var(--medium); border-top: 2px solid currentColor; display: flex; flex-direction: column; gap: 32px; font-size: var(--caption); line-height: 1.5; }
.product-details-content p { max-width: 70ch; }
.product-status-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.product-status-badge, .product-details-link { display: inline-flex; align-items: center; gap: 12px; border: 1px solid currentColor; border-radius: 50px; padding: 12px 20px; font-size: var(--caption); }
.product-details-link { background: var(--text); color: var(--background); text-decoration: none; align-self: flex-start; }
.product-details-heading, .product-details-tagline { font-size: var(--label); }
.product-feature { display: flex; flex-direction: column; gap: 12px; }
.product-interface-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.product-home-shot, .interface-shot { margin: 0; overflow: hidden; border: 1px solid currentColor; border-radius: 2px; }
.product-home-shot img { width: 100%; height: auto; }
.interface-shot img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.interface-label { display: block; padding: 16px; }
.mission-content { padding: var(--large) var(--side); display: flex; flex-direction: column; gap: var(--large); }
.mission-item { display: flex; align-items: flex-start; gap: var(--side); }
.mission-icon { display: grid; place-items: center; width: 95px; min-width: 95px; height: 55px; border: 2px solid currentColor; border-radius: 32px; font-size: 56px; line-height: 1; margin-top: 16px; }
.mission-text { flex: 1; min-width: 0; font-size: var(--body); text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.team-content { padding: var(--large) var(--side); display: flex; flex-direction: column; gap: var(--large); }
.team-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--side); align-items: stretch; }
.team-card { border: 2px solid currentColor; border-radius: 2px; display: flex; flex-direction: column; min-width: 0; }
.team-title { padding: 16px 32px; background: var(--text); color: var(--background); }
.team-name { font-size: var(--label); }
.team-role { margin-top: 8px; font-size: var(--caption); }
.team-portrait { margin-top: 32px; width: 100%; height: 338px; object-fit: cover; }
.team-monogram { margin-top: 32px; height: 338px; display: grid; place-items: center; font-family: 'Orbitron', sans-serif; font-size: clamp(60px,9vw,160px); }
.team-bio { padding: 56px 32px; font-size: var(--caption); flex: 1; }
.team-links { display: flex; gap: 32px; padding: 16px 32px; border-top: 2px solid currentColor; font-size: var(--caption); }
.team-link { text-underline-offset: .2em; }
.legal-card { padding: 0; border: 2px solid transparent; }
.legal-card summary { cursor: pointer; padding: var(--side); list-style: none; text-align: center; font-size: var(--label); }
.legal-card[open], .legal-card:has(summary:focus-visible) { background: transparent; border-color: var(--background); }
@media (hover: hover) {
  .legal-card:hover { background: transparent; border-color: var(--background); }
}
.legal-card summary:focus-visible { outline: none; }
.legal-body { padding: 0 var(--side) var(--side); margin-top: max(0px, calc(56px - var(--side))); font-size: max(16px,var(--label)); line-height: 1.2; opacity: .7; }
.legal-body p, .legal-body li { max-width: 70ch; }
.company-footing-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.career-content { padding: var(--large) var(--side); display: flex; flex-direction: column; gap: var(--medium); align-items: flex-end; }
.career-content p { font-size: var(--body); max-width: 588px; text-align: right; }
.career-line { width: 100%; height: 16px; background: currentColor; }
.contact-call { padding: var(--large) var(--side); }
.contact-row { padding-bottom: var(--side); border-bottom: 4px solid currentColor; }
.contact-row:nth-child(2) { padding-top: var(--medium); text-align: center; }
.contact-row:last-child { padding-top: var(--medium); text-align: right; }
.contact-paragraph-card { padding: var(--large) var(--side); }
.contact-paragraph { font-size: var(--body); }
.contact-email-card { padding: var(--medium) var(--side); }
.contact-email { display: block; padding: 56px 12px; background: var(--text); color: white; border-radius: 82px; font-size: clamp(18px,5.6vw,var(--body)); text-align: center; text-decoration: none; }
.contact-email:hover { text-decoration: underline; text-underline-offset: .15em; }
@media (min-width: 1700px) {
  :root { --page: 48px; --gap: 24px; --side: 80px; --large: 256px; --medium: 112px; --small: 32px; --title: 240px; --number: 180px; --body: 112px; --caption: 28px; --label: 36px; }
}
@media (max-width: 1279px) {
  :root { --side: 48px; --large: 144px; --medium: 72px; --small: 20px; --title: 144px; --number: 112px; --body: 72px; --caption: 20px; --label: 28px; }
  .sidebar-nav { width: 200px; padding-right: 24px; }
  .section-heading { font-size: min(var(--title),13vw); }
  .hi-intro-text { font-size: var(--body); }
  .product-card-row { grid-template-columns: max-content minmax(0,1fr) 150px; gap: 24px; }
  .product-logo:not(.product-logo--coiffa) img { width: 150px; }
  .team-grid { gap: 24px; }
  .team-title, .team-links { padding-left: 20px; padding-right: 20px; }
  .team-bio { padding: 40px 20px; }
}
@media (max-width: 959px) {
  :root { --page: 24px; --gap: 12px; --side: 32px; --large: 120px; --medium: 56px; --small: 16px; --title: 120px; --number: 96px; --body: 56px; --caption: 16px; --label: 24px; --navigation-space: calc(112px + env(safe-area-inset-bottom)); }
  .page-container { display: block; padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
  .sidebar-nav { position: fixed; top: auto; bottom: 0; left: var(--page); right: var(--page); width: auto; max-height: none; z-index: 10; display: flex; flex-direction: row; align-items: center; gap: 24px; overflow-x: auto; overflow-y: hidden; padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); background: #f6f6f6; scroll-snap-type: x proximity; }
  .menu-item, .menu-logo { width: 64px; height: 64px; min-height: 64px; border-radius: 50%; padding: 0; align-items: center; justify-content: center; scroll-snap-align: center; }
  .menu-item[aria-current], .menu-logo[aria-current], .menu-item:hover, .menu-logo:hover, .menu-item:focus-visible, .menu-logo:focus-visible { width: 64px; border-radius: 32px 32px 0 32px; }
  .menu-logo picture { position: static; }
  .menu-number { font-size: 16px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .menu-dot { bottom: 8px; }
  .menu-logo img { width: 48px; height: 48px; }
  .section-heading { font-size: var(--title); }
  .hi-intro-text { font-size: var(--body); }
  .hi-title, .founders-heading { font-size: min(var(--title),14vw); }
  .mission-item { gap: 32px; }
  .mission-icon { width: 70px; min-width: 70px; height: 44px; font-size: 32px; margin-top: 8px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-portrait, .team-monogram { height: 280px; }
  .product-divider { gap: 12px; }
  .product-divider p { flex: 1; }
}
@media (max-width: 599px) {
  :root { --page: 16px; --gap: 8px; --side: 16px; --large: 80px; --medium: 32px; --small: 8px; --title: 62px; --number: 48px; --body: 32px; --caption: 10px; --label: 16px; --navigation-space: calc(96px + env(safe-area-inset-bottom)); }
  .page-container { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .sidebar-nav { gap: 16px; padding-top: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .section-heading { font-size: clamp(44px,15.77vw,62px); }
  .section-divider { gap: 8px; }
  .hero .section-divider { font-size: clamp(8px,2.54vw,10px); }
  .hi-title, .founders-heading { font-size: clamp(42px,15.77vw,62px); }
  .hi-row { gap: 32px; }
  .hi-row .hi-title { flex-shrink: 0; }
  .hi-description { max-width: 105px; }
  .hi-intro-text { font-size: 32px; }
  .product-card-header { padding: 24px 16px; }
  .product-card-row { grid-template-columns: minmax(0,1fr) 109px; gap: 8px 16px; }
  .product-name { grid-column: 1; grid-row: 1; font-weight: 500; }
  .product-description { grid-column: 1; grid-row: 2; }
  .product-logo { grid-column: 2; grid-row: 1 / 3; justify-content: flex-end; }
  .product-logo:not(.product-logo--coiffa) img { width: 109px; }
  .product-logo--coiffa img { width: 48px; }
  .product-fold { display: none; }
  .product-details-content { font-size: 16px; gap: 24px; }
  .product-details-link, .product-status-badge { font-size: 16px; }
  .product-interface-grid { grid-template-columns: 1fr; }
  .mission-item { gap: 16px; }
  .mission-icon { min-width: 62px; width: 62px; height: 38px; font-size: 32px; margin-top: 4px; }
  .mission-text { font-size: 32px; }
  .team-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-title, .team-links { padding: 16px 24px; }
  .team-role, .team-links, .team-bio { font-size: 16px; }
  .team-bio { padding: 32px 24px; }
  .team-portrait, .team-monogram { height: 320px; }
  .team-monogram { font-size: 100px; }
  .legal-card summary { min-height: 44px; padding: 16px; }
  .career-content p { max-width: 100%; font-size: 32px; }
  .contact-row { font-size: 62px; }
  .contact-row:last-child { font-size: clamp(42px,13.7vw,54px); }
  .contact-email { padding: 32px 8px; font-size: clamp(18px,6.65vw,26px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
