/* ==========================================================================
   Japan Georgia Trading Corporation — site styles (design: 両国 Twin)
   Built on the crest's two halves:
   left = Japan (sakura, Fuji, river) · right = Georgia (vine, grapes),
   joined at the seam by the crossed flags / a red diamond.
   Brand type: Alegreya SC (wordmark), Mincho W6 (Japanese headings),
   BPG Ucnobi (Georgian display, self-hosted below; subset to the Georgian block).
   Running text on the Georgian and English pages: "JGTC Text", a renamed FiraGO
   subset (OFL, see static/fonts/OFL-FiraGO.txt; built by scripts/fonts/build-text-font.py).
   ========================================================================== */

@font-face {
  font-family: "BPG Ucnobi";
  src: local("BPG Ucnobi"),
       url(../fonts/bpg-ucnobi.woff2) format("woff2"),
       url(../fonts/bpg-ucnobi.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020, U+002D, U+10A0-10FF; /* space and hyphen are in the subset too */
}

@font-face {
  font-family: "JGTC Text";
  src: url(../fonts/text-400.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-21FF, U+2212, U+10A0-10FF;
}

@font-face {
  font-family: "JGTC Text";
  src: url(../fonts/text-500.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-21FF, U+2212, U+10A0-10FF;
}

@font-face {
  font-family: "JGTC Text";
  src: url(../fonts/text-600.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-21FF, U+2212, U+10A0-10FF;
}

@font-face {
  font-family: "JGTC Text";
  src: url(../fonts/text-700.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-21FF, U+2212, U+10A0-10FF;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --white: #FFFFFF;      /* page */
  --mist: #F5F3EF;       /* light bands */
  --stone: #EAE6DF;      /* quiet fills */
  --ink: #1C1B19;        /* headings, buttons, dark bands */
  --ink-deep: #0F0E0D;   /* footer */
  --text: #2A2825;       /* body text */
  --gray: #67635C;       /* secondary text (AA on white and mist) */
  --line: #E0DBD2;       /* hairlines */
  --red: #B0002A;        /* the red both flags share — sparingly */
  --red-on-dark: #E5677C;/* small markers on dark bands */
  --on-dark: #FFFFFF;
  --on-dark-muted: #BDB8AF;
  --line-dark: #3A3833;
  --engrave-faint: #DDD6CA; /* faint engraving on white */

  /* Type */
  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --font-mincho: "Hiragino Mincho ProN", "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  --font-sc: "Alegreya SC", "Hiragino Sans", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-latin: "Alegreya Sans", "Hiragino Sans", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-ka: "BPG Ucnobi", "JGTC Text", serif;             /* display */
  --font-ka-text: "JGTC Text", "Noto Sans Georgian", "Hiragino Sans", sans-serif; /* running text (FiraGO) */

  /* Spacing scale (4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96) */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  /* Layout */
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 2px;
  --utility-h: 36px;
  --masthead-h: 84px;

  /* Seam mark: white disc, dotted ring (the crest's ring), red diamond */
  --seam-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='21.5' fill='%23fff' stroke='%23E0DBD2'/%3E%3Ccircle cx='22' cy='22' r='16.5' fill='none' stroke='%231C1B19' stroke-width='1.3' stroke-dasharray='0 3.45' stroke-linecap='round'/%3E%3Cpath d='M22 16.5l5.5 5.5-5.5 5.5-5.5-5.5z' fill='%23B0002A'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--masthead-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  font-kerning: normal;
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

[lang="en"] {
  font-family: var(--font-latin);
  font-size-adjust: 0.5;
}

.brand-en {
  font-size-adjust: none;
}

[lang="ka"] {
  font-family: var(--font-ka);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mincho);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-feature-settings: "palt";
  word-break: normal;
  word-break: auto-phrase;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.section-intro,
.page-lead,
.crest-side p,
.crest-flags p,
.honesty-text,
.route-title,
.route-text,
.fact dd,
.check-list li,
.split-caption b,
.flow-note,
.footer-tagline {
  word-break: normal;
  word-break: auto-phrase;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* <picture> wrappers (WebP sources) are layout-transparent. */
picture { display: contents; }

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.site-footer :focus-visible,
.contact-band :focus-visible,
.band-dark :focus-visible {
  outline-color: var(--on-dark);
}

main:focus {
  outline: none;
}

.num,
time {
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 200;
  left: var(--s4);
  top: -100px;
  padding: var(--s3) var(--s5);
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: var(--s3);
}

.shell {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
}

/* Engraving tinted with a CSS mask (role="img" or aria-hidden on use) */
.engrave {
  display: block;
  background: var(--ink);
  -webkit-mask: var(--src) center / contain no-repeat;
  mask: var(--src) center / contain no-repeat;
}

.engrave-crest { --src: url(../images/brand/crest-black-480.webp); aspect-ratio: 480 / 526; }
.engrave-sakura { --src: url(../images/brand/detail-sakura-black.webp); aspect-ratio: 470 / 380; }
.engrave-fuji { --src: url(../images/brand/detail-fuji-black.webp); aspect-ratio: 470 / 360; }
.engrave-vine { --src: url(../images/brand/detail-vine-black.webp); aspect-ratio: 470 / 770; }
.engrave-flags { --src: url(../images/brand/flags-black.webp); aspect-ratio: 1000 / 500; }
.engrave-ribbon { --src: url(../images/brand/detail-flags-ribbon-black.webp); aspect-ratio: 600 / 320; }

/* --------------------------------------------------------------------------
   3. Shared atoms: eyebrow, diamonds, buttons, tags, section heads
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s4);
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

.band-dark .eyebrow,
.contact-band .eyebrow {
  color: var(--on-dark-muted);
}

.band-dark .eyebrow::before,
.contact-band .eyebrow::before {
  background: var(--red-on-dark);
}

/* —◆◆◆— the lockup divider */
.orn-rule {
  display: block;
  width: 168px;
  height: 10px;
  color: var(--ink);
}

.orn-rule.is-center {
  margin-inline: auto;
}

.dia {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  background: var(--ink-deep);
}

.button .arrow {
  font-family: var(--font-latin);
  transition: transform 0.2s ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--mist);
}

.button-on-dark {
  border-color: var(--on-dark);
  background: var(--on-dark);
  color: var(--ink);
}

.button-on-dark:hover {
  background: var(--mist);
}

.button-line-dark {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--on-dark);
}

.button-line-dark:hover {
  border-color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: var(--red);
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.text-link .arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-latin);
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover .arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.text-link span:not(.arrow) {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s ease;
}

.text-link:hover span:not(.arrow) {
  text-decoration-color: currentColor;
}

/* Section frame */
.section {
  padding-block: var(--section);
}

.section + .section:not([class*="band-"]) {
  border-top: 1px solid var(--line);
}

.band-mist {
  background: var(--mist);
}

.band-dark {
  background: var(--ink);
  color: var(--on-dark-muted);
}

.band-dark :is(h2, h3, h4) {
  color: var(--on-dark);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4) var(--s6);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head.is-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head.is-center .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: clamp(26px, 1.3vw + 18px, 38px);
  line-height: 1.45;
}

.section-intro {
  max-width: 38em;
  margin: var(--s4) 0 0;
  color: var(--gray);
}

.section-head.is-center .section-intro {
  margin-inline: auto;
}

.band-dark .section-intro {
  color: var(--on-dark-muted);
}

/* --------------------------------------------------------------------------
   4. Header: utility bar + masthead (crest lockup + nav)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  z-index: 60;
  top: calc(-1 * var(--utility-h));
  background: var(--white);
}

.utility-bar {
  height: var(--utility-h);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.4;
}

.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  height: 100%;
}

.utility-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: 0.04em;
}

.utility-note .dia {
  width: 5px;
  height: 5px;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.utility-links ul,
.site-menu-extra ul,
.footer-languages ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-menu ul {
  gap: var(--s4);
}

.utility-bar a {
  display: inline-flex;
  align-items: center;
  min-height: var(--utility-h);
  color: var(--text);
  text-decoration: none;
}

.utility-bar a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.language-switcher li + li::before,
.footer-languages li + li::before {
  content: "·";
  margin: 0 8px;
  color: var(--gray);
}

.language-switcher .is-current {
  color: var(--ink);
  font-weight: 600;
}

.masthead {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: var(--masthead-h);
}

/* Lockup: crest + live-text wordmark */
.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  padding-block: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-crest {
  width: 52px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.brand-en {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: "Alegreya SC", var(--font-mincho);
  line-height: 1;
}

.brand-en-1 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.085em;
}

.brand-en-2 {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.205em;
  text-transform: lowercase;
}

.brand-ja {
  margin-top: 7px;
  color: var(--text);
  font-family: var(--font-mincho);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  font-feature-settings: "palt";
}

/* Main navigation */
.site-menu {
  display: flex;
  align-items: center;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav > ul > li > a:hover::after {
  transform: scaleX(1);
}

.site-nav > ul > li > a[aria-current="page"]::after {
  background: var(--red);
  transform: scaleX(1);
}

.site-nav .caret {
  width: 8px;
  height: 8px;
  transition: transform 0.2s ease;
}

.site-nav .nav-cta > a {
  margin-left: 10px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
}

.site-nav .nav-cta > a::after {
  display: none;
}

.site-nav .nav-cta > a:hover {
  background: var(--ink-deep);
}

/* 事業内容 → two businesses */
.has-sub {
  position: relative;
}

.sub-nav {
  position: absolute;
  z-index: 10;
  top: calc(100% + 19px);
  left: 0;
  min-width: 340px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  background: var(--white);
  list-style: none;
  box-shadow: 0 18px 36px rgba(15, 14, 13, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.sub-nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 22px;
}

.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.has-sub:hover .caret,
.has-sub:focus-within .caret {
  transform: rotate(180deg);
}

.sub-nav a {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-height: 60px;
  padding: 10px 14px;
  border-radius: var(--radius);
  white-space: normal;
}

.sub-nav a:hover,
.sub-nav a[aria-current="page"] {
  background: var(--mist);
}

.sub-tag {
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.sub-label {
  font-size: 15px;
  font-weight: 600;
}

.site-menu-extra {
  display: none;
}

/* Mobile toggle (shown by JS below 960px) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  margin-right: -10px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.nav-toggle[hidden] {
  display: none !important;
}

.nav-toggle-bars {
  position: relative;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: background-color 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

@media (max-width: 1099.98px) {
  .site-nav a {
    padding: 0 9px;
    font-size: 14px;
  }

  .site-nav > ul > li > a::after {
    left: 9px;
    right: 9px;
  }

  .site-nav .nav-cta > a {
    margin-left: 6px;
    padding: 0 16px;
  }

  .brand-en-1 {
    font-size: 17px;
  }

  .brand-en-2 {
    font-size: 11px;
  }

  .brand-ja {
    font-size: 11.5px;
  }
}

@media (max-width: 959.98px) {
  :root {
    --masthead-h: 68px;
  }

  .utility-bar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .brand {
    gap: 10px;
  }

  .brand-crest {
    width: 42px;
  }

  .brand-text {
    padding-left: 10px;
  }

  .brand-en-1 {
    font-size: 16px;
  }

  .brand-en-2 {
    margin-top: 3px;
    font-size: 10.5px;
  }

  .brand-ja {
    margin-top: 5px;
    font-size: 11px;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .masthead-row {
    flex-wrap: wrap;
  }

  .site-menu {
    display: block;
    flex-basis: 100%;
    padding-bottom: var(--s5);
  }

  .js .site-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - var(--masthead-h));
    max-height: calc(100dvh - var(--masthead-h));
    overflow-y: auto;
    padding: var(--s2) var(--gutter) var(--s6);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 40px rgba(15, 14, 13, 0.12);
  }

  .js.menu-open .site-menu {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav > ul > li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    min-height: 54px;
    padding: 0 4px;
    font-size: 16px;
  }

  .site-nav > ul > li > a::after {
    left: auto;
    right: 6px;
    top: 50%;
    bottom: auto;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    background: var(--red);
    transform: rotate(45deg) scale(0);
  }

  .site-nav > ul > li > a:hover::after {
    transform: rotate(45deg) scale(0);
  }

  .site-nav > ul > li > a[aria-current="page"]::after {
    transform: rotate(45deg) scale(1);
  }

  .site-nav .caret {
    display: none;
  }

  .sub-nav {
    position: static;
    min-width: 0;
    margin: -6px 0 10px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .sub-nav::before {
    display: none;
  }

  .sub-nav a {
    min-height: 56px;
    padding: 8px 10px;
  }

  .site-nav .nav-cta {
    border-bottom: 0;
  }

  .site-nav .nav-cta > a {
    justify-content: center;
    margin: var(--s5) 0 0;
  }

  .site-menu-extra {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    padding-top: var(--s5);
    color: var(--gray);
    font-size: 14px;
  }

  .site-menu-extra ul {
    gap: 0 var(--s5);
  }

  .site-menu-extra a,
  .site-menu-extra .is-current {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
  }

  .site-menu-extra .language-switcher li + li::before {
    margin: 0 10px 0 -14px;
  }
}

/* --------------------------------------------------------------------------
   5. Home hero — split: Japan side (text) | seam (flags) | Georgia side (photo)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(var(--gutter), 1fr)
    minmax(0, calc(var(--shell) / 2))
    minmax(0, calc(var(--shell) / 2))
    minmax(var(--gutter), 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-japan {
  position: relative;
  grid-column: 1 / 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: subgrid;
  overflow: hidden;
}

.hero-body {
  position: relative;
  z-index: 1;
  grid-column: 2;
  align-self: center;
  padding: clamp(56px, 7vw, 104px) clamp(36px, 5.5vw, 88px) clamp(72px, 8vw, 120px) 0;
}

.hero-title {
  margin: 0 0 var(--s5);
  font-size: clamp(30px, 2.3vw + 13px, 48px);
  line-height: 1.48;
  letter-spacing: 0.04em;
}

.hero-text {
  max-width: 32em;
  margin: 0 0 var(--s6);
  font-size: clamp(15.5px, 0.25vw + 14.5px, 17px);
}

.hero-service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: var(--s7) 0 0;
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.hero-service .sub-tag {
  font-size: 12px;
}

.hero-service a {
  min-height: 44px;
  font-size: 14.5px;
}

/* Faint engravings on the Japan side */
.hero-sakura,
.hero-fuji {
  position: absolute;
  z-index: 0;
  background: var(--engrave-faint);
  pointer-events: none;
}

.hero-sakura {
  left: -36px;
  top: -40px;
  width: clamp(150px, 15vw, 230px);
}

.hero-fuji {
  right: clamp(-24px, -1vw, 0px);
  bottom: -18px;
  width: clamp(200px, 20vw, 290px);
}

/* Georgia side */
.hero-georgia {
  position: relative;
  grid-column: 3 / 5;
  grid-row: 1;
  min-height: clamp(580px, 80vh, 760px);
}

.hero-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(255deg, rgba(15, 14, 13, 0.62) 0%, rgba(15, 14, 13, 0.18) 34%, rgba(15, 14, 13, 0) 52%),
    linear-gradient(0deg, rgba(15, 14, 13, 0.3) 0%, rgba(15, 14, 13, 0) 30%);
}

.hero-vine {
  position: absolute;
  z-index: 1;
  top: clamp(16px, 2.5vw, 36px);
  right: clamp(8px, 2vw, 32px);
  width: clamp(110px, 12vw, 180px);
  background: var(--white);
  opacity: 0.94;
  pointer-events: none;
}

/* Seam: the crossed flags in a dotted-ring medallion */
.hero-seam {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(112px, 10vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(15, 14, 13, 0.12);
  transform: translate(-50%, -50%);
}

.hero-seam svg {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  color: var(--ink);
}

.hero-seam .engrave-flags {
  width: 70%;
  margin-top: -6%;
}

.hero-seam-year {
  position: absolute;
  bottom: 21%;
  color: var(--ink);
  font-family: "Alegreya SC", serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 5vw, 96px);
  bottom: clamp(16px, 3.5vw, 48px);
  min-width: 232px;
  margin: 0;
  padding: 16px 22px 14px;
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
}

.hero-badge dt {
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-badge-value {
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.hero-badge-value .arrows {
  display: inline-block;
  margin: 0 0.2em;
  color: var(--red);
  font-family: var(--font-ja);
  font-weight: 400;
}

.hero-badge-note {
  margin: 0;
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 819.98px) {
  .hero {
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
  }

  .hero-japan {
    grid-column: 1 / -1;
  }

  .hero-body {
    grid-column: 2;
    padding: var(--s7) 0 calc(var(--s8) + 24px);
  }

  .hero-georgia {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .hero-seam {
    left: 50%;
    top: 0;
    width: 112px;
  }

  .hero-fuji {
    right: -30px;
    bottom: -10px;
    width: 230px;
  }

  .hero-sakura {
    left: auto;
    right: -40px;
    top: -36px;
    width: 150px;
  }

  .hero-badge {
    min-width: 0;
    left: var(--s4);
    bottom: var(--s4);
    padding: 12px 16px 10px;
  }

  .hero-badge-value {
    font-size: 19px;
  }
}

@media (max-width: 559.98px) {
  .hero-georgia {
    aspect-ratio: 4 / 3.4;
  }

  .hero .button-row .button,
  .service-hero .button-row .button {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   6. Facts strip
   -------------------------------------------------------------------------- */
.facts-band {
  border-bottom: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.fact {
  padding: 28px 28px 30px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.fact dt .dia {
  width: 5px;
  height: 5px;
}

.fact dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: clamp(17px, 0.5vw + 14px, 21px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  font-feature-settings: "palt";
}

@media (max-width: 819.98px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    padding: 20px 16px 22px;
  }

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   7. Crest strip — the brand explained
   -------------------------------------------------------------------------- */
.crest-strip {
  padding-block: var(--section);
  background: var(--mist);
}

.crest-diagram {
  --crest-gap: clamp(32px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: var(--crest-gap);
}

.crest-figure {
  margin: 0;
}

.crest-figure img {
  width: 100%;
}

.crest-side {
  position: relative;
  max-width: 330px;
}

.crest-japan {
  justify-self: end;
  text-align: right;
}

.crest-georgia {
  justify-self: start;
}

.crest-tag {
  margin: 0 0 6px;
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.crest-side h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 0.6vw + 16px, 25px);
}

.crest-side p:last-child {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
}

/* Leader lines from each text toward the crest, ending in a diamond */
.crest-side::after {
  content: "";
  position: absolute;
  top: 0.95em;
  width: calc(var(--crest-gap) - 20px);
  height: 9px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}

.crest-side::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(0.95em + 1px);
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
}

.crest-japan::after {
  left: calc(100% + 10px);
}

.crest-japan::before {
  left: calc(100% + var(--crest-gap) - 14px);
}

.crest-georgia::after {
  right: calc(100% + 10px);
}

.crest-georgia::before {
  right: calc(100% + var(--crest-gap) - 14px);
}

.crest-flags {
  max-width: 600px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  text-align: center;
}

.crest-flags .orn-rule {
  margin: 0 auto var(--s5);
}

.crest-flags h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 0.6vw + 16px, 25px);
}

.crest-flags p {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
}

@media (max-width: 899.98px) {
  .crest-diagram {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s6) var(--s5);
  }

  .crest-figure {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(280px, 72%);
    justify-self: center;
  }

  .crest-side {
    max-width: none;
    padding-top: var(--s5);
    border-top: 1px solid var(--ink);
    text-align: left;
  }

  .crest-japan {
    justify-self: stretch;
  }

  .crest-side::after {
    display: none;
  }

  .crest-side::before {
    top: -4px;
    left: 0;
    right: auto;
  }

  .crest-georgia::before {
    left: auto;
    right: 0;
  }

  .crest-georgia {
    text-align: right;
  }
}

@media (max-width: 559.98px) {
  .crest-diagram {
    grid-template-columns: minmax(0, 1fr);
  }

  .crest-georgia {
    text-align: left;
  }

  .crest-georgia::before {
    left: 0;
    right: auto;
  }
}

/* --------------------------------------------------------------------------
   8. Twin — the Japan ↔ Georgia pair with a seam mark
   -------------------------------------------------------------------------- */
.twin {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  list-style: none;
}

.twin-item {
  position: relative;
  min-width: 0;
}

.twin > .twin-item + .twin-item {
  border-left: 1px solid var(--line);
}

.twin > .twin-item + .twin-item::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: 44px;
  height: 44px;
  background: var(--seam-mark) center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.band-mist .twin {
  background: var(--white);
}

@media (max-width: 719.98px) {
  .twin {
    grid-template-columns: minmax(0, 1fr);
  }

  .twin > .twin-item + .twin-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .twin > .twin-item + .twin-item::before {
    left: 50%;
    top: 0;
  }
}

/* Two businesses */
.business {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto;
  column-gap: var(--s5);
  padding: clamp(28px, 4vw, 52px);
}

.business .eyebrow {
  grid-column: 1;
  margin-bottom: var(--s3);
}

.business-art {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  height: clamp(92px, 9vw, 128px);
  width: auto;
}

.business-title {
  grid-column: 1;
  margin-bottom: var(--s4);
  font-size: clamp(21px, 0.8vw + 16px, 27px);
  line-height: 1.5;
}

.business-text {
  grid-column: 1 / -1;
  margin: 0 0 var(--s5);
  font-size: 15.5px;
}

.business .text-link {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (max-width: 1023.98px) {
  .business-art {
    grid-row: 1;
    height: 64px;
    margin-top: -6px;
  }

  .business-title {
    grid-column: 1 / -1;
  }
}

.business-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--s5);
  padding: 0;
  list-style: none;
}

.business-list li {
  padding: 2px 12px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   9. Route — producer → Tbilisi LLC → Tokyo KK → buyers
   -------------------------------------------------------------------------- */
.route-wrap {
  --route-gap: clamp(28px, 3vw, 40px);
}

.route-bracket {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--route-gap);
  margin-bottom: 14px;
}

.route-bracket span {
  position: relative;
  grid-column: 2 / 4;
  height: 14px;
  border: 1px solid var(--ink);
  border-bottom: 0;
}

.route-bracket b {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--mist);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.route-bracket .engrave-flags {
  width: 42px;
}

.route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--route-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}

.route-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 188px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.route-node.is-own {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark-muted);
}

.route-tag {
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.route-node.is-own .route-tag {
  color: var(--on-dark-muted);
}

.route-title {
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}

.route-title[lang="en"] {
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.route-node.is-own .route-title {
  color: var(--on-dark);
}

.route-org {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}

.route-node.is-own .route-org {
  color: var(--on-dark-muted);
}

.route-text {
  margin-top: auto;
  padding-top: 12px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.route-node.is-own .route-text {
  color: var(--on-dark-muted);
}

/* Connector: hairline + red diamond across the gap */
.route-node + .route-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * var(--route-gap) - 1px);
  width: var(--route-gap);
  height: 1px;
  background: var(--ink);
}

.route-node + .route-node::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  left: calc(-0.5 * var(--route-gap) - 5px);
  width: 9px;
  height: 9px;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--mist);
  transform: rotate(45deg);
}

.section:not(.band-mist) .route-node + .route-node::after {
  box-shadow: 0 0 0 3px var(--white);
}

/* Variant: “＋” joins (service structure) */
.route-plus {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-plus .route-node + .route-node::before {
  display: none;
}

.route-plus .route-node + .route-node::after {
  content: "+";
  top: 50%;
  left: calc(-0.5 * var(--route-gap));
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: none;
  color: var(--red);
  font-family: var(--font-latin);
  font-size: 20px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

@media (max-width: 899.98px) {
  .route-bracket {
    display: none;
  }

  .route,
  .route-plus {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .route-node {
    min-height: 0;
  }

  .route-text {
    margin-top: 0;
    padding-top: 4px;
  }

  .route-node + .route-node::before {
    top: -37px;
    left: 32px;
    width: 1px;
    height: 36px;
  }

  .route-node + .route-node::after {
    top: -23px;
    left: 28px;
  }

  .route-plus .route-node + .route-node::after {
    top: -18px;
    left: 50%;
  }
}

/* --------------------------------------------------------------------------
   10. Categories — photo tiles with the Georgian word
   -------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.category-card:hover {
  border-color: var(--ink);
}

.category-visual {
  position: relative;
  height: clamp(220px, 22vw, 320px);
  overflow: hidden;
  background: var(--ink);
}

.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category-card:hover .category-visual img {
  transform: scale(1.035);
}

.category-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 14, 13, 0.72) 0%, rgba(15, 14, 13, 0.25) 34%, rgba(15, 14, 13, 0) 56%);
}

.category-word {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 14px;
  color: var(--on-dark);
  font-size: clamp(30px, 2.4vw + 8px, 44px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.category-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 20px 64px 24px 24px;
}

.category-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: clamp(19px, 0.4vw + 16px, 22px);
}

.category-text {
  margin: 0;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.75;
}

.category-arrow {
  position: absolute;
  right: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-card:hover .category-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.category-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: var(--s5) 0 0;
  color: var(--gray);
  font-size: 14px;
}

.category-note .dia {
  width: 5px;
  height: 5px;
  background: var(--gray);
  transform: translateY(-2px) rotate(45deg);
}

@media (max-width: 899.98px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category.is-lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 559.98px) {
  .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-visual {
    height: 210px;
  }
}

/* --------------------------------------------------------------------------
   11. News + aside panel
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.news-block .section-head {
  margin-bottom: var(--s5);
}

.news-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.news-row a {
  display: grid;
  grid-template-columns: 104px auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.news-row time {
  color: var(--gray);
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.news-type {
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.news-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.news-row a:hover .news-title {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.news-lead {
  grid-column: 3 / 4;
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

.news-row .arrow {
  grid-column: 4;
  grid-row: 1;
  color: var(--ink);
  font-family: var(--font-latin);
}

.news-more {
  margin: var(--s4) 0 0;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.panel-art {
  position: absolute;
  right: -10px;
  top: -14px;
  width: 92px;
  opacity: 0.9;
}

.panel .eyebrow {
  margin-bottom: var(--s3);
}

.panel-title {
  max-width: 11em;
  margin-bottom: var(--s3);
  font-size: clamp(20px, 0.5vw + 17px, 24px);
}

.panel-text {
  margin: 0 0 var(--s4);
  font-size: 14.5px;
  line-height: 1.8;
}

.panel-links {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.panel-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.panel-links a[lang="en"] {
  font-family: var(--font-latin);
  font-size: 16.5px;
  font-weight: 700;
}

.panel-links a[lang="ka"] {
  font-size: 17px;
  font-weight: 400;
}

.panel-links a:hover span:first-child {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.milestones {
  margin-top: var(--s7);
}

.milestones-title {
  margin-bottom: var(--s3);
  font-size: 18px;
}

.milestones-list {
  margin: 0 0 var(--s3);
  padding: 0;
  list-style: none;
}

.milestones-list li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.7;
}

.milestones-list time {
  color: var(--gray);
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

@media (max-width: 899.98px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 559.98px) {
  .milestones-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .news-row a {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 6px 12px;
  }

  .news-title,
  .news-lead {
    grid-column: 1 / -1;
  }

  .news-row .arrow {
    grid-column: 3;
    justify-self: end;
  }
}

/* --------------------------------------------------------------------------
   12. Contact band (home) — ink with three white route cards
   -------------------------------------------------------------------------- */
.contact-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 7vw, 104px);
  background: var(--ink);
  color: var(--on-dark-muted);
}

.contact-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.contact-band h2 {
  margin-bottom: var(--s4);
  color: var(--on-dark);
  font-size: clamp(26px, 1.3vw + 18px, 36px);
}

.contact-band-text p {
  margin: 0;
}

.contact-band-mail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: var(--s5) 0 0 !important;
  font-size: 14px;
}

.contact-band-mail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark);
  font-family: var(--font-latin);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  min-height: 148px;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.route-card:hover {
  box-shadow: 0 0 0 2px var(--red-on-dark);
}

.route-card-label {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  font-feature-settings: "palt";
}

.route-card-note {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}

.route-card-arrow {
  display: grid;
  place-items: center;
  align-self: flex-end;
  width: 30px;
  height: 30px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-latin);
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.route-card:hover .route-card-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

@media (max-width: 899.98px) {
  .contact-band-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 559.98px) {
  .route-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-card {
    min-height: 0;
    padding-right: 64px;
    position: relative;
  }

  .route-card-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
  }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.site-footer a:hover {
  text-decoration-color: currentColor;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--on-dark);
  text-decoration: none;
}

.footer-brand img {
  width: 78px;
  height: auto;
}

.footer-brand .brand-text {
  border-left-color: var(--line-dark);
  padding-left: 22px;
}

.footer-brand .brand-en {
  color: var(--on-dark);
}

.footer-brand .brand-en-1 {
  font-size: 22px;
}

.footer-brand .brand-en-2 {
  font-size: 13px;
}

.footer-brand .orn-rule {
  width: 150px;
  margin: 10px 0 8px;
  color: var(--on-dark-muted);
}

.footer-brand .brand-ja {
  margin: 0;
  color: var(--on-dark);
  font-size: 14px;
}

.footer-brand .brand-ka {
  margin-top: 4px;
  color: var(--on-dark-muted);
  font-size: 13px;
  line-height: 1.4;
}

.footer-tagline {
  max-width: 22em;
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s6) clamp(32px, 4vw, 64px);
  padding-block: clamp(32px, 4vw, 48px);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s3);
  color: var(--on-dark);
  font-family: var(--font-sc);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  font-feature-settings: normal;
}

.footer-heading .dia {
  width: 5px;
  height: 5px;
  background: var(--red-on-dark);
}

.footer-address {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.footer-address strong {
  color: var(--on-dark);
  font-weight: 600;
}

.footer-address [lang="en"] {
  font-size: 15px;
}

.footer-address [lang="ka"] {
  font-size: 14.5px;
}

.footer-address a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-nav ul {
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a,
.footer-languages a,
.footer-languages .is-current {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.footer-languages {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line-dark);
}

.footer-languages .is-current {
  color: var(--on-dark);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2) var(--s5);
  padding-block: 20px 72px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 959.98px) {
  .footer-address a,
  .footer-nav a,
  .footer-languages a,
  .footer-languages .is-current {
    min-height: 44px;
  }
}

@media (max-width: 899.98px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col-site {
    grid-column: 1 / -1;
  }
}

@media (max-width: 559.98px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    gap: 14px;
  }

  .footer-brand img {
    width: 60px;
  }

  .footer-brand .brand-text {
    padding-left: 14px;
  }

  .footer-brand .brand-en-1 {
    font-size: 18px;
  }

  .footer-brand .brand-en-2 {
    font-size: 11px;
  }

  .footer-brand .orn-rule {
    width: 120px;
  }

  .footer-bottom {
    padding-bottom: 88px; /* room for the fixed proposal tag */
  }
}

/* --------------------------------------------------------------------------
   14. Page header band (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 4vw, 48px) clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.page-header .shell {
  position: relative;
  z-index: 1;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 clamp(28px, 4vw, 48px);
  padding: 0;
  color: var(--gray);
  font-size: 13px;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 12px;
  background: var(--gray);
  transform: rotate(45deg);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: var(--gray);
}

.page-title {
  margin-bottom: var(--s4);
  font-size: clamp(32px, 2.2vw + 20px, 52px);
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.page-lead {
  max-width: 36em;
  margin: 0;
  color: var(--text);
  font-size: clamp(16px, 0.35vw + 14.5px, 19px);
  line-height: 1.85;
}

.page-header-crest {
  position: absolute;
  top: 50%;
  right: max(var(--gutter), calc((100% - var(--shell)) / 2));
  width: clamp(180px, 22vw, 300px);
  background: #D3CBBE;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-twin {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: var(--s6) 0 0;
  padding: 0;
  list-style: none;
}

.page-twin li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  line-height: 1.6;
}

.page-twin li + li {
  border-left: 0;
}

.page-twin li + li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 2px solid var(--white);
  background: var(--red);
  transform: rotate(45deg);
}

.page-twin small {
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.page-twin b {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 819.98px) {
  .page-header-crest {
    top: auto;
    bottom: -40px;
    right: -50px;
    width: 200px;
    transform: none;
    opacity: 0.6;
  }
}

@media (max-width: 559.98px) {
  .page-twin {
    flex-direction: column;
  }

  .page-twin li + li {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .page-twin li + li::before {
    left: 50%;
    top: 0;
    margin: -6px 0 0 -6px;
  }
}

/* --------------------------------------------------------------------------
   15. Page body: sticky local nav + content (company)
   -------------------------------------------------------------------------- */
.page-body {
  padding-block: clamp(48px, 6vw, 88px) var(--section);
}

.with-local-nav {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 5vw, 88px);
}

.local-nav {
  position: sticky;
  top: calc(var(--masthead-h) + 32px);
}

.local-nav-title {
  margin: 0 0 var(--s3);
  color: var(--gray);
  font-family: var(--font-sc);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.local-nav ol {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
  list-style: none;
  counter-reset: lnav;
}

.local-nav ol a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
  margin-left: -1px;
  padding: 9px 0 9px 18px;
  border-left: 2px solid transparent;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.local-nav ol a::before {
  counter-increment: lnav;
  content: counter(lnav, decimal-leading-zero);
  color: var(--gray);
  font-family: var(--font-latin);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums lining-nums;
}

.local-nav ol a:hover {
  border-left-color: var(--red);
  color: var(--ink);
}

.local-nav-cta {
  margin-top: var(--s5);
}

.local-nav-cta .button {
  width: 100%;
  min-height: 48px;
  padding-inline: 16px;
  font-size: 14px;
}

@media (max-width: 959.98px) {
  .with-local-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s6);
  }

  .local-nav {
    position: static;
  }

  .local-nav ol {
    display: flex;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .local-nav ol::-webkit-scrollbar {
    display: none;
  }

  .local-nav ol a {
    margin: 0 0 -1px;
    padding: 9px 14px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .local-nav ol li:first-child a {
    padding-left: 0;
  }

  .local-nav ol a:hover {
    border-bottom-color: var(--red);
  }

  .local-nav-cta {
    display: none;
  }
}

/* Content blocks */
.block {
  scroll-margin-top: calc(var(--masthead-h) + 24px);
}

.block + .block {
  margin-top: clamp(64px, 7vw, 104px);
}

.block-head {
  margin-bottom: var(--s6);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
}

.block-head .eyebrow {
  margin-bottom: var(--s2);
}

.block-title {
  font-size: clamp(24px, 0.9vw + 18px, 32px);
}

.prose p {
  max-width: 46em;
  margin: 0 0 1.1em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.statement {
  margin: 0 0 var(--s5);
  padding-left: var(--s5);
  border-left: 2px solid var(--red);
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: clamp(19px, 0.7vw + 15px, 24px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.03em;
  font-feature-settings: "palt";
}

/* Key/value table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table tbody th {
  width: 11.5em;
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
}

.data-table td [lang="ka"] {
  font-size: 16px;
}

@media (max-width: 559.98px) {
  .data-table tbody th,
  .data-table tbody td {
    display: block;
    width: auto;
  }

  .data-table tbody th {
    padding: 10px 14px;
    border-bottom: 0;
    font-size: 13.5px;
  }

  .data-table tbody td {
    padding: 10px 14px 16px;
  }
}

/* Founders — Tokyo bio | photo | Tbilisi bio */
.founders {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  margin-top: var(--s6);
}

.founders-photo {
  margin: 0;
}

.founders-photo img {
  width: 100%;
  border-radius: var(--radius);
}

.founders-photo figcaption {
  margin-top: 10px;
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
}

.founder {
  position: relative;
  padding-top: var(--s5);
  border-top: 1px solid var(--ink);
}

.founder::before {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
}

.founder-japan::before {
  right: 0;
}

.founder-georgia::before {
  left: 0;
}

.founder-tag {
  margin: 0 0 8px;
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.founder-name {
  font-size: clamp(21px, 0.6vw + 17px, 25px);
  line-height: 1.45;
}

.founder-name small {
  display: block;
  margin-top: 2px;
  color: var(--gray);
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.founder-role {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.founder-bio {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
}

@media (max-width: 1199.98px) {
  .founders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .founders-photo {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(360px, 100%);
    justify-self: center;
  }
}

@media (max-width: 559.98px) {
  .founders {
    grid-template-columns: minmax(0, 1fr);
  }

  .founders-photo {
    width: 100%;
  }

  .founder-japan::before {
    left: 0;
    right: auto;
  }
}

/* History timeline */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 4px 44px;
  padding-bottom: 26px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(9.5em + 22px);
  top: 14px;
  bottom: -12px;
  width: 1px;
  background: var(--line);
}

.timeline li:last-child::before {
  display: none;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: calc(9.5em + 22px - 4px);
  top: 10px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  background: var(--white);
  transform: rotate(45deg);
}

.timeline li.is-founding::after {
  border-color: var(--red);
  background: var(--red);
}

.timeline time {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}

.timeline p {
  margin: 0;
  font-size: 15.5px;
}

.timeline .tag {
  margin-right: 8px;
  vertical-align: 2px;
}

@media (max-width: 559.98px) {
  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 28px;
  }

  .timeline li::before {
    left: 4px;
  }

  .timeline li::after {
    left: 0;
  }

  .timeline time {
    text-align: left;
  }
}

/* Entity twin (roles / operators) */
.entity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--s4);
  align-content: start;
  padding: clamp(24px, 3vw, 40px);
}

.entity-art {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: auto;
  height: 84px;
  margin-bottom: var(--s3);
}

.entity-tag {
  grid-column: 1;
  align-self: end;
  margin: 0 0 var(--s3);
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.entity-name {
  grid-column: 1 / -1;
  margin-bottom: var(--s3);
  font-size: clamp(18px, 0.4vw + 16px, 21px);
  line-height: 1.5;
}

.entity-name[lang="en"] {
  font-family: var(--font-latin);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.3;
}

.entity-text {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.8;
}

.entity-meta {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--gray);
  font-size: 13.5px;
}

.notice {
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin: var(--s5) 0;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--ink);
  background: var(--mist);
}

.notice .engrave-flags {
  flex: none;
  width: 72px;
}

.notice p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 559.98px) {
  .notice {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s3);
  }
}

/* --------------------------------------------------------------------------
   16. Service page (ジョージア進出・移住サポート)
   -------------------------------------------------------------------------- */
.service-hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.service-hero .breadcrumb {
  grid-column: 1 / -1;
}

.service-hero .breadcrumb ol {
  margin-bottom: var(--s2);
}

.service-hero .page-title {
  font-size: clamp(30px, 2vw + 18px, 48px);
  line-height: 1.48;
  letter-spacing: 0.04em;
}

.service-hero-text {
  max-width: 34em;
  margin: 0 0 var(--s6);
  font-size: clamp(15.5px, 0.25vw + 14.5px, 17px);
}

.service-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--s4) 0 0;
  color: var(--gray);
  font-size: 14px;
}

.service-hero-note .dia {
  width: 5px;
  height: 5px;
}

/* The crest pulled apart: Japan half | flags | Georgia half */
.split-crest {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0;
  margin: 0;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 36px) 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.split-half {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.split-japan {
  align-items: flex-end;
}

.split-georgia {
  align-items: flex-start;
}

.split-art {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 220px;
}

.split-art img {
  width: 100%;
}

.split-seam {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 100px);
}

.split-seam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--line);
}

.split-seam > span {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(76px, 8vw, 112px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.split-seam .engrave-flags {
  width: 66%;
}

.split-seam svg {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  color: var(--ink);
}

.split-caption {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: var(--s5) calc(-1 * clamp(20px, 3vw, 36px)) 0;
  border-top: 1px solid var(--line);
}

.split-caption div {
  padding: 14px clamp(16px, 2vw, 24px) 16px;
  font-size: 14px;
  line-height: 1.6;
}

.split-caption div + div {
  border-left: 1px solid var(--line);
}

.split-caption small {
  display: block;
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.split-caption b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.split-caption .route-dir {
  display: block;
  color: var(--gray);
  font-size: 12.5px;
}

@media (max-width: 559.98px) {
  .split-caption div {
    padding: 12px 12px 14px;
  }

  .split-caption small {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .split-caption b {
    font-size: 14px;
  }

  .split-caption .route-dir {
    font-size: 12px;
  }
}

@media (max-width: 899.98px) {
  .service-hero .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-crest {
    max-width: 520px;
  }
}

/* Photo strip */
.photo-band {
  padding-block: clamp(32px, 4vw, 56px) 0;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-tile {
  margin: 0;
}

.photo-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-tile.is-people img {
  object-position: 80% 30%;
}

.photo-caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.6;
}

.photo-caption .dia {
  width: 5px;
  height: 5px;
  transform: translateY(-2px) rotate(45deg);
}

@media (max-width: 719.98px) {
  .photo-strip {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .photo-tile {
    scroll-snap-align: start;
  }
}

/* Entry cards (Business / Life) */
.entry-card {
  padding: clamp(28px, 4vw, 48px);
}

.entry-card .eyebrow {
  margin-bottom: var(--s2);
}

.entry-title {
  margin-bottom: var(--s5);
  font-size: clamp(22px, 0.8vw + 17px, 28px);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.7;
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(12px + 0.85em - 4px);
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--red);
  transform: rotate(45deg);
}

.service-note {
  display: flex;
  gap: 14px;
  max-width: 52em;
  margin: var(--s5) 0 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.8;
}

.band-mist .service-note {
  background: var(--white);
}

.service-note .dia {
  margin-top: 0.62em;
  width: 6px;
  height: 6px;
}

.service-lead {
  max-width: 44em;
  margin: 0 0 var(--s7);
  font-size: 16px;
}

/* Steps 01–03 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin: clamp(48px, 5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: var(--s5);
  border-top: 1px solid var(--ink);
}

.step-number {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: lining-nums tabular-nums;
}

.step-title {
  margin-bottom: var(--s2);
  font-size: 21px;
}

.step-text {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 719.98px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Why Georgia (dark band) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.why-num {
  display: block;
  margin-bottom: var(--s4);
  color: var(--on-dark-muted);
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: lining-nums tabular-nums;
}

.why-title {
  margin-bottom: var(--s3);
  font-size: clamp(19px, 0.5vw + 16px, 22px);
}

.why-text {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 15px;
}

.caution {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px var(--s5);
  margin-top: var(--s5);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
}

.caution-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--on-dark);
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.caution-title .dia {
  background: var(--red-on-dark);
}

.caution-text {
  margin: 0;
  color: var(--on-dark);
  font-size: 15px;
}

@media (max-width: 819.98px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .caution {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Comparison & price tables */
.service-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}

.service-table th,
.service-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.service-table thead th {
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.compare-table tbody th {
  width: 24%;
  background: var(--mist);
}

.compare-table .is-highlight {
  background: #FBF7F1;
  box-shadow: inset 1px 0 0 var(--ink), inset -1px 0 0 var(--ink);
  color: var(--ink);
  font-weight: 600;
}

.compare-table thead .is-highlight {
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-mincho);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.compare-table tbody tr:last-child .is-highlight {
  box-shadow: inset 1px 0 0 var(--ink), inset -1px 0 0 var(--ink), inset 0 -1px 0 var(--ink);
}

.table-scroll-hint {
  display: none;
  margin: 0 0 8px;
  color: var(--gray);
  font-size: 12.5px;
}

@media (max-width: 719.98px) {
  .table-scroll-hint {
    display: block;
  }
}

.service-footnote {
  margin: var(--s3) 0 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.75;
}

.service-closing {
  max-width: 46em;
  margin: var(--s6) 0 0;
  padding-left: var(--s5);
  border-left: 2px solid var(--ink);
  color: var(--ink);
  font-size: 15.5px;
}

/* Pricing */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.plan.is-free {
  border-color: var(--ink);
  box-shadow: inset 0 2px 0 var(--red);
}

.plan-name {
  margin-bottom: var(--s3);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.plan-price {
  margin: 0 0 var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: clamp(26px, 1vw + 20px, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}

.plan-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
}

.price-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(48px, 5vw, 72px);
}

.price-block-title {
  margin-bottom: var(--s3);
  font-size: clamp(20px, 0.5vw + 17px, 24px);
}

.price-block > p {
  margin: 0 0 var(--s4);
  font-size: 15px;
}

.price-table {
  min-width: 0;
  background: var(--white);
}

.price-table td {
  width: 40%;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.price-table tbody th {
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 899.98px) {
  .plan-grid,
  .price-blocks {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 559.98px) {
  .price-table td {
    white-space: normal;
  }
}

/* Flow */
.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.flow-step:first-child {
  border-color: var(--ink);
}

.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -29px;
  width: 28px;
  height: 1px;
  background: var(--ink);
}

.flow-step + .flow-step::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  left: -19px;
  width: 9px;
  height: 9px;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--white);
  transform: rotate(45deg);
}

.flow-label {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-family: var(--font-sc);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.flow-title {
  margin-bottom: 6px;
  font-size: 17.5px;
  line-height: 1.5;
}

.flow-note {
  margin: 0;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.7;
}

@media (max-width: 1023.98px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 6.5em minmax(0, 1fr);
    gap: 0 var(--s4);
  }

  .flow-label {
    grid-row: 1 / 3;
    margin: 0;
    padding-top: 2px;
  }

  .flow-step + .flow-step::before {
    top: -21px;
    left: 40px;
    width: 1px;
    height: 20px;
  }

  .flow-step + .flow-step::after {
    top: -15px;
    left: 36px;
  }
}

/* Honesty */
.honesty-body {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.honesty-body .engrave-ribbon {
  width: clamp(200px, 22vw, 280px);
  margin: 0 auto var(--s5);
}

.honesty-body .eyebrow {
  justify-content: center;
  font-size: 14px;
}

.honesty-title {
  margin-bottom: var(--s4);
  font-size: clamp(24px, 1vw + 18px, 32px);
}

.honesty-text {
  margin: 0;
  font-size: 16px;
}

/* FAQ */
.faq {
  max-width: 880px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: var(--s4);
  min-height: 64px;
  padding: 16px 0;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::before {
  content: "Q";
  color: var(--red);
  font-family: "Alegreya SC", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.faq-q::after {
  content: "";
  justify-self: end;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q::after {
  transform: translateY(3px) rotate(-135deg);
}

.faq-q:hover {
  color: var(--ink-deep);
}

.faq-a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: var(--s4);
  padding: 0 0 22px;
}

.faq-a::before {
  content: "A";
  color: var(--gray);
  font-family: "Alegreya SC", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.faq-a p {
  margin: 0;
  font-size: 15.5px;
}

/* Operators: people */
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5);
  margin: var(--s7) 0 0;
  padding: 0;
  list-style: none;
}

.person {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: var(--s5);
  align-items: start;
}

.person-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.person-role {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.person-name {
  margin-bottom: 4px;
  font-size: clamp(19px, 0.5vw + 16px, 22px);
  line-height: 1.5;
}

.person-org {
  margin: 0 0 var(--s3);
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}

.person-bio {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
}

@media (max-width: 899.98px) {
  .people {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 459.98px) {
  .person {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: var(--s4);
  }
}

/* Service contact: dark band + form panel */
.service-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}

.service-contact .contact-band-text p {
  margin: 0 0 var(--s5);
}

.service-contact-points {
  margin: var(--s6) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.service-contact-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  font-size: 14.5px;
}

.service-contact-points .dia {
  width: 5px;
  height: 5px;
  background: var(--red-on-dark);
  transform: translateY(-2px) rotate(45deg);
}

.form-panel {
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}

.form-panel :focus-visible {
  outline-color: var(--red);
}

.service-form {
  display: grid;
  gap: var(--s5);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-label {
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-label .req {
  margin-left: 6px;
  color: var(--red);
  font-size: 12px;
}

.form-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #8F887D;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

.form-input:focus {
  border-color: var(--ink);
}

.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-option {
  position: relative;
  display: inline-flex;
}

.form-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.form-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #8F887D;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.4;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.form-option span::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid #8C857A;
  transform: rotate(45deg);
}

.form-option input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.form-option input:checked + span::before {
  border-color: var(--red-on-dark);
  background: var(--red-on-dark);
}

.form-option input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.form-submit {
  justify-self: start;
  min-width: 200px;
}

.service-disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: var(--s5);
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: 13px;
  line-height: 1.85;
}

@media (max-width: 899.98px) {
  .service-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   16b. Small helpers used by the page bodies
   -------------------------------------------------------------------------- */
.br-sp {
  display: none;
}

@media (max-width: 719.98px) {
  .br-pc {
    display: none;
  }
}

@media (max-width: 559.98px) {
  .br-sp {
    display: inline;
  }
}

.after-table {
  margin-top: var(--s5) !important;
}

.block-actions {
  margin-top: var(--s6);
}

.founder-name [lang="en"] {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.person-name [lang="en"] {
  color: var(--gray);
  font-size: 0.78em;
  font-weight: 700;
}

.price-table small {
  color: var(--gray);
  font-size: 12.5px;
  font-weight: 500;
}

.form-choices legend {
  margin-bottom: 10px;
}

.band-dark .engrave {
  background: var(--on-dark-muted);
}

.why-art {
  width: clamp(60px, 6.5vw, 92px);
  margin-bottom: -8px;
  opacity: 0.9;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: var(--s5) clamp(32px, 5vw, 80px);
}

.faq-layout .section-head {
  position: sticky;
  top: calc(var(--masthead-h) + 32px);
  margin-bottom: 0;
}

@media (max-width: 899.98px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout .section-head {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   19. Whole-page language: English and Georgian sites
   (html lang is ja / en / ka; [lang="…"] spans keep their own rules)
   -------------------------------------------------------------------------- */
html:lang(en) {
  /* Headings stay Alegreya; running text and UI use FiraGO ("JGTC Text") */
  --font-mincho: "Alegreya", "Hiragino Mincho ProN", "Shippori Mincho", Georgia, serif;
  --font-ja: "JGTC Text", "Alegreya Sans", "Hiragino Sans", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-latin: "JGTC Text", "Alegreya Sans", "Hiragino Sans", sans-serif;
}

/* FiraGO already sits at the right size; the Alegreya Sans size correction would shrink it */
html:lang(en) [lang="en"] {
  font-size-adjust: none;
}

html:lang(en) body {
  line-height: 1.7;
  line-break: auto;
}

html:lang(en) :is(h1, h2, h3, h4) {
  letter-spacing: 0.005em;
  line-height: 1.3;
  font-feature-settings: normal;
}

html:lang(ka) {
  --font-mincho: "BPG Ucnobi", "JGTC Text", "Hiragino Mincho ProN", serif;
  --font-ja: var(--font-ka-text);
  /* Latin faces have no Georgian glyphs: name the Georgian fallback explicitly */
  --font-sc: "Alegreya SC", "JGTC Text", "Hiragino Sans", sans-serif;
  --font-latin: "Alegreya Sans", "JGTC Text", "Hiragino Sans", sans-serif;
}

html:lang(ka) body {
  line-height: 1.8;
  line-break: auto;
}

html:lang(ka) :is(h1, h2, h3, h4) {
  letter-spacing: 0;
  line-height: 1.45;
  font-feature-settings: normal;
}

/* Small-caps tracking is for Latin; Georgian labels read better almost untracked */
html:lang(ka) :is(.fact dt, .hero-badge dt, .route-tag, .crest-tag, .twin-item .eyebrow, .page-twin small, .footer-heading) {
  letter-spacing: 0.03em;
}

html:lang(ka) :is(.page-title, .hero-title) {
  font-size: clamp(28px, 1.8vw + 18px, 44px);
}

/* --------------------------------------------------------------------------
   20. Markdown pages (business, products, quality, contact, news, legal…)
   -------------------------------------------------------------------------- */
.page-body.is-single > .prose,
.page-body.is-single > .news-list {
  max-width: 900px;
}

.page-content > .block-head {
  scroll-margin-top: calc(var(--masthead-h) + 24px);
}

.page-content > .block-head:not(:first-child) {
  margin-top: clamp(56px, 6vw, 96px);
}

.prose h3 {
  margin: 2.2em 0 0.8em;
  font-size: clamp(18px, 0.4vw + 16px, 21px);
  line-height: 1.55;
}

.prose .block-head + h3 {
  margin-top: 0;
}

.prose :is(ul, ol):not([class]) {
  max-width: 46em;
  margin: 0 0 1.4em;
  padding: 0;
  list-style: none;
}

.prose ul:not([class]) > li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  line-height: 1.75;
}

.prose ul:not([class]) > li:last-child {
  border-bottom: 1px solid var(--line);
}

.prose ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(11px + 0.875em - 4px);
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--red);
  transform: rotate(45deg);
}

.prose ol:not([class]) {
  counter-reset: prose-ol;
}

.prose ol:not([class]) > li {
  position: relative;
  padding: 12px 0 12px 48px;
  border-top: 1px solid var(--line);
  counter-increment: prose-ol;
  line-height: 1.75;
}

.prose ol:not([class]) > li:last-child {
  border-bottom: 1px solid var(--line);
}

.prose ol:not([class]) > li::before {
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--red);
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums lining-nums;
}

.prose li strong,
.prose p strong {
  color: var(--ink);
  font-weight: 700;
}

.prose a:not([class]) {
  color: var(--ink);
  text-decoration-color: var(--red);
}

.prose .table-wrap {
  margin: var(--s5) 0 var(--s6);
}

.prose .table-wrap:last-child {
  margin-bottom: 0;
}

.prose .twin,
.prose .founders {
  margin: var(--s6) 0;
}

.prose .timeline {
  margin-top: var(--s5);
}

.prose blockquote {
  max-width: 46em;
  margin: var(--s5) 0;
  padding: var(--s1) 0 var(--s1) var(--s5);
  border-left: 2px solid var(--red);
  color: var(--ink);
}

.prose hr {
  width: 168px;
  height: 10px;
  margin: var(--s7) 0;
  border: 0;
  background: linear-gradient(currentColor, currentColor) left center / 66px 1px no-repeat,
              linear-gradient(currentColor, currentColor) right center / 66px 1px no-repeat;
  color: var(--ink);
}

/* {{< button >}} shortcodes sit in their own paragraphs: line them up as a row */
.prose p:has(> .button:only-child) {
  display: inline-block;
  max-width: none;
  margin: var(--s6) var(--s3) 0 0;
  vertical-align: top;
}

.timeline-date {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 559.98px) {
  .timeline-date {
    text-align: left;
  }

  .prose p:has(> .button:only-child) {
    display: block;
    margin-right: 0;
  }

  .prose p:has(> .button:only-child) .button {
    width: 100%;
  }
}

.page-date {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin: 0 0 var(--s4);
  color: var(--gray);
  font-size: 14px;
}

/* Contact: the form first (posts to JGTC Bridge), contact details beside it */
.contact-desk {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 72px) var(--section);
}

.contact-form-panel {
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
}

.contact-form-title {
  margin: 0 0 var(--s5);
  font-family: var(--font-mincho);
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.4;
}

.contact-routes legend {
  margin-bottom: var(--s3);
}

/* The radios stay focusable for keyboards and screen readers; the labels draw the choice. */
.route-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.route-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
}

@media (max-width: 479.98px) {
  .route-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

.route-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid #8F887D;
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.route-option:hover {
  border-color: var(--ink);
}

.route-option-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.route-option-note {
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.5;
}

#route-buyers:checked ~ .route-options [for="route-buyers"],
#route-producers:checked ~ .route-options [for="route-producers"],
#route-georgia:checked ~ .route-options [for="route-georgia"],
#route-other:checked ~ .route-options [for="route-other"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

#route-buyers:checked ~ .route-options [for="route-buyers"] .route-option-note,
#route-producers:checked ~ .route-options [for="route-producers"] .route-option-note,
#route-georgia:checked ~ .route-options [for="route-georgia"] .route-option-note,
#route-other:checked ~ .route-options [for="route-other"] .route-option-note {
  color: var(--on-dark-muted);
}

#route-buyers:focus-visible ~ .route-options [for="route-buyers"],
#route-producers:focus-visible ~ .route-options [for="route-producers"],
#route-georgia:focus-visible ~ .route-options [for="route-georgia"],
#route-other:focus-visible ~ .route-options [for="route-other"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* The checklist for the chosen enquiry type; CSS only, so it works without JavaScript. */
.route-guides {
  margin-top: var(--s3);
}

.route-guide {
  display: none;
  padding: var(--s4) var(--s4) var(--s3);
  border-left: 2px solid var(--red);
  background: var(--mist);
  font-size: 14px;
  line-height: 1.8;
}

.route-guide.route-guide-none {
  display: block;
  border-left-color: var(--line);
  color: var(--gray);
}

.route-input:checked ~ .route-guides .route-guide-none {
  display: none;
}

#route-buyers:checked ~ .route-guides [data-route="buyers"],
#route-producers:checked ~ .route-guides [data-route="producers"],
#route-georgia:checked ~ .route-guides [data-route="georgia"],
#route-other:checked ~ .route-guides [data-route="other"] {
  display: block;
}

.route-guide p,
.route-guide ul {
  margin: 0;
}

.route-guide ul {
  padding-left: 1.2em;
}

.route-guide-title {
  margin-bottom: 4px !important;
  font-weight: 700;
}

.route-guide a,
.contact-card a {
  color: inherit;
  text-underline-offset: 3px;
}

.contact-mail {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
}

.contact-mail p {
  margin: 0 0 var(--s3);
}

.contact-mail p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  margin: 0;
}

.contact-mail-address {
  color: var(--text);
  font-size: 14px;
}

.contact-aside {
  display: grid;
  gap: var(--s5);
}

.contact-card {
  padding: var(--s5);
  background: var(--mist);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.8;
}

.contact-card p {
  margin: 0;
}

.contact-card-title {
  margin: 0 0 var(--s3);
  font-family: var(--font-mincho);
  font-size: 18px;
  line-height: 1.4;
}

.contact-details {
  margin: 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: var(--s3);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  color: var(--gray);
}

.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.route-fallback + .route-fallback {
  margin-top: var(--s6);
}

@media (max-width: 899.98px) {
  .contact-desk {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Products: category grid above the category sections */
.product-categories {
  margin-bottom: clamp(56px, 7vw, 96px);
}

/* News list page */
.list-rows {
  margin-top: 0;
}

.news-empty {
  color: var(--gray);
}

.news-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.panel-status {
  margin: 0 0 var(--s4);
}

/* Typographic tile when a category has no photo yet */
.category-visual.is-type {
  display: grid;
  place-items: end start;
  aspect-ratio: 4 / 3;
  background: var(--mist);
}

.category-visual.is-type .category-word {
  position: static;
  color: var(--ink);
  opacity: 0.18;
}

/* Arrows inside Georgian links come from the Latin face (BPG Ucnobi has none) */
.panel-links [aria-hidden="true"] {
  font-family: var(--font-latin);
}

/* Sub-menu: current page */
.sub-nav a[aria-current="page"] .sub-label {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.3em;
}

/* --------------------------------------------------------------------------
   Brand guidelines (/brand/, layout "brand"): unlisted internal reference.
   The guide is English inside the Japanese site, so it borrows the English
   pages' faces and leading. Components are prefixed bg-.
   -------------------------------------------------------------------------- */
.brand-guide {
  --font-mincho: "Alegreya", "Hiragino Mincho ProN", "Shippori Mincho", Georgia, serif;
  --font-ja: "JGTC Text", "Alegreya Sans", "Hiragino Sans", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-latin: "JGTC Text", "Alegreya Sans", "Hiragino Sans", sans-serif;
  line-height: 1.7;
  line-break: auto;
}

.brand-guide [lang="en"] {
  font-size-adjust: none;
}

.brand-guide :is(h1, h2, h3, h4) {
  letter-spacing: 0.005em;
  line-height: 1.3;
  font-feature-settings: normal;
}

:where(.brand-guide) [lang="ja"] {
  font-family: "Hiragino Sans", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.brand-guide .prose h3 {
  margin: var(--s7) 0 var(--s3);
  font-size: 21px;
}

.bg-note {
  margin: var(--s4) 0;
  color: var(--gray);
  font-size: 14px;
}

.bg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--s5);
  margin: var(--s5) 0 var(--s6);
}

.bg-grid.is-wide {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.bg-grid.is-narrow {
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: var(--s4);
}

.bg-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}

.bg-tile-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s5);
  min-height: 200px;
  padding: var(--s5);
  border-bottom: 1px solid var(--line);
}

.bg-tile-visual.is-short {
  min-height: 140px;
}

.bg-tile-visual.is-mist {
  background: var(--mist);
}

.bg-tile-visual.is-ink {
  background: var(--ink-deep);
  border-bottom-color: var(--ink-deep);
  color: var(--white);
}

.bg-tile-visual img {
  max-width: 100%;
  height: auto;
}

.bg-tile-body {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  padding: var(--s4) var(--s4) var(--s5);
}

.bg-tile-body h3,
.brand-guide .prose .bg-tile-body h3 {
  margin: 0;
  font-size: 19px;
}

.bg-tile-body p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.bg-invert {
  filter: invert(1);
}

.bg-disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
}

.bg-disc.is-ink {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

/* Live lockup, matching the site header */
.bg-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.bg-lockup-text {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1;
  white-space: nowrap;
}

.bg-lockup-en1 {
  font-family: "Alegreya SC", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.085em;
}

.bg-lockup-en2 {
  margin-top: 4px;
  font-family: "Alegreya SC", serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.205em;
}

.bg-lockup-ja {
  margin-top: 7px;
  font-family: var(--font-mincho-ja, "Hiragino Mincho ProN", "Shippori Mincho", serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.is-ink .bg-lockup {
  color: var(--white);
}

.is-ink .bg-lockup-text {
  border-left-color: var(--line-dark);
}

/* Colour swatches */
.bg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: var(--s5) var(--s4);
  margin: var(--s5) 0 var(--s6);
}

.bg-swatch {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.45;
}

.bg-chip {
  height: 84px;
  margin-bottom: var(--s2);
  border: 1px solid var(--line);
}

.bg-swatch b {
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
}

.bg-swatch span {
  color: var(--gray);
}

.bg-swatch code {
  color: var(--text);
  font-family: var(--font-latin);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.bg-proportion {
  display: flex;
  height: 40px;
  margin: var(--s4) 0 var(--s2);
  border: 1px solid var(--line);
  font-size: 13px;
}

.bg-proportion span {
  display: flex;
  align-items: center;
  padding-left: 10px;
  overflow: hidden;
  white-space: nowrap;
}

/* Type specimens */
.bg-specimens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  margin: var(--s5) 0 var(--s6);
  border: 1px solid var(--line);
}

.bg-script {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s5);
  border-right: 1px solid var(--line);
}

.bg-script:last-child {
  border-right: 0;
}

.bg-script-label {
  margin: 0;
  color: var(--gray);
  font-family: "Alegreya SC", serif;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.bg-script small {
  display: block;
  margin-top: var(--s1);
  color: var(--gray);
  font-family: var(--font-latin);
  font-size: 12.5px;
  line-height: 1.5;
}

.bg-ja-display {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.45;
  font-feature-settings: "palt";
}

.bg-ja-text {
  margin: 0;
  font-family: "Hiragino Sans", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.85;
}

.bg-en-display {
  margin: 0;
  color: var(--ink);
  font-family: "Alegreya", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.bg-ka-display {
  margin: 0;
  color: var(--ink);
  font-family: "BPG Ucnobi", "JGTC Text", serif;
  font-size: 27px;
  line-height: 1.35;
}

.bg-ka-text {
  margin: 0;
  font-family: "JGTC Text", "Noto Sans Georgian", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 959.98px) {
  .bg-script {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bg-script:last-child {
    border-bottom: 0;
  }
}

/* Engravings: Japan left, Georgia right */
.bg-engravings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: var(--s6);
  margin: var(--s5) 0 var(--s6);
}

.bg-engravings h3,
.brand-guide .prose .bg-engravings h3 {
  margin: 0 0 var(--s3);
  font-size: 17px;
}

.bg-engraving {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin: 0;
}

.bg-engraving a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 128px;
  padding: var(--s3);
  border: 1px solid var(--line);
}

.bg-engraving img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.bg-engraving figcaption {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

/* Business cards (shown at about 2.4×) */
.bg-cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  margin: var(--s5) 0 var(--s6);
}

.bg-card-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin: 0;
}

.bg-card-wrap figcaption {
  color: var(--ink);
  font-size: 13px;
}

.bg-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 220px;
  aspect-ratio: 55 / 91;
  padding: 22px 19px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: "JGTC Text", sans-serif;
  font-size: 10px;
  line-height: 1.45;
}

.bg-card > img:first-child {
  width: 54px;
  height: auto;
}

.bg-card-company {
  margin-top: 11px;
  font-family: "Hiragino Mincho ProN", "Shippori Mincho", serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bg-card-wordmark {
  display: flex;
  flex-direction: column;
  margin-top: 11px;
  font-family: "Alegreya SC", serif;
  font-weight: 500;
  line-height: 1;
}

.bg-card-wordmark span:first-child {
  font-size: 13px;
  letter-spacing: 0.085em;
}

.bg-card-wordmark span:last-child {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.205em;
}

.bg-card-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.bg-card-title::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  background: currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.bg-card-reading {
  margin-top: 16px;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.bg-card-name-ja {
  font-family: "Hiragino Mincho ProN", "Shippori Mincho", serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.bg-card-name-en {
  font-family: "Alegreya", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.bg-card-ka {
  margin-top: 18px;
  color: var(--gray);
  font-family: "BPG Ucnobi", "JGTC Text", serif;
  font-size: 11px;
}

.bg-card-fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-items: baseline;
  margin-top: 16px;
}

.bg-card-fields dt {
  color: var(--gray);
  font-size: 7.5px;
}

.bg-card-fields dt[lang="en"] {
  font-family: "Alegreya SC", serif;
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.bg-card-fields dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.bg-card-fields dd.is-long {
  font-size: 8.5px;
  letter-spacing: -0.01em;
}

.bg-card-address {
  margin-top: auto;
  font-size: 8.5px;
  line-height: 1.6;
}

/* A4 sheets in miniature, for layout anatomy */
.bg-sheets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--s6);
  margin: var(--s5) 0 var(--s6);
}

.bg-sheet-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin: 0;
}

.bg-sheet-wrap figcaption {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.bg-sheet {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 210 / 297;
  padding: 7% 9% 5%;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 8px;
  line-height: 1.5;
}

.bg-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.bg-sheet-head img {
  width: 22px;
  height: auto;
}

.bg-sheet-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.bg-sheet-lines span {
  height: 3px;
  background: #D5D0C7;
}

.bg-sheet-lines span:last-child {
  width: 62%;
}

.bg-sheet-title {
  margin-top: 14px;
  font-family: "Hiragino Mincho ProN", "Shippori Mincho", serif;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3em;
}

.bg-sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 6.5px;
}

.bg-sheet-table {
  display: grid;
  grid-template-columns: 30% 1fr;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.bg-sheet-table span {
  height: 11px;
  border-bottom: 1px solid var(--line);
}

.bg-sheet-table span:nth-child(odd) {
  background: var(--mist);
}

.bg-sheet-total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 4px 6px;
  border-bottom: 2px solid var(--ink);
  background: var(--mist);
  font-weight: 600;
}

/* Plain-text specimens: emails and signatures */
.bg-text {
  margin: var(--s4) 0 var(--s5);
  padding: var(--s5);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  line-height: 1.7;
}

.bg-text p,
.brand-guide .prose .bg-text p {
  margin: 0 0 0.9em;
}

.bg-text p:last-child {
  margin-bottom: 0;
}

.bg-text .bg-muted {
  color: var(--gray);
}

/* "Don't" tiles */
.bg-dont .bg-tile-visual {
  min-height: 130px;
}

.bg-dont .bg-tile-body p {
  color: var(--text);
}

.bg-photo {
  background: url(../images/hero-qvevri-cellar-1000.jpg) center / cover;
}

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
