/* Kaser Software */
:root {
  --bg: #f4f2ed;
  --paper: #fbfaf7;
  --ink: #151515;
  --ink-2: #3a3936;
  --muted: #73706a;
  --line: #d8d4cb;
  --accent: #b5471d;
  --max: 1240px;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}

/* Underline link */
.u { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .2s; padding-bottom: 2px; }
.u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Header */
header.site { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
header.site .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.logo b { font-weight: 600; }
.logo span { color: var(--muted); font-weight: 400; }
nav.links { display: flex; gap: 32px; font-size: 15px; white-space: nowrap; }
nav.links a { color: var(--ink-2); transition: color .2s; }
nav.links a:hover { color: var(--accent); }
.clock { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Hero */
.hero { padding: 120px 0 0; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: .98; letter-spacing: -0.045em; font-weight: 500;
  max-width: 13.5ch;
}
.hero h1 em { font-style: normal; color: var(--muted); }
.hero-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 72px; padding: 28px 0 32px; border-top: 1px solid var(--ink);
}
.hero-row p { font-size: 19px; color: var(--ink-2); max-width: 30ch; line-height: 1.45; }
.hero-row .right { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero-row .right p { max-width: 26ch; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; transition: background .25s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn .ar { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* Index strip */
.index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.index a { padding: 22px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; border-right: 1px solid var(--line); padding-right: 24px; transition: color .2s; }
.index a + a { padding-left: 24px; }
.index a:last-child { border-right: 0; }
.index a:hover { color: var(--accent); }
.index .label { color: inherit; opacity: .6; }

/* Sections */
section.sec { padding: 140px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; }
.sec-head p { color: var(--muted); max-width: 46ch; margin-top: 18px; }

/* Services list */
.services { border-top: 1px solid var(--ink); }
.svc {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
  padding: 44px 0; border-bottom: 1px solid var(--line); position: relative;
}
.svc .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.svc h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; transition: transform .45s var(--ease); }
.svc:hover h3 { transform: translateX(8px); }
.svc .body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.svc .body p { color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.svc ul { list-style: none; font-size: 15px; color: var(--muted); }
.svc li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.svc li:first-child { padding-top: 0; }
.svc li:last-child { border-bottom: 0; }

/* Statement */
.statement { background: var(--ink); color: var(--bg); }
.statement .wrap { padding-top: 140px; padding-bottom: 140px; }
.statement p.big {
  font-size: clamp(30px, 4.2vw, 58px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 400;
  max-width: 22ch;
}
.statement p.big span { color: #8d8a83; }
.statement .label { color: #8d8a83; margin-bottom: 40px; display: block; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step .label { display: block; margin-bottom: 64px; }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

/* Details / principles */
.details { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: 140px; }
.details dl { border-top: 1px solid var(--ink); }
.details dl > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.details dt { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.details dd { color: var(--ink-2); }

/* Contact */
.contact { padding: 140px 0 120px; border-top: 1px solid var(--line); }
.contact .label { display: block; margin-bottom: 28px; }
.contact a.mail {
  font-size: clamp(28px, 6.4vw, 92px); letter-spacing: -0.05em; max-width: 100%; overflow-wrap: anywhere; line-height: 1; font-weight: 500;
  display: inline-block; position: relative; transition: color .25s;
}
.contact a.mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.contact a.mail:hover { color: var(--accent); }
.contact a.mail:hover::after { transform: scaleX(1); }
.contact p { color: var(--muted); margin-top: 32px; max-width: 46ch; }

/* Footer */
footer.site { border-top: 1px solid var(--ink); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
footer.site .cols { display: flex; gap: 24px; }
footer.site a { color: var(--ink-2); }
footer.site a:hover { color: var(--accent); }
footer.site .end { text-align: right; }

/* Reveal */
.r { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.r.in { opacity: 1; transform: none; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; transform: translateY(102%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.loaded .hero h1 .ln > span { transform: none; }

/* Legal / doc pages */
.doc { padding: 110px 0 120px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 500; }
.doc .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 0 56px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.doc h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); margin-bottom: 12px; }
.doc ul { padding-left: 20px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--accent); }
.todo { background: #f5e3a6; padding: 0 4px; border-radius: 3px; }

/* Responsive */
@media (max-width: 900px) {
  .clock { display: none; }
  nav.links { gap: 20px; }
  .hero-row, .sec-head, .svc, .details, .details dl > div { grid-template-columns: 1fr; }
  .svc { gap: 20px; }
  .svc .body { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .details { margin-top: 100px; }
  footer.site .wrap { grid-template-columns: 1fr; }
  footer.site .end { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  nav.links a.hide-sm { display: none; }
  .hero { padding-top: 72px; }
  .hero-row { margin-top: 48px; }
  .hero-row .right { flex-direction: column; }
  .index { grid-template-columns: 1fr; }
  .index a { border-right: 0; padding: 18px 0 !important; border-bottom: 1px solid var(--line); }
  .index a:last-child { border-bottom: 0; }
  section.sec { padding: 96px 0; }
  .statement .wrap { padding-top: 96px; padding-bottom: 96px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; padding: 24px 0 16px !important; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step .label { margin-bottom: 24px; }
  .contact { padding: 96px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .r { opacity: 1; transform: none; }
  .hero h1 .ln > span { transform: none; }
}
