/* MOYZEX, site stylesheet.
   Everything the page needs is in this file and assets/site.js; the page loads nothing from other sites.

   Adjust here:
   - colours: the custom properties on :root below
   - the phone layout: the @media block at the end of this file (breakpoint 860px)
   - the rules .u1 to .uN are shared layout rules, one per style pattern; every element that carries
     the class uses the rule, so a change here reaches all of them at once */

:root {
  --paper: #F2F0EC;
  --paper-2: #F7F5F1;
  --white: #FFFFFF;
  --ink: #2B2B2B;
  --ink-body: #4A463F;
  --ink-soft: #6B675F;
  --line-1: #EFECE6;
  --line-2: #E6E2DA;
  --line-3: #E0DDD6;
  --line-4: #DAD6CE;
  --line-5: #CFCBC2;
  --line-6: #C9C4BA;
  --ok-bg: #E6F0E8;
  --ok-fg: #2F5E3C;
  --warn-bg: #FBECD9;
  --warn-fg: #8A4B10;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/eb-garamond-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/eb-garamond-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* base */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: var(--ink); }
img, svg { max-width: 100%; }
.turnable { transform-origin: 50% 50%; will-change: transform; }
.turnable.returning { transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-figure { overflow: hidden; }
/* the wordmark: the mark stands in the O's place, sized to the letters and spaced like one of them */
.wordmark { --ls: 0.26em; letter-spacing: var(--ls); white-space: nowrap; font-weight: 700; }   /* the same wordmark wherever the name stands as a title; in running text the name is simply bold */
.wordmark svg { display: inline-block; width: 0.74em; height: 0.74em; vertical-align: baseline; margin: 0 var(--ls) -0.04em 0; overflow: visible; }   /* a turning square has a wider bounding box than the mark itself; without this the page could scroll sideways on phones */
.brand { font-weight: 700; }
.num { font-weight: 800; color: var(--ink); font-size: 1.1em; }
#hub, #services, #solutions, #catalog, #workforce, #approach, #name, #contact { scroll-margin-top: calc(var(--header-h, 88px) + 8px); }   /* --header-h is measured by the script, so a taller header on phones or small laptops never covers a section */
nav[aria-label="Primary"] a[data-spy] { transition: color 0.2s; }

/* shared layout rules, one per style pattern used in index.html */
.u1 { background: var(--paper); color: var(--ink); font-family: 'EB Garamond', Garamond, 'Times New Roman', Times, serif; line-height: 1.5; }
.u2 { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line-3); background: var(--paper); }
.u3 { max-width: 1240px; margin: 0 auto; padding: 14px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.u4 { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 8px 0; }
.u5 { font-size: 30px; font-weight: 700; }
.u6 { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 2px; }
.u7 { display: inline-flex; align-items: center; padding: 10px 9px; border-radius: 999px; font-size: 17px; font-weight: 500; line-height: 1; text-decoration: none; color: var(--ink); white-space: nowrap; }
.u8 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.u9 { display: inline-flex; align-items: center; padding: 10px 4px; font-size: 17px; font-weight: 500; text-decoration: none; color: var(--ink); }
.u10 { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 600; text-decoration: none; }
.u11 { padding: 56px 0 0; }
.u12 { max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.u13 { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 24px; }
.u14 { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; max-width: 760px; }
.u15 { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-4); background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink-body); }
.u16 { margin: 0; max-width: 900px; font-weight: 600; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.u17 { margin: 0; max-width: 680px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--ink-body); text-wrap: pretty; }
.u18 { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.u19 { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.u20 { display: inline-flex; align-items: center; justify-content: center; padding: 17px 32px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 18px; font-weight: 600; text-decoration: none; }
.u21 { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 999px; border: 1px solid var(--line-6); background: var(--white); color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.u22 { font-size: 14px; color: var(--ink-soft); }
.u23 { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.u24 { max-width: 100%; height: auto; }
.u25 { max-width: 1240px; margin: 48px auto 0; padding: 0 24px; box-sizing: border-box; }
.u26 { background: var(--white); border: 1px solid var(--line-4); border-radius: 16px; box-shadow: 0 28px 70px rgba(43, 43, 43, 0.12); overflow: hidden; display: flex; flex-wrap: wrap; text-align: left; }
.u27 { flex: 0 1 230px; min-width: 0; background: var(--paper-2); border-right: 1px solid var(--line-2); padding: 18px 14px; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; }
.u28 { display: flex; align-items: center; gap: 8px; padding: 6px 10px 16px; }
.u29 { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.u30 { padding: 8px 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.u31 { padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-body); }
.u32 { margin-top: auto; padding: 14px 10px 4px; font-size: 13px; color: var(--ink-soft); }
.u33 { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; }
.u34 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--line-2); }
.u35 { font-size: 17px; font-weight: 600; }
.u36 { display: flex; flex-wrap: wrap; gap: 8px; }
.u37 { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-3); font-size: 13px; font-weight: 500; color: var(--ink-body); }
.u38 { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ok-bg); font-size: 13px; font-weight: 600; color: var(--ok-fg); }
.u39 { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.u40 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; }
.u41 { padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.u42 { font-size: 13px; color: var(--ink-soft); }
.u43 { font-size: 30px; font-weight: 600; line-height: 1; }
.u44 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.u45 { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.u46 { padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.u47 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-1); font-size: 14px; }
.u48 { padding: 4px 8px; border-radius: 999px; background: var(--line-1); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-body); }
.u49 { padding: 4px 8px; border-radius: 999px; background: var(--ok-bg); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--ok-fg); }
.u50 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; }
.u51 { padding: 4px 8px; border-radius: 999px; background: var(--warn-bg); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--warn-fg); }
.u52 { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-1); font-size: 14px; }
.u53 { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.u54 { font-weight: 600; }
.u55 { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; font-size: 14px; }
.u56 { padding: 80px 0 64px; }
.u57 { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.u58 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 760px; }
.u59 { margin: 0; font-weight: 600; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.u60 { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-body); text-wrap: pretty; }
.u61 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; width: 100%; }
.u62 { background: var(--white); border: 1px solid var(--line-3); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.u63 { margin: 0; font-size: 22px; font-weight: 600; }
.u64 { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-body); }
.u65 { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 600; text-decoration: none; }
.u66 { padding: 0 0 72px; }
.u67 { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.u68 { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-body); text-align: center; }
.u69 { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.u70 { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-4); font-size: 15px; font-weight: 500; color: var(--ink-body); }
.u71 { background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 72px 0; }
.u72 { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.u73 { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; }
.u74 { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 500; }
.u75 { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.u76 { padding: 80px 0; }
.u77 { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.u78 { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.u79 { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-body); }
.u80 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.u81 { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; color: var(--ink); }
.u82 { flex: 0 0 22px; }
.u83 { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.u84 { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 600; text-decoration: none; }
.u85 { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line-6); background: var(--white); color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; }
.u86 { flex: 1 1 400px; min-width: 0; }
.u87 { background: var(--white); border: 1px solid var(--line-4); border-radius: 16px; box-shadow: 0 24px 60px rgba(43, 43, 43, 0.10); overflow: hidden; }
.u88 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.u89 { font-size: 15px; font-weight: 600; }
.u90 { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--ok-bg); font-size: 12px; font-weight: 600; color: var(--ok-fg); }
.u91 { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-1); font-size: 15px; }
.u92 { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.u93 { display: flex; flex-direction: column; gap: 3px; }
.u94 { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; font-size: 15px; }
.u95 { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--warn-bg); color: var(--warn-fg); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.u96 { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 36px; }
.u97 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 760px; margin: 0 auto; }
.u98 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.u99 { background: var(--paper); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.u100 { margin: 0; font-size: 21px; font-weight: 600; }
.u101 { padding: 80px 0 16px; }
.u102 { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 56px; }
.u103 { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.u104 { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.u105 { margin: 0; font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.u106 { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-body); text-wrap: pretty; }
.u107 { font-size: 17px; font-weight: 600; color: var(--ink); }
.u108 { flex: 1 1 380px; min-width: 0; }
.u109 { background: var(--white); border: 1px solid var(--line-4); border-radius: 16px; box-shadow: 0 24px 60px rgba(43, 43, 43, 0.10); padding: 22px; display: flex; flex-direction: column; gap: 0; }
.u110 { font-size: 14px; font-weight: 600; padding-bottom: 14px; }
.u111 { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px; }
.u112 { flex: 0 0 auto; padding: 3px 8px; border-radius: 6px; background: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-body); }
.u113 { width: 1px; height: 18px; background: var(--line-6); margin-left: 28px; }
.u114 { flex: 0 0 auto; padding: 3px 8px; border-radius: 6px; background: var(--warn-bg); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warn-fg); }
.u115 { flex: 0 0 auto; padding: 3px 8px; border-radius: 6px; background: var(--ok-bg); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok-fg); }
.u116 { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 40px 72px; }
.u117 { font-size: 14px; font-weight: 600; }
.u118 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line-1); font-size: 15px; }
.u119 { display: flex; align-items: center; gap: 10px; }
.u120 { padding: 4px 8px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 600; color: var(--ink-body); }
.u121 { font-size: 13px; color: var(--ink-soft); min-width: 36px; text-align: right; }
.u122 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; font-size: 15px; }
.u123 { padding: 4px 8px; border-radius: 999px; background: var(--warn-bg); font-size: 12px; font-weight: 600; color: var(--warn-fg); }
.u124 { padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.u125 { padding: 4px 8px; border-radius: 999px; background: var(--ok-bg); font-size: 12px; font-weight: 600; color: var(--ok-fg); }
.u126 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.u127 { background: var(--white); border: 1px solid var(--line-4); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.u128 { font-size: 20px; font-weight: 600; }
.u129 { font-size: 15px; color: var(--ink-body); }
.u130 { background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 72px 0; margin-top: 48px; }
.u131 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.u132 { border: 1px solid var(--line-3); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.u133 { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-body); }
.u134 { margin-top: auto; padding-top: 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.u135 { padding: 72px 0; }
.u136 { background: var(--white); border: 1px solid var(--line-3); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.u137 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; }
.u138 { padding: 0 24px 72px; box-sizing: border-box; }
.u139 { max-width: 1160px; margin: 0 auto; background: var(--ink); color: var(--paper); border-radius: 24px; padding: 56px 32px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.u140 { margin: 0; max-width: 820px; font-weight: 600; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.u141 { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--line-5); text-wrap: pretty; }
.u142 { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.u143 { display: inline-flex; align-items: center; justify-content: center; padding: 17px 32px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.u144 { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 999px; border: 1px solid var(--ink-soft); color: var(--paper); font-size: 18px; font-weight: 600; text-decoration: none; }
.u145 { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 15px; color: var(--line-5); }
.contact-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; max-width: 760px; }
.contact-person { flex: 1 1 280px; border: 1px solid var(--ink-soft); border-radius: 16px; padding: 20px 22px; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.contact-name { font-size: 20px; font-weight: 600; color: var(--paper); }
.contact-role { font-size: 14px; color: var(--line-5); margin-bottom: 6px; }
.contact-person a { color: var(--paper); text-decoration: none; font-size: 17px; }
.contact-person a:hover { color: var(--line-5); }
.u146 { border-top: 1px solid var(--line-3); padding: 44px 0 24px; }
.u147 { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 40px; }
.u148 { display: flex; flex-wrap: wrap; gap: 36px 48px; }
.u149 { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.u150 { font-size: 26px; font-weight: 700; }
.u151 { font-size: 15px; color: var(--ink-soft); max-width: 280px; }
.u152 { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.u153 { font-size: 15px; text-decoration: none; color: var(--ink); padding: 4px 0; }
.u154 { font-size: 15px; color: var(--ink-soft); padding: 4px 0; }
.u155 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-3); font-size: 14px; color: var(--ink-soft); }
.u156 { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* the catalog: three product lines, each opening into a close-up view */
.catalog { padding: 72px 0 24px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.catalog-card { font: inherit; color: inherit; text-align: left; cursor: pointer; background: var(--white); border: 1px solid var(--line-3); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.catalog-card:hover, .catalog-card:focus-visible { transform: translateY(-3px); border-color: var(--line-6); box-shadow: 0 14px 30px rgba(43, 43, 43, 0.08); outline: none; }
.catalog-card .line-logo { width: 76px; height: 76px; }
.catalog-card h3 { margin: 0; font-size: 24px; font-weight: 600; }
.catalog-card p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-body); }
.catalog-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-body); }
.catalog-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.catalog-tags li { padding: 5px 11px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 500; color: var(--ink-body); }
.catalog-open { margin-top: auto; padding-top: 8px; font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.catalog-open-arrow { width: 18px; height: 18px; transition: transform 0.25s; }
.catalog-card:hover .catalog-open-arrow { transform: translateX(4px); }
.catalog-view { position: fixed; inset: 0; z-index: 200; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity 0.25s; }
.catalog-view[hidden] { display: none; }
.catalog-view.is-open { opacity: 1; }
.catalog-bar { box-sizing: border-box; width: 100%; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line-3); }
.catalog-bar-brand { font-size: 15px; font-weight: 500; letter-spacing: 0.08em; }
.catalog-count { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; }
.catalog-back { font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 1px solid var(--line-6); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; }
.catalog-back svg { width: 18px; height: 18px; }
.catalog-back:hover { border-color: var(--ink); }
.catalog-stage { flex: 1; display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; align-items: center; gap: 12px; width: 100%; max-width: 1160px; margin: 0 auto; padding: 32px 24px; box-sizing: border-box; }
.catalog-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.catalog-side-name { font-size: 14px; color: var(--ink-soft); letter-spacing: 0.04em; }
.catalog-arrow { font: inherit; cursor: pointer; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-6); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s, transform 0.2s; }
.catalog-arrow svg { width: 24px; height: 24px; }
.catalog-arrow:hover { border-color: var(--ink); transform: scale(1.06); }
.catalog-panel { display: none; grid-area: 1 / 1; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 760px; margin: 0 auto; }
.catalog-panels { display: grid; align-items: center; }
.catalog-panel.is-current, .catalog-panel.is-leaving { display: flex; }

/* the switch between lines: the old one drifts away and blurs, a line of light sweeps across,
   then the new one assembles, its logo drawing itself stroke by stroke and the rest rising in sequence.
   --dir is 1 going forward and -1 going back, so everything moves the way the visitor pushed */
.catalog-stage { position: relative; overflow: hidden; }
.catalog-panel.is-leaving { pointer-events: none; animation: cat-leave 0.46s cubic-bezier(0.55, 0, 0.75, 0.3) both; }
@keyframes cat-leave { to { opacity: 0; transform: translateX(calc(var(--dir, 1) * -90px)) scale(0.94); filter: blur(12px); } }
.catalog-panel.is-entering > * { animation: cat-rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.catalog-panel.is-entering > :nth-child(1) { animation: cat-logo 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.catalog-panel.is-entering > :nth-child(2) { animation-delay: 0.16s; }
.catalog-panel.is-entering > :nth-child(3) { animation-delay: 0.24s; }
.catalog-panel.is-entering > :nth-child(4) { animation-delay: 0.34s; }
.catalog-panel.is-entering > :nth-child(5) { animation: none; }
.catalog-panel.is-entering > :nth-child(6) { animation-delay: 0.62s; }
.catalog-panel.is-entering .catalog-tags li { animation: cat-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.catalog-panel.is-entering .catalog-tags li:nth-child(1) { animation-delay: 0.42s; }
.catalog-panel.is-entering .catalog-tags li:nth-child(2) { animation-delay: 0.47s; }
.catalog-panel.is-entering .catalog-tags li:nth-child(3) { animation-delay: 0.52s; }
.catalog-panel.is-entering .catalog-tags li:nth-child(4) { animation-delay: 0.57s; }
.catalog-panel.is-entering .catalog-tags li:nth-child(5) { animation-delay: 0.62s; }
.catalog-panel.is-entering .catalog-tags li:nth-child(6) { animation-delay: 0.67s; }
.catalog-panel.is-entering .line-logo .draw { stroke-dasharray: 1 1; animation: cat-draw 1.3s 0.1s cubic-bezier(0.45, 0, 0.2, 1) both; }
.catalog-panel.is-entering .line-logo circle[fill="currentColor"], .catalog-panel.is-entering .line-logo circle[stroke-dasharray] { transform-box: fill-box; transform-origin: center; animation: cat-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both; animation-delay: 0.7s; }
@keyframes cat-rise { from { opacity: 0; transform: translate(calc(var(--dir, 1) * 46px), 16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cat-logo { from { opacity: 0; transform: scale(0.6) rotate(calc(var(--dir, 1) * -35deg)); filter: blur(10px); } 55% { opacity: 1; filter: none; } to { opacity: 1; transform: none; filter: none; } }
@keyframes cat-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes cat-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.catalog-sweep { position: absolute; top: 8%; bottom: 8%; left: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--ink), transparent); opacity: 0; pointer-events: none; z-index: 2; }
.catalog-view.sweep-left .catalog-sweep { animation: cat-sweep-left 0.9s cubic-bezier(0.6, 0, 0.25, 1) both; }
.catalog-view.sweep-right .catalog-sweep { animation: cat-sweep-right 0.9s cubic-bezier(0.6, 0, 0.25, 1) both; }
@keyframes cat-sweep-left { 0% { left: 100%; opacity: 0; } 20% { opacity: 0.55; } 80% { opacity: 0.55; } 100% { left: 0%; opacity: 0; } }
@keyframes cat-sweep-right { 0% { left: 0%; opacity: 0; } 20% { opacity: 0.55; } 80% { opacity: 0.55; } 100% { left: 100%; opacity: 0; } }
.catalog-count.is-ticking { animation: cat-tick 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes cat-tick { from { opacity: 0; transform: translateY(calc(var(--dir, 1) * 10px)); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.catalog-side-name { transition: opacity 0.3s; }
.catalog-view.is-switching .catalog-side-name { opacity: 0; }
.catalog-panel .line-logo { width: min(240px, 46vw); height: auto; }
.catalog-panel h2 { margin: 0; font-size: clamp(32px, 4.4vw, 54px); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
.catalog-panel p { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-body); text-wrap: pretty; }
.catalog-panel .catalog-tags { justify-content: center; }
.catalog-panel .catalog-tags li { background: var(--white); border: 1px solid var(--line-3); font-size: 15px; padding: 7px 14px; }
.catalog-cta { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 600; text-decoration: none; margin-top: 6px; }
/* while the close-up is open the page behind it stays put. On phones the view is its own scroller and keeps the scroll to itself;
   an overflow lock on the root is avoided there because mobile browsers widen the layout for it */
@media (hover: hover) and (pointer: fine) { html.catalog-open { overflow: hidden; } }
@media (hover: none) { .catalog-view { overflow-y: scroll; } }

/* account pages: sign in, register, the second step. A preview until an accounts service is connected */
.account-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.account-steps { display: flex; gap: 18px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.account-step.is-active { color: var(--ink); font-weight: 600; }
.account-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 48px 16px 64px; box-sizing: border-box; }
.account-card { width: 100%; max-width: 460px; background: var(--white); border: 1px solid var(--line-3); border-radius: 20px; padding: 36px; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; }
.account-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-body); }
.account-title { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.account-lead { margin: 0 0 6px; font-size: 17px; line-height: 1.55; color: var(--ink-body); }
.account-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input { font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-4); border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(43, 43, 43, 0.08); }
.field input[aria-invalid="true"] { border-color: var(--warn-fg); }
.field-hint { font-size: 14px; color: var(--ink-soft); }
.field-error { font-size: 14px; color: var(--warn-fg); min-height: 0; }
.field-error:empty { display: none; }
.code-input { letter-spacing: 0.4em; font-size: 26px; text-align: center; font-weight: 600; }
.account-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-body); }
.account-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.account-submit { font: inherit; cursor: pointer; margin-top: 4px; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 600; }
.account-submit:hover { background: var(--ink-body); }
.account-submit:disabled { opacity: 0.5; cursor: default; }
.account-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 15px; padding-top: 4px; }
.account-links a { font-weight: 600; text-decoration: none; }
.account-links a.account-muted { font-weight: 500; color: var(--ink-soft); }
.account-success { padding: 14px 16px; border-radius: 12px; background: var(--ok-bg); color: var(--ok-fg); font-size: 15px; line-height: 1.5; }
.account-preview { margin: 0; font-size: 14px; color: var(--ink-soft); text-align: center; max-width: 460px; }
.nav-signin-tab { display: none; }   /* on phones the sign in link joins the tab strip and leaves the top row */
.nav-signin { display: inline-flex; align-items: center; padding: 10px 4px; font-size: 17px; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }

/* our name: the six letters and the two founders */
.name-section { padding: 72px 0; background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.name-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.name-letter-card { border: 1px solid var(--line-3); border-radius: 16px; padding: 28px 26px 26px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.name-letter { font-size: 64px; line-height: 1; --ls: 0; }
.name-letter .o-mark { width: 0.74em; height: 0.74em; margin: 0 0 -0.04em 0; display: inline-block; vertical-align: baseline; overflow: visible; }
.name-word { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-body); }
.name-line { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.name-close { margin: 6px auto 0; max-width: 680px; text-align: center; font-size: 21px; line-height: 1.5; color: var(--ink-body); text-wrap: pretty; }
.name-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 12px auto 0; }
.name-founder { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line-3); border-radius: 16px; padding: 22px 24px; }
.name-founder-initial { font-size: 40px; font-weight: 700; line-height: 1; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-6); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding-top: 2px; box-sizing: border-box; }
.name-founder-name { margin: 0; font-size: 22px; font-weight: 600; }
.name-founder-role { font-size: 15px; color: var(--ink-soft); margin-top: 2px; }

/* phones and small tablets */
@media (max-width: 860px) {
  .nav-inner { gap: 6px 16px; }
  nav[aria-label="Primary"] { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; contain: inline-size; }   /* contain: the tabs scroll sideways inside the strip and never count towards the page width */
  nav[aria-label="Primary"]::-webkit-scrollbar { display: none; }
  .cta-secondary { display: none; }
  .nav-signin { display: none; }
  .nav-signin-tab { display: inline-flex; }
  #brand-home span { font-size: 21px; --ls: 0.2em; }
  .nav-cta a { padding: 10px 16px; font-size: 15px; }
  .catalog-stage { grid-template-columns: 1fr; grid-template-rows: auto auto; padding: 24px 20px 32px; row-gap: 28px; }
  .catalog-panels { grid-row: 1; }
  .catalog-side { grid-row: 2; grid-column: 1; flex-direction: row; gap: 10px; }
  .catalog-side-prev { justify-self: start; }
  .catalog-side-next { justify-self: end; flex-direction: row-reverse; }
  .catalog-arrow { width: 56px; height: 56px; }
  .catalog-bar { padding: 12px 16px; }
  .catalog-bar-brand { display: none; }
  .catalog-back { font-size: 14px; padding: 9px 14px 9px 10px; }
  .account-card { padding: 26px 20px; border-radius: 16px; }
  .account-title { font-size: 28px; }
  .account-steps { display: none; }
  .u107, .u134, .u153 { padding-top: 10px; padding-bottom: 10px; }
  .account-page { min-height: 100dvh; }
  .name-grid { grid-template-columns: 1fr; gap: 12px; }
  .name-letter-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; padding: 20px 18px; align-items: start; }
  .name-letter { grid-row: 1 / span 2; font-size: 52px; }
  .name-line { font-size: 17px; }
  .name-founders { grid-template-columns: 1fr; }
}

/* the smallest phones */
@media (max-width: 360px) {
  #brand-home span { font-size: 18px; }
  .nav-cta a { padding: 9px 12px; font-size: 14px; }
  .u3 { padding: 12px 16px; }
  .catalog-back { font-size: 13px; padding: 8px 12px 8px 8px; }
}
