/*!
 * MINTRON ENTERTAINMENT LIMITED - site stylesheet
 * Dark, cinematic design system. Plain CSS, no build step, no external assets.
 * Type: system font stacks only. Graphics: inline SVG and CSS gradients.
 *
 * Sections
 *   01 tokens            08 hero
 *   02 reset & base      09 project cards
 *   03 utilities         10 process / cta band
 *   04 header & nav      11 inner pages
 *   05 buttons           12 about / timeline
 *   06 typography        13 contact / form
 *   07 sections & grids  14 footer, motion, responsive
 */

/* ================================================================ 01 tokens */

:root {
  --bg: #0a0a0c;
  --surface: #101014;
  --surface-2: #14141a;
  --surface-3: #1a1a21;

  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #f4f1ea;
  --text-dim: #a9a49b;

  --gold: #e0b062;
  --gold-deep: #d19a45;
  --coral: #ff6f59;

  --content: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 16px;
  --header-h: 72px;

  --font-sans: "PingFang HK", "PingFang TC", "Noto Sans HK", "Noto Sans TC",
    "Hiragino Sans GB", "Microsoft JhengHei", "Source Han Sans TC", system-ui,
    -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ========================================================= 02 reset & base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

main,
.main {
  display: block;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

::selection {
  background: rgba(224, 176, 98, 0.28);
  color: #fff;
}

/* ============================================================ 03 utilities */

.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* Jump link: off-screen until it receives focus. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  background: var(--gold);
  color: #0a0a0c;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transform: translateY(-240%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Visible, high-contrast focus ring everywhere (never removed). */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ========================================================= 04 header & nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.86);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.brand-sub {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
}

/* Contact details live in the collapsed panel on small screens only. */
.nav-foot {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--line-strong);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ============================================================== 05 buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #0a0a0c;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #edc078, var(--gold));
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(224, 176, 98, 0.6);
  background: rgba(224, 176, 98, 0.07);
  color: var(--gold);
}

.btn--wide {
  width: 100%;
}

/* =========================================================== 06 typography */

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display {
  font-size: clamp(2.05rem, 5.9vw, 4.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.display--page {
  font-size: clamp(1.95rem, 4.6vw, 3.6rem);
  line-height: 1.14;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.h2--sm {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
}

.h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.28;
}

.lead {
  max-width: 62ch;
  margin-top: 1.35rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.8;
}

.section-lead {
  max-width: 60ch;
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
}

.subhead {
  margin: 0.25rem 0 1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ======================================================= 07 sections/grids */

.section {
  padding-block: clamp(3.25rem, 6.5vw, 6.5rem);
}

.section--alt {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.024),
    rgba(255, 255, 255, 0.006)
  );
}

.section--tight {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.section-head > .h2:last-child,
.section-head > .h3:last-child {
  margin-bottom: 0;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.section-head--row > div {
  max-width: 58ch;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

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

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

/* ================================================================ 08 hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 8rem) clamp(3.25rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 50% -10%,
      rgba(10, 10, 12, 0) 0%,
      rgba(10, 10, 12, 0.6) 62%,
      var(--bg) 100%
    ),
    linear-gradient(180deg, rgba(10, 10, 12, 0.1), var(--bg) 96%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner .display {
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-meta dt {
  margin-bottom: 0.4rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-meta dd {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ============================================================== 09 cards */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.3rem, 2.2vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.012)
  );
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s ease,
    background 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 176, 98, 0.42);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.016)
  );
}

.card:focus-visible {
  transform: translateY(-4px);
}

.card--static {
  cursor: default;
}

.card-index {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.card-title--sm {
  font-size: 1.05rem;
}

.card-text {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.72;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.card-link::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

/* ======================================================== 10 hero / work */

.project-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 176, 98, 0.4);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--surface-2);
}

.project-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}

.project-thumb--a {
  background: radial-gradient(
      120% 120% at 20% 12%,
      rgba(224, 176, 98, 0.3),
      rgba(224, 176, 98, 0) 62%
    ),
    #12121a;
}

.project-thumb--b {
  background: radial-gradient(
      120% 120% at 82% 18%,
      rgba(255, 111, 89, 0.28),
      rgba(255, 111, 89, 0) 64%
    ),
    #171218;
}

.project-thumb--c {
  background: radial-gradient(
      130% 120% at 18% 84%,
      rgba(120, 160, 200, 0.26),
      rgba(120, 160, 200, 0) 64%
    ),
    #10131a;
}

.project-thumb--d {
  background: radial-gradient(
      120% 120% at 78% 22%,
      rgba(180, 140, 200, 0.26),
      rgba(180, 140, 200, 0) 62%
    ),
    #14111a;
}

.project-thumb--e {
  background: radial-gradient(
      120% 120% at 24% 80%,
      rgba(120, 200, 170, 0.22),
      rgba(120, 200, 170, 0) 64%
    ),
    #0f1517;
}

.project-thumb--f {
  background: radial-gradient(
      120% 120% at 50% 20%,
      rgba(232, 201, 138, 0.24),
      rgba(232, 201, 138, 0) 62%
    ),
    #16140f;
}

.tag {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(224, 176, 98, 0.28);
  border-radius: 999px;
  background: rgba(224, 176, 98, 0.1);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ====================================================== 11 process / cta */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
}

.step {
  position: relative;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.step-num {
  display: block;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
}

.step-title {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.step-text {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.72;
}

.cta-band {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  border-block: 1px solid var(--line);
  background: radial-gradient(
      120% 150% at 10% 15%,
      rgba(224, 176, 98, 0.14),
      rgba(10, 10, 12, 0) 58%
    ),
    radial-gradient(
      110% 130% at 92% 92%,
      rgba(255, 111, 89, 0.12),
      rgba(10, 10, 12, 0) 58%
    ),
    #0d0d11;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.cta-inner > div {
  max-width: 56ch;
}

/* ========================================================== 12 page head */

.page-head {
  padding-block: clamp(2.75rem, 5.5vw, 5rem) clamp(1.75rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(
    120% 130% at 85% -20%,
    rgba(224, 176, 98, 0.1),
    rgba(10, 10, 12, 0) 62%
  );
}

/* ===================================================== 13 service blocks */

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}

.service-block--flip .service-aside {
  order: -1;
}

.service-main {
  display: flex;
  flex-direction: column;
}

.service-main .card-index {
  margin-bottom: 0.5rem;
}

.service-lead {
  max-width: 62ch;
  margin: 0.9rem 0 1.85rem;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.78;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  transform: translateY(-50%);
}

.service-aside {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.aside-label {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.aside-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.72;
}

/* ======================================================== 14 projects page */

.project-grid {
  row-gap: clamp(1.25rem, 2.5vw, 2rem);
}

.note-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: clamp(1.6rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(
    150deg,
    rgba(224, 176, 98, 0.08),
    rgba(255, 255, 255, 0.014)
  );
}

.note-text {
  max-width: 66ch;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.78;
}

.note-panel .btn {
  margin-top: 0.35rem;
}

/* =========================================================== 15 about page */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-story .h2 {
  margin-bottom: 1.3rem;
}

.about-story p {
  max-width: 64ch;
  margin-bottom: 1.1rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.fact-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.fact-label {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.fact-value {
  font-size: 0.92rem;
  text-align: right;
}

.about-aside {
  margin: 0;
}

.about-aside svg {
  display: block;
  width: 100%;
  height: auto;
}

.timeline {
  position: relative;
  padding-left: 1.4rem;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(224, 176, 98, 0.55),
    rgba(255, 255, 255, 0.06)
  );
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: calc(-1.4rem - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-year {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.tl-body {
  display: grid;
  min-width: 0;
  align-content: start;
}

.tl-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.tl-text {
  margin-top: 0.35rem;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.72;
}

/* ========================================================= 16 contact page */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info .h2,
.contact-form-wrap .h2 {
  margin-bottom: 1.3rem;
}

.info-list {
  margin-bottom: 2rem;
  list-style: none;
}

.info-row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.info-row dt {
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.info-row dd {
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.info-row a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.info-row a:hover {
  color: var(--gold);
  border-color: rgba(224, 176, 98, 0.5);
}

.map-block {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0e0e13;
}

.map-art {
  display: block;
  width: 100%;
  height: auto;
}

.map-art text {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.map-note {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111116;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8f8a80;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px),
    calc(100% - 15px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-note {
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* =============================================================== 17 footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: #08080a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.footer-col {
  min-width: 0;
}

.footer-col--brand {
  max-width: 36ch;
}

.footer-brand {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.footer-tagline {
  margin-bottom: 0.75rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-addr {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-heading {
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.footer-list a {
  color: var(--text-dim);
  font-size: 0.88rem;
  text-decoration: none;
  overflow-wrap: break-word;
}

.footer-list a:hover {
  color: var(--text);
}

.footer-list span {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.78rem;
}

.footer-locale {
  letter-spacing: 0.1em;
}

/* ============================================================== 18 motion */

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .card:hover,
  .card:focus-visible,
  .project-card:hover,
  .btn:hover,
  .link-arrow:hover::after,
  .card:hover .card-link::after {
    transform: none;
  }
}

/* =========================================================== 19 responsive */

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

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

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

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

  .about-aside {
    max-width: 420px;
  }

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

  .service-block--flip .service-aside {
    order: 0;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    padding: 1rem var(--gutter) 1.6rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #0c0c10;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  }

  .site-nav.is-open {
    display: flex;
    animation: navIn 0.26s var(--ease) both;
  }

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

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

  .site-nav a {
    display: block;
    padding: 0.95rem 0;
    font-size: 1rem;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .nav-foot {
    display: block;
    margin-top: 1.3rem;
  }

  .nav-foot-mail {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    text-decoration: none;
    overflow-wrap: break-word;
  }

  .nav-foot-addr {
    margin-top: 0.4rem;
    color: var(--text-dim);
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    font-size: 0.86rem;
    letter-spacing: 0.16em;
  }

  .brand-sub {
    font-size: 0.5rem;
    letter-spacing: 0.24em;
  }

  .hero {
    padding-block: clamp(3rem, 12vw, 4.5rem) clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero-meta {
    gap: 1.25rem 2rem;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .tl-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    padding-bottom: 1.75rem;
  }

  .info-row {
    grid-template-columns: 5rem minmax(0, 1fr);
  }

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

  .footer-col--brand {
    grid-column: auto;
  }

  .cta-inner {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .map-art text {
    font-size: 17px;
  }

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

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .section {
    padding-block: clamp(2.75rem, 9vw, 3.75rem);
  }

  .card,
  .project-card {
    padding: 1.15rem;
  }

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

@media (max-width: 380px) {
  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 0.45rem;
  }
}
