:root {
  color-scheme: light;
  --black: #12100c;
  --black-2: #1a1813;
  --ink: #12100c;
  --muted: #786b5d;
  --paper: #f5ebdd;
  --paper-2: #ebe0cf;
  --paper-3: #fff8ed;
  --lacquer: #c51b16;
  --lacquer-dark: #8e120f;
  --jade: #173428;
  --jade-soft: #3f574c;
  --brass: #b99458;
  --cream: #f5ebdd;
  --line: rgba(38, 29, 20, 0.16);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(13, 10, 7, 0.18);
  --radius: 8px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

body.image-viewer-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(30, 22, 14, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 22, 14, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

body::after {
  content: "niu";
  position: fixed;
  right: -0.08em;
  bottom: -0.34em;
  z-index: -1;
  color: rgba(185, 148, 88, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: min(38vw, 520px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(18px, 4vw, 44px);
  color: rgba(255, 250, 240, 0.9);
  background: rgba(18, 16, 12, 0.82);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 235, 221, 0.94);
  box-shadow: 0 10px 28px rgba(13, 10, 7, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  min-height: 42px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(185, 148, 88, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark img {
  width: 132px;
  height: auto;
  flex: 0 0 auto;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 42px);
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a {
  opacity: 0.84;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.desktop-nav a:hover {
  color: var(--brass);
  opacity: 1;
}

.site-header.is-scrolled .desktop-nav a:hover {
  color: var(--lacquer);
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--cream);
  background: rgba(245, 235, 221, 0.06);
  border: 1px solid rgba(245, 235, 221, 0.44);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
}

.header-link:hover {
  color: #fff;
  background: var(--lacquer);
  border-color: var(--lacquer);
}

.site-header.is-scrolled .header-link {
  color: var(--ink);
  background: rgba(18, 16, 12, 0.04);
  border-color: rgba(18, 16, 12, 0.24);
}

.site-header.is-scrolled .header-link:hover {
  color: #fff;
  background: var(--lacquer);
  border-color: var(--lacquer);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  z-index: 28;
  inset: 76px 16px auto 16px;
  display: none;
  padding: 12px;
  color: var(--ink);
  background: rgba(245, 239, 228, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-float {
  position: fixed;
  z-index: 24;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #f8eedc;
  background: rgba(18, 16, 12, 0.84);
  border: 1px solid rgba(215, 176, 107, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(13, 10, 7, 0.24);
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 950;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.lead-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: 118px clamp(24px, 6vw, 96px) 58px;
  color: #f9f1df;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.92) 0%, rgba(8, 7, 5, 0.82) 34%, rgba(8, 7, 5, 0.32) 70%, rgba(8, 7, 5, 0.62) 100%),
    linear-gradient(0deg, rgba(8, 7, 5, 0.88), rgba(8, 7, 5, 0.1) 48%, rgba(8, 7, 5, 0.62)),
    url("/assets/library/brands/bistro-panzhongjuchang.png") center / cover,
    var(--black);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 68px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 176, 107, 0.34), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 34%, rgba(215, 176, 107, 0.14), transparent 32%);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
  background: url("/assets/brand/niu-mark.svg") center / contain no-repeat;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.32));
}

.hero-rail {
  display: none;
  align-self: stretch;
  grid-template-rows: auto 1fr auto 1fr auto;
  align-items: center;
  justify-items: start;
  padding-top: 24px;
  color: rgba(249, 241, 223, 0.58);
  border-right: 1px solid var(--line-dark);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-rail i {
  width: 28px;
  height: 1px;
  background: rgba(249, 241, 223, 0.36);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  color: var(--brass);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(50px, 5.8vw, 92px);
  line-height: 1.08;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 610px;
  margin-top: 26px;
  color: rgba(249, 241, 223, 0.78);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.84;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(249, 241, 223, 0.2);
}

.hero-trust span {
  min-height: auto;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: rgba(249, 241, 223, 0.78);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(249, 241, 223, 0.22);
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
}

.hero-trust span:first-child {
  padding-left: 0;
}

.hero-trust span:last-child {
  border-right: 0;
}

.button,
.wide-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  border-radius: var(--radius);
  font-weight: 950;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button {
  padding: 0 28px;
  border: 1px solid rgba(249, 241, 223, 0.28);
}

.button:hover,
.wide-button:hover,
.contact-form button:hover {
  transform: translateY(-2px);
}

.button-primary,
.wide-button,
.contact-form button {
  color: #fff;
  background: var(--lacquer);
  border-color: var(--lacquer);
}

.button-primary:hover,
.wide-button:hover,
.contact-form button:hover {
  background: var(--lacquer-dark);
  border-color: var(--lacquer-dark);
}

.button-ghost {
  color: #f9f1df;
  background: transparent;
}

.button-ghost:hover {
  border-color: #d7b06b;
}

.button-dark {
  color: var(--ink);
  background: transparent;
  border-color: rgba(18, 16, 12, 0.22);
}

.button-dark:hover {
  border-color: var(--jade);
  background: rgba(23, 52, 40, 0.08);
}

.hero-gallery {
  display: none;
}

.hero-gallery-label {
  position: absolute;
  z-index: 4;
  left: 4%;
  top: 4%;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  color: #f8eedc;
  background: rgba(9, 8, 6, 0.72);
  border: 1px solid rgba(249, 241, 223, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.hero-gallery-label span {
  color: rgba(215, 176, 107, 0.88);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-gallery-label strong {
  font-size: 13px;
  font-weight: 900;
}

.hero-board {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(249, 241, 223, 0.18);
  border-radius: var(--radius);
  background: #191610;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.38);
}

.hero-board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-board-main {
  right: 0;
  top: 9%;
  z-index: 2;
  width: min(840px, 88%);
  aspect-ratio: 16 / 9;
}

.hero-board-top {
  left: 0;
  top: 24%;
  z-index: 3;
  width: min(380px, 36%);
  aspect-ratio: 16 / 9;
  transform: translateY(-18px);
}

.hero-board-bottom {
  left: 8%;
  bottom: 8%;
  z-index: 3;
  width: min(430px, 38%);
  aspect-ratio: 16 / 9;
}

.hero-meta {
  position: absolute;
  right: 2%;
  bottom: 5%;
  z-index: 4;
  width: min(500px, 56%);
  padding: 14px 16px;
  color: rgba(249, 241, 223, 0.86);
  background: rgba(9, 8, 6, 0.76);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.hero-meta dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.hero-meta dt {
  color: rgba(249, 241, 223, 0.48);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 850;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.proof-strip div {
  min-height: 96px;
  display: grid;
  align-content: center;
  padding: 20px clamp(18px, 4vw, 32px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 46px);
  font-style: italic;
  line-height: 1;
}

.proof-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.agent-entry {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 0.7fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
  padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 88% 18%, rgba(23, 52, 40, 0.12), transparent 30%),
    linear-gradient(135deg, #fff8ed, #efe2cf);
  border-bottom: 1px solid var(--line);
}

.agent-entry-copy {
  max-width: 780px;
}

.agent-entry h2 {
  max-width: 780px;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1.06;
}

.agent-entry p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.8;
}

.agent-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.designer-showcase {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
}

.designer-showcase::before {
  content: "";
  position: absolute;
  inset: -9% -7% auto auto;
  width: 56%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(185, 148, 88, 0.18), transparent 64%),
    rgba(23, 52, 40, 0.08);
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.designer-showcase-board {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(38, 29, 20, 0.16);
  box-shadow: 0 30px 80px rgba(61, 42, 22, 0.18);
}

.designer-showcase-board img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.designer-showcase-board figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: #f8eedc;
  background: rgba(18, 16, 12, 0.76);
  border: 1px solid rgba(248, 238, 220, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.designer-showcase-board span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 950;
}

.designer-showcase-board strong {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1;
}

.designer-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(38, 29, 20, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 248, 237, 0.72);
  overflow: hidden;
}

.designer-flow span {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--jade);
  border-right: 1px solid rgba(38, 29, 20, 0.14);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.designer-flow span:last-child {
  border-right: 0;
}

.lead-capture {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
  padding: clamp(74px, 9vw, 118px) clamp(18px, 5vw, 64px);
  color: #f8eedc;
  background:
    radial-gradient(circle at 8% 12%, rgba(197, 27, 22, 0.18), transparent 28%),
    linear-gradient(110deg, rgba(18, 16, 12, 0.97), rgba(23, 52, 40, 0.92)),
    #12100c;
  border-bottom: 1px solid var(--line-dark);
}

.lead-offer {
  max-width: 760px;
}

.lead-offer p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(248, 238, 220, 0.72);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.78;
}

.lead-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.lead-benefits article {
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: rgba(245, 235, 221, 0.065);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.lead-benefits strong {
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.lead-benefits span {
  color: #fff;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 22px;
  font-weight: 900;
}

.lead-benefits p {
  margin: 0;
  color: rgba(248, 238, 220, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.lead-form {
  width: 100%;
  padding: clamp(22px, 3vw, 30px);
  color: #f8eedc;
  background:
    linear-gradient(180deg, rgba(245, 235, 221, 0.13), rgba(245, 235, 221, 0.075)),
    rgba(18, 16, 12, 0.18);
  border: 1px solid rgba(245, 235, 221, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.lead-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.lead-form-head span {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 26px;
  font-weight: 900;
}

.lead-form-head strong {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--ink);
  background: var(--brass);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.lead-form label {
  color: rgba(248, 238, 220, 0.72);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.lead-form select option {
  color: var(--ink);
}

.lead-form textarea {
  min-height: 112px;
  resize: vertical;
  padding: 13px;
}

.consent-line {
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  color: rgba(248, 238, 220, 0.64);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.consent-line input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--lacquer);
}

.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  color: #fff;
  background: var(--lacquer);
  border: 0;
  border-radius: var(--radius);
  font-weight: 950;
}

.lead-form button:hover {
  background: var(--lacquer-dark);
}

.lead-form button.is-submitted {
  background: var(--jade-soft);
}

.lead-form button:disabled,
.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.lead-note {
  margin-top: 14px;
  color: rgba(248, 238, 220, 0.64);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.lead-note.is-success {
  padding: 12px 14px;
  color: #f8eedc;
  background: rgba(63, 87, 76, 0.42);
  border: 1px solid rgba(248, 238, 220, 0.2);
  border-radius: var(--radius);
}

.section {
  padding: clamp(74px, 9vw, 118px) clamp(18px, 5vw, 64px);
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--lacquer);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-head,
.library-head,
.method-intro,
.style-copy {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.09;
}

.section-head p,
.method-intro p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
}

.portfolio {
  background:
    linear-gradient(180deg, rgba(245, 235, 221, 0.96) 0%, rgba(235, 224, 207, 0.98) 100%),
    var(--paper);
}

.editorial-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-auto-flow: dense;
  gap: 18px;
}

.feature-piece {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 16, 12, 0.18);
  border-radius: var(--radius);
  background: #11100d;
  box-shadow: 0 18px 46px rgba(13, 10, 7, 0.12);
}

.piece-large {
  grid-row: span 2;
  min-height: 720px;
}

.piece-wide {
  grid-column: 1 / -1;
  min-height: 560px;
}

.feature-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.feature-piece:hover img {
  transform: scale(1.025);
}

.is-image-openable {
  cursor: zoom-in;
}

.is-image-openable:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.is-image-openable::before {
  content: "查看高清";
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(9, 8, 6, 0.74);
  border: 1px solid rgba(249, 241, 223, 0.18);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 950;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.is-image-openable:hover::before,
.is-image-openable:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.feature-piece figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 110px auto 1fr;
  gap: 18px;
  align-items: end;
  padding: 16px;
  color: #f9f1df;
  background: rgba(9, 8, 6, 0.8);
  border: 1px solid rgba(249, 241, 223, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.feature-piece figcaption span {
  color: rgba(249, 241, 223, 0.52);
  font-size: 12px;
  font-weight: 950;
}

.feature-piece figcaption strong {
  font-size: 26px;
  line-height: 1;
}

.feature-piece figcaption small {
  justify-self: end;
  max-width: 320px;
  color: rgba(249, 241, 223, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.library {
  color: #f8eedc;
  background:
    radial-gradient(circle at 85% 0%, rgba(185, 148, 88, 0.11), transparent 30%),
    linear-gradient(180deg, #12100c 0%, #17130f 100%),
    var(--black-2);
}

.library-head {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1.18fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.library h2 {
  max-width: 760px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-row button {
  min-height: 38px;
  padding: 0 13px;
  color: rgba(248, 238, 220, 0.72);
  background: transparent;
  border: 1px solid rgba(248, 238, 220, 0.18);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
}

.filter-row button:hover,
.filter-row button.is-active {
  color: #fff;
  background: var(--lacquer);
  border-color: var(--lacquer);
}

.brand-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.brand-card {
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(248, 238, 220, 0.14);
  border-radius: var(--radius);
  background: rgba(245, 235, 221, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.brand-card[hidden] {
  display: none;
}

.brand-card.is-mobile-compact-hidden {
  display: none;
}

.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 176, 107, 0.48);
}

.brand-card.is-featured {
  grid-column: span 1;
}

.brand-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.brand-card div {
  display: grid;
  gap: 4px;
  min-height: 0;
  padding: 14px 16px 16px;
}

.brand-card span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 950;
}

.brand-card strong {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 26px;
  line-height: 1.05;
}

.brand-card small {
  color: rgba(248, 238, 220, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.library-proof {
  max-width: var(--max);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(245, 235, 221, 0.05);
  border: 1px solid rgba(248, 238, 220, 0.14);
  border-radius: var(--radius);
}

.library-proof strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  font-style: italic;
  line-height: 0.92;
}

.library-proof p {
  max-width: 840px;
  color: rgba(248, 238, 220, 0.7);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 800;
  line-height: 1.75;
}

.library-more {
  display: none;
  max-width: var(--max);
  margin: 18px auto 0;
}

.library-more button {
  width: 100%;
  min-height: 48px;
  color: #f8eedc;
  background: rgba(245, 235, 221, 0.07);
  border: 1px solid rgba(248, 238, 220, 0.18);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 950;
}

.library-more button:hover {
  background: rgba(197, 27, 22, 0.82);
  border-color: rgba(197, 27, 22, 0.82);
}

.style-index {
  padding: clamp(74px, 9vw, 110px) 0;
  background:
    linear-gradient(90deg, rgba(185, 148, 88, 0.1), transparent 22%),
    var(--paper-3);
  overflow: hidden;
}

.style-copy {
  padding: 0 clamp(18px, 5vw, 64px);
  margin-bottom: 34px;
}

.style-copy h2 {
  max-width: 870px;
}

.style-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.style-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 21vw);
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 64px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.style-strip figure {
  position: relative;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #14110d;
  scroll-snap-align: start;
}

.style-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96);
}

.style-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(9, 8, 6, 0.76));
}

.style-strip figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 30px;
  font-weight: 900;
}

.image-viewer {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
  background: rgba(8, 7, 5, 0.9);
  backdrop-filter: blur(14px);
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer-panel {
  width: min(100%, 1420px);
  max-height: calc(100vh - clamp(28px, 6vw, 64px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
}

.image-viewer-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(245, 235, 221, 0.06);
  border: 1px solid rgba(249, 241, 223, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.image-viewer-stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}

.image-viewer-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(249, 241, 223, 0.84);
  font-size: 14px;
  font-weight: 850;
}

.image-viewer-panel figcaption span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-viewer-panel figcaption a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #fff;
  background: var(--lacquer);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 950;
}

.image-viewer-close {
  position: fixed;
  top: clamp(14px, 2.5vw, 26px);
  right: clamp(14px, 2.5vw, 26px);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(245, 235, 221, 0.08);
  border: 1px solid rgba(249, 241, 223, 0.26);
  border-radius: var(--radius);
}

.image-viewer-close:hover {
  background: var(--lacquer);
  border-color: var(--lacquer);
}

.service-menu {
  padding: clamp(74px, 9vw, 118px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(245, 235, 221, 0.88), rgba(235, 224, 207, 0.98)),
    var(--paper-2);
}

.service-intro {
  max-width: var(--max);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 6vw, 86px);
  align-items: end;
}

.service-intro h2 {
  max-width: 820px;
}

.service-intro p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
}

.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  padding: clamp(22px, 3vw, 30px);
  background: rgba(255, 248, 237, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(13, 10, 7, 0.09);
}

.service-card-featured {
  color: #f8eedc;
  background:
    radial-gradient(circle at 88% 12%, rgba(197, 27, 22, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(23, 52, 40, 0.97), rgba(18, 16, 12, 0.98)),
    var(--jade);
  border-color: rgba(248, 238, 220, 0.16);
  box-shadow: 0 26px 70px rgba(13, 10, 7, 0.24);
}

.service-card span {
  color: var(--lacquer);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card-featured span {
  color: var(--brass);
}

.service-card h3 {
  margin-top: 14px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.service-price {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-style: italic;
  line-height: 1;
}

.service-card-featured .service-price {
  color: #f8eedc;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.72;
}

.service-card-featured p {
  color: rgba(248, 238, 220, 0.68);
}

.service-card ul {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(23, 19, 15, 0.74);
  font-size: 14px;
  font-weight: 850;
}

.service-card-featured li {
  color: rgba(248, 238, 220, 0.76);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  background: var(--lacquer);
  border-radius: 50%;
}

.service-card-featured li::before {
  background: var(--brass);
}

.service-card a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--lacquer);
  border-radius: var(--radius);
  font-weight: 950;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.service-card a:hover {
  transform: translateY(-2px);
  background: var(--lacquer-dark);
}

.delivery-strip {
  max-width: var(--max);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.54);
  overflow: hidden;
}

.delivery-strip span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.delivery-strip span:last-child {
  border-right: 0;
}

.method {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 42px;
  padding: clamp(74px, 9vw, 118px) clamp(18px, 5vw, 64px);
  color: #f8eedc;
  background: #0b0a08;
}

.method-intro {
  align-self: center;
}

.method-intro p {
  margin-top: 24px;
  color: rgba(248, 238, 220, 0.66);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.method-steps article {
  min-height: 340px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px 20px;
  border-right: 1px solid var(--line-dark);
}

.method-steps article:last-child {
  border-right: 0;
}

.method-steps span {
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.method-steps h3 {
  font-size: 26px;
}

.method-steps p {
  color: rgba(248, 238, 220, 0.64);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.72;
}

.generator {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(280px, 0.38fr);
  gap: 0;
  padding: 0;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}

.generator-form,
.brief-card {
  padding: clamp(34px, 6vw, 76px) clamp(20px, 5vw, 64px);
}

.generator-form {
  border-right: 1px solid var(--line);
}

.generator h2 {
  max-width: 780px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: #f7f0e4;
  border: 1px solid rgba(38, 29, 20, 0.22);
  border-radius: var(--radius);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lacquer);
  box-shadow: 0 0 0 3px rgba(183, 25, 20, 0.12);
}

.wide-button {
  width: 100%;
  margin-top: 18px;
  border: 0;
}

.brief-card {
  display: grid;
  align-content: center;
  color: #f8eedc;
  background:
    linear-gradient(135deg, rgba(32, 56, 45, 0.94), rgba(9, 8, 6, 0.96)),
    var(--jade);
}

.brief-card.is-updated {
  animation: briefPulse 520ms ease;
}

@keyframes briefPulse {
  0%,
  100% {
    box-shadow: none;
  }

  42% {
    box-shadow: inset 0 0 0 3px rgba(184, 148, 92, 0.58);
  }
}

.brief-card > span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brief-card h3 {
  margin-top: 14px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
}

.brief-card p {
  margin-top: 20px;
  color: rgba(248, 238, 220, 0.74);
  font-size: 18px;
  line-height: 1.78;
}

.brief-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.brief-card li {
  padding: 14px 16px;
  color: rgba(248, 238, 220, 0.76);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-weight: 800;
}

.conversion-band {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(54px, 7vw, 86px) clamp(18px, 5vw, 64px);
  color: #f8eedc;
  background:
    linear-gradient(120deg, rgba(18, 16, 12, 0.98), rgba(142, 18, 15, 0.86)),
    var(--black);
}

.conversion-band h2 {
  max-width: 880px;
  font-size: clamp(32px, 4.2vw, 60px);
}

.conversion-band .button {
  min-width: 210px;
  color: #fff;
  background: var(--lacquer);
  border-color: var(--lacquer);
}

.faq {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(74px, 9vw, 118px) clamp(18px, 5vw, 64px);
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}

.faq-copy {
  align-self: start;
  position: sticky;
  top: 96px;
}

.faq-copy h2 {
  max-width: 620px;
}

.faq-copy p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list article {
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.16;
}

.faq-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.78;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.54fr) minmax(280px, 0.46fr);
  gap: clamp(26px, 6vw, 82px);
  padding: clamp(74px, 9vw, 118px) clamp(18px, 5vw, 64px);
  color: #f8eedc;
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.95), rgba(9, 8, 6, 0.78)),
    url("/assets/library/brands/hotpot-bbq-hongluji.png") center / cover;
}

.contact-copy {
  max-width: 660px;
  justify-self: end;
}

.contact-copy p {
  margin-top: 22px;
  color: rgba(248, 238, 220, 0.72);
}

.contact-copy dl {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}

.contact-copy dt {
  color: rgba(248, 238, 220, 0.46);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-copy dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.contact-form {
  width: min(100%, 520px);
  padding: 24px;
  background: rgba(9, 8, 6, 0.72);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.contact-form label {
  margin-bottom: 18px;
  color: rgba(248, 238, 220, 0.7);
}

.contact-form input,
.contact-form select {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-form select option {
  color: var(--ink);
}

.contact-form button {
  width: 100%;
  border: 0;
}

.contact-form .consent-line {
  margin: -2px 0 18px;
  color: rgba(248, 238, 220, 0.62);
}

.form-note {
  margin-top: 14px;
  color: rgba(248, 238, 220, 0.64);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: rgba(248, 238, 220, 0.58);
  background: #12100c;
}

.site-footer p {
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-gallery {
    grid-column: auto;
    width: 100%;
    min-height: 520px;
  }

  .library-head,
  .agent-entry,
  .lead-capture,
  .service-intro,
  .faq,
  .method,
  .generator,
  .contact {
    grid-template-columns: 1fr;
  }

  .filter-row {
    justify-content: flex-start;
  }

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

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

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

  .delivery-strip span:nth-child(3n) {
    border-right: 0;
  }

  .delivery-strip span:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .conversion-band {
    grid-template-columns: 1fr;
  }

  .faq-copy {
    position: static;
  }

  .method-steps {
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    overflow-x: auto;
  }

  .method-steps article {
    min-width: 190px;
  }

  .generator-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-copy {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-link {
    display: none;
  }

  .menu-button {
    display: flex;
    justify-self: end;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 96px;
  }

  .hero-rail {
    display: none;
  }

  .hero h1 {
    font-size: clamp(40px, 11.5vw, 62px);
  }

  .hero-gallery {
    grid-column: auto;
    min-height: 430px;
  }

  .hero-board-main {
    width: 100%;
  }

  .hero-board-top {
    display: none;
  }

  .hero-board-bottom {
    left: 0;
    width: 58%;
  }

  .hero-meta {
    width: 100%;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .piece-large,
  .piece-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 430px;
  }

  .feature-piece {
    min-height: 360px;
  }

  .feature-piece figcaption {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feature-piece figcaption small {
    justify-self: start;
    text-align: left;
  }

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

  .brand-card.is-featured {
    grid-column: span 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .lead-benefits,
  .agent-entry,
  .lead-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 64px;
    padding-inline: 16px;
  }

  .brand-mark {
    width: 132px;
    min-height: 38px;
    padding: 5px 8px;
  }

  .brand-mark img {
    width: 112px;
  }

  .hero {
    padding: 92px 16px 34px;
  }

  .hero h1 {
    max-width: 10em;
    font-size: clamp(34px, 9.8vw, 43px);
    line-height: 1.13;
  }

  .hero-copy::before {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
  }

  .hero p {
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 1.72;
  }

  .hero-actions,
  .agent-entry-actions,
  .button {
    width: 100%;
  }

  .designer-flow {
    grid-template-columns: 1fr;
  }

  .designer-flow span {
    min-height: 50px;
    border-right: 0;
    border-bottom: 1px solid rgba(38, 29, 20, 0.14);
  }

  .designer-flow span:last-child {
    border-bottom: 0;
  }

  .hero-gallery {
    min-height: 330px;
  }

  .hero-board-bottom,
  .hero-meta {
    display: none;
  }

  .hero-trust {
    gap: 9px 12px;
    margin-top: 20px;
    padding-top: 14px;
  }

  .hero-trust span {
    padding: 0;
    border-right: 0;
    font-size: 11.5px;
  }

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

  .proof-strip div,
  .proof-strip div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div {
    min-height: 86px;
    padding: 16px;
  }

  .proof-strip div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .proof-strip div:nth-child(even) {
    border-right: 0;
  }

  .proof-strip div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .proof-strip strong {
    font-size: clamp(28px, 8vw, 34px);
  }

  .proof-strip span {
    font-size: 12px;
    line-height: 1.35;
  }

  .section {
    padding: 64px 16px;
  }

  .portfolio {
    padding-top: 58px;
  }

  .piece-large,
  .piece-wide,
  .feature-piece {
    min-height: 330px;
  }

  .feature-piece figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px;
  }

  .feature-piece figcaption strong {
    font-size: 22px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .brand-card div {
    padding: 11px 12px 13px;
  }

  .brand-card strong {
    font-size: 22px;
  }

  .brand-card small {
    font-size: 12px;
  }

  .library-more {
    display: block;
  }

  .service-menu,
  .faq,
  .conversion-band {
    padding-inline: 16px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .library-proof {
    grid-template-columns: 1fr;
  }

  .delivery-strip {
    grid-template-columns: 1fr;
  }

  .delivery-strip span,
  .delivery-strip span:nth-child(3n) {
    border-right: 0;
  }

  .delivery-strip span {
    border-bottom: 1px solid var(--line);
  }

  .delivery-strip span:last-child {
    border-bottom: 0;
  }

  .style-strip {
    grid-auto-columns: minmax(230px, 78vw);
    padding-inline: 16px;
  }

  .style-strip figure {
    min-height: 380px;
  }

  .generator-form,
  .brief-card,
  .lead-capture,
  .contact {
    padding-inline: 16px;
  }

  .lead-float {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding-inline: 14px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
