/* ==========================================================================
   錦緣專業窗簾家飾館 — JIN YUAN CURTAIN & INTERIOR
   Global stylesheet · v1.0
   01 Reset / tokens        02 Typography & utilities   03 Buttons & links
   04 Header & navigation   05 Mobile drawer            06 Hero
   07 Page hero             08 Sections                 09 Service cards
   10 Product list          11 Values & process         12 Answer / keypoints / table
   13 Portfolio & lightbox  14 CTA band                 15 Contact & form
   16 Footer                17 Floating assistant/LINE  18 Motion & responsive
   ========================================================================== */

/* 01 · Reset / design tokens ------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #1c1a16;
  --ink-2: #3b362e;
  --ink-3: #6b6357;
  --ink-4: #9a9184;
  --paper: #fbf8f2;
  --cream: #f3ece0;
  --cream-2: #ece2d2;
  --sand: #e4d8c5;
  --white: #fffdf9;
  --line: rgba(28, 26, 22, 0.14);
  --line-soft: rgba(28, 26, 22, 0.08);
  --brass: #b08a4f;
  --brass-deep: #8a6a38;
  --brass-light: #d9be8c;
  --forest: #2c3a32;
  --line-green: #06c755;
  --line-green-deep: #05a949;
  --shadow-sm: 0 2px 14px rgba(28, 26, 22, 0.06);
  --shadow-md: 0 18px 46px -22px rgba(28, 26, 22, 0.32);
  --shadow-lg: 0 44px 90px -34px rgba(28, 26, 22, 0.46);
  --serif: "Noto Serif TC", "Songti TC", "SimSun", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 88px;
  --radius: 3px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul,
ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
figure { margin: 0; }
::selection { background: var(--brass); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* 02 · Typography & utilities ---------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.container--narrow { width: min(860px, 100% - var(--gutter) * 2); margin-inline: auto; }
.container--wide { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--light { color: var(--brass-light); }
.eyebrow__num {
  font-family: var(--latin);
  font-size: 15px;
  letter-spacing: 0.06em;
  opacity: 0.9;
}
.eyebrow__divider { width: 1px; height: 12px; background: currentColor; opacity: 0.35; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}
.display em,
.display .u-em {
  font-style: normal;
  color: var(--brass-deep);
}
.title-lg { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.28; }
.title-md { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.4; }
.title-sm { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.5; }

.lead {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.95;
  color: var(--ink-2);
}
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; line-height: 1.8; color: var(--ink-3); }
.latin {
  font-family: var(--latin);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.text-serif { font-family: var(--serif); }
.text-center { text-align: center; }
.rule { height: 1px; border: 0; background: var(--line); margin: 0; }
.rule--light { background: rgba(255, 253, 249, 0.2); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack-sm > * + * { margin-top: 12px; }
.stack-md > * + * { margin-top: 24px; }

/* 03 · Buttons & links ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg { flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--brass); color: #fff; }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-deep); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(255, 253, 249, 0.45); color: var(--paper); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--line { background: var(--line-green); color: #fff; }
.btn--line:hover { background: var(--line-green-deep); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow svg { transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--brass-deep); border-color: var(--brass); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); border-color: rgba(255, 253, 249, 0.3); }
.link-arrow--light:hover { color: var(--brass-light); border-color: var(--brass-light); }

/* 04 · Header & navigation -------------------------------------------------- */
.header {
  --header-fg: #fffdf9;
  --header-fg-soft: rgba(255, 253, 249, 0.7);
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  color: var(--header-fg);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease),
              box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0 0 -48px;
  background: linear-gradient(to bottom, rgba(18, 16, 13, 0.68) 0%, rgba(18, 16, 13, 0.3) 60%, rgba(18, 16, 13, 0) 100%);
  opacity: 1;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.header.is-scrolled {
  --header-fg: var(--ink);
  --header-fg-soft: var(--ink-3);
  background: rgba(251, 248, 242, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -24px rgba(28, 26, 22, 0.5);
}
.header.is-scrolled::before { opacity: 0; }
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.header.is-scrolled .header__inner { height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}
.brand__sub {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--header-fg-soft);
  transition: color 0.45s var(--ease);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--header-fg);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--brass-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brass-light); }
.header.is-scrolled .nav__link.is-active { color: var(--brass-deep); }
.nav__link svg { transition: transform 0.35s var(--ease); opacity: 0.75; }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 330px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.dropdown__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 14px 14px 12px;
  transition: background-color 0.25s var(--ease);
}
.dropdown__item:hover { background: var(--cream); }
.dropdown__num {
  font-family: var(--latin);
  font-size: 15px;
  color: var(--brass);
  line-height: 1.6;
}
.dropdown__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.dropdown__item small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-dropdown:hover .nav__toggle svg,
.has-dropdown.is-open .nav__toggle svg { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; flex-direction: column; line-height: 1.3; }
.header__phone span {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--header-fg-soft);
  transition: color 0.45s var(--ease);
}
.header__phone strong {
  font-family: var(--latin);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.header__actions .btn { min-height: 44px; padding: 0 22px; font-size: 13.5px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  color: var(--header-fg);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 05 · Mobile drawer -------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr min(420px, 88vw);
  visibility: hidden;
  pointer-events: none;
}
.drawer__scrim {
  background: rgba(18, 16, 13, 0.5);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.drawer__panel {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 26px 28px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__close {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.drawer__close:hover { background: var(--ink); color: var(--paper); }
.drawer__nav { margin-top: 34px; display: flex; flex-direction: column; }
.drawer__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.drawer__link span {
  font-family: var(--latin);
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.08em;
}
.drawer__link.is-active { color: var(--brass-deep); }
.drawer__sub { padding: 2px 0 10px 30px; display: flex; flex-direction: column; }
.drawer__sub a { padding: 8px 0; font-size: 14.5px; color: var(--ink-2); }
.drawer__sub a:hover { color: var(--brass-deep); }
.drawer__foot { margin-top: auto; padding-top: 32px; }
.drawer__foot p { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-3); }
.drawer__phone {
  display: block;
  margin: 6px 0 18px;
  font-family: var(--latin);
  font-size: 30px;
  font-weight: 600;
}

/* 06 · Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 56px) 0 48px;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: heroZoom 18s var(--ease-out) both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 16, 13, 0.28) 0%, rgba(18, 16, 13, 0.02) 32%, rgba(18, 16, 13, 0.66) 100%),
    linear-gradient(90deg, rgba(18, 16, 13, 0.46) 0%, rgba(18, 16, 13, 0.12) 46%, rgba(18, 16, 13, 0) 72%);
}
.hero__inner { position: relative; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--brass-light);
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero__title {
  font-size: clamp(2.7rem, 6.1vw, 5.6rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.015em;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(18, 16, 13, 0.25);
}
.hero__title em {
  display: block;
  font-style: normal;
  color: var(--brass-light);
}
.hero__lead {
  max-width: 40ch;
  margin-top: 26px;
  font-size: clamp(0.95rem, 1.2vw, 1.06rem);
  line-height: 2;
  color: rgba(255, 253, 249, 0.82);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 249, 0.2);
  max-width: 760px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 253, 249, 0.78);
}
.hero__trust svg { color: var(--brass-light); flex: none; }
.hero__scroll {
  position: absolute;
  right: calc(var(--gutter) + 72px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 253, 249, 0.6);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255, 253, 249, 0.7), transparent);
  animation: scrollLine 2.4s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 07 · Page hero & breadcrumb ----------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 clamp(56px, 7vw, 92px);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 13, 0.62) 0%, rgba(18, 16, 13, 0.32) 40%, rgba(18, 16, 13, 0.04) 70%, rgba(18, 16, 13, 0) 100%),
    linear-gradient(180deg, rgba(18, 16, 13, 0.26) 0%, rgba(18, 16, 13, 0.02) 34%, rgba(18, 16, 13, 0.3) 100%);
}
.page-hero__inner { position: relative; }
.page-hero .display { margin-top: 22px; }
.page-hero__lead {
  max-width: 54ch;
  margin-top: 22px;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 2;
  color: rgba(255, 253, 249, 0.8);
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 249, 0.18);
}
.page-hero__meta li {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 253, 249, 0.72);
}
.page-hero__meta li strong { color: var(--brass-light); font-weight: 500; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 253, 249, 0.6);
}
.breadcrumb a { transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--brass-light); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: 0.4; }
.breadcrumb [aria-current="page"] { color: rgba(255, 253, 249, 0.9); }

/* 08 · Sections ------------------------------------------------------------- */
.section { padding: clamp(68px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .section__lead { color: rgba(255, 253, 249, 0.72); }
.section--ink .rule { background: rgba(255, 253, 249, 0.16); }
.section--sand { background: linear-gradient(180deg, var(--paper), var(--cream)); }

.section__head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  max-width: none;
}
.section__title { margin-top: 18px; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.3; }
.section__title em { font-style: normal; color: var(--brass-deep); }
.section--ink .section__title em { color: var(--brass-light); }
.section__lead { margin-top: 20px; font-size: 1rem; line-height: 1.95; color: var(--ink-3); }
.section__aside { font-size: 0.95rem; line-height: 1.95; color: var(--ink-3); }
.section__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* 09 · Service cards -------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(380px, 44vw, 540px);
  padding: 30px;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.service-card__media { position: absolute; inset: 0; z-index: -2; }
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter 1s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 16, 13, 0.04) 0%, rgba(18, 16, 13, 0.24) 45%, rgba(18, 16, 13, 0.8) 100%);
  transition: opacity 0.8s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__top {
  position: absolute;
  top: 26px; left: 30px; right: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 253, 249, 0.7);
}
.service-card__num { font-family: var(--latin); font-size: 15px; letter-spacing: 0.1em; color: var(--brass-light); }
.service-card__title { font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: 500; letter-spacing: 0.04em; }
.service-card__desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 253, 249, 0.72);
}
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-card__tags span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 253, 249, 0.28);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 253, 249, 0.82);
}
.service-card__arrow {
  position: absolute;
  right: 28px; bottom: 30px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 253, 249, 0.35);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.service-card:hover .service-card__arrow { background: var(--brass); border-color: var(--brass); color: #fff; }
.service-card__link { position: absolute; inset: 0; z-index: 2; }
.service-card__link:focus-visible { outline: 2px solid var(--brass-light); outline-offset: -6px; }

/* 10 · Product list --------------------------------------------------------- */
.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--line);
}
.product {
  display: grid;
  grid-template-columns: clamp(118px, 12vw, 156px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(26px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.product__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.product:hover .product__media img { transform: scale(1.05); }
.product__index {
  position: absolute;
  left: 8px; bottom: 6px;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 253, 249, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.product__body { min-width: 0; }
.product__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.product__title { font-size: clamp(1.12rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0.03em; }
.product__en {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.product__desc { margin-top: 10px; font-size: 13.8px; line-height: 1.92; color: var(--ink-3); }
.product__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.product__specs li {
  position: relative;
  padding-left: 12px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}
.product__specs li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
}

/* 11 · Values & process ----------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.value { padding-top: 22px; border-top: 1px solid var(--line); }
.section--ink .value { border-top-color: rgba(255, 253, 249, 0.2); }
.value__num {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.value__title { margin-top: 12px; font-size: 1.18rem; font-weight: 600; letter-spacing: 0.03em; }
.value__text { margin-top: 10px; font-size: 13.5px; line-height: 1.92; color: var(--ink-3); }
.section--ink .value__text { color: rgba(255, 253, 249, 0.68); }

.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}
.step__num {
  font-family: var(--latin);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--brass);
  letter-spacing: 0.04em;
}
.step__title { margin-top: 12px; font-size: 1.02rem; font-weight: 600; }
.step__text { margin-top: 8px; font-size: 12.8px; line-height: 1.9; color: var(--ink-3); }
.section--ink .step { border-top-color: rgba(255, 253, 249, 0.2); }
.section--ink .step__text { color: rgba(255, 253, 249, 0.66); }

.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.feature {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border: 1px solid var(--line);
  color: var(--brass-deep);
}
.feature__title { font-size: 1rem; font-weight: 600; }
.feature__text { margin-top: 6px; font-size: 13px; line-height: 1.85; color: var(--ink-3); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 6vw, 90px); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__caption {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.split__badge {
  position: absolute;
  right: -18px; bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px; height: 132px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.split__badge strong { font-family: var(--latin); font-size: 38px; font-weight: 500; line-height: 1; color: var(--brass-deep); }
.split__badge span { margin-top: 6px; font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-3); }
.split__body .lead + .lead { margin-top: 18px; }
.split__list { margin-top: 26px; display: grid; gap: 12px; }
.split__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}
.split__list svg { flex: none; margin-top: 5px; color: var(--brass-deep); }

/* 12 · Answer / keypoints / definition / table ------------------------------ */
.answer-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.answer {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.answer__q {
  display: flex;
  gap: 10px;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.answer__q::before {
  content: "Q";
  font-family: var(--latin);
  font-size: 15px;
  color: var(--brass);
  line-height: 1.65;
}
.answer__a {
  margin-top: 10px;
  padding-left: 23px;
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--ink-3);
}
.answer__a strong { color: var(--ink); font-weight: 600; }

.keypoints {
  padding: clamp(26px, 3vw, 38px);
  background: var(--cream);
  border: 1px solid var(--line-soft);
}
.section--cream .keypoints { background: var(--paper); }
.keypoints__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.keypoints ul { margin-top: 18px; display: grid; gap: 10px; }
.keypoints li {
  position: relative;
  padding-left: 18px;
  font-size: 13.8px;
  line-height: 1.9;
  color: var(--ink-2);
}
.keypoints li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.78em;
  width: 6px; height: 1px;
  background: var(--brass);
}
.keypoints li strong { font-weight: 600; color: var(--ink); }

.definition {
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px);
  border-left: 2px solid var(--brass);
  background: linear-gradient(90deg, rgba(176, 138, 79, 0.07), rgba(176, 138, 79, 0));
}
.definition__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.definition p + p { margin-top: 10px; }
.definition__text { margin-top: 10px; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.9; }

.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.table-wrap::after {
  content: "← 左右滑動查看 →";
  display: none;
}
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 13.5px; }
.compare caption {
  padding: 16px 20px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.compare th,
.compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare thead th {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brass-deep);
  background: var(--cream);
  white-space: nowrap;
}
.compare tbody th { font-family: var(--serif); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(176, 138, 79, 0.045); }

/* FAQ ---------------------------------------------------------------------- */
.faq-group + .faq-group { margin-top: clamp(36px, 4vw, 54px); }
.faq-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.faq-group__title span { font-family: var(--latin); font-size: 13px; color: var(--brass); letter-spacing: 0.1em; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 500;
  line-height: 1.65;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brass-deep); }
.faq-item__icon {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 1px;
  background: var(--ink-3);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--ink); border-color: var(--ink); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: var(--paper); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__body { padding: 0 44px 26px 0; }
.faq-item__body p { font-size: 14px; line-height: 1.95; color: var(--ink-3); }
.faq-item__body p + p { margin-top: 10px; }
.faq-item__body a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; }

/* 13 · Portfolio & lightbox ------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter {
  padding: 9px 18px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter span { opacity: 0.55; font-size: 10px; margin-left: 4px; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); }
.work { position: relative; }
.work.is-hidden { display: none; }
.work__media {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4 / 3;
}
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.work:hover .work__media img { transform: scale(1.05); }
.work__open {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(18, 16, 13, 0.28);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work:hover .work__open,
.work__open:focus-visible { opacity: 1; }
.work__open span {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, 0.6);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.work__body { padding-top: 16px; }
.work__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--brass-deep);
}
.work__meta span + span::before { content: "·"; margin-right: 10px; opacity: 0.5; }
.work__title { margin-top: 8px; font-size: 1.12rem; font-weight: 600; letter-spacing: 0.02em; }
.work__desc { margin-top: 6px; font-size: 13px; line-height: 1.85; color: var(--ink-3); }
.work--wide { grid-column: span 2; }
.work--wide .work__media { aspect-ratio: 16 / 10; }

.lightbox {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(14, 13, 11, 0.82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lightbox[open] { animation: lbIn 0.4s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lightbox__grid { display: grid; grid-template-columns: 1.35fr 1fr; max-height: calc(100svh - 32px); }
.lightbox__media { background: var(--ink); min-height: 320px; }
.lightbox__media img { width: 100%; height: 100%; max-height: calc(100svh - 32px); object-fit: cover; }
.lightbox__body { padding: clamp(24px, 3vw, 42px); overflow-y: auto; display: flex; flex-direction: column; }
.lightbox__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: rgba(251, 248, 242, 0.9);
  color: var(--ink);
  transition: background-color 0.3s var(--ease);
}
.lightbox__close:hover { background: var(--brass); color: #fff; }
.lightbox__cat { font-size: 10.5px; letter-spacing: 0.16em; color: var(--brass-deep); }
.lightbox__title { margin-top: 10px; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.lightbox__text { margin-top: 16px; font-size: 14px; line-height: 1.95; color: var(--ink-3); }
.lightbox__specs { margin-top: 22px; border-top: 1px solid var(--line); }
.lightbox__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; }
.lightbox__specs dt { color: var(--ink-3); }
.lightbox__specs dd { margin: 0; text-align: right; }
.lightbox__nav { display: flex; gap: 8px; margin-top: auto; padding-top: 26px; }
.lightbox__nav button {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox__nav button:hover { background: var(--ink); color: var(--paper); }
.lightbox__count { margin-left: auto; align-self: center; font-family: var(--latin); font-size: 13px; letter-spacing: 0.1em; color: var(--ink-3); }

/* 14 · CTA band ------------------------------------------------------------- */
.cta {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0;
  color: var(--paper);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 120% at 50% 50%, rgba(18, 16, 13, 0.72) 0%, rgba(18, 16, 13, 0.52) 58%, rgba(18, 16, 13, 0.3) 100%);
}
.cta__title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.35; }
.cta__title em { font-style: normal; color: var(--brass-light); }
.cta__lead { max-width: 56ch; margin: 18px auto 0; font-size: 14.5px; line-height: 2; color: rgba(255, 253, 249, 0.76); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta__note { margin-top: 20px; font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 253, 249, 0.55); }

/* 15 · Contact & form ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item__label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--brass-deep); padding-top: 2px; }
.info-item__value { font-size: 14.5px; line-height: 1.9; }
.info-item__value a:hover { color: var(--brass-deep); }
.info-item__value strong { font-family: var(--latin); font-size: 24px; font-weight: 600; letter-spacing: 0.03em; }
.info-item__note { margin-top: 4px; font-size: 12px; color: var(--ink-3); }

.form-card {
  padding: clamp(26px, 3.4vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-card__title { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.form-card__lead { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.form { margin-top: 28px; display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-2); }
.field > label .req { color: var(--brass-deep); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 14.5px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.8; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B6357' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-4); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-bottom-color: #b4462f; }
.field__error { font-size: 11.5px; color: #b4462f; min-height: 0; }
.field__hint { font-size: 11.5px; color: var(--ink-4); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease);
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.consent input { margin-top: 4px; accent-color: var(--ink); width: 15px; height: 15px; flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__status { font-size: 12.5px; color: var(--brass-deep); min-height: 1.4em; }
.form__status.is-error { color: #b4462f; }
.form__note { font-size: 11.5px; line-height: 1.8; color: var(--ink-4); }

.map-frame { position: relative; border: 1px solid var(--line); background: var(--cream); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: clamp(300px, 38vw, 420px); border: 0; filter: grayscale(0.35) contrast(1.02); }
.map-frame__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.map-frame__foot p { font-size: 12.5px; color: var(--ink-3); }

.line-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #0b3d24, #06c755);
  color: #fff;
}
.line-card__qr { background: #fff; padding: 8px; }
.line-card__qr img { width: 100%; height: auto; }
.line-card__title { font-size: 1.2rem; font-weight: 600; letter-spacing: 0.03em; }
.line-card__id { margin-top: 4px; font-family: var(--latin); font-size: 20px; letter-spacing: 0.08em; }
.line-card__text { margin-top: 8px; font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, 0.78); }
.line-card .btn { margin-top: 14px; background: #fff; color: #0b3d24; }
.line-card .btn:hover { background: #eafff2; }

/* 16 · Footer --------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 92px) 0 0; }
.footer__top { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand .brand__mark { width: 48px; height: 48px; }
.footer__brand .brand__name { color: var(--paper); }
.footer__brand .brand__sub { color: rgba(255, 253, 249, 0.55); }
.footer__desc { margin-top: 22px; max-width: 34ch; font-size: 13px; line-height: 1.95; color: rgba(255, 253, 249, 0.62); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 253, 249, 0.22);
  color: rgba(255, 253, 249, 0.8);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__social a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.footer__col-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.footer__links { margin-top: 18px; display: grid; gap: 10px; }
.footer__links a { font-size: 13px; color: rgba(255, 253, 249, 0.68); transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--brass-light); }
.footer__contact { margin-top: 18px; display: grid; gap: 12px; font-size: 13px; line-height: 1.8; color: rgba(255, 253, 249, 0.7); }
.footer__contact strong { font-family: var(--latin); font-size: 22px; font-weight: 600; letter-spacing: 0.04em; color: var(--paper); }
.footer__contact a:hover { color: var(--brass-light); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 66px);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 253, 249, 0.14);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 253, 249, 0.42);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a:hover { color: var(--brass-light); }

/* 17 · Floating assistant & LINE -------------------------------------------- */
.float-stack {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: clamp(14px, 2.2vw, 26px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(18, 16, 13, 0.55);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.fab:hover { transform: translateY(-3px); }
.fab--line { background: var(--line-green); }
.fab--line:hover { background: var(--line-green-deep); }
.fab--chat { background: var(--ink); }
.fab--chat:hover { background: var(--brass-deep); }
.fab__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  animation: ping 3.2s var(--ease-out) infinite;
}
.fab--line .fab__ping { animation-delay: 1.2s; }
@keyframes ping {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.fab__dot {
  position: absolute;
  top: 3px; right: 3px;
  width: 11px; height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #e0592f;
}
.fab__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.fab:hover .fab__label,
.fab:focus-visible .fab__label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* assistant panel */
.assistant {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: 96px;
  z-index: 85;
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 28px));
  height: min(620px, calc(100svh - 132px));
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.assistant.is-open { opacity: 1; visibility: visible; transform: none; }
.assistant__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--paper);
}
.assistant__avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--brass);
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
}
.assistant__id { line-height: 1.35; }
.assistant__id strong { display: block; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; }
.assistant__id span { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: rgba(255, 253, 249, 0.6); }
.assistant__id i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-green); }
.assistant__actions { display: flex; gap: 2px; margin-left: auto; }
.assistant__actions button {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  color: rgba(255, 253, 249, 0.7);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.assistant__actions button:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.assistant__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  background:
    radial-gradient(circle at 12% 8%, rgba(176, 138, 79, 0.06), transparent 42%),
    var(--paper);
  overscroll-behavior: contain;
}
.assistant__intro { margin-bottom: 16px; padding: 14px 16px; background: var(--cream); border-left: 2px solid var(--brass); }
.assistant__intro strong { display: block; font-family: var(--serif); font-size: 14px; }
.assistant__intro p { margin-top: 4px; font-size: 12px; line-height: 1.8; color: var(--ink-3); }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: 88%; margin-bottom: 14px; }
.msg--bot { align-items: flex-start; }
.msg--user { align-items: flex-end; margin-left: auto; }
.msg__bubble {
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  white-space: pre-line;
}
.msg--bot .msg__bubble { background: #fff; border: 1px solid var(--line-soft); border-top-left-radius: 2px; box-shadow: var(--shadow-sm); }
.msg--user .msg__bubble { background: var(--ink); color: var(--paper); border-top-right-radius: 2px; }
.msg__bubble p + p { margin-top: 8px; }
.msg__bubble ul { margin: 8px 0 0; display: grid; gap: 5px; }
.msg__bubble li { position: relative; padding-left: 14px; }
.msg__bubble li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 5px; height: 1px; background: var(--brass); }
.msg__bubble a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 2px; }
.msg__bubble strong { font-weight: 600; }
.msg__links { display: flex; flex-wrap: wrap; gap: 6px; }
.msg__links a {
  padding: 6px 11px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.msg__links a:hover { background: var(--cream); border-color: var(--brass); }
.msg__time { font-size: 9.5px; letter-spacing: 0.06em; color: var(--ink-4); }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; background: #fff; border: 1px solid var(--line-soft); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.quick {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 16px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  scrollbar-width: none;
}
.quick::-webkit-scrollbar { display: none; }
.quick button {
  flex: none;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  white-space: nowrap;
  color: var(--ink-2);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.quick button:hover { background: var(--cream); border-color: var(--brass); }
.assistant__input {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.assistant__input textarea {
  flex: 1;
  max-height: 96px;
  min-height: 38px;
  padding: 8px 4px;
  border: 0;
  resize: none;
  font-size: 13px;
  line-height: 1.6;
  background: transparent;
}
.assistant__input textarea:focus { outline: none; }
.assistant__send {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  background: var(--ink);
  color: var(--paper);
  transition: background-color 0.25s var(--ease);
}
.assistant__send:hover { background: var(--brass); }
.assistant__foot {
  padding: 7px 12px 9px;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--ink-4);
  text-align: center;
}
.assistant__foot a { text-decoration: underline; text-underline-offset: 2px; }

/* LINE popover */
.line-pop {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: 96px;
  z-index: 86;
  width: min(310px, calc(100vw - 28px));
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.line-pop.is-open { opacity: 1; visibility: visible; transform: none; }
.line-pop__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--line-green);
  color: #fff;
}
.line-pop__head strong { font-family: var(--serif); font-size: 15px; letter-spacing: 0.04em; }
.line-pop__head button { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; color: rgba(255, 255, 255, 0.85); }
.line-pop__body { padding: 18px 18px 20px; text-align: center; }
.line-pop__qr { width: 150px; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid var(--line); }
.line-pop__id { margin-top: 12px; font-family: var(--latin); font-size: 19px; letter-spacing: 0.08em; }
.line-pop__text { margin-top: 6px; font-size: 11.5px; line-height: 1.8; color: var(--ink-3); }
.line-pop .btn { margin-top: 14px; }

/* 18 · Motion & responsive -------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-inview { opacity: 1; transform: none; }

.no-scroll { overflow: hidden; }

@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav__list { gap: 18px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
  .footer__col--contact .footer__col-title { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn { display: none; }
  .header.is-scrolled .header__inner { height: 68px; }
  .service-grid { gap: 14px; }
  .service-card { min-height: 420px; padding: 24px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work--wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .section__head--split { grid-template-columns: 1fr; }
  .section__aside { max-width: 640px; }
}

@media (max-width: 860px) {
  body { line-height: 1.8; }
  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }
  .hero__lead { max-width: 34ch; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .product-list { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split__media { order: -1; }
  .split__media img { aspect-ratio: 4 / 3; }
  .split__badge { right: 16px; bottom: -18px; width: 108px; height: 108px; }
  .split__badge strong { font-size: 30px; }
  .feature-row { grid-template-columns: 1fr; gap: 0; }
  .answer-panel { grid-template-columns: 1fr; }
  .lightbox__grid { grid-template-columns: 1fr; }
  .lightbox__media img { aspect-ratio: 4 / 3; height: auto; max-height: 46svh; }
  .lightbox__body { max-height: 46svh; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-template-columns: 1fr; }
  .line-card { grid-template-columns: 110px minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 68px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.3rem; }
  .brand__sub { font-size: 8.5px; letter-spacing: 0.2em; }
  .hero { min-height: 100svh; padding-bottom: 30px; align-items: flex-end; }
  .hero__media img { object-position: 58% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(18, 16, 13, 0.55) 0%, rgba(18, 16, 13, 0.18) 34%, rgba(18, 16, 13, 0.86) 100%),
      linear-gradient(90deg, rgba(18, 16, 13, 0.4), rgba(18, 16, 13, 0.05));
  }
  .hero__title { font-size: clamp(2.15rem, 9.4vw, 3rem); }
  .hero__lead { font-size: 0.9rem; line-height: 1.85; margin-top: 20px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 0 1 auto; padding: 0 18px; font-size: 13.5px; }
  .hero__trust { gap: 8px 16px; margin-top: 24px; padding-top: 16px; }
  .hero__trust li { font-size: 10.5px; letter-spacing: 0.06em; }
  .page-hero { padding-top: calc(var(--header-h) + 56px); }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 30px; }
  .section__foot { margin-top: 32px; }
  .value-grid { gap: 26px; }
  .process { grid-template-columns: 1fr 1fr; gap: 24px; }
  .step__num { font-size: 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .work--wide { grid-column: auto; }
  .work--wide .work__media { aspect-ratio: 4 / 3; }
  .filters { gap: 6px; }
  .filter { padding: 7px 13px; font-size: 11.5px; }
  .product { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .product__specs { gap: 4px 12px; }
  .compare { min-width: 600px; font-size: 12.5px; }
  .compare th,
  .compare td { padding: 12px 14px; }
  .table-wrap::after {
    display: block;
    position: sticky;
    left: 0;
    padding: 8px 14px;
    background: var(--cream);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--ink-3);
    text-align: right;
  }
  .form__row { grid-template-columns: 1fr; gap: 16px; }
  .info-item { grid-template-columns: 76px 1fr; }
  .footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .assistant {
    inset: auto 0 0;
    width: 100%;
    height: 100svh;
    max-height: none;
    border: 0;
    transform: translateY(100%);
    transform-origin: bottom center;
  }
  .assistant.is-open { transform: none; }
  .assistant__body { padding-bottom: 12px; }
  .assistant__head { padding-top: max(14px, env(safe-area-inset-top)); }
  .assistant__input { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .assistant__foot { display: none; }
  .float-stack { right: 14px; bottom: 14px; gap: 10px; }
  .fab { width: 50px; height: 50px; }
  .fab__label { display: none; }
  .line-pop { right: 14px; bottom: 90px; }
  .lightbox { width: 100vw; max-height: 100svh; }
  .lightbox__grid { max-height: 100svh; }
  .lightbox__media img { max-height: 40svh; }
  .lightbox__body { max-height: 60svh; }
  .line-card { grid-template-columns: 1fr; text-align: center; }
  .line-card__qr { width: 130px; margin: 0 auto; }
  .split__badge { width: 96px; height: 96px; }
}

@media (max-width: 400px) {
  .process { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

@media print {
  .header, .float-stack, .assistant, .line-pop, .drawer, .footer__social { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero { min-height: auto; color: #000; padding: 20px 0; }
  .hero__media, .page-hero__media, .cta__media { display: none; }
  .section { padding: 20px 0; }
  a { text-decoration: underline; }
}

/* 19 · Page-level helpers ---------------------------------------------------- */
.display--sm { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.32; }
.display--sm em,
.title-lg em { font-style: normal; color: var(--brass-deep); }
.split--top { align-items: start; }
.feature-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.btn--cream { background: var(--paper); color: var(--ink); }
.btn--cream:hover { background: var(--brass); color: #fff; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

/* material preview */
.material-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.material { display: block; }
.material__media { aspect-ratio: 1; overflow: hidden; background: var(--cream); box-shadow: var(--shadow-sm); }
.material__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.material:hover .material__media img { transform: scale(1.05); }
.material__label { margin-top: 12px; font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.03em; }
.material__meta { margin-top: 2px; font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.material:hover .material__label { color: var(--brass-deep); }

/* certificate strip */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cred-strip li { display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2); }
.cred-strip svg { color: var(--brass-deep); flex: none; }

/* inquiry dialog */
.inquiry { width: min(640px, calc(100vw - 28px)); }
.inquiry__body { position: relative; padding: clamp(28px, 4vw, 46px); max-height: calc(100svh - 32px); overflow-y: auto; }
.inquiry__summary {
  margin-top: 20px;
  padding: 18px 20px;
  max-height: 220px;
  overflow: auto;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.95;
  white-space: pre-wrap;
}
.inquiry__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.assistant__foot a { color: var(--brass-deep); }

@media (max-width: 1024px) {
  .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .feature-row--2 { grid-template-columns: 1fr; }
  .inquiry__actions .btn { flex: 1 1 100%; }
}

/* text link */
.text-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(176,138,79,.6); }
.text-link:hover { color: var(--brass-deep); }

/* section padding helper */
.pt-0 { padding-top: 0; }

/* plain hero (privacy / 404) */
.page-hero--plain {
  background:
    radial-gradient(120% 90% at 82% 10%, rgba(176, 138, 79, 0.22), transparent 55%),
    var(--ink);
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: clamp(44px, 5vw, 68px);
}
.page-hero--plain .page-hero__media { display: none; }
.page-hero--plain .page-hero__inner { max-width: 780px; }

/* 404 index */
.error-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.error-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.error-links a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.error-links span { font-family: var(--latin); font-size: 12px; color: var(--brass); }

/* privacy prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.prose ul { margin-top: 12px; padding-left: 0; }
.prose li { position: relative; padding-left: 16px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 6px; height: 1px; background: var(--brass); }
.prose a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { margin-top: 8px; font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }

@media (max-width: 640px) {
  .error-links { grid-template-columns: 1fr; }
}





/* 20 · Refinements ---------------------------------------------------------- */
h1, h2, h3, h4,
.display, .section__title, .cta__title, .form-card__title { text-wrap: balance; }
p, .lead, .answer__a, .work__desc { text-wrap: pretty; }

.hero__title { text-shadow: 0 2px 38px rgba(18, 16, 13, 0.32); }
.hero__title em { color: #ecd6ab; text-shadow: 0 2px 30px rgba(18, 16, 13, 0.38); }
.hero__media picture { display: block; width: 100%; height: 100%; }

@media (max-width: 1024px) {
  .cred-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
}

@media (max-width: 640px) {
  .hero__trust { display: none; }
  .hero__scrim {
    background-color: rgba(18, 16, 13, 0.22);
    background-image:
      linear-gradient(180deg, rgba(18, 16, 13, 0.42) 0%, rgba(18, 16, 13, 0.08) 30%, rgba(18, 16, 13, 0.86) 100%),
      linear-gradient(90deg, rgba(18, 16, 13, 0.5) 0%, rgba(18, 16, 13, 0.06) 72%);
  }
  .hero { padding-bottom: 42px; }
  .cta__title { font-size: clamp(1.55rem, 6.8vw, 2rem); }
  .cred-strip { gap: 10px 16px; }
  .cred-strip li { font-size: 11px; }
  .section__title { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }
  .display--sm { font-size: clamp(1.8rem, 8.2vw, 2.4rem); }
  .assistant__foot { font-size: 9px; }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 80px; }
  .hero__media img { object-position: 82% center; }
  .hero__scrim {
    background-color: transparent;
    background-image:
      linear-gradient(180deg, rgba(18, 16, 13, 0.3) 0%, rgba(18, 16, 13, 0.02) 26%, rgba(18, 16, 13, 0.74) 100%),
      linear-gradient(90deg, rgba(18, 16, 13, 0.5) 0%, rgba(18, 16, 13, 0.08) 74%);
  }
  .float-stack { flex-direction: row; align-items: center; gap: 10px; }
  .fab { width: 48px; height: 48px; }
  .fab__label { display: none; }
}

/* 21 · Interaction refinements ---------------------------------------------- */
.nowrap { white-space: nowrap; }
.float-stack { transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease); }
body.assistant-open .float-stack { opacity: 0; visibility: hidden; pointer-events: none; }
body.assistant-open .line-pop { opacity: 0; visibility: hidden; }

@media (max-width: 640px) {
  .hero { padding-bottom: 112px; }
  .hero__media img { object-position: 76% center; }
}

/* 22 · Layering for floating panels above the site header */
.assistant { z-index: 120; }
.line-pop { z-index: 121; }
@media (max-width: 640px) {
  .assistant__head { min-height: 68px; }
}

.line-card {
  background: linear-gradient(135deg, #0b3d24 0%, #14683c 62%, #1a7f49 100%);
}

.page-hero--floor .page-hero__media img { object-position: center 72%; }

/* 23 · Hide floating actions behind overlays and tighten the mobile drawer */
body.no-scroll .float-stack,
body.line-open .float-stack { opacity: 0; visibility: hidden; pointer-events: none; }

@media (max-width: 640px) {
  .drawer__panel { padding: 22px 22px 24px; }
  .drawer__nav { margin-top: 24px; }
  .drawer__link { padding: 13px 0; font-size: 1.3rem; }
  .drawer__foot { padding-top: 22px; }
  .drawer__phone { font-size: 26px; }
}

/* 24 · Mobile form usability (prevent iOS focus zoom) */
@media (max-width: 640px) {
  .field input,
  .field select,
  .field textarea,
  .assistant__input textarea { font-size: 16px; }
  .field textarea { min-height: 110px; }
}
.tel-link {
  font-family: var(--latin);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tel-link:hover { color: var(--brass-deep); border-color: var(--brass); }
.footer__contact .small { color: rgba(255, 253, 249, 0.45); font-size: 10.5px; letter-spacing: 0.14em; }


/* 25 · Brighter photography ------------------------------------------------- */
.hero__media img,
.page-hero__media img,
.cta__media img,
.service-card__media img { filter: brightness(1.07) saturate(1.04); }

.drawer__mobile {
  margin: 6px 0 16px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.drawer__mobile a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.drawer__mobile a:hover { color: var(--brass-deep); border-color: var(--brass); }


/* 26 · Keep the photography bright while text stays legible */
.hero__title { text-shadow: 0 1px 2px rgba(18, 16, 13, 0.45), 0 6px 30px rgba(18, 16, 13, 0.4); }
.hero__title em { color: #f2ddb4; text-shadow: 0 1px 2px rgba(18, 16, 13, 0.5), 0 6px 26px rgba(18, 16, 13, 0.45); }
.hero__eyebrow { color: #f7e9cf; text-shadow: 0 1px 10px rgba(18, 16, 13, 0.55); }
.hero__lead { text-shadow: 0 1px 12px rgba(18, 16, 13, 0.5); }
.page-hero .display,
.page-hero__lead { text-shadow: 0 1px 2px rgba(18, 16, 13, 0.35), 0 4px 22px rgba(18, 16, 13, 0.3); }
.page-hero__media img { filter: brightness(1.14) saturate(1.05); }

.info-item__value .tel-link { color: var(--ink); }
.info-item__value .tel-link:hover { color: var(--brass-deep); }
@media (max-width: 640px) {
  .info-item__value .tel-link { font-size: 1.25rem; }
}


/* 27 · Small-text legibility on bright photography */
.header:not(.is-scrolled) .brand__name,
.header:not(.is-scrolled) .brand__sub,
.header:not(.is-scrolled) .nav__link,
.header:not(.is-scrolled) .header__phone { text-shadow: 0 1px 10px rgba(18, 16, 13, 0.55); }
.page-hero .eyebrow,
.page-hero__meta li,
.breadcrumb { text-shadow: 0 1px 8px rgba(18, 16, 13, 0.5); }
.info-item__value .tel-link { display: inline-block; margin-top: 4px; }
