/* Yava Concept (yaVaCo) — site styles */

@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("assets/fonts/public-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("assets/fonts/public-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("assets/fonts/public-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #0E2340;
  --navy-2: #1B355C;
  --ink: #0B1324;
  --text: #2E3A4F;
  --muted: #5A6680;
  --line: #E2E6ED;
  --soft: #F4F6F9;
  --paper: #FFFFFF;
  --on-navy: #C9D3E4;
  --on-navy-dim: #9FB0CA;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Public Sans", "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #B7C1D1 var(--soft); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-text); font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 10; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* Header */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.brand svg { width: 30px; height: 23px; flex: none; }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 23px; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--text); padding-block: 6px; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--f-text); padding: 16px 22px; border-radius: 8px; text-decoration: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-primary:hover svg { transform: translateY(2px); }
.btn-quiet { color: var(--ink); padding-inline: 0; }
.btn-quiet:hover { text-decoration: underline; }
.btn-quiet:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: center; padding-block: clamp(48px, 8vw, 112px) clamp(64px, 9vw, 128px); }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.04em; max-width: 12ch; }
.hero p { margin-top: var(--s4); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text); max-width: 40ch; }
.hero .actions { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }

/* The stair: five products rising along one path */
.stair { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 580px; justify-self: end; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); }
.stair .path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stair .path path { fill: none; stroke: #C3CCDA; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.step { position: relative; display: grid; justify-items: center; align-content: end; gap: 8px; padding-bottom: 14%; text-decoration: none; animation: settle 0.9s var(--ease-out) both; }
.step img { width: clamp(52px, 6.2vw, 92px); height: auto; aspect-ratio: 1; border-radius: 23%; box-shadow: 0 1px 0 rgba(11,19,36,.04), 0 10px 24px -12px rgba(14,35,64,.35); background: #fff; transition: transform .3s var(--ease-out); }
.step span { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.step:hover img { transform: translateY(-3px); }
/* DOM order runs top tread first (matches the product list); the settle runs bottom-up. */
.step:nth-child(2) { grid-area: 1 / 5; animation-delay: .37s; }
.step:nth-child(3) { grid-area: 2 / 4; animation-delay: .29s; }
.step:nth-child(4) { grid-area: 3 / 3; animation-delay: .21s; }
.step:nth-child(5) { grid-area: 4 / 2; animation-delay: .13s; }
.step:nth-child(6) { grid-area: 5 / 1; animation-delay: .05s; }
@keyframes settle { from { transform: translateY(14px); } to { transform: none; } }

/* Section rhythm */
.section { padding-block: clamp(72px, 10vw, 144px); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: end; padding-bottom: var(--s5); }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 46ch; }

/* Products */
.products { background: var(--soft); }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.plist li { border-bottom: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 72px minmax(0, 3.2fr) minmax(0, 1.4fr) minmax(0, 2fr) 28px; gap: var(--s4); align-items: center; padding: 26px 12px; margin-inline: -12px; text-decoration: none; border-radius: 10px; transition: background-color .2s var(--ease-out); }
.prow:hover { background: var(--paper); }
.prow img { width: 72px; height: 72px; border-radius: 23%; box-shadow: 0 8px 20px -14px rgba(14,35,64,.45); background: #fff; }
.prow .name { display: block; font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.prow .step-text { display: block; margin-top: 2px; color: var(--text); }
.prow .meta { font-size: 15px; color: var(--muted); }
.prow .meta b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.prow .go { width: 22px; height: 22px; color: var(--ink); transition: transform .25s var(--ease-out); }
.prow:hover .go { transform: translateX(4px); }
.fine { margin-top: var(--s4); font-size: 14px; color: var(--muted); max-width: 80ch; }

/* Statement */
.statement .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); }
.statement h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; }
.statement .big { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); max-width: 30ch; }
.statement .small { margin-top: var(--s4); color: var(--text); max-width: 56ch; }
.statement .btn-quiet { margin-top: var(--s4); }

/* Contact band */
.contact { background: var(--navy); color: var(--on-navy); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); padding-block: clamp(72px, 9vw, 128px); }
.contact h2 { color: #fff; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.035em; }
.contact .cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s6); }
.contact h3 { color: #fff; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.contact p { font-size: 16px; }
.contact .mail { display: inline-block; margin-top: 12px; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; text-decoration: underline; text-decoration-color: var(--on-navy-dim); text-underline-offset: 0.25em; }
.contact .mail:hover { text-decoration-color: #fff; }
.contact ::selection { background: #fff; color: var(--navy); }
.contact :focus-visible { outline-color: #fff; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: var(--s5); font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.site-foot a { text-decoration: none; color: var(--text); }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .brand svg { width: 24px; height: 19px; }
.site-foot .brand span { font-size: 19px; }

/* Inner pages */
.page-head .wrap { padding-block: clamp(48px, 7vw, 96px) var(--s5); }
.page-head h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.page-head p { margin-top: var(--s3); font-size: 20px; max-width: 52ch; }
.prose { max-width: 70ch; padding-bottom: clamp(64px, 9vw, 120px); }
.prose h2 { font-size: 26px; line-height: 1.3; letter-spacing: -0.02em; margin: var(--s6) 0 var(--s2); }
.prose p, .prose ul { margin: 0 0 var(--s2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 15px; }
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 1px solid var(--ink); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); padding-right: var(--s5); }
.facts dd { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .stair { justify-self: start; max-width: 440px; }
  .section-head, .statement .wrap, .contact .wrap { grid-template-columns: 1fr; gap: var(--s3); }
  .prow { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 24px; row-gap: 14px; column-gap: 16px; align-items: start; }
  .prow img { width: 64px; height: 64px; }
  .prow > span:first-of-type { grid-column: 2 / 4; }
  .prow .meta { grid-row: 2; }
  .prow > span:nth-of-type(2) { grid-column: 2; }
  .prow > span:nth-of-type(3) { grid-column: 3 / 5; }
  .prow .go { grid-column: 4; grid-row: 1; align-self: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 16px; font-size: 14px; }
  /* Phones: the stair flattens into one row of products along a single line. */
  .stair { max-width: 100%; aspect-ratio: auto; grid-template-rows: auto; column-gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #C3CCDA; }
  .stair .path { display: none; }
  .stair .step { grid-row: 1; grid-column: auto; padding-bottom: 0; gap: 8px; align-content: start; }
  .step img { width: 100%; max-width: 56px; }
  .step span { font-size: 12px; white-space: normal; text-align: center; line-height: 1.2; }
  .contact .cols { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
}
@media (max-width: 400px) {
  .site-head .wrap { gap: 12px; }
  .site-head .brand { gap: 8px; }
  .site-head .brand svg { width: 26px; height: 20px; }
  .site-head .brand span { font-size: 19px; }
  .nav { gap: 14px; font-size: 13.5px; }
}
@media (max-width: 340px) {
  .nav .nav-contact { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step { animation: none; }
  .btn, .btn svg, .prow, .prow .go, .step img { transition: none; }
}
