/* ALLCUT — Home page. Builds on site.css tokens; 12-column grid, hairlines, no radius. */

.home-h2 { max-width: 19ch; }
.label--case { text-transform: none; letter-spacing: 0; }

/* section heads sit on the page grid: heading cols 1–7, aside from col 8 (the hero plate line) */
.page-home .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.page-home .section-head > :first-child { grid-column: 1 / span 7; }
.page-home .section-head > :last-child:not(:first-child) { grid-column: 8 / -1; }
.page-home .section-head > a.link-arrow:last-child { justify-self: end; }
.page-home .section-head__aside { max-width: 46ch; }
@media (max-width: 760px) {
  .page-home .section-head > :first-child,
  .page-home .section-head > :last-child:not(:first-child),
  .page-home .section-head > a.link-arrow:last-child { grid-column: 1 / -1; justify-self: start; }
}

/* shared 12-col page grid */
.home-annular__grid,
.home-film__grid,
.home-dealer__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px);
}

/* ───────────── 1. hero slider ───────────── */
.hs {
  --hs-h: clamp(560px, calc(100svh - var(--header-h)), 900px);
  position: relative; height: var(--hs-h); overflow: hidden; background: #0a0a09; color: #fff; isolation: isolate;
}
.hs__track, .hs__slide { position: absolute; inset: 0; }
.hs__slide { opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.hs__slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
html:not(.js) .hs__slide:not(:first-child) { display: none; }

.hs__media { position: absolute; inset: 0; overflow: hidden; }
.hs__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hs__slide.is-on .hs__img { transform: scale(1); }
.hs__slide--cut .hs__img { object-position: 70% 50%; }
/* shade: dark from the bottom-left so white text always reads */
.hs__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,9,.88) 0%, rgba(10,10,9,.62) 38%, rgba(10,10,9,.12) 70%, rgba(10,10,9,0) 100%),
    linear-gradient(0deg, rgba(10,10,9,.85) 0%, rgba(10,10,9,0) 42%);
}

.hs__copy {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: calc(var(--hs-bar) + clamp(28px, 4vw, 56px));
  --hs-bar: 92px;
}
.hs__label { color: var(--dark-1); }
.hs__title { margin-top: 22px; max-width: 13ch; color: #fff; font-size: calc(clamp(44px, 6.4vw, 104px) * var(--fs)); text-wrap: balance; }
.hs__title--main { font-size: calc(clamp(50px, 8vw, 128px) * var(--fs)); line-height: .96; }
.hs__title--main > span { display: block; }
.hero__stop { color: var(--red); }
.hs__text { margin-top: 22px; max-width: 52ch; font-size: calc(clamp(17px, 1.4vw, 20px) * var(--fs)); line-height: 1.55; color: var(--dark-1); text-wrap: pretty; }
.hs__ctas { margin-top: 28px; }
.btn__meta { font: 500 calc(15.3px * var(--fs))/1 var(--f-sans); letter-spacing: 0; color: var(--ink-2); }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--glass .btn__meta { color: var(--dark-2); }
.btn--glass:hover .btn__meta { color: var(--ink-2); }

/* copy enters line by line on the active slide (transform + opacity only) */
.js .hs__copy > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js .hs__slide.is-on .hs__copy > * { opacity: 1; transform: none; }
html.ac-intro-on .hs__slide.is-on .hs__copy > * { opacity: 0; transform: translateY(26px); }  /* wait for the opening animation */
.js .hs__slide.is-on .hs__copy > :nth-child(1) { transition-delay: .25s; }
.js .hs__slide.is-on .hs__copy > :nth-child(2) { transition-delay: .35s; }
.js .hs__slide.is-on .hs__copy > :nth-child(3) { transition-delay: .48s; }
.js .hs__slide.is-on .hs__copy > :nth-child(4) { transition-delay: .58s; }

/* bottom bar: tabs with progress lines + controls */
.hs__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.16); }
.hs__bar-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; height: 92px; }
.hs__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); flex: 1; max-width: 860px; }
.hs__tab {
  position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 20px 0 0;
  background: none; border: 0; color: var(--dark-2); font: 600 calc(16.3px * var(--fs))/1.2 var(--f-sans); text-align: left; cursor: pointer;
  transition: color .2s var(--ease);
}
.hs__tab:hover, .hs__tab[aria-selected="true"] { color: #fff; }
.hs__tab[aria-selected="true"] { font-weight: 700; }
.hs__tab-n { font-size: calc(15.3px * var(--fs)); font-weight: 600; font-variant-numeric: tabular-nums; }
.hs__tab-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs__tab-line { position: absolute; left: 0; right: 20px; top: -1px; height: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.hs__tab-fill { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.hs__tab[aria-selected="true"] .hs__tab-fill { transform: scaleX(var(--p, 1)); }
.hs__ctrl { display: flex; align-items: center; gap: 8px; }
.hs__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.hs__btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hs__btn svg { width: 16px; height: 16px; }
.hs__i-play, .hs__btn[aria-pressed="true"] .hs__i-pause { display: none; }
.hs__btn[aria-pressed="true"] .hs__i-play { display: block; }
.hs :focus-visible { outline-color: #fff; }
html:not(.js) .hs__bar { display: none; }

@media (max-width: 900px) {
  .hs { --hs-h: clamp(560px, calc(100svh - var(--header-h)), 760px); }
  .hs__media::after { background: linear-gradient(0deg, rgba(10,10,9,.92) 0%, rgba(10,10,9,.72) 45%, rgba(10,10,9,.15) 80%); }
  .hs__slide--cut .hs__img { object-position: 40% 50%; }
  .hs__tab-t { display: none; }
  .hs__tab { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .hs__copy { --hs-bar: 72px; }
  .hs__bar-inner { height: 72px; gap: 12px; }
  .hs__ctas .btn { width: 100%; }
  .hs__btn { width: 40px; height: 40px; }
  .hs__text { font-size: calc(16px * var(--fs)); }
  .hs { --hs-h: clamp(700px, calc(100svh - var(--header-h)), 760px); }
}
@media (max-width: 380px) {
  .hs { --hs-h: clamp(740px, calc(100svh - var(--header-h)), 800px); }
  .hs__title--main { font-size: calc(46px * var(--fs)); }
}
@media (prefers-reduced-motion: reduce) {
  .hs__slide, .hs__slide.is-on, .hs__img, .js .hs__copy > * { transition: none !important; }
  .hs__img { transform: none; }
}

/* ───────────── 2. main types: photo tiles ─────────────
   A "bento": the type with the most machines (Magnetic Drills, 17 of 33) is the big tile, the other four are
   square tiles. Every photo is framed for its tile, so <picture> picks the crop (tall 3:5, wide 2:1, 4:5 for the
   big tile; 1:1 for the rest).
     phone  (< 600)        one per row; big tile 4:5, the rest square
     tablet (600 – 1099)   big tile full width (2:1, text on the left), then a 2 x 2 grid of square tiles
     desktop (>= 1100)     3 columns 1.2 : 1 : 1; big tile in column 1, both rows (3:5); the rest 2 x 2
   Default: photo + ink label bar. Hover or keyboard focus: the photo zooms slowly and an ink panel rises with the
   text and a button. The big tile (and every tile on touch screens) shows its line and count all the time. */
.section-head__aside > p { margin-bottom: 18px; }
.types {
  --gap: clamp(12px, 1.2vw, 16px); --bar: 76px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap);
}
.type { min-width: 0; }
.type__card {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
}
.type--hero .type__card { aspect-ratio: 4 / 5; }
.type__media { position: absolute; inset: 0; display: block; }
.type__media picture { display: block; width: 100%; height: 100%; }
.type__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1); transform-origin: 50% 55%; transition: transform .8s var(--ease);
}

/* BeveleX + ProBore share one tile: the two photos sit side by side and fade into each other */
.type__media--pair { background: #15130f; }
.type__media--pair img {
  position: absolute; top: 0; height: 100%; width: 70%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.type__media--pair .type__pair-a { left: -5%; transform-origin: 40% 55%; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 96%); mask-image: linear-gradient(90deg, #000 62%, transparent 96%); }
.type__media--pair .type__pair-b { right: -3%; transform-origin: 60% 55%; -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent 96%); mask-image: linear-gradient(270deg, #000 62%, transparent 96%); }
/* tablet and phone: the tile is square, so the photos are shown whole (not cropped) and fade on all four edges */
@media (max-width: 1099px) {
  .type__media--pair img { width: 68%; height: auto; aspect-ratio: 1 / 1; top: 10%; }
  .type__media--pair .type__pair-a { left: -9%; }
  .type__media--pair .type__pair-b { right: -4%; }
  .type__media--pair .type__pair-a, .type__media--pair .type__pair-b {
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .type__media--pair .type__pair-a { -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 98%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 98%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
  .type__media--pair .type__pair-b { -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent 98%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(270deg, #000 62%, transparent 98%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
}
/* Accessories without an uploaded photo: three adaptor photos (transparent) standing on the dark tile */
.type__media--acc { display: flex; align-items: flex-start; justify-content: center; gap: 4%; padding: 7% 8% 0; background: radial-gradient(ellipse at 50% 40%, #2c2924 0%, #15130f 75%); }
.type__media--acc img { width: auto; max-width: 30%; height: 62%; object-fit: contain; object-position: 50% 0; transition: transform .8s var(--ease); }

/* the label bar: number, name, arrow and a red bar that grows on hover; the big tile adds line + count */
.type__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: var(--bar);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-content: center; align-items: center; column-gap: 14px;
  padding: 0 20px; background: var(--ink);
}
.type__bar::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 40px; background: var(--red);
  transition: width .7s var(--ease);
}
.type__n { font-size: calc(15.3px * var(--fs)); font-weight: 600; color: var(--dark-2); font-variant-numeric: tabular-nums; }
.type__name { min-width: 0; margin: 0; color: #fff; font-size: calc(clamp(22px, 1.8vw, 27px) * var(--fs)); font-weight: 800; letter-spacing: -0.012em; line-height: 1.1; }
.type__go { width: 18px; height: 18px; color: #fff; transition: transform .5s var(--ease), color .3s var(--ease); }
.type--hero .type__name { font-size: calc(clamp(24px, 2.4vw, 35px) * var(--fs)); }
.type__meta { grid-column: 1 / -1; display: none; flex-direction: column; gap: 5px; padding-top: 8px; }
.type__mline { color: #fff; font-size: calc(clamp(19px, 1.5vw, 22px) * var(--fs)); font-weight: 700; letter-spacing: -0.005em; line-height: 1.22; text-wrap: balance; }
.type__mcount { color: #fff; font-size: calc(16px * var(--fs)); font-weight: 700; line-height: 1.3; }
.type--hero .type__meta { display: flex; }
.type--hero { --bar: 150px; }

/* the panel that rises (it stops above the bar) */
.type__panel {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px 20px calc(var(--bar) + 18px); background: rgba(21, 19, 15, .93);
  transform: translateY(101%); transition: transform .7s var(--ease);
}
.type__panel > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.type__line { color: #fff; font-size: calc(clamp(21px, 1.7vw, 25px) * var(--fs)); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
.type__text { display: none; color: var(--dark-1); font-size: calc(16px * var(--fs)); line-height: 1.45; text-wrap: pretty; }
.type__count { color: #fff; font-size: calc(16px * var(--fs)); font-weight: 700; line-height: 1.3; }
.type__subs { display: flex; flex-wrap: wrap; gap: 6px; }
.type__subs > span { padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .36); color: #fff; font-size: calc(15px * var(--fs)); line-height: 1.35; }
.type__btn { margin-top: auto; }
.type__btn svg { transition: transform .4s var(--ease); }
/* the big tile already shows its line and count in the bar; in its panel they stay for screen readers only */
.type--hero .type__line, .type--hero .type__count {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.type--hero .type__panel { padding-top: 28px; gap: 16px; }
.type--hero .type__text { display: block; font-size: calc(clamp(16px, 1.4vw, 21px) * var(--fs)); }
.type--hero .type__subs > span { font-size: calc(16px * var(--fs)); padding: 4px 12px; }
.type__panel > :nth-child(1) { transition-delay: .14s; }
.type__panel > :nth-child(2) { transition-delay: .20s; }
.type__panel > :nth-child(3) { transition-delay: .26s; }
.type__panel > :nth-child(4) { transition-delay: .32s; }
.type__panel > :nth-child(5) { transition-delay: .38s; }

/* the open state: pointer hover, or keyboard focus on the link */
@media (hover: hover) {
  .type__card:hover .type__media img { transform: scale(1.07); }
  .type__card:hover .type__panel { transform: none; }
  .type__card:hover .type__panel > * { opacity: 1; transform: none; }
  .type__card:hover .type__bar::before { width: 100%; }
  .type__card:hover .type__go { transform: translateX(4px); color: var(--red); }
  .type__card:hover .type__btn svg { transform: translateX(3px); }
}
.type__card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.type__card:focus-visible .type__media img { transform: scale(1.07); }
.type__card:focus-visible .type__panel { transform: none; }
.type__card:focus-visible .type__panel > * { opacity: 1; transform: none; }
.type__card:focus-visible .type__bar::before { width: 100%; }
.type__card:focus-visible .type__go { transform: translateX(4px); color: var(--red); }

/* tablet: big tile full width (text on the left, machine on the right), then 2 x 2 */
@media (min-width: 600px) {
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type--hero { grid-column: 1 / -1; }
  .type--hero .type__card { aspect-ratio: 2 / 1; }
  .type--hero { --bar: 0px; }
  .type--hero .type__bar {
    left: 0; right: auto; width: min(58%, 460px); height: auto; padding: 0 26px 26px; background: transparent;
  }
  .type--hero .type__card::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(21, 19, 15, .9) 0%, rgba(21, 19, 15, .66) 34%, rgba(21, 19, 15, 0) 58%),
                linear-gradient(0deg, rgba(21, 19, 15, .6) 0%, rgba(21, 19, 15, 0) 40%);
  }
  .type--hero .type__panel { padding-bottom: 176px; }          /* keeps clear of the line + count that stay on the photo */
  .type--hero .type__text { display: block; max-width: 46ch; }
  .type--hero .type__name { font-size: calc(clamp(30px, 4vw, 40px) * var(--fs)); }
}
/* desktop: 3 columns; the big tile is 3:5 and sets the height of both rows */
@media (min-width: 1100px) {
  .types { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .type--hero { grid-column: 1; grid-row: 1 / span 2; --bar: 150px; }
  .type--hero .type__card { aspect-ratio: 3 / 5; }
  .type--hero .type__card::after { content: none; }
  .type--hero .type__name { font-size: calc(clamp(24px, 2.4vw, 35px) * var(--fs)); }
  .type--hero .type__bar { left: 0; right: 0; width: auto; height: var(--bar); padding: 0 24px; background: var(--ink); }
  .type--hero .type__panel { padding-bottom: calc(var(--bar) + 24px); }
  .type:not(.type--hero) .type__card { aspect-ratio: auto; height: 100%; }
}
/* 1100 – 1279 px the small tiles are about 310 x 305: the panel keeps line, count and button, not the paragraph */
@media (min-width: 1280px), (max-width: 1099px) {
  .type:not(.type--hero) .type__text { display: block; }
}
@media (max-width: 599px) {
  .type__bar { padding: 0 18px; }
  .type--hero { --bar: 76px; }
}

/* touch screens: no hover, so every tile shows its name, line and count over a dark fade */
@media (hover: none) {
  .type__card { display: flex; flex-direction: column; justify-content: flex-end; }
  .type__card::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, rgba(21, 19, 15, .97) 0%, rgba(21, 19, 15, .9) 32%, rgba(21, 19, 15, .5) 52%, rgba(21, 19, 15, 0) 70%);
  }
  .type__bar { position: relative; height: auto; padding: 0 18px 18px; background: transparent; z-index: 3; }
  .type__bar::before { top: -6px; left: 18px; }
  .type__meta { display: flex; }
  .type__panel { display: none; }
}
@media (hover: none) and (min-width: 600px) {
  .type:not(.type--hero) .type__card { aspect-ratio: 1 / 1; height: auto; }
  .type--hero .type__bar { position: absolute; }
  .type--hero .type__bar::before { top: -6px; left: 26px; }
}
@media (hover: none) and (min-width: 1100px) {
  .type--hero .type__card::after, .type__card::after {
    background: linear-gradient(0deg, rgba(21, 19, 15, .97) 0%, rgba(21, 19, 15, .9) 26%, rgba(21, 19, 15, .5) 42%, rgba(21, 19, 15, 0) 58%);
  }
  .type--hero .type__bar { position: relative; height: auto; padding: 0 24px 24px; background: transparent; }
  .type:not(.type--hero) .type__card { height: 100%; aspect-ratio: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .type__media img, .type__card:hover .type__media img, .type__card:focus-visible .type__media img { transform: none; transition: none; }
  .type__panel, .type__panel > *, .type__bar::before, .type__go, .type__btn svg { transition: none !important; }
  .type__panel { transform: none; opacity: 0; }
  .type__card:hover .type__panel, .type__card:focus-visible .type__panel { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (hover: none) {
  .type__panel { opacity: 1; }
}

/* ───────────── 3. annular cutting ───────────── */
.home-annular__grid { row-gap: 40px; }
.home-annular__fig { grid-column: 1 / span 6; }
.home-annular__img { background: var(--tint); overflow: hidden; }
.home-annular__img--crop { aspect-ratio: 3 / 2; }
.home-annular__img--crop img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.home-annular__copy { grid-column: 8 / -1; }

.xsec { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--ink); padding-top: 20px; }
.xsec__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.xsec__item { margin: 0; display: flex; align-items: flex-start; gap: 16px; }
.xsec__svg { width: 84px; height: 84px; flex: none; }
.xsec__item figcaption { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.xsec__note { font-size: calc(15.3px * var(--fs)); font-weight: 500; line-height: 1.5; color: var(--ink-2); }

.points { margin-top: 22px; border-top: 1px solid var(--ink); }
.points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 15px 0 16px; border-bottom: 1px solid var(--rule); }
.points__n { padding-top: 4px; color: var(--red-ink); font-weight: 700; }
.points__t { font-size: calc(19px * var(--fs)); font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.points p { margin: 4px 0 0; font-size: calc(16.3px * var(--fs)); font-weight: 500; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.home-annular__more { margin-top: 24px; }

@media (max-width: 1100px) {
  .home-annular__fig { grid-column: 1 / span 6; }
  .home-annular__copy { grid-column: 7 / -1; }
}
@media (max-width: 860px) {
  .home-annular__fig, .home-annular__copy { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .xsec { grid-template-columns: 1fr; gap: 14px; }
}

/* ───────────── 4. featured machines ───────────── */
.cards.home-cards { --cols: 4; }
/* keep every card's image in the same box so names and figures line up across the row */
.home-cards .card__media { position: relative; aspect-ratio: 1 / 1; padding: 0; }
.home-cards .card__media img { position: absolute; inset: 6% 12%; width: 76%; height: 88%; max-height: none; object-fit: contain; object-position: center bottom; }
.home-cards .card__range { display: flex; align-items: center; min-height: 28px; }   /* the badge row keeps the names level across the row */
@media (max-width: 760px) { .cards.home-cards { --cols: 2; } }

/* Homepage arrival is kept separate from the catalogue and its Machine Reel. */
.home-arrival { scroll-margin-top: calc(var(--header-h) + 20px); }
.home-arrival__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); row-gap: 24px; align-items: start; }
.home-arrival__head { grid-column: 1; grid-row: 1; }
.home-arrival__head .label { margin: 0; }
.home-arrival__title { margin-top: 18px; font-size: calc(clamp(44px, 5.6vw, 80px) * var(--fs)); }
.home-arrival__sub { margin-top: 10px; font-size: calc(22px * var(--fs)); font-weight: 600; }
.home-arrival__head .body { margin-top: 20px; max-width: 48ch; }
.home-arrival__figure { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 24px); }
.home-arrival__badge { margin: 0; }
.home-arrival__image { position: relative; display: flex; justify-content: center; padding: 16px 32px 28px; background: radial-gradient(ellipse at 50% 85%, #e9e7e1 0%, #f5f4ef 44%, #fafaf8 74%); }
.home-arrival__image img { width: auto; height: auto; max-width: 100%; max-height: 660px; object-fit: contain; }
.home-arrival__detail { grid-column: 1; grid-row: 2; min-width: 0; }
/* Carry the existing ink palette across the complete New Arrival section. */
.home-arrival.is-new { background: var(--ink); color: var(--dark-1); --rule: var(--dark-line); --rule-2: var(--dark-line); }
.home-arrival.is-new .body,
.home-arrival.is-new .label,
.home-arrival.is-new .specs__k { color: var(--dark-2); }
.home-arrival.is-new .label--ink,
.home-arrival.is-new .specs__v,
.home-arrival.is-new .link-arrow,
.home-arrival.is-new .btn--ghost { color: var(--dark-1); }
.home-arrival.is-new .btn--ghost { border-color: var(--dark-2); }
.home-arrival.is-new .btn--ghost:hover { background: var(--ink-2); border-color: var(--dark-1); }
.home-arrival.is-new .link-arrow:hover { color: var(--white); }

.home-arrival.is-new .home-arrival__image { background: var(--arrival-bg); }
.home-arrival.is-new .home-arrival__image::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--red); z-index: 1; }
.home-arrival__figures { margin: 0; border-top: 1px solid var(--rule); }
.home-arrival__benefits { display: grid; gap: 10px; margin-top: 24px; padding-left: 20px; font-size: calc(16px * var(--fs)); line-height: 1.55; }
.home-arrival__actions { margin-top: 28px; }
.home-arrival__download { margin-top: 22px; }
.home-arrival__specs { margin-top: 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.home-arrival__specs summary { padding: 18px 0; cursor: pointer; font-size: calc(17px * var(--fs)); font-weight: 600; }
.home-arrival__specs .specs { padding-bottom: 18px; }
@media (max-width: 860px) {
  .home-arrival__grid { grid-template-columns: minmax(0, 1fr); }
  .home-arrival__head, .home-arrival__figure, .home-arrival__detail { grid-column: 1; grid-row: auto; }
  .home-arrival__figure { position: static; }
  .home-arrival__image img { max-height: 480px; }
  .home-arrival__image { padding: 16px 24px 28px; }
}

/* ALLCUT 40 video: the photo with a play button; the YouTube frame loads only after a click (home.js) */
.home-arrival__image--video { position: relative; display: block; padding: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.home-arrival__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.home-arrival__image--video .home-arrival__play img { height: 100%; width: auto; max-width: 100%; max-height: none; }
.home-arrival__play .vid__badge { position: absolute; left: 0; bottom: 0; margin: 0 0 16px 16px; }
.home-arrival__play:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.home-arrival__play:hover .vid__icon, .home-arrival__play:focus-visible .vid__icon { background: var(--red); }
.home-arrival__image--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--ink); }

/* product finder link under the arrival */
.home-finder__row { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.home-finder__title { margin: 0; }
.home-finder__text { margin: 8px 0 0; max-width: 56ch; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 599px) { .home-finder__row .btn { width: 100%; } }

/* ───────────── 5. film ───────────── */
.home-film__grid { grid-template-rows: auto 1fr; row-gap: 0; align-items: start; }
.home-film__head { grid-column: 1 / span 4; grid-row: 1; }
.home-film__head .label, .home-dealer__head .label { margin: 0; }
.home-film__head .h2 { margin-top: 18px; }
.home-film__head .body { margin: 20px 0 0; }
.home-film__detail { grid-column: 1 / span 4; grid-row: 2; padding-top: 24px; }
.home-film__links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
.home-film__fig { grid-column: 6 / -1; grid-row: 1 / span 2; }

.vid { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.vid__el { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.vid__play {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.vid__play[hidden] { display: none; }
.vid__play:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.vid__badge { display: inline-flex; align-items: stretch; margin: 0 0 20px 20px; background: var(--paper); color: var(--ink); }
.vid__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink); color: var(--white); transition: background-color .15s var(--ease); }
.vid__icon svg { width: 14px; height: 14px; }
.vid__text { display: flex; align-items: center; padding: 0 18px; font: 600 calc(15px * var(--fs))/1 var(--f-sans); letter-spacing: -0.005em; }
.vid__play:hover .vid__icon, .vid__play:focus-visible .vid__icon { background: var(--red); }

@media (max-width: 1100px) {
  .home-film__head, .home-film__detail { grid-column: 1 / span 5; }
  .home-film__fig { grid-column: 6 / -1; }
}
@media (max-width: 860px) {
  .home-film__grid { grid-template-rows: none; }
  .home-film__head, .home-film__detail, .home-film__fig { grid-column: 1 / -1; grid-row: auto; }
  .home-film__fig { margin-top: 28px; }
}

/* ───────────── 6. made in Bhavnagar ───────────── */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.facts__item { padding: 16px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.facts__item + .facts__item { padding-left: 24px; border-left: 1px solid var(--rule); }
.facts__v { margin-top: 14px; font-size: calc(clamp(40px, 4.4vw, 64px) * var(--fs)); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.facts__t { margin-top: 12px; max-width: 30ch; font-size: calc(16.3px * var(--fs)); font-weight: 500; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

.works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px; margin-top: clamp(40px, 5vw, 64px); }
.works__img { aspect-ratio: 5 / 4; overflow: hidden; background: var(--tint); }
.works__img img { width: 100%; height: 100%; object-fit: cover; }
.works__cap { display: flex; gap: 10px; margin-top: 10px; font-size: calc(15.3px * var(--fs)); font-weight: 500; line-height: 1.45; color: var(--ink-2); }
.works__cap .label { flex: none; font-weight: 700; color: var(--ink); line-height: 1.45; }

@media (max-width: 1100px) {
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts__item:nth-child(even) { padding-right: 0; }
}
@media (max-width: 560px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .facts__item, .facts__item + .facts__item { padding-left: 0; padding-right: 12px; }
  .facts__item:nth-child(even) { padding-left: 14px; }
}

/* ───────────── 7. dealers ───────────── */
.home-dealer { background: var(--tint); border-top: 1px solid var(--rule); }
.home-dealer__inner { align-items: end; row-gap: 24px; }
.home-dealer__head { grid-column: 1 / span 6; }
.home-dealer__head .h2 { margin-top: 18px; }
.home-dealer__body { grid-column: 8 / -1; }
.home-dealer__body .body { margin-bottom: 24px; }
@media (max-width: 860px) {
  .home-dealer__head, .home-dealer__body { grid-column: 1 / -1; }
}
