/* =========================================================
   TGA Craftworks — modules used by the inner pages
   ========================================================= */
.ap__more {
  display: inline-flex !important; gap: 0.5rem; align-items: center; width: fit-content; padding-bottom: 2px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; border-bottom: 1px solid currentColor;
}

/* section scaffolding */
.section { position: relative; z-index: 30; background: var(--bg); color: var(--ink); padding: 7rem var(--pad); }
@media (min-width: 1024px) { .section { padding: 10rem 2.5rem; } }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--bg); }
.sec-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .sec-head { display: grid; grid-template-columns: 2fr 10fr; align-items: start; margin-bottom: 5rem; } }
.sec-head__h { font-size: clamp(2.5rem, 7vw, 6.5rem); line-height: 0.94; }
.sec-head__h.sans { font-family: var(--sans); font-size: clamp(2.25rem, 5.5vw, 5.5rem); line-height: 0.92; letter-spacing: -0.05em; }
.sec-head__sub { margin-top: 1.25rem; max-width: 34rem; font-size: 0.9375rem; line-height: 1.45; }
@media (min-width: 1024px) { .sec-head__sub { font-size: 1.125rem; } }

/* statement — words light up on scroll */
.stm { position: relative; z-index: 30; background: var(--bg); color: var(--ink); padding: 9rem var(--pad) 7rem; }
@media (min-width: 1024px) { .stm { padding: 14rem 2.5rem 10rem; } }
.stm__inner { position: relative; z-index: 40; }
.stm__text { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.02; letter-spacing: -0.045em; }
@media (min-width: 1024px) { .stm__text { font-size: 4.4vw; line-height: 0.95; } }
.stm__w, .stm__wi { display: inline; }
.stm__aside { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .stm__aside { grid-template-columns: 1fr 1fr; align-items: end; margin-top: 4rem; } }
.stm__aside p { max-width: 26rem; font-size: 0.9375rem; line-height: 1.45; }
@media (min-width: 1024px) { .stm__aside p { font-size: 1.125rem; } }
.stm__img { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 24px; }
.stm__img img { width: 100%; height: 100%; object-fit: cover; }

/* spec / comparison table */
.spec-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-scroll .spec { min-width: 560px; }
.spec__row {
  position: relative; display: grid; grid-template-columns: 1.1fr repeat(var(--cols, 3), 1fr); gap: 0.75rem;
  align-items: center; padding: 1.1rem 0; font-size: 0.8125rem;
}
@media (min-width: 1024px) { .spec__row { grid-template-columns: 2fr repeat(var(--cols, 3), 1fr); padding: 1.5rem 0; font-size: 1rem; } }
.spec__row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: currentColor; opacity: 0.22;
  transform: scaleX(var(--rule, 1)); transform-origin: left;
}
.spec__row--head .spec__cell:not(:first-child) { font-size: clamp(1rem, 2vw, 1.75rem); letter-spacing: -0.03em; }
.spec__cell:first-child { font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.75; }
@media (min-width: 1024px) { .spec__cell:first-child { font-size: 11px; } }
.pips { display: inline-flex; gap: 4px; }
.pips i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; opacity: 0.35; }
.pips i.on { background: currentColor; opacity: 1; }
@media (min-width: 1024px) { .pips { gap: 6px; } .pips i { width: 12px; height: 12px; } }

/* included services grid */
.incl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .incl { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .incl { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.incl__item {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  aspect-ratio: 1 / 1.05; padding: 1.1rem; border-radius: 22px; background: var(--surface);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-radius 0.6s var(--ease);
}
.incl__item:hover { background: var(--ink); color: var(--on-ink); border-radius: 40px; }
.incl__item img { width: 58%; max-height: 45%; height: auto; object-fit: contain; filter: brightness(0) invert(0.86); transition: filter 0.5s; }
.incl__item:hover img { filter: brightness(0) invert(0.08); }
.incl__item h3 { font-weight: 500; font-size: 0.95rem; line-height: 1.1; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .incl__item h3 { font-size: 1.15rem; } }
.incl__item small { display: block; margin-top: 0.4rem; font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.6; }
.incl__num { position: absolute; top: 1.1rem; right: 1.1rem; font-size: 11px; opacity: 0.45; font-variant-numeric: tabular-nums; }

/* before / after slider */
.ba { --pos: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 28px; background: #ddd; user-select: none; }
@media (max-width: 767px) { .ba { aspect-ratio: 4 / 3; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: #fff; pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); pointer-events: none;
  display: flex; align-items: center; justify-content: center; gap: 4px; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: #fff; color: var(--on-ink); font-size: 0.8rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__tag {
  position: absolute; top: 1.25rem; padding: 0.5rem 0.9rem; border-radius: 999px; pointer-events: none;
  background: rgba(15, 14, 13, 0.6); color: var(--ink); backdrop-filter: blur(8px);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
}
.ba__tag--l { left: 1.25rem; }
.ba__tag--r { right: 1.25rem; }
.ba-caps { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .ba-caps { grid-template-columns: 1fr 1fr; } .ba-caps p:last-child { justify-self: end; text-align: right; } }
.ba-caps p { max-width: 26rem; font-size: 0.9375rem; line-height: 1.4; }
.ba-caps b { display: block; margin-bottom: 0.4rem; font-weight: 500; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; }

/* tint shade selector */
.shades { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .shades { grid-template-columns: 7fr 5fr; gap: 1.5rem; } }
.shades__view { position: relative; overflow: hidden; min-height: 300px; aspect-ratio: 16 / 10; border-radius: 28px; }
.shades__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shades__veil { position: absolute; inset: 0; background: #0e0d0c; opacity: 0; transition: opacity 0.9s var(--ease); }
.shades__label { position: absolute; left: 1.25rem; bottom: 1.25rem; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; }
.shades__panel { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.5rem; border-radius: 28px; background: var(--surface); color: var(--ink); }
@media (min-width: 768px) { .shades__panel { padding: 2.25rem; } }
.shades__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shades__btn {
  min-width: 3.75rem; height: 3.75rem; padding: 0 0.75rem; border-radius: 999px; border: 1px solid rgba(237, 230, 214, 0.4);
  font-size: 0.9rem; font-variant-numeric: tabular-nums; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.shades__btn:hover { border-color: var(--ink); }
.shades__btn[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.shades__stats { display: grid; gap: 1.1rem; }
.shades__stat { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: end; }
.shades__stat span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.7; }
.shades__stat output { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.shades__bar { grid-column: 1 / -1; height: 2px; background: rgba(237, 230, 214, 0.18); }
.shades__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* contact */
.contact { position: relative; z-index: 30; background: var(--bg); padding: 0.75rem; }
@media (min-width: 768px) { .contact { padding: 1.25rem; } }
@media (min-width: 1024px) { .contact { padding: 2rem; } }
.contact__grid { display: grid; gap: 12px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 5fr 7fr; min-height: calc(100vh - 4rem); } }
.cinfo, .cform { border-radius: 28px; padding: 1.5rem; }
@media (min-width: 768px) { .cinfo, .cform { border-radius: 36px; padding: 2.5rem; } }
.cinfo { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; background: var(--ink); color: var(--on-ink); }
.cinfo__h { font-weight: 400; font-size: clamp(2.25rem, 4.4vw, 4.4rem); line-height: 0.95; letter-spacing: -0.045em; }
.cinfo__list { display: grid; gap: 1.5rem; }
.cinfo__list > div { display: grid; gap: 0.35rem; padding-top: 1rem; border-top: 1px solid rgba(15, 14, 13, 0.18); }
.cinfo__list span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.6; }
.cinfo__list a, .cinfo__list p { font-size: 1rem; line-height: 1.35; }
@media (min-width: 1024px) { .cinfo__list a, .cinfo__list p { font-size: 1.15rem; } }
.cform { display: flex; flex-direction: column; gap: 2rem; background: var(--surface); color: var(--ink); }
.cform__h { font-weight: 400; font-size: clamp(1.75rem, 3.2vw, 3rem); line-height: 0.98; letter-spacing: -0.04em; }
.cform__fields { display: grid; gap: 1.5rem 1.25rem; }
@media (min-width: 768px) { .cform__fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; border: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.7; }
.field input, .field textarea {
  width: 100%; padding: 0.6rem 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; font: inherit; font-size: 1.05rem; color: inherit; outline: none; transition: border-color 0.3s;
}
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.85rem; cursor: pointer; transition: all 0.3s; }
.chip input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.cform__note { max-width: 22rem; font-size: 0.75rem; line-height: 1.4; opacity: 0.6; }
.cform__done { font-size: 0.85rem; color: #6fcf8a; }
.pill--ink { border-color: var(--ink); color: var(--ink); }
.pill--ink:hover { background: var(--ink); color: var(--on-ink); }

/* coming-soon hero */
.hero--soon .hero__head { top: auto; bottom: 22%; }
@media (min-width: 1024px) { .hero--soon .hero__head { bottom: 18%; } }
.hero__lede { margin-top: 1.25rem; max-width: 28rem; font-size: 0.95rem; line-height: 1.4; }
@media (min-width: 1024px) { .hero__lede { font-size: 1.15rem; } }

/* Product line-up with its white backdrop removed: shown whole, on a soft
   studio spotlight that matches the dark theme */
.ap__img--cutout { background: radial-gradient(ellipse 70% 60% at 50% 58%, #2c2824 0%, #1a1816 55%, #121110 100%); }
.ap__img--cutout img { object-fit: contain; padding: 2% 1% 4%; }
@media (min-width: 1024px) { .ap__img--cutout img { padding: 6% 4% 10%; } }

/* contact form: backend states */
.cform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__error { margin: -0.5rem 0 0; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid rgba(239, 123, 107, 0.55); color: #ffd3cc; font-size: 0.875rem; line-height: 1.4; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ef7b6b; }
.cform__submit[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.cform__submit[aria-busy="true"] .hr::after { content: "…"; }
.cform__success { display: flex; flex-direction: column; justify-content: center; gap: 1rem; min-height: 22rem; outline: none; }
.cform__success[hidden] { display: none; }
.cform__msg { max-width: 30rem; font-size: 1rem; line-height: 1.5; color: rgba(236, 229, 216, 0.85); }
.cform__success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.cform__again { min-height: 44px; padding: 0; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.cform__again:hover { color: var(--ink); }
