:root {
  --ink: #1c1917;
  --muted: #6c625b;
  --line: #eadfd6;
  --paper: #f8f3ec;
  --white: #ffffff;
  --orange: #ff6b35;
  --orange-dark: #cf4a1b;
  --brown: #6b3f2a;
  --dark: #151210;
  --gold: #f5c777;
  --shadow: 0 18px 50px rgba(36, 23, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}

.is-scrolled .brand img,
.is-open .brand img {
  border-color: var(--line);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.78;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.desktop-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.community-page {
  background: #f7f1ea;
}

.community-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.community-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 18, 16, 0.82), rgba(21, 18, 16, 0.34)),
    url("./assets/provided/image47.jpg") center / cover;
}

.community-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 72px;
}

.community-hero-content h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
}

.community-hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.community-library {
  background: #fffaf4;
}

.library-toolbar,
.style-tabs-wrap,
.library-summary {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.library-toolbar {
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(44, 31, 22, 0.08);
}

.filter-group {
  display: grid;
  flex: 1;
  gap: 10px;
}

.filter-group > span,
.style-tabs-wrap > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.segmented-control,
.style-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented-control button,
.style-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf6;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.segmented-control button.is-active,
.style-tabs button.is-active {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
}

.style-tabs-wrap {
  align-items: center;
  gap: 14px;
  padding: 22px 0 0;
}

.library-summary {
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0 24px;
}

.library-summary div {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.library-summary strong {
  color: var(--orange-dark);
  font-size: 42px;
  line-height: 1;
}

.library-summary span {
  color: var(--ink);
  font-weight: 800;
}

.library-summary p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.community-case-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.community-case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(44, 31, 22, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.community-case-card:hover,
.community-case-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(44, 31, 22, 0.14);
}

.case-plan-thumb {
  padding: 18px;
  background: linear-gradient(135deg, #f5ede3, #fffaf4);
}

.floorplan-svg {
  width: 100%;
  aspect-ratio: 1.08;
  border-radius: 8px;
  background: #fffdf9;
}

.floorplan-svg text {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-weight: 700;
}

.case-card-body {
  padding: 18px 18px 20px;
}

.case-card-meta,
.case-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.case-card-meta span,
.case-card-bottom span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff0e6;
  font-size: 12px;
  font-weight: 800;
}

.case-card-body h2 {
  margin: 14px 0 6px;
  font-size: 22px;
  line-height: 1.25;
}

.case-card-body p {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-card-bottom {
  margin-top: 16px;
}

.case-card-bottom strong {
  color: var(--ink);
  font-size: 18px;
}

.empty-library {
  grid-column: 1 / -1;
  margin: 0;
  padding: 48px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
}

.modal-lock {
  overflow: hidden;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.case-modal.is-open {
  display: block;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 13, 0.68);
}

.case-modal-panel {
  position: absolute;
  top: 32px;
  right: 32px;
  bottom: 32px;
  left: 32px;
  overflow: auto;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.case-modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  float: right;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--dark);
  cursor: pointer;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-right: 58px;
}

.modal-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.modal-head p:not(.eyebrow),
.modal-summary {
  color: var(--muted);
}

.modal-head strong {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
}

.modal-summary {
  max-width: 880px;
  margin: 18px 0 16px;
}

.modal-source-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.modal-source-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.modal-source-links a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.case-modal-panel h3 {
  margin: 28px 0 14px;
  font-size: 24px;
}

.modal-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.modal-layout-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.modal-plan {
  padding: 16px;
  background: linear-gradient(135deg, #f5ede3, #fffaf4);
}

.modal-layout-grid article > div:last-child {
  padding: 16px;
}

.modal-layout-grid h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.modal-layout-grid p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.modal-layout-grid strong {
  color: var(--orange-dark);
}

.modal-effect-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.modal-effect-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--white);
}

.modal-effect-grid img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.ai-page {
  background: #f5f0e8;
}

.community-page .site-header,
.ai-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.08);
  backdrop-filter: blur(18px);
}

.community-page .brand img,
.ai-page .brand img {
  border-color: var(--line);
}

.ai-hero {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
  padding: 118px clamp(24px, 5vw, 72px) 68px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.94), rgba(245, 238, 229, 0.78)),
    url("./assets/provided/image87.jpg") center / cover;
}

.ai-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -32% 38%;
  height: 52%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(245, 199, 119, 0.08));
  transform: rotate(-7deg);
  pointer-events: none;
}

.ai-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.ai-hero-content h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.02;
}

.ai-hero-content p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px 0 0;
  color: #4f4944;
  font-size: 18px;
  line-height: 1.78;
}

.ai-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ai-hero-points span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 107, 53, 0.28);
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.ai-hero-console {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(234, 223, 214, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 80px rgba(44, 31, 22, 0.18);
  backdrop-filter: blur(14px);
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.console-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b35;
}

.console-topbar span:nth-child(2) {
  background: #f5c777;
}

.console-topbar span:nth-child(3) {
  background: #6ea37b;
}

.console-topbar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-preview {
  position: relative;
  padding: 16px;
}

.console-preview img {
  width: 100%;
  aspect-ratio: 1.62;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(44, 31, 22, 0.14);
}

.console-preview-card {
  position: absolute;
  left: 32px;
  bottom: 32px;
  max-width: min(260px, calc(100% - 64px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: var(--white);
  background: rgba(18, 12, 8, 0.58);
  box-shadow: 0 14px 36px rgba(18, 12, 8, 0.18);
  backdrop-filter: blur(12px);
}

.console-preview-card span,
.console-preview-card strong {
  display: block;
}

.console-preview-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.console-preview-card strong {
  margin-top: 4px;
  font-size: 18px;
}

.console-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.console-flow div {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 106px;
  padding: 14px;
  background: #fffaf6;
  text-align: center;
  font-weight: 900;
}

.console-flow i {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.ai-nav-section,
.ai-generator-section,
.ai-recommend-section,
.online-tools-section {
  background: #fffaf4;
}

.ai-entry-section {
  background: #fffaf4;
}

.smart-custom-section {
  background: #fffdf9;
}

.smart-custom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.smart-custom-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.94), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at top right, rgba(255, 107, 53, 0.12), transparent 34%);
  box-shadow: 0 18px 52px rgba(44, 31, 22, 0.08);
}

.smart-custom-card i {
  width: 34px;
  height: 34px;
  color: var(--orange);
}

.smart-custom-card span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.smart-custom-card h3 {
  margin-top: 8px;
}

.smart-custom-card p {
  color: var(--muted);
}

.smart-custom-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.smart-custom-card li {
  position: relative;
  padding-left: 18px;
  color: #5d5149;
  font-weight: 800;
}

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

.ai-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-entry-grid a {
  display: grid;
  min-height: 190px;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(44, 31, 22, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ai-entry-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(44, 31, 22, 0.14);
}

.ai-entry-grid i {
  width: 32px;
  height: 32px;
  color: var(--orange);
}

.ai-entry-grid strong {
  font-size: 22px;
}

.ai-entry-grid span {
  color: var(--muted);
}

.ai-tool-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ai-tool-nav a {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(44, 31, 22, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ai-tool-nav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(44, 31, 22, 0.14);
}

.ai-tool-nav i {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--orange);
}

.ai-tool-nav strong,
.ai-tool-nav span {
  display: block;
}

.ai-tool-nav strong {
  font-size: 20px;
  line-height: 1.2;
}

.ai-tool-nav span {
  color: var(--muted);
  font-size: 14px;
}

.online-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.online-tool-card {
  display: grid;
  min-height: 190px;
  align-content: space-between;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(44, 31, 22, 0.08);
}

.online-tool-card > span {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff0e6;
  font-size: 12px;
  font-weight: 900;
}

.online-tool-card h3 {
  margin: 0;
  font-size: 24px;
}

.online-tool-card p {
  margin: 0;
  color: var(--muted);
}

.ai-generator {
  display: grid;
  grid-template-columns: minmax(330px, 0.7fr) minmax(0, 1.3fr);
  gap: 20px;
  align-items: start;
}

.ai-input-panel,
.ai-output-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 52px rgba(44, 31, 22, 0.1);
}

.ai-input-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.ai-step-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ai-step-head span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.ai-step-head strong,
.ai-step-head p {
  display: block;
  margin: 0;
}

.ai-step-head strong {
  font-size: 17px;
}

.ai-step-head p {
  color: var(--muted);
  font-size: 13px;
}

.upload-zone {
  display: grid;
  min-height: 144px;
  place-items: center;
  gap: 8px;
  padding: 18px;
  border: 2px dashed #dfc9b6;
  border-radius: 8px;
  background: #fff8f1;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.upload-zone span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 32px rgba(255, 107, 53, 0.28);
}

.upload-zone i {
  width: 28px;
  height: 28px;
}

.upload-zone strong,
.upload-zone small {
  display: block;
}

.upload-zone small {
  color: var(--muted);
}

.upload-zone.is-dragging,
.upload-zone.has-file {
  border-color: var(--orange);
  background: #fff0e6;
}

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

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

.ai-form-grid input,
.ai-form-grid select,
.ai-form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
}

.ai-wide-field {
  grid-column: 1 / -1;
}

.ai-style-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-online-picker {
  display: grid;
  gap: 10px;
}

.ai-online-picker > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.ai-online-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-style-picker button,
.ai-online-picker button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf6;
  cursor: pointer;
}

.ai-style-picker button.is-active,
.ai-online-picker button.is-active {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
}

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

.ai-action-row .secondary-button {
  min-height: 46px;
  padding-inline: 12px;
  color: var(--ink);
  border-color: var(--line);
  background: #fffaf6;
}

.ai-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ai-output-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.ai-loading-overlay {
  position: absolute;
  inset: 18px;
  z-index: 4;
  display: none;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 244, 0.88);
  text-align: center;
  backdrop-filter: blur(8px);
}

.ai-loading-overlay.is-visible {
  display: grid;
}

.ai-loading-overlay i {
  width: 34px;
  height: 34px;
  color: var(--orange);
  animation: ai-spin 900ms linear infinite;
}

.ai-loading-overlay strong,
.ai-loading-overlay span {
  display: block;
}

.ai-loading-overlay span {
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes ai-spin {
  to {
    transform: rotate(360deg);
  }
}

.ai-preview-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ai-floorplan-card,
.ai-result-main {
  overflow: hidden;
  border-radius: 8px;
  background: #f5ede3;
}

.ai-result-main {
  border: 1px solid rgba(223, 201, 182, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.ai-floorplan-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(223, 201, 182, 0.78);
}

.ai-floorplan-title strong,
.ai-floorplan-title span {
  display: block;
}

.ai-floorplan-title strong {
  font-size: 18px;
}

.ai-floorplan-title span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.ai-floorplan-preview {
  display: grid;
  min-height: 138px;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
}

.ai-floorplan-preview svg,
.ai-floorplan-preview img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ai-result-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.ai-result-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: center;
}

.ai-result-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
}

.ai-result-meta span,
.ai-result-meta strong {
  display: block;
}

.ai-result-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ai-result-meta strong {
  margin-top: 4px;
  font-size: 18px;
}

.ai-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ai-result-grid button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.ai-result-grid button.is-active {
  border-color: var(--orange);
}

.ai-result-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.primary-button.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.recommend-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.recommend-form,
.recommend-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 52px rgba(44, 31, 22, 0.1);
}

.recommend-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

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

.recommend-form select,
.recommend-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
  outline: none;
}

.recommend-form select:focus,
.recommend-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.14);
}

.recommend-result {
  min-height: 430px;
  padding: 26px;
}

.recommend-result strong {
  display: block;
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 24px;
}

.recommend-result p {
  margin-bottom: 12px;
  color: var(--muted);
}

.recommend-result .ai-error {
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  color: #8c320f;
  background: #fff0e6;
}

.ai-chat-widget {
  position: fixed;
  right: 76px;
  bottom: 22px;
  z-index: 90;
}

.ai-chat-fab {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 16px 34px rgba(36, 23, 16, 0.22);
  cursor: pointer;
  font-weight: 900;
}

.ai-chat-fab i {
  width: 22px;
  height: 22px;
}

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: none;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(36, 23, 16, 0.24);
}

.ai-chat-widget.is-open .ai-chat-panel {
  display: block;
}

.ai-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: var(--white);
  background: var(--dark);
}

.ai-chat-head strong,
.ai-chat-head span {
  display: block;
}

.ai-chat-head span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.ai-chat-head button,
.ai-chat-form button {
  display: grid;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.ai-chat-messages {
  display: grid;
  max-height: 360px;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #fffaf4;
}

.ai-chat-msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
}

.ai-chat-msg.is-ai {
  justify-self: start;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.ai-chat-msg.is-user {
  justify-self: end;
  color: var(--white);
  background: var(--orange);
}

.ai-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: #fffaf4;
}

.ai-chat-quick button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.ai-chat-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

.ai-chat-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.14);
}

.ai-chat-form button {
  border-radius: 10px;
  color: var(--white);
  background: var(--orange);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.phone-pill,
.primary-button,
.secondary-button,
.menu-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-pill {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
  left: 0;
  content: "";
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.mobile-panel {
  position: fixed;
  top: 74px;
  right: 16px;
  z-index: 49;
  display: none;
  width: min(300px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-menu-fallback {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 80;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 10px;
  color: #fff;
  background: rgba(18, 12, 8, 0.42);
  backdrop-filter: blur(8px);
}

@media (min-width: 1181px) {
  .mobile-menu-fallback {
    display: none;
  }
}

.mobile-panel.is-open {
  display: grid;
}

.mobile-panel a {
  padding: 12px;
  border-radius: 8px;
}

.mobile-panel a:hover {
  background: #fff3ea;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 12, 8, 0.82), rgba(18, 12, 8, 0.5) 42%, rgba(18, 12, 8, 0.08)),
    linear-gradient(0deg, rgba(18, 12, 8, 0.72), rgba(18, 12, 8, 0.06) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 78vh;
  align-content: center;
  max-width: 900px;
  padding: 150px clamp(22px, 7vw, 96px) 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.28;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.1vw, 23px);
}

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

.booking-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(680px, 100%);
  min-height: 44px;
  margin-top: 22px;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(18, 12, 8, 0.42);
  box-shadow: 0 16px 42px rgba(18, 12, 8, 0.18);
  backdrop-filter: blur(14px);
}

.booking-ticker-light {
  border-color: rgba(255, 107, 53, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(44, 31, 22, 0.12);
}

.booking-ticker-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.booking-ticker-label i {
  width: 15px;
  height: 15px;
}

.booking-ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.booking-ticker-track {
  display: flex;
  width: max-content;
  gap: 26px;
  animation: booking-scroll 96s linear infinite;
}

.booking-ticker:hover .booking-ticker-track {
  animation-play-state: paused;
}

.booking-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.booking-ticker-item strong {
  color: var(--gold);
  font-weight: 900;
}

.booking-ticker-light .booking-ticker-item strong {
  color: var(--orange-dark);
}

.booking-ticker-item em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 700;
}

.booking-ticker-light .booking-ticker-item em {
  color: #7a6f66;
}

@keyframes booking-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 34px rgba(255, 107, 53, 0.28);
}

.secondary-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 30px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--gold);
}

.hero-card {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 44px;
  z-index: 3;
  max-width: 310px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(18, 12, 8, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-card strong {
  margin: 12px 0 8px;
  font-size: 28px;
  line-height: 1.1;
}

.hero-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.stats-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: -60px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  color: var(--white);
  background: rgba(28, 20, 16, 0.92);
  box-shadow: var(--shadow);
}

.stats-band div {
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.stats-band span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--orange-dark);
  font-weight: 900;
  white-space: nowrap;
}

.promise-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.promise-copy p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promise-grid article,
.package-card,
.case-grid article,
.craft-grid article,
.team-card,
.store-grid article,
.lead-form,
.contact-list a,
.contact-list p {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(36, 23, 16, 0.05);
}

.promise-grid article {
  min-height: 230px;
  padding: 24px;
}

.promise-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
  color: var(--orange);
}

.promise-grid p,
.package-card p,
.case-grid p,
.craft-grid p,
.team-card p,
.store-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.packages-section,
.craft-section,
.stores-section,
.neighborhoods-section {
  background: #fff7f1;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.package-card {
  padding: 30px;
}

.package-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.package-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.42);
  box-shadow: 0 20px 46px rgba(43, 32, 24, 0.12);
}

.package-card-link em {
  display: inline-flex;
  margin-top: 22px;
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}

.package-card.featured,
.package-visual-card.featured {
  border-color: rgba(255, 107, 53, 0.48);
  box-shadow: 0 20px 48px rgba(255, 107, 53, 0.15);
}

.price {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #8c320f;
  background: #fff0e7;
  font-size: 14px;
  font-weight: 900;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

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

.package-visual-card {
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.package-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ddd2;
  display: block;
  color: inherit;
  text-decoration: none;
}

.package-cover img,
.package-site img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.package-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42));
  content: "";
}

.package-cover:hover img {
  transform: scale(1.035);
}

.package-cover img {
  transition: transform 0.28s ease;
}

.package-cover span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #342820;
  font-size: 14px;
  font-weight: 900;
}

.package-body {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.package-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.package-title-row h3 {
  margin: 0;
}

.package-title-row strong {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 20px;
  line-height: 1.2;
}

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0e7;
  color: #8c320f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.package-site {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding-top: 14px;
  border-top: 1px solid rgba(117, 95, 78, 0.14);
}

.package-site img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

.package-site p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.package-page {
  color: #241710;
  background: #fff8f0;
}

.package-detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 42px;
}

.package-detail-hero h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.96;
}

.package-detail-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.package-hero-copy {
  position: relative;
}

.package-hero-copy::before {
  position: absolute;
  top: -34px;
  left: -22px;
  z-index: -1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.12);
  content: "";
}

.package-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.package-hero-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(117, 95, 78, 0.18);
  border-radius: 18px;
  background: rgba(46, 41, 37, 0.94);
  box-shadow: 0 22px 60px rgba(43, 32, 24, 0.18);
}

.package-hero-panel div {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.package-hero-panel div:last-child {
  border-bottom: 0;
}

.package-hero-panel strong,
.package-hero-panel span {
  display: block;
}

.package-hero-panel strong {
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.package-hero-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.package-anchor-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.package-anchor-nav a {
  padding: 12px 16px;
  border: 1px solid rgba(255, 107, 53, 0.28);
  border-radius: 12px;
  background: #fff;
  color: #8c320f;
  font-weight: 900;
  text-decoration: none;
}

.package-detail-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 28px;
  border: 1px solid rgba(117, 95, 78, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(43, 32, 24, 0.07);
  scroll-margin-top: 96px;
}

.package-detail-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: end;
  margin-bottom: 18px;
}

.package-detail-copy span {
  grid-column: 2;
  grid-row: 1 / 3;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff0e7;
  color: #8c320f;
  font-size: 18px;
  font-weight: 900;
}

.package-detail-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
}

.package-detail-copy p {
  grid-column: 1;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.package-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
  min-height: clamp(380px, 40vw, 520px);
}

.package-gallery a,
.package-construction-grid article {
  overflow: hidden;
  border-radius: 14px;
  background: #efe5db;
}

.package-gallery a:first-child {
  grid-row: span 2;
}

.package-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.package-gallery a:hover img {
  transform: scale(1.035);
}

.package-construction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.package-construction-grid article {
  position: relative;
  aspect-ratio: 16 / 10;
}

.package-construction-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.package-construction-grid strong {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #312820;
  font-size: 13px;
}

.package-detail-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 70px;
  padding: 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2e2925, #161210);
  color: #fff;
}

.package-detail-cta h2 {
  margin: 0 0 10px;
}

.package-detail-cta p {
  max-width: 680px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.payment-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 107, 53, 0.24), transparent 36%),
    linear-gradient(135deg, #241914, #0f0d0c);
}

.payment-section::before {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.payment-section h2 {
  color: var(--white);
}

.payment-section .eyebrow {
  color: var(--gold);
}

.payment-feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.payment-feature-copy h2 {
  max-width: 620px;
  margin: 8px 0 18px;
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 0.98;
}

.payment-feature-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.45;
  font-weight: 900;
}

.payment-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.payment-feature-grid div {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.payment-feature-grid span,
.payment-feature-grid strong {
  display: block;
}

.payment-feature-grid span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.payment-feature-grid strong {
  margin-top: 76px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
}

.package-payment-feature {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
  border-radius: 18px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.payment-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.92), rgba(107, 63, 42, 0.78));
}

.payment-card strong,
.payment-card span {
  display: block;
}

.payment-card strong {
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.9;
}

.payment-card span {
  margin: 18px 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.payment-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-steps div {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.payment-steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 13px;
}

.case-grid,
.craft-grid,
.team-layout,
.store-grid,
.style-gallery {
  display: grid;
  gap: 18px;
}

.neighborhood-tool {
  display: grid;
  gap: 22px;
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.region-tabs button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.region-tabs button.is-active {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
}

.community-select-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 420px);
  gap: 12px;
  align-items: center;
}

.community-select-row label {
  font-weight: 900;
}

.community-select-row select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--white);
  outline: none;
}

.community-result {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.74fr);
  gap: 18px;
  align-items: stretch;
}

.community-info,
.floorplan-card,
.style-gallery article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(36, 23, 16, 0.05);
}

.community-info {
  padding: 28px;
}

.community-info > span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #8c320f;
  background: #fff0e7;
  font-size: 13px;
  font-weight: 900;
}

.community-info p {
  color: var(--muted);
}

.info-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.info-pills div {
  padding: 16px;
  border-radius: 12px;
  background: #fff7f1;
}

.info-pills strong,
.info-pills small {
  display: block;
}

.info-pills strong {
  color: var(--orange-dark);
  font-size: 22px;
}

.info-pills small {
  margin-top: 4px;
  color: var(--muted);
}

.community-note {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.floorplan-card {
  padding: 22px;
}

.floorplan-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.floorplan-title span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.floorplan {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  grid-template-rows: 110px 88px 76px;
  gap: 8px;
  min-height: 300px;
  padding: 10px;
  border: 2px solid #3a2a22;
  border-radius: 12px;
  background: #f4eadf;
}

.room {
  display: grid;
  place-items: center;
  border: 2px solid #7a5a49;
  border-radius: 8px;
  color: #3a2a22;
  background: #fffaf5;
  font-weight: 900;
}

.living {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: #fff1e7;
}

.master {
  grid-column: 3;
  grid-row: 1;
}

.bed {
  grid-column: 3;
  grid-row: 2;
}

.study {
  grid-column: 1;
  grid-row: 3;
}

.kitchen {
  grid-column: 2;
  grid-row: 3;
}

.bath {
  grid-column: 3;
  grid-row: 3;
}

.balcony {
  grid-column: 1 / 4;
  grid-row: 4;
  min-height: 42px;
  background: #eaf5ff;
}

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

.style-gallery article {
  overflow: hidden;
}

.style-gallery img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.style-gallery div {
  padding: 16px;
}

.style-gallery strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.style-gallery p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.case-grid article {
  overflow: hidden;
}

.case-card-link {
  display: block;
  height: 100%;
}

.case-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.case-grid div {
  padding: 22px;
}

.case-page {
  background: #fff7f1;
}

.case-library-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 34px;
}

.case-library-hero h1 {
  max-width: 820px;
  margin: 8px 0 12px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
}

.case-library-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.case-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.case-filter-pills a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 999px;
  background: #fff;
  color: #8c320f;
  font-weight: 900;
}

.case-library-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 24px;
  padding: 24px;
  border: 1px solid rgba(117, 95, 78, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(43, 32, 24, 0.06);
  scroll-margin-top: 96px;
}

.case-library-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.case-library-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 999px;
  background: #fff0e7;
  color: #8c320f;
  font-weight: 900;
}

.case-library-heading h2 {
  margin: 0 0 4px;
  font-size: clamp(26px, 3vw, 38px);
}

.case-library-heading p {
  margin: 0;
  color: var(--muted);
}

.case-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-library-grid a {
  overflow: hidden;
  border-radius: 8px;
  background: #efe5db;
}

.case-library-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.case-library-grid a:hover img {
  transform: scale(1.035);
}

.case-grid span,
.store-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

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

.craft-grid article {
  overflow: hidden;
}

.craft-grid img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.craft-grid h3,
.craft-grid p {
  padding-inline: 20px;
}

.craft-grid h3 {
  margin-top: 20px;
}

.craft-grid p {
  padding-bottom: 22px;
}

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

.team-card {
  overflow: hidden;
}

.person-photo {
  position: relative;
  margin: 16px 16px 0;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7f1, #f3e5d8);
}

.person-photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 62px;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.5), transparent);
  content: "";
}

.person-photo > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.person-logo {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.person-logo img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

.team-card h3,
.team-card p {
  padding-inline: 22px;
}

.team-card h3 {
  margin-top: 22px;
}

.team-card p {
  padding-bottom: 24px;
}

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

.store-grid article {
  min-height: 230px;
  padding: 26px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.82fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.contact-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 16px;
}

.contact-list svg {
  flex: 0 0 auto;
  width: 21px;
  margin-top: 3px;
  color: var(--orange);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffaf5;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.14);
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(36, 23, 16, 0.18);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-size: 18px;
}

.footer-icp {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  white-space: nowrap;
}

.footer-icp:hover {
  color: var(--white);
}

.site-footer p {
  margin: 4px 0 0;
}

svg {
  width: 1em;
  height: 1em;
  stroke-width: 2;
}

@media (max-width: 1360px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    min-width: 190px;
  }

  .desktop-nav {
    gap: 14px;
    font-size: 14px;
  }

  .phone-pill {
    padding: 0 12px;
  }
}

@media (max-width: 1240px) and (min-width: 1181px) {
  .phone-pill {
    display: none;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: none;
    flex: 0 0 44px;
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 60;
    background: rgba(18, 12, 8, 0.32);
    backdrop-filter: blur(8px);
  }

  .mobile-menu-fallback {
    display: grid;
  }

  .promise-section,
  .contact-section,
  .payment-feature {
    grid-template-columns: 1fr;
  }

  .case-grid,
  .case-library-grid,
  .package-grid,
  .store-grid,
  .payment-steps,
  .package-construction-grid,
  .community-result,
  .style-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-gallery a:first-child {
    grid-row: auto;
  }

  .package-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    min-height: 0;
  }

  .package-gallery a {
    aspect-ratio: 4 / 3;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small,
  .phone-pill {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    min-height: 72vh;
    padding: 152px 20px 120px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-actions,
  .booking-ticker,
  .stats-band,
  .promise-grid,
  .smart-custom-grid,
    .case-grid,
    .case-library-grid,
    .package-grid,
    .package-gallery,
    .package-construction-grid,
    .store-grid,
  .payment-layout,
  .payment-steps,
  .payment-feature-grid,
  .craft-grid,
  .team-layout,
  .style-gallery,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .package-detail-hero {
    width: min(100% - 28px, 1180px);
    padding-top: 110px;
    padding-bottom: 22px;
    overflow-wrap: anywhere;
  }

  .case-library-hero {
    width: min(100% - 28px, 1180px);
    padding-top: 110px;
    padding-bottom: 22px;
  }

  .case-library-hero h1 {
    font-size: 40px;
    line-height: 1.05;
  }

  .case-library-hero p,
  .case-library-heading p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .case-library-section {
    width: min(100% - 28px, 1180px);
    padding: 14px;
    margin-bottom: 16px;
  }

  .case-library-heading {
    gap: 10px;
  }

  .case-library-heading > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 13px;
  }

  .case-library-grid {
    gap: 10px;
  }

  .package-detail-hero h1 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.05;
  }

  .package-detail-hero p,
  .package-detail-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .package-anchor-nav {
    gap: 8px;
  }

  .package-anchor-nav a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .package-detail-section {
    width: min(100% - 28px, 1180px);
    padding: 14px;
    margin-bottom: 16px;
    overflow: hidden;
  }

  .payment-feature-copy h2 {
    font-size: 46px;
    line-height: 1.05;
  }

  .payment-feature-copy p:not(.eyebrow) {
    font-size: 22px;
  }

  .payment-feature-grid div {
    min-height: 150px;
    padding: 22px;
  }

  .payment-feature-grid strong {
    margin-top: 34px;
    font-size: 34px;
  }

  .package-payment-feature {
    width: min(100% - 28px, 1180px);
    margin-bottom: 46px;
  }

  .package-detail-copy h2 {
    font-size: 34px;
    line-height: 1.15;
  }

  .package-gallery {
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
  }

  .package-gallery a,
  .package-gallery a:first-child {
    aspect-ratio: 16 / 11;
    grid-row: auto;
  }

  .package-construction-grid {
    gap: 10px;
  }

  .package-construction-grid article {
    aspect-ratio: 16 / 10;
  }

  .community-select-row,
  .community-result,
  .info-pills {
    grid-template-columns: 1fr;
  }

  .floorplan {
    grid-template-rows: 88px 74px 66px;
    min-height: 260px;
    font-size: 13px;
  }

  .hero-card {
    display: none;
  }

  .stats-band {
    width: calc(100% - 28px);
    margin-top: -30px;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px;
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

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

  .section {
    padding-inline: 16px;
  }

  .contact-section {
    padding-bottom: 104px;
  }

  .booking-ticker {
    gap: 8px;
    min-height: 42px;
    margin-top: 18px;
    padding: 7px 9px;
    border-radius: 12px;
  }

  .booking-ticker-label {
    min-height: 26px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .booking-ticker-track {
    gap: 18px;
    animation-duration: 72s;
  }

  .booking-ticker-item {
    gap: 5px;
    font-size: 13px;
  }

  .floating-contact {
    right: auto;
    left: 12px;
    bottom: 12px;
  }
}

@media (max-width: 430px) {
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .lead-form,
  .package-card,
  .payment-card {
    padding: 22px;
  }
}

@media (max-width: 1180px) {
  .community-case-grid,
  .modal-layout-grid,
  .ai-tool-nav,
  .online-tool-grid,
  .ai-entry-grid,
  .recommend-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ai-hero,
  .ai-generator {
    grid-template-columns: 1fr;
  }

  .ai-hero-content {
    min-height: 470px;
    padding-bottom: 46px;
  }
}

@media (max-width: 760px) {
  .community-hero {
    min-height: 470px;
  }

  .community-hero-content {
    width: calc(100% - 32px);
    padding: 136px 0 46px;
  }

  .community-hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .community-hero-content h1,
  .ai-hero-content h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.14;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .ai-hero-content p:not(.eyebrow),
  .community-hero-content p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .ai-hero-content p:not(.eyebrow) {
    max-width: 330px;
  }

  .library-toolbar,
  .library-summary,
  .style-tabs-wrap,
  .modal-head {
    align-items: stretch;
    flex-direction: column;
  }

  .library-toolbar {
    width: min(326px, calc(100vw - 48px)) !important;
    max-width: min(326px, calc(100vw - 48px)) !important;
    margin-inline: auto;
    padding: 16px;
  }

  .style-tabs-wrap,
  .library-summary,
  .community-case-grid {
    width: min(326px, calc(100vw - 48px)) !important;
    max-width: min(326px, calc(100vw - 48px)) !important;
    margin-inline: auto;
  }

  .segmented-control,
  .style-tabs,
  .ai-style-picker,
  .ai-online-picker > div {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .segmented-control button,
  .style-tabs button,
  .ai-style-picker button,
  .ai-online-picker button {
    width: 100%;
    padding-inline: 8px;
  }

  .community-case-grid,
  .modal-layout-grid,
  .modal-effect-grid,
  .ai-tool-nav,
  .online-tool-grid,
  .ai-entry-grid,
  .smart-custom-grid,
  .ai-form-grid,
  .ai-preview-wrap,
  .ai-result-meta,
  .ai-result-grid,
  .ai-action-row,
  .recommend-layout,
  .recommend-form {
    grid-template-columns: 1fr;
  }

  .ai-hero-content {
    min-height: auto;
    padding: 0;
  }

  .ai-hero {
    min-height: auto;
    gap: 22px;
    overflow: hidden;
    padding: 100px 16px 42px;
  }

  .ai-hero::after {
    display: none;
  }

  .ai-hero-console {
    order: 2;
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .console-topbar {
    min-width: 0;
    gap: 6px;
    padding: 12px;
  }

  .console-topbar strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .console-flow div {
    min-height: 72px;
  }

  .console-preview {
    padding: 12px;
  }

  .console-preview-card {
    left: 22px;
    bottom: 22px;
    max-width: calc(100% - 44px);
    padding: 10px 12px;
  }

  .ai-floorplan-preview {
    min-height: 210px;
  }

  .ai-result-main img {
    min-height: 0;
  }

  .ai-input-panel,
  .ai-output-panel,
  .recommend-form,
  .recommend-result {
    padding: 18px;
  }

  .upload-zone {
    min-height: 150px;
    padding: 18px;
  }

  .ai-result-grid img {
    aspect-ratio: 1.55;
  }

  .ai-floorplan-card {
    grid-template-columns: 1fr;
  }

  .ai-chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .ai-chat-fab span {
    display: none !important;
  }

  .ai-chat-fab {
    width: 52px;
    min-width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
  }

  .ai-chat-panel {
    right: 0;
    bottom: 62px;
  }

  .case-modal-panel {
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
  }

  .modal-head {
    padding-right: 0;
  }

  .case-modal-close {
    margin-bottom: 12px;
  }
}

@media (max-width: 760px) {
  .package-detail-hero {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    overflow: visible;
  }

  .package-hero-copy,
  .package-detail-copy,
  .package-gallery,
  .package-construction-grid,
  .package-anchor-nav,
  .package-hero-actions {
    min-width: 0;
    max-width: 100%;
  }

  .package-detail-hero p,
  .package-detail-copy p {
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .package-hero-actions .secondary-button {
    min-height: 50px;
    color: var(--ink);
    border: 1px solid rgba(199, 178, 160, 0.5);
    background: #fff;
  }

  .package-detail-copy {
    display: block;
  }

  .package-detail-copy span {
    display: inline-flex;
    margin-bottom: 16px;
  }

  .package-detail-copy h2 {
    margin-bottom: 10px;
  }

  .package-detail-section {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    overflow: visible;
  }

  .package-hero-actions .primary-button,
  .package-hero-actions .secondary-button {
    width: 100%;
    max-width: 100%;
  }
}

/* Site-wide visual refresh */
:root {
  --paper: #f6f1ea;
  --paper-soft: #fff9f3;
  --ink: #201814;
  --muted: #6f6259;
  --line: #eadbd0;
  --orange: #ff6b35;
  --orange-dark: #c94618;
  --dark: #171210;
  --gold: #f6c873;
  --shadow: 0 18px 48px rgba(38, 25, 18, 0.12);
  --soft-shadow: 0 10px 28px rgba(38, 25, 18, 0.08);
}

body {
  background:
    linear-gradient(180deg, #fffaf5 0, var(--paper) 520px, #f8f2ec 100%);
  color: var(--ink);
}

.site-header {
  padding-inline: clamp(20px, 4.2vw, 68px);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid rgba(234, 219, 208, 0.78);
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(35, 24, 18, 0.08);
}

.desktop-nav {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.is-scrolled .desktop-nav,
.is-open .desktop-nav {
  border-color: rgba(234, 219, 208, 0.88);
  background: rgba(255, 250, 245, 0.86);
}

.phone-pill,
.primary-button,
.secondary-button {
  border-radius: 12px;
}

.primary-button {
  box-shadow: 0 14px 32px rgba(255, 107, 53, 0.24);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.92);
}

.hero {
  min-height: 760px;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 13, 10, 0.9), rgba(18, 13, 10, 0.42) 56%, rgba(18, 13, 10, 0.28)),
    linear-gradient(0deg, rgba(18, 13, 10, 0.46), transparent 44%);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

.hero-content h1 {
  max-width: 780px;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  font-size: 19px;
}

.booking-ticker {
  width: min(680px, 100%);
}

.hero-card {
  right: clamp(24px, 6vw, 96px);
  bottom: 86px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.stats-band {
  width: min(1120px, calc(100% - 40px));
  margin-top: -58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(32, 24, 18, 0.2);
}

.stats-band strong {
  font-size: 44px;
}

.section {
  padding: 92px clamp(20px, 5vw, 76px);
}

.section-heading {
  width: min(1180px, 100%);
  margin-inline: auto;
  margin-bottom: 34px;
}

.section-heading h2,
.promise-copy h2,
.contact-copy h2 {
  text-wrap: balance;
}

.promise-section,
.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

.promise-grid article,
.package-card,
.case-grid article,
.craft-grid article,
.team-card,
.store-grid article,
.lead-form,
.contact-list a,
.contact-list p,
.ai-entry-grid a,
.ai-tool-nav a,
.community-case-card,
.case-library-section,
.package-detail-section {
  border-color: rgba(199, 178, 160, 0.38);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
}

.promise-grid article,
.package-card,
.ai-entry-grid a,
.ai-tool-nav a {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.promise-grid article:hover,
.package-card:hover,
.ai-entry-grid a:hover,
.ai-tool-nav a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.38);
  box-shadow: var(--shadow);
}

.packages-section,
.craft-section,
.stores-section,
.neighborhoods-section,
.ai-entry-section,
.ai-nav-section,
.ai-generator-section,
.ai-recommend-section {
  background: linear-gradient(180deg, #fff9f3, #f7efe7);
}

.package-grid,
.case-grid,
.craft-grid,
.team-layout,
.store-grid,
.ai-entry-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.package-card {
  min-height: 320px;
}

.package-card h3 {
  margin-top: 0;
}

.package-card-link em {
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff0e7;
}

.payment-section {
  padding-block: 104px;
}

.payment-feature {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.payment-feature-grid div {
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.case-grid article,
.craft-grid article,
.team-card {
  overflow: hidden;
}

.case-grid img,
.craft-grid img {
  transition: transform 260ms ease;
}

.case-grid article:hover img,
.craft-grid article:hover img {
  transform: scale(1.035);
}

.case-grid div,
.craft-grid h3,
.craft-grid p,
.team-card h3,
.team-card p {
  background: #fff;
}

.person-photo {
  border-radius: 12px;
}

.store-grid article {
  background:
    linear-gradient(180deg, #fff, #fff9f3);
}

.contact-section {
  align-items: stretch;
}

.contact-copy,
.lead-form {
  border-radius: 18px;
}

.contact-copy {
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 249, 243, 0.92));
  box-shadow: var(--soft-shadow);
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.ai-form-grid input,
.ai-form-grid select,
.ai-form-grid textarea,
.recommend-form select,
.recommend-form textarea {
  border-radius: 12px;
  background: #fffdf9;
}

.floating-contact {
  gap: 12px;
}

.floating-contact a {
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.24);
}

.site-footer {
  padding-inline: clamp(20px, 5vw, 76px);
}

.package-detail-hero,
.case-library-hero,
.community-hero-content,
.ai-hero {
  width: min(1180px, calc(100% - 40px));
}

.package-page,
.case-page,
.community-page,
.ai-page {
  background: #f7f1ea;
}

.package-detail-section,
.case-library-section {
  border-radius: 18px;
}

.package-gallery a,
.package-construction-grid article,
.case-library-grid a {
  border-radius: 14px;
}

.package-hero-panel {
  border-radius: 20px;
}

.case-filter-pills a,
.package-anchor-nav a,
.region-tabs button,
.style-tabs button,
.segmented-control button {
  border-radius: 12px;
}

.case-library-grid {
  gap: 14px;
}

.case-library-grid a {
  box-shadow: var(--soft-shadow);
}

.ai-hero {
  padding-inline: 0;
}

.ai-hero-console,
.ai-input-panel,
.ai-output-panel,
.recommend-form,
.recommend-result {
  border-radius: 18px;
}

.community-library,
.online-tools-section {
  background: #fff9f3;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.08);
    backdrop-filter: blur(16px);
  }

  .mobile-menu-fallback {
    border-radius: 14px;
    background: rgba(32, 24, 20, 0.72);
  }

  .mobile-panel {
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 760px) {
  .package-detail-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .package-detail-hero .eyebrow,
  .package-detail-hero h1,
  .package-detail-hero p,
  .package-detail-copy p {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .package-detail-hero h1 {
    max-width: 8em;
  }

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

  .package-hero-panel div {
    padding: 14px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
  }

  .package-hero-panel div:last-child {
    border-right: 0;
  }

  .package-hero-panel strong {
    font-size: 24px;
  }

  .package-hero-panel span {
    font-size: 12px;
  }

  .package-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .package-anchor-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 32px);
    min-height: 690px;
    padding-top: 140px;
    padding-bottom: 88px;
  }

  .hero-content h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 17px;
  }

  .section {
    padding: 64px 16px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .promise-copy h2,
  .contact-copy h2 {
    font-size: 32px;
    line-height: 1.16;
  }

  .promise-section,
  .contact-section,
  .package-grid,
  .case-grid,
  .craft-grid,
  .team-layout,
  .store-grid,
  .ai-entry-grid {
    width: 100%;
  }

  .promise-copy,
  .contact-copy,
  .lead-form,
  .package-card {
    padding: 22px;
  }

  .stats-band {
    border-radius: 16px;
  }

  .stats-band strong {
    font-size: 34px;
  }

  .payment-section {
    padding-block: 72px;
  }

  .payment-feature-grid div {
    min-height: 132px;
  }

  .case-grid img,
  .craft-grid img {
    aspect-ratio: 1.32;
  }

  .package-detail-hero,
  .case-library-hero,
  .community-hero-content,
  .ai-hero {
    width: calc(100% - 32px);
  }

  .package-detail-section,
  .case-library-section {
    width: calc(100% - 32px);
    padding: 18px;
    border-radius: 16px;
  }

  .package-detail-copy {
    grid-template-columns: 1fr;
  }

  .package-detail-copy span {
    grid-column: auto;
    grid-row: auto;
  }

  .floating-contact {
    left: 12px;
    bottom: 12px;
  }

  .site-footer {
    gap: 10px;
  }
}
