/*
Theme Name: Tone of Trip
Theme URI: https://toneoftrip.com/
Author: Tone of Trip
Description: Block theme for Tone of Trip — handmade clay bracelets in the tones of your own photograph. Built on the Industry design system: steel accent on a light technical ground, Barlow Condensed over Barlow, blueprint frames with registration marks. No cart; every action ends in a LINE conversation.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toneoftrip
Tags: block-patterns, full-site-editing, one-column, custom-colors
*/

/* ══ 1. Tokens — the Industry design system ═══════════════════════════════
   Colour, type and spacing also live in theme.json so the editor's controls
   match. Change a value in BOTH places or the two drift apart.            */

:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  --color-neutral-100: #f5f5f8; --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7; --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b; --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60; --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff; --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd; --color-accent-400: #94bce3;
  --color-accent-500: #749dc4; --color-accent-600: #597ea3;
  --color-accent-700: #416180; --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px; --space-2: 6.8px; --space-3: 10.2px;
  --space-4: 13.6px; --space-6: 20.4px; --space-8: 27.2px;

  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 7px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);

  /* page gutter — one value drives every section's horizontal padding */
  --gutter: 40px;
  --muted: color-mix(in srgb, var(--color-text) 55%, transparent);
  --body-70: color-mix(in srgb, var(--color-text) 72%, transparent);
}

/* ══ 2. Base ══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; } h2 { font-size: 32px; } h3 { font-size: 25px; }
h4 { font-size: 20px; } h5 { font-size: 16px; }
h6 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); text-wrap: pretty; }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
figcaption { font-size: 11px; margin-top: var(--space-1); color: var(--muted); }
.text-muted { color: var(--muted); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ══ 3. Blueprint frame ═══════════════════════════════════════════════════
   .bp draws the hairline border AND the four "+" registration marks with no
   extra markup, so it can be dropped on any core block via the editor's
   "Additional CSS class(es)" field. .blueprint + <i class="corner"> children
   is kept for parity with the design system's own pages.                   */

.bp, .blueprint { position: relative; border: 1px solid var(--color-divider); border-radius: 0; }
.bp::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  --c: color-mix(in srgb, var(--color-text) 55%, transparent);
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-size: 1px 11px, 11px 1px, 1px 11px, 11px 1px, 1px 11px, 11px 1px, 1px 11px, 11px 1px;
  background-position:
    left 5px top 0, left 0 top 5px,
    right 5px top 0, right 0 top 5px,
    left 5px bottom 0, left 0 bottom 5px,
    right 5px bottom 0, right 0 bottom 5px;
}
.bp--inset::after { inset: -6px; }
.blueprint > .corner { position: absolute; width: 11px; height: 11px; color: var(--muted); }
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

/* Atmosphere photographs take the accent. Product photographs do NOT — the
   colour is the product. This is a deliberate deviation from Industry. */
.duotone { position: relative; overflow: hidden; }
.duotone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--color-accent); mix-blend-mode: color;
}

/* ══ 4. Design-system components ══════════════════════════════════════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid var(--color-divider); border-radius: 0;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); border-color: transparent; padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-lg { font-size: 15px; padding: 13px 24px; }
.btn-block { width: 100%; margin-top: var(--space-2); }
.btn-invert { background: var(--color-bg); color: var(--color-accent-900); border-color: var(--color-bg); }
.btn-invert:hover { background: #fff; color: var(--color-accent-900); }

.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .02em; padding: 3px 10px; border-radius: 0; }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

.field > label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit; font-size: 14px;
  color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio .dot { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--color-divider); }
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot { border-color: var(--color-accent); background: var(--color-accent); box-shadow: inset 0 0 0 4px var(--color-bg); }
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg { display: inline-flex; overflow: hidden; border: 1px solid var(--color-divider); border-radius: 0; }
.seg-opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg--fill { display: flex; width: 100%; }
.seg--fill .seg-opt { flex: 1; justify-content: center; }

/* ══ 5. Site chrome ═══════════════════════════════════════════════════════ */

.tot-header {
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter); border-bottom: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.tot-header .wp-block-site-title { margin-right: auto; }
.tot-header .wp-block-site-title a {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-text); text-decoration: none;
}
.tot-header .wp-block-navigation { font-size: 14px; }
.tot-header .wp-block-navigation a { color: var(--color-text); text-decoration: none; padding: 2px 0; border-bottom: 1px solid transparent; }
.tot-header .wp-block-navigation a:hover,
.tot-header .wp-block-navigation .current-menu-item > a { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.tot-footer { padding: 34px var(--gutter); border-top: 1px solid var(--color-divider); display: flex; gap: 56px; font-size: 13px; }
.tot-footer__brand { flex: 1; }
.tot-footer__brand span { font-family: var(--font-heading); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.tot-footer__col { display: flex; flex-direction: column; gap: 6px; }
.tot-footer__col h6 { margin: 0 0 4px; }
.tot-footer a { color: inherit; text-decoration: none; }
.tot-footer a:hover { color: var(--color-accent); }

/* ══ 6. Page furniture ════════════════════════════════════════════════════ */

.tot-section { padding: 56px var(--gutter); }
.tot-section--tight { padding: 44px var(--gutter) 40px; }
.tot-rule { border-bottom: 1px solid var(--color-divider); }
.tot-kicker { font-size: 11px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.tot-label { font-size: 11px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 50%, transparent); }
.tot-label--accent { color: var(--color-accent-700); }
.tot-sechead { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.tot-sechead h2, .tot-sechead h1, .tot-sechead h6 { margin: 0; }
.tot-sechead::after { content: ""; flex: 1; height: 1px; background: var(--color-divider); order: 2; }
.tot-sechead > :not(h1):not(h2):not(h6):not(:first-child) { order: 3; }
.tot-display { font-size: 74px; line-height: .94; letter-spacing: -.02em; margin: 0; }
.tot-display--sm { font-size: 58px; line-height: 1; letter-spacing: -.02em; margin: 0; }
.tot-lead { font-size: 17px; line-height: 1.6; max-width: 46ch; margin: 0; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.tot-body { font-size: 15px; line-height: 1.62; color: var(--body-70); }
.tot-num { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1; color: var(--color-accent); }
.tot-num--lg { font-size: 56px; line-height: .9; }
.tot-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.chipstrip { display: flex; width: 100%; }
.chipstrip > span { flex: 1; display: block; }

/* ══ 7. Home ══════════════════════════════════════════════════════════════ */

.tot-hero { display: grid; grid-template-columns: 1.05fr 1fr; border-bottom: 1px solid var(--color-divider); }
.tot-hero__text { padding: 64px var(--gutter) 56px; display: flex; flex-direction: column; gap: 22px; }
.tot-hero__fig { border-left: 1px solid var(--color-divider); padding: var(--gutter); display: flex; align-items: center; }
.tot-hero__fig img { width: 100%; height: 520px; object-fit: cover; }

.tot-plate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-divider); }
.tot-plate > * { background: var(--color-bg); padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.tot-plate h4 { margin: 0; font-size: 21px; }
.tot-plate p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body-70); }

.tot-grid { display: grid; gap: 22px; }
.tot-grid--5 { grid-template-columns: repeat(5, 1fr); }
.tot-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tot-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.tot-card__frame { overflow: hidden; }
.tot-card__frame img { width: 100%; height: 280px; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tot-card:hover .tot-card__frame img { transform: scale(1.04); }
.tot-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tot-card__row h4 { margin: 0; font-size: 19px; }
.tot-card__price { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--color-accent-700); }
.tot-card p { margin: 0; font-size: 13px; line-height: 1.55; color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.tot-card__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }

.tot-cta { background: var(--color-accent-900); color: var(--color-bg); padding: 48px var(--gutter); display: flex; align-items: center; gap: 40px; }
.tot-cta h3 { margin: 0 0 8px; font-size: 30px; }
.tot-cta p { margin: 0; font-size: 15px; opacity: .8; }
.tot-cta__text { flex: 1; }
.tot-quote { background: var(--color-accent-900); color: var(--color-bg); padding: 64px var(--gutter); text-align: center; }
.tot-quote p { font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1.18; margin: 0 auto; max-width: 24ch; }

/* ══ 8. Catalog ═══════════════════════════════════════════════════════════ */

.tot-pagehead { padding: 44px var(--gutter) 34px; border-bottom: 1px solid var(--color-divider); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.tot-pagehead h1 { margin: 12px 0 14px; }
.tot-pagehead p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 58ch; color: color-mix(in srgb, var(--color-text) 76%, transparent); }
.tot-includes { padding: 16px 20px; min-width: 230px; }
.tot-includes div { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; font-size: 13.5px; }

.tot-catalog { display: grid; grid-template-columns: 238px 1fr; }
.tot-filters { border-right: 1px solid var(--color-divider); padding: 32px 26px; display: flex; flex-direction: column; gap: 30px; }
.tot-filters h6 { margin: 0 0 12px; }
.tot-filters__list { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.tot-catalog__body { padding: 32px var(--gutter) 48px; }
.tot-catalog__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 13px; }
.tot-invite { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; background: var(--color-surface); }
.tot-invite h4 { margin: 0; font-size: 20px; }
.tot-invite p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--body-70); }

/* ══ 9. How to Order ══════════════════════════════════════════════════════ */

.tot-orderhead { padding: 48px var(--gutter) 40px; border-bottom: 1px solid var(--color-divider); display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.tot-orderhead h1 { font-size: 62px; line-height: .98; margin: 12px 0 16px; }
.tot-glance { padding: 20px 22px; }
.tot-glance dl { display: flex; flex-direction: column; margin: 12px 0 0; font-size: 14px; }
.tot-glance div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--color-divider); }
.tot-glance div:last-child { border-bottom: 0; }
.tot-glance dt, .tot-glance dd { margin: 0; }
.tot-glance dt { color: var(--muted); }

/* the extraction bench */
.tot-bench { display: grid; grid-template-columns: 420px 1fr; background: var(--color-surface); }
.tot-bench__in { padding: 24px; border-right: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 14px; }
.tot-bench__photo { overflow: hidden; background: var(--color-bg); }
.tot-bench__photo img { width: 100%; height: 320px; object-fit: cover; }
.tot-bench__thumbs { display: flex; gap: 8px; }
.tot-bench__thumbs button { flex: 1; padding: 0; border: 1px solid var(--color-divider); background: none; cursor: pointer; line-height: 0; }
.tot-bench__thumbs button:hover, .tot-bench__thumbs button[aria-pressed="true"] { outline: 1px solid var(--color-accent); outline-offset: 2px; }
.tot-bench__thumbs img { width: 100%; height: 56px; object-fit: cover; }
.tot-bench__out { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.tot-bench__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tot-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tot-swatch { background: var(--color-bg); padding: 8px; }
.tot-swatch__chip { height: 120px; }
.tot-swatch__meta { padding-top: 9px; display: flex; flex-direction: column; gap: 1px; }
.tot-swatch__code { font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.tot-swatch__hex { font: 11px ui-monospace, Menlo, monospace; color: color-mix(in srgb, var(--color-text) 50%, transparent); }
.tot-bench__foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--color-divider); margin-top: 4px; }
.tot-bench__foot > :first-child { padding: 16px 20px 4px 0; }
.tot-bench__spec { padding: 16px 0 4px 20px; border-left: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 10px; }
.tot-bench__spec div { display: flex; justify-content: space-between; font-size: 13px; }

.tot-order { display: grid; grid-template-columns: 1fr 400px; }
.tot-order__main { padding: 44px var(--gutter) 48px; border-right: 1px solid var(--color-divider); }
.tot-step { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--color-divider); }
.tot-step h3 { margin: 0 0 8px; font-size: 26px; }
.tot-step p { margin: 0; font-size: 15px; line-height: 1.65; max-width: 62ch; color: color-mix(in srgb, var(--color-text) 74%, transparent); }
.tot-step .tot-label { display: block; margin-top: 10px; }
.tot-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 0; background: var(--color-divider); }
.tot-faq > * { background: var(--color-bg); padding: 22px 24px 22px 0; }
.tot-faq h4 { margin: 0 0 7px; font-size: 18px; }
.tot-faq p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body-70); }
.tot-aside { padding: 44px 34px 48px; display: flex; flex-direction: column; gap: 16px; }
.tot-chat { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: var(--color-surface); }
.tot-chat__me { align-self: flex-end; max-width: 86%; background: var(--color-accent); color: var(--color-bg); padding: 9px 12px; font-size: 13.5px; line-height: 1.5; }
.tot-chat__us { align-self: flex-start; max-width: 90%; background: var(--color-bg); border: 1px solid var(--color-divider); padding: 10px 12px; font-size: 13.5px; line-height: 1.5; }
.tot-chat__img { align-self: flex-end; width: 60%; border: 1px solid var(--color-divider); line-height: 0; }
.tot-chat__img img { width: 100%; height: 120px; object-fit: cover; }
.tot-chat__palette { align-self: flex-start; width: 78%; border: 1px solid var(--color-divider); padding: 8px; background: var(--color-bg); }
.tot-tips { padding: 18px; }
.tot-tips div { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.5; color: color-mix(in srgb, var(--color-text) 74%, transparent); }

/* ══ 10. About ════════════════════════════════════════════════════════════ */

.tot-stats { display: flex; gap: 34px; margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--color-divider); }
.tot-stats span { display: block; }
.tot-stats b { font-family: var(--font-heading); font-weight: 600; font-size: 34px; line-height: 1; color: var(--color-accent); }
.tot-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-divider); }
.tot-cols3 > * { background: var(--color-bg); padding: 26px; }
.tot-cols3 > :first-child { padding-left: 0; }
.tot-cols3 > :last-child { padding-right: 0; }
.tot-cols3 h4 { margin: 12px 0 8px; font-size: 21px; }
.tot-cols3 p { margin: 0; font-size: 14px; line-height: 1.62; color: var(--body-70); }
.tot-striptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.tot-striptych img { width: 100%; height: 300px; object-fit: cover; }

/* ══ 11. Contact ══════════════════════════════════════════════════════════ */

.tot-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.tot-contact > * { background: var(--color-bg); padding: 44px var(--gutter) 46px; }
.tot-line { padding: 26px; background: var(--color-surface); }
.tot-line h3 { margin: 12px 0 8px; font-size: 30px; }
.tot-line p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 74%, transparent); }
.tot-line__row { display: flex; align-items: center; gap: 18px; }
.tot-qr { width: 88px; height: 88px; display: grid; place-items: center; background: var(--color-bg); text-align: center; }
.tot-qr span { font-size: 10px; line-height: 1.4; letter-spacing: .06em; color: var(--muted); }
.tot-reach { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--color-divider); margin-top: 34px; }
.tot-reach > * { background: var(--color-bg); padding: 20px; }
.tot-reach > :nth-child(odd) { padding-left: 0; }
.tot-reach h6 { margin: 0 0 7px; }
.tot-reach p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.tot-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tot-form .field { margin-top: 18px; }
.tot-form__pair .field { margin-top: 0; }
.tot-upload { margin-top: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.tot-upload__box { width: 52px; height: 52px; border: 1px dashed var(--color-divider); display: grid; place-items: center; font-size: 10px; color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.tot-upload a { margin-left: auto; }

/* ══ 12. Responsive ═══════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
  .tot-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .tot-bench { grid-template-columns: 340px 1fr; }
}
@media (max-width: 1024px) {
  :root { --gutter: 26px; }
  .tot-hero, .tot-orderhead, .tot-order, .tot-contact, .tot-catalog { grid-template-columns: 1fr; }
  .tot-hero__fig, .tot-order__main, .tot-filters { border-left: 0; border-right: 0; }
  .tot-hero__fig { border-top: 1px solid var(--color-divider); }
  .tot-order__main { border-bottom: 1px solid var(--color-divider); }
  .tot-filters { border-bottom: 1px solid var(--color-divider); }
  .tot-display { font-size: 56px; }
  .tot-display--sm, .tot-orderhead h1 { font-size: 44px; }
  .tot-plate { grid-template-columns: repeat(2, 1fr); }
  .tot-bench { grid-template-columns: 1fr; }
  .tot-bench__in { border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .tot-swatches { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .tot-swatch__chip { height: 76px; }
  .tot-quote p { font-size: 30px; }
}
@media (max-width: 760px) {
  .tot-header { flex-wrap: wrap; gap: 14px; }
  .tot-grid--5, .tot-grid--3, .tot-cols3, .tot-faq, .tot-reach, .tot-form__pair, .tot-striptych { grid-template-columns: 1fr; }
  .tot-cols3 > *, .tot-faq > *, .tot-reach > * { padding: 20px 0; }
  .tot-plate { grid-template-columns: 1fr; }
  .tot-display { font-size: 42px; }
  .tot-display--sm, .tot-orderhead h1 { font-size: 34px; }
  .tot-pagehead, .tot-cta, .tot-footer { flex-direction: column; align-items: flex-start; gap: 22px; }
  .tot-bench__foot { grid-template-columns: 1fr; }
  .tot-bench__spec { padding: 16px 0 4px; border-left: 0; border-top: 1px solid var(--color-divider); }
  .tot-swatches { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .tot-swatch { padding: 4px; }
  .tot-swatch__chip { height: 44px; }
  .tot-swatch__meta { display: none; }
  .tot-step { grid-template-columns: 1fr; gap: 8px; }
  .tot-hero__fig img { height: 340px; }
  /* the LINE action follows you on mobile */
  .tot-sticky { position: sticky; bottom: 0; z-index: 20; padding: 12px var(--gutter); background: color-mix(in srgb, var(--color-bg) 94%, transparent); border-top: 1px solid var(--color-divider); backdrop-filter: blur(6px); }
}
@media (min-width: 761px) { .tot-sticky { display: none; } }

@media print {
  .tot-header, .tot-footer, .tot-sticky, .tot-bench__thumbs { display: none; }
}
