/* Valeri Hair & Beauty: public site styles */

/* Self-hosted fonts (SIL Open Font License): Bodoni Moda, Instrument Serif, Archivo */
@font-face { font-family: 'Bodoni Moda'; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/bodoni-moda.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-italic.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/archivo.woff2) format('woff2'); }


:root {
  --blush: #EBCBC5;
  --rose: #DDA89D;
  --petal: #F3DDD7;
  --cream: #F6EEE9;
  --latte: #CFB39B;
  --clay: #A8705E;
  --cocoa: #4A3228;
  --ink: #241813;
  --frame: #2E1E17;
  --rule: rgba(36, 24, 19, .22);

  --bg: var(--blush);
  --fg: var(--ink);

  --f-mark: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 3.2vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1s var(--ease-out), color 1s var(--ease-out);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--blush); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.label {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.italic { font-family: var(--f-serif); font-style: italic; }
.caps { text-transform: uppercase; }
.b { font-family: var(--f-sans); font-weight: 700; letter-spacing: -.01em; }
.link-italic {
  font-family: var(--f-serif); font-style: italic; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  font-size: clamp(20px, 1.6vw, 24px); line-height: 1.05; letter-spacing: -.01em;
}
.link-italic:hover { text-decoration-thickness: 2px; }

.wordmark {
  font-family: var(--f-mark);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -.035em;
  line-height: .82;
  margin: 0;
}

/* Mixed italic-serif + bold-grotesk lines, e.g. "go BOOK" */
.duo { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.12; margin: 0; }
.duo .italic { text-transform: uppercase; letter-spacing: -.02em; }
.duo .b { text-transform: uppercase; }
.duo a { text-decoration: none; }
.duo a:hover .b { text-decoration: underline; text-underline-offset: 4px; }

.statement {
  text-align: center;
  font-size: clamp(34px, 5.2vw, 78px);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
}
.statement .b { font-size: .96em; letter-spacing: -.03em; }

.prose {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.22;
  letter-spacing: -.01em;
  text-align: center;
  max-width: 24em;
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  /* same timing as the body so the bar never lags behind the page colour */
  transition: transform .6s var(--ease-out), background-color 1s var(--ease-out), color 1s var(--ease-out);
}
/* Hides while scrolling down, comes back (with a background) scrolling up */
.site-header.is-scrolled { background: var(--bg); }
.site-header.is-hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px); min-width: 0; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a.is-current { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 14px; letter-spacing: 0; }
.nav .dash { width: 38px; height: 1px; background: currentColor; flex: none; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor; border-radius: 50%;
  padding: 10px 20px; min-width: 76px;
  text-decoration: none;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.pill:hover { background: var(--fg); color: var(--bg); }
.header-mark {
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  font-family: var(--f-mark); font-weight: 500; letter-spacing: -.04em;
  font-size: 38px; line-height: 1; text-decoration: none; flex: none;
}

@media (max-width: 820px) {
  .site-header { padding: 12px 16px; }
  .nav .dash, .nav .nav-extra { display: none; }
  .nav { gap: 14px; }
  .nav .label { font-size: 11px; }
  .nav a.is-current { font-size: 13px; }
  .pill { padding: 8px 14px; min-width: 0; }
  .header-mark { font-size: 30px; }
}
@media (max-width: 400px) {
  .nav a[data-hide-xs] { display: none; }
}

/* Home: the corner wordmark only appears once the big one has scrolled away */
.site-header.hide-mark .header-mark { opacity: 0; transform: translateY(-6px); pointer-events: none; }

/* ---------- Layout ---------- */
main { display: block; }
.section { position: relative; padding: clamp(80px, 12vw, 180px) var(--gutter); }
.center { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--gutter) 48px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-mark {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 100%;
}
/* "Val" [arched photo] "eri": the full name stays readable */
.hero-word {
  display: flex; align-items: center; justify-content: center;
  gap: .05em;
  font-size: min(26vw, 400px);
  white-space: nowrap;
  position: relative; z-index: 1;
}
.hero-word .half { display: inline-flex; }
.hero-word .half span { display: inline-block; }
.frame.hero-img {
  display: block; flex: none;
  width: .64em; aspect-ratio: 3 / 4.2;
  margin: 0 .03em;
  position: relative; z-index: 2;
  transform: translateY(.06em);
}
.hero-foot { display: flex; align-items: end; justify-content: flex-end; gap: 24px; position: relative; z-index: 3; text-align: right; }
.arrow-down { width: 22px; height: 46px; }

@media (max-width: 820px) {
  .hero { padding-top: 96px; }
  /* Phones: stack "Val" / photo / "eri" so everything can be big */
  .hero-word { flex-direction: column; align-items: stretch; font-size: 44vw; gap: 0; line-height: .8; }
  .hero-word .half:first-child { align-self: flex-start; margin-left: -.02em; }
  .hero-word .half:last-child { align-self: flex-end; margin-right: -.02em; }
  /* equal, lighter overlap with "Val" above and "eri" below */
  .frame.hero-img { width: .74em; align-self: center; margin: -.1em 0 -.2em; transform: none; }
  .hero-foot { justify-content: flex-end; }
}

/* ---------- Frames (arch / square / oval / tall) ---------- */
.frame { position: relative; overflow: hidden; background: var(--frame); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.arch { border-radius: 999px 999px 0 0; }
.frame.oval { border-radius: 50%; }
.frame.bowl { border-radius: 0 0 999px 999px; }
.frame.arch-bowl { border-radius: 999px 999px 999px 999px / 38% 38% 38% 38%; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.reveal-img.is-in img { transform: scale(1); }

/* ---------- Staggered tile grid ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: clamp(60px, 8vw, 120px);
  max-width: 1500px;
  margin: 0 auto;
}
.tile { display: flex; flex-direction: column; gap: 22px; text-decoration: none; }
.tile .frame { width: 100%; }
.tile .meta { display: flex; flex-direction: column; gap: 4px; }
.tile .meta .from { font-family: var(--f-sans); font-size: 12px; text-transform: uppercase; margin-top: 4px; opacity: .8; }
.tile:hover .link-italic { text-decoration-thickness: 2px; }
.tile .frame img { transition: transform 1.2s var(--ease-out); }
.tile:hover .frame img { transform: scale(1.04); }

.t1 { grid-column: 2 / span 4; }   .t1 .frame { aspect-ratio: 3 / 3.9; }
.t2 { grid-column: 8 / span 3; margin-top: 18%; } .t2 .frame { aspect-ratio: 1 / 1.1; }
.t3 { grid-column: 6 / span 4; }   .t3 .frame { aspect-ratio: 1 / 1.2; }
.t4 { grid-column: 10 / span 3; margin-top: 16%; } .t4 .frame { aspect-ratio: 4 / 5.4; }
.t5 { grid-column: 1 / span 3; margin-top: -22%; } .t5 .frame { aspect-ratio: 1 / 1.15; }
.t6 { grid-column: 5 / span 4; margin-top: -4%; } .t6 .frame { aspect-ratio: 3 / 3.9; }

@media (max-width: 820px) {
  .tiles { grid-template-columns: 1fr; row-gap: 64px; }
  .tile { grid-column: auto !important; margin-top: 0 !important; }
  .t2, .t5 { width: 76%; }
  .t4 { width: 80%; margin-left: auto !important; }
}

/* ---------- Lockup ---------- */
.lockup { display: inline-flex; align-items: baseline; gap: .12em; font-size: clamp(26px, 2.6vw, 36px); }
.lockup .b { text-transform: uppercase; letter-spacing: -.03em; }
.lockup .wm { font-family: var(--f-mark); font-weight: 500; letter-spacing: -.03em; }

/* ---------- CTA row with line drawing ---------- */
.cta-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: 1500px; margin: 0 auto; }
.cta-row .duo { display: flex; flex-direction: column; gap: 10px; }
.arrow-pill { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 36px; border: 1.5px solid currentColor; border-radius: 50%; margin-left: 8px; vertical-align: middle; transition: background-color .4s var(--ease-out), color .4s var(--ease-out); }
a:hover .arrow-pill { background: var(--fg); color: var(--bg); }
.arrow-pill svg { width: 30px; }
.drawing { width: clamp(90px, 10vw, 150px); height: auto; }
.drawing path, .drawing circle, .drawing line, .drawing ellipse { vector-effect: non-scaling-stroke; }

/* ---------- Rotating badge ---------- */
.badge {
  position: relative; display: grid; place-items: center;
  width: clamp(150px, 15vw, 220px); aspect-ratio: 1;
  border-radius: 50%; background: var(--rose); color: var(--ink);
  text-decoration: none; overflow: hidden;
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-family: var(--f-sans); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.badge text .ser { font-family: var(--f-serif); font-weight: 400; font-size: 17px; letter-spacing: .02em; }
.badge .inner { width: 44%; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Offers strip on home ---------- */
.offer-strip { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1200px; margin: 0 auto; }
.offer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.offer-list li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.offer-list .hl { font-family: var(--f-sans); font-weight: 700; text-transform: uppercase; font-size: 14px; white-space: nowrap; }
.offer-list .t { font-size: clamp(22px, 2vw, 28px); font-style: italic; }
@media (max-width: 820px) { .offer-strip { grid-template-columns: 1fr; justify-items: center; } .offer-list { width: 100%; } }

/* ---------- Footer with 3D ring ---------- */
.site-footer {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 120px var(--gutter) 28px;
  gap: 40px;
}
.ring-wrap { display: grid; place-items: center; min-height: 240px; overflow: hidden; }
/* Text ring: each letter is placed by site.js every frame (no CSS 3D, which
   iOS Safari draws out of order). */
.ring { position: relative; transform: rotate(-5deg); }
.ring span {
  position: absolute; left: 50%; top: 50%;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1;
  white-space: pre; will-change: transform, opacity;
}
.ring span.s { font-family: var(--f-sans); font-weight: 700; letter-spacing: -.02em; }
.ring span.r { font-family: var(--f-serif); }
.footer-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2.4vw, 40px); position: relative; }
.footer-nav .up { position: absolute; right: 0; bottom: 0; width: 24px; height: 50px; }
.footer-info {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  font-size: 16px; line-height: 1.4;
  border-top: 1px solid currentColor; padding-top: 18px;
}
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-info .label { display: block; margin-bottom: 6px; font-size: 11px; }
.footer-info > :last-child { text-align: right; }
.hours-list { display: grid; grid-template-columns: auto auto; gap: 0 14px; justify-content: start; }
@media (max-width: 820px) {
  .footer-info { grid-template-columns: 1fr; text-align: center; }
  .footer-info > :last-child { text-align: center; }
  .hours-list { justify-content: center; }
  .footer-nav { flex-wrap: wrap; }
  .footer-nav .dash { display: none; }
  .footer-nav .up { position: static; }
}

/* ---------- Page wipe transition ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--wipe, var(--cocoa));
  clip-path: inset(0 0 0 100%);
}
.wipe.in { clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-inout); }
.wipe.out { clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease-inout); }
html.is-entering .wipe { clip-path: inset(0 0 0 0); }

/* ---------- Split text ---------- */
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Page heads ---------- */
.page-head { padding: 150px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.page-head .wordmark { font-size: clamp(90px, 19vw, 300px); }
.page-head .intro { min-width: 0; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head .intro p { margin: 0; max-width: 30em; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }

/* ---------- Services menu ---------- */
.jump { display: flex; gap: 10px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.jump a { text-decoration: none; }
.menu-group { padding: 60px var(--gutter) 40px; }
.menu-cat {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gutter); padding: 48px 0; border-top: 1px solid var(--rule);
  max-width: 1500px; margin: 0 auto;
}
.menu-cat h2 { margin: 6px 0 12px; font-family: var(--f-serif); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 4.6vw, 72px); line-height: .95; letter-spacing: -.02em; }
.menu-cat .blurb { font-style: italic; font-size: 20px; max-width: 22em; margin: 0; }
.price-table { width: 100%; border-collapse: collapse; font-size: 19px; }
.price-table th { font-family: var(--f-sans); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; text-align: right; padding: 0 0 10px 10px; vertical-align: bottom; }
.price-table th:first-child { text-align: left; padding-left: 0; }
.price-table td { padding: 12px 0 12px 10px; border-top: 1px solid var(--rule); text-align: right; white-space: nowrap; vertical-align: baseline; }
.price-table td:first-child { text-align: left; padding-left: 0; white-space: normal; width: 100%; }
.price-table .svc { font-size: 21px; }
.price-table .dur { display: block; font-family: var(--f-sans); font-size: 11px; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.price-table .desc { display: block; font-style: italic; font-size: 16px; opacity: .85; margin-top: 2px; }
.price-table .book { font-style: italic; text-transform: uppercase; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; padding-left: 18px; }
.price-table .opts { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; }
.price-table .opts span small { font-family: var(--f-sans); font-size: 10px; text-transform: uppercase; margin-right: 5px; }
.menu-note { max-width: 1500px; margin: 0 auto; padding: 24px 0 0; font-size: 15px; font-style: italic; border-top: 1px solid var(--rule); }
@media (max-width: 900px) {
  .menu-cat { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .price-table { font-size: 17px; }
  .price-table .svc { font-size: 19px; }
  .price-table th:not(:first-child), .price-table td:not(:first-child) { padding-left: 8px; }
  .price-table .book { padding-left: 10px; font-size: 13px; }
  .price-table.matrix { font-size: 15px; }
}

/* ---------- Offers page ---------- */
.offer-cards { display: grid; gap: 0; max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter) 80px; }
.offer-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: var(--gutter); align-items: end; padding: 48px 0; border-top: 1px solid var(--rule);
}
.offer-card .big { font-family: var(--f-mark); font-weight: 500; font-size: clamp(64px, 9vw, 150px); line-height: .85; letter-spacing: -.04em; margin: 0; }
.offer-card h2 { font-family: var(--f-sans); font-weight: 700; text-transform: uppercase; font-size: 15px; margin: 0 0 8px; letter-spacing: .01em; }
.offer-card p { margin: 0; font-size: 22px; line-height: 1.2; }
.offer-card .terms { font-size: 15px; font-style: italic; margin-top: 10px; opacity: .85; }
.offer-card .act { justify-self: end; }
@media (max-width: 820px) {
  .offer-card { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .offer-card .act { justify-self: start; }
}

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.about-hero .left { display: grid; place-items: center; align-content: center; gap: 40px; padding: 130px var(--gutter) 60px; }
.about-hero .left .frame { width: clamp(200px, 20vw, 300px); aspect-ratio: 4 / 5; }
.about-hero .right { position: relative; min-height: 60svh; }
.about-hero .right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hero .statement { font-size: clamp(28px, 3.4vw, 52px); }
@media (max-width: 820px) { .about-hero { grid-template-columns: 1fr; } .about-hero .right { min-height: 80svh; } }

.collage { position: relative; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.collage .c1 { grid-column: 2 / span 3; aspect-ratio: 3 / 4.2; }
.collage .c2 { grid-column: 3 / span 3; grid-row: 2; aspect-ratio: 3 / 4.2; margin-top: -45%; z-index: 2; }
.collage .c3 { grid-column: 7 / span 4; grid-row: 1; aspect-ratio: 4 / 3; align-self: start; }
.collage .c3-wrap { grid-column: 7 / span 4; grid-row: 1 / span 2; position: relative; display: flex; flex-direction: column; gap: 40px; }
.collage .c3-wrap .frame { aspect-ratio: 4 / 3; }
.collage .c3-wrap .badge { position: absolute; right: -12%; top: 0; transform: translateY(-45%); }
.collage .caption { font-style: italic; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; max-width: 21em; margin: 0; }
@media (max-width: 820px) {
  .collage { grid-template-columns: 1fr; row-gap: 32px; }
  .collage .c1, .collage .c2, .collage .c3-wrap { grid-column: auto; grid-row: auto; margin: 0; }
  .collage .c1 { width: 70%; }
  .collage .c2 { width: 62%; margin: -30% 0 0 auto; }
  .collage .c3-wrap .badge { right: 0; width: 120px; }
}

.swoosh { display: block; width: min(360px, 70vw); margin: 20px auto 0; overflow: visible; }

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-img { clip-path: none; }
  .reveal-img img { transform: none; }
}

@media (max-width: 820px) {
  .jump { gap: 8px; }
  .jump .pill { padding: 8px 14px; font-size: 11px; }
}
@media (max-width: 820px) {
  .page-head { grid-template-columns: 1fr !important; padding-top: 110px; }
  .page-head .wordmark { font-size: clamp(64px, 21vw, 140px); }
  .page-head .badge { width: 130px; justify-self: end; margin-top: -40px; }
}

/* ---------- Phone spacing ---------- */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .section { padding: 72px 16px; }
  .tiles { row-gap: 48px; }
  .tile { gap: 14px; }
  .cta-row { align-items: center; }
  .offer-strip { gap: 28px; }
  .site-footer { min-height: 0; padding: 88px 16px 24px; gap: 32px; }
  .ring-wrap { min-height: 180px; }
  .ring span { font-size: 30px; }
  .menu-group { padding: 32px 16px 24px; }
  .menu-cat h2 { font-size: 40px; }

  /* Price grids: treatment name on its own line, prices in a row beneath */
  .price-table.matrix thead tr,
  .price-table.matrix tbody tr {
    display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)) auto;
    column-gap: 6px; border-top: 1px solid var(--rule); padding: 10px 0 12px;
  }
  .price-table.matrix thead tr { border-top: 0; padding-top: 0; }
  .price-table.matrix th, .price-table.matrix td { border: 0; padding: 0; text-align: left; }
  .price-table.matrix th:first-child, .price-table.matrix td:first-child { grid-column: 1 / -1; padding-bottom: 6px; }
  .price-table.matrix thead th:first-child { display: none; }
  .price-table.matrix td:not(:first-child) { font-size: 18px; }
  .price-table.matrix td:last-child, .price-table.matrix th:last-child { text-align: right; }
  .price-table.matrix .book { padding-left: 0; }
}
