/* Bojan Jevtic — portfolio design tokens */

:root {
  --bg:        #f8f8f8;
  --surface:   #e9e9e9;
  --ink:       #222222;
  --ink-pure:  #000000;
  --muted:     #6f6f6f;
  --line:      #e9e9e9;
  --white:     #ffffff;

  /* Accent — deep violet (replaces alive mint for text + bullets) */
  --accent:    #9EFF99;
  --accent-ink:#735ACB;
  --accent-mist:#9EFF99;

  /* For status / small highlights */
  --live:      oklch(0.72 0.17 142);

  --radius-pill: 1000px;
  --radius-card: 16px;
  --radius-hero: 30px;

  --max:       1500px;
  --gutter:    40px;

  --shadow-card: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px -12px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink-pure);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ——— Type ——— */
.display {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
}
.h2 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0;
}
.lede {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
}
.eyebrow {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  margin: 0;
}
.eyebrow--accent { color: var(--accent-ink); }

.micro {
  font-family: "Roboto Flex", "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.03em;
  color: var(--muted);
  margin: 0;
  font-variation-settings: "opsz" 14;
}

.body-s { font-size: 15px; line-height: 1.4; color: var(--muted); }
.body-l { font-family: "Manrope", system-ui, sans-serif; font-size: 20px; line-height: 1.35; color: var(--ink); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: -0.025em;
  border: 0; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--dark  { background: var(--ink); color: var(--white); }
.btn--dark:hover  { background: #000; transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); padding: 14px 0; }
.btn--ghost:hover { color: var(--accent-ink); }

/* ——— Layout shells ——— */
.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ——— Navigation (pill) ——— */
.topbar {
  position: fixed; top: 16px; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  pointer-events: none;
  gap: 16px;
}
.brand-standalone {
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: none;
  transition: transform .2s ease;
}
.brand-standalone:hover { transform: translateY(-1px); box-shadow: none; }
.brand-standalone .logo-mark { width: 28px; height: 30px; }

.nav-cta {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-pill);
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: -0.025em;
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: #111; transform: translateY(-1px); }
.nav-cta__status {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: 12px;
}
.nav-cta__status .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live, #79d17a);
  box-shadow: 0 0 0 3px rgba(121,209,122,.22);
  flex-shrink: 0;
}
.nav-cta__sep {
  width: 1px; height: 16px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}
.nav-cta__label {
  color: var(--white);
  display: inline-flex; align-items: center;
}
.nav-cta__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--white); color: var(--ink);
  border-radius: 50%;
  font-size: 13px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s ease;
  margin-left: 2px;
}
.nav-cta:hover .nav-cta__arrow { transform: translateX(2px) rotate(-8deg); background: var(--accent-mist, #9EFF99); }

.navpill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(30px) saturate(1.1);
  -webkit-backdrop-filter: blur(30px) saturate(1.1);
  border: 1px solid rgba(34,34,34,.06);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.15);
}
.navpill .brand {
  display: flex; align-items: center; gap: 8px;
  padding-right: 8px; margin-right: 4px;
  border-right: 1px solid rgba(34,34,34,.1);
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: -0.02em;
}
.navpill .brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 700; font-size: 11px;
}
.navpill a.nav-item {
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.navpill a.nav-item:hover { background: rgba(34,34,34,.06); }
.navpill a.nav-item.active {
  background: var(--ink); color: var(--white);
}
.navpill .status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  margin-left: 4px;
  border-radius: var(--radius-pill);
  background: rgba(158,255,153,.18);
  font-family: "Roboto Flex", sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(100,180,60,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(100,180,60,.55); }
  70% { box-shadow: 0 0 0 6px rgba(100,180,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(100,180,60,0); }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  background: var(--surface);
  padding: 148px var(--gutter) 60px;
  overflow: hidden;
}
.hero--short { padding-bottom: 80px; }
.hero::before {
  /* subtle grain */
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: .6;
}
.hero__cursor {
  display: none;
  position: absolute; pointer-events: none;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(158,255,153,.32), rgba(158,255,153,0) 60%);
  transform: translate(-50%,-50%);
  transition: opacity .3s ease;
  opacity: 0;
  left: 50%; top: 50%;
}
.hero:hover .hero__cursor { opacity: 1; }
.hero__inner { position: relative; max-width: var(--max); margin: 0 auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.hero__eyebrow .slash { color: var(--muted); }

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--gutter) 24px;
  background: var(--bg);
}
.site-footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 48px;
}
.site-footer__row {
  display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
  justify-content: space-between;
}
.site-footer nav { display: flex; gap: 27px; flex-wrap: wrap; }
.site-footer nav a {
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color .15s ease;
}
.site-footer nav a:hover { color: var(--accent-ink); }
.site-footer__brand {
  display: flex; align-items: flex-end; gap: 16px;
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: -0.01em; color: var(--ink);
}
.logo-mark {
  width: 46px; height: 48px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46.38 48'><path d='M41.97 39.19c-2.43 0-4.41 1.97-4.41 4.4s1.97 4.41 4.41 4.41 4.41-1.97 4.41-4.41-1.97-4.4-4.41-4.4ZM26.97 22.54c1.4-.8 2.57-1.9 3.52-3.29 1.38-2.01 2.07-4.3 2.07-6.88 0-2.27-.56-4.34-1.67-6.22-1.11-1.88-2.67-3.37-4.67-4.48-2-1.11-4.34-1.67-7.03-1.67H3C1.34 0 0 1.34 0 3v42c0 1.66 1.34 3 3 3h17.73c2.82 0 5.3-.54 7.43-1.63 2.13-1.09 3.79-2.64 4.96-4.65 1.18-2.01 1.77-4.4 1.77-7.18 0-3.16-.89-5.85-2.67-8.07-1.36-1.7-3.12-3.01-5.26-3.93Z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46.38 48'><path d='M41.97 39.19c-2.43 0-4.41 1.97-4.41 4.4s1.97 4.41 4.41 4.41 4.41-1.97 4.41-4.41-1.97-4.4-4.41-4.4ZM26.97 22.54c1.4-.8 2.57-1.9 3.52-3.29 1.38-2.01 2.07-4.3 2.07-6.88 0-2.27-.56-4.34-1.67-6.22-1.11-1.88-2.67-3.37-4.67-4.48-2-1.11-4.34-1.67-7.03-1.67H3C1.34 0 0 1.34 0 3v42c0 1.66 1.34 3 3 3h17.73c2.82 0 5.3-.54 7.43-1.63 2.13-1.09 3.79-2.64 4.96-4.65 1.18-2.01 1.77-4.4 1.77-7.18 0-3.16-.89-5.85-2.67-8.07-1.36-1.7-3.12-3.01-5.26-3.93Z'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}
.logo-mark--white { background: var(--white); }

/* ——— Sections ——— */
section { position: relative; }
.section { padding: 100px 0; }
.section--tight { padding: 60px 0; }

/* Rule above section */
.section--ruled::before {
  content: ""; display: block;
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto 60px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-24px) translateY(0); }
.reveal--left.is-visible { transform: none; }
.reveal--right { transform: translateX(24px) translateY(0); }
.reveal--right.is-visible { transform: none; }

/* Utility: image placeholder with label */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(34,34,34,.06) 0 1px, transparent 1px 12px),
    #ececec;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid; place-items: center;
}
.ph__label {
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  font-size: 11px; letter-spacing: -0.01em;
  color: var(--muted);
  padding: 8px 12px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Tag pill */
.tag {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(34,34,34,.05);
  font-size: 12px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}

/* Subtle card */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(34,34,34,.12);
}

/* ——— Custom cursor dot (subtle) ——— */
body { cursor: default; }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink);
  pointer-events: none; z-index: 100;
  mix-blend-mode: difference;
  transform: translate(-50%,-50%);
  transition: transform .15s ease, width .2s ease, height .2s ease, opacity .2s ease;
  opacity: 0;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(34,34,34,.35);
  pointer-events: none; z-index: 100;
  transform: translate(-50%,-50%);
  transition: transform .25s ease, width .25s ease, height .25s ease, opacity .3s ease;
  opacity: 0;
}
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* Hover state for cursor */
.cursor-dot.is-hover { width: 0; height: 0; }
.cursor-ring.is-hover { width: 60px; height: 60px; border-color: var(--accent-ink); }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.marquee__track {
  display: flex; gap: 60px;
  padding: 24px 0;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee span {
  font-family: "Manrope", sans-serif;
  font-size: 60px; font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-ink);
  align-self: center;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Vertical rulers inside dark hero */
.ruler-bg {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between;
  padding: 0 72px;
  pointer-events: none;
}
.ruler-bg span {
  display: block;
  width: 1px;
  background: linear-gradient(to bottom, rgba(233,233,233,.35), rgba(34,34,34,.1) 75%);
  opacity: .5;
}

/* Link with arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.arrow-link .arrow {
  display: inline-block;
  transition: transform .25s ease;
}
.arrow-link:hover .arrow { transform: translateX(4px); }

/* ——— Line arrow icons (CSS mask, inherits currentColor) ——— */
:root {
  --ico-arrow-right: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M17%2016L21%2012L17%208M21%2012L3%2012'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-arrow-left: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M7%208L3%2012L7%2016M3%2012L21%2012'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-arrow-up: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M16%207L12%203L8%207M12%203V21'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-arrow-down: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M8%2017L12%2021L16%2017M12%2021L12%203'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-clock: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M12%208V12L15%2015M21%2012C21%2016.9706%2016.9706%2021%2012%2021C7.02944%2021%203%2016.9706%203%2012C3%207.02944%207.02944%203%2012%203C16.9706%203%2021%207.02944%2021%2012Z'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ico {
  display: inline-block; width: 1.05em; height: 1.05em;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
  vertical-align: -0.18em; flex-shrink: 0;
}
.ico--arrow-right { -webkit-mask-image: var(--ico-arrow-right); mask-image: var(--ico-arrow-right); }
.ico--arrow-left  { -webkit-mask-image: var(--ico-arrow-left);  mask-image: var(--ico-arrow-left); }
.ico--arrow-up    { -webkit-mask-image: var(--ico-arrow-up);    mask-image: var(--ico-arrow-up); }
.ico--arrow-down  { -webkit-mask-image: var(--ico-arrow-down);  mask-image: var(--ico-arrow-down); }
.ico--clock       { -webkit-mask-image: var(--ico-clock);       mask-image: var(--ico-clock); }

/* Ensure images never break layout */
img { max-width: 100%; display: block; }

/* ——— Book-a-call modal ——— */
.book-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.book-modal.is-open { display: flex; }
.book-modal__scrim {
  position: absolute; inset: 0;
  background: rgba(20,22,18,.55);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  opacity: 0; transition: opacity .35s ease;
}
.book-modal.is-open .book-modal__scrim { opacity: 1; }
.book-modal__card {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto; overflow-x: hidden;
  background: var(--bg);
  border-radius: var(--radius-hero);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.5);
  padding: 48px;
  transform: translateY(16px) scale(.98);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.book-modal.is-open .book-modal__card { transform: none; opacity: 1; }
.book-modal__close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: "Manrope", sans-serif; font-size: 20px; color: var(--ink);
  cursor: pointer; transition: background .2s, transform .2s;
}
.book-modal__close:hover { background: var(--surface); transform: rotate(90deg); }
.book-modal__head { margin-bottom: 28px; padding-right: 48px; }
.book-modal__head h2 {
  font-family: "Manrope", sans-serif; font-size: 40px; line-height: 1.02;
  letter-spacing: -0.035em; margin: 8px 0 12px; color: var(--ink);
}
.book-modal__head p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 460px; }

/* Booking form */
.book-form { display: flex; flex-direction: column; gap: 24px; }
.book-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.book-form__field { display: flex; flex-direction: column; gap: 10px; }
.book-form__field > label {
  font-family: "Roboto Flex", monospace; font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.book-form__field input[type="text"],
.book-form__field input[type="email"],
.book-form__field input[type="date"],
.book-form__field textarea {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--white);
  padding: 14px 16px;
  font-family: "Manrope", sans-serif; font-size: 16px; letter-spacing: -0.015em;
  color: var(--ink); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.book-form__field input::placeholder,
.book-form__field textarea::placeholder { color: rgba(34,34,34,.32); }
.book-form__field input:focus,
.book-form__field textarea:focus {
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px rgba(115,90,203,.12);
}
.book-form__field textarea { resize: vertical; min-height: 110px; font-family: "Inter", sans-serif; font-size: 15px; line-height: 1.5; }

/* Duration segmented control */
.book-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.book-seg__opt label {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--white);
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -0.02em;
  color: var(--ink); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.book-seg__opt label:hover { border-color: var(--ink); }
.book-seg__ico { width: 16px; height: 16px; opacity: .7; }
.book-seg__opt input:checked + label {
  background: var(--accent-ink); color: var(--white); border-color: var(--accent-ink);
  box-shadow: 0 8px 24px -10px rgba(115,90,203,.6);
}
.book-seg__opt input:checked + label .book-seg__ico { opacity: 1; }
.book-seg__opt input:focus-visible + label { box-shadow: 0 0 0 3px rgba(115,90,203,.25); }

/* Time grid */
.book-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.book-chip input { position: absolute; opacity: 0; pointer-events: none; }
.book-chip label {
  display: flex; align-items: center; justify-content: center;
  padding: 13px 8px; border-radius: var(--radius-card);
  border: 1px solid var(--line); background: var(--white);
  font-family: "Manrope", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  color: var(--ink); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.book-chip label:hover { border-color: var(--ink); }
.book-chip input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.book-chip input:focus-visible + label { box-shadow: 0 0 0 3px rgba(115,90,203,.25); }

.book-form__submit { width: 100%; justify-content: center; padding: 18px; font-size: 15px; margin-top: 4px; }
.book-form__done { margin: 0; font-size: 13px; color: var(--accent-ink); text-align: center; }

@media (max-width: 560px) {
  .book-modal__card { padding: 32px 24px; }
  .book-modal__head h2 { font-size: 32px; }
  .book-form__row { grid-template-columns: 1fr; }
  .book-times { grid-template-columns: repeat(2, 1fr); }
}
