:root {
  --bg: #f5efe6;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fffaf4;
  --surface-muted: rgba(255, 255, 255, 0.46);
  --text: #2a2119;
  --text-soft: #655548;
  --accent: #9f643c;
  --accent-strong: #744325;
  --accent-contrast: #fff8f0;
  --line: rgba(58, 38, 24, 0.12);
  --shadow: 0 24px 60px rgba(49, 34, 24, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: min(1200px, calc(100vw - 40px));
  --font-display: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
  border: 0;
}

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

.shell {
  width: var(--content-width);
  margin: 0 auto;
}

.site-frame {
  position: relative;
  padding: 22px 0 40px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  width: var(--content-width);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(42, 33, 25, 0.08);
}

.header-actions {
  display: contents;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: var(--accent-contrast);
  box-shadow: 0 12px 24px rgba(53, 37, 25, 0.18);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font: 700 1.02rem/1 var(--font-display);
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
}

.menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(42, 33, 25, 0.08);
}

.menu-toggle span:not(.menu-toggle-text) {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-link.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 10px 24px rgba(52, 35, 25, 0.18);
}

.top-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  justify-self: end;
}

.page-section {
  display: none;
  padding-bottom: 30px;
}

.page-section.is-active {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 248, 0.64)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 16px;
  font: 700 clamp(2.8rem, 6vw, 5rem) / 0.96 var(--font-display);
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.hero-actions,
.section-actions,
.carousel-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 16px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: var(--accent-contrast);
  box-shadow: 0 16px 28px rgba(54, 34, 19, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid var(--line);
}

.button-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px dashed var(--line);
}

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

.hero-stats,
.metrics-grid,
.materials-grid,
.value-grid,
.contact-grid,
.project-grid,
.story-grid,
.catalog-highlights {
  display: grid;
  gap: 18px;
}

.hero-stats {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.metric-card,
.value-card,
.contact-card,
.project-card,
.story-card,
.info-panel,
.catalog-note,
.feature-card,
.review-card,
.about-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.54)),
    var(--surface);
  box-shadow: 0 16px 40px rgba(42, 33, 25, 0.08);
}

.stat-card,
.metric-card,
.value-card,
.contact-card,
.story-card,
.catalog-note,
.feature-card,
.about-panel {
  padding: 28px;
}

.stat-card,
.metric-card,
.review-card,
.project-body,
.about-panel,
.contact-card {
  display: flex;
  flex-direction: column;
}

.stat-card strong,
.metric-card strong,
.project-price strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 38px 0 18px;
}

.section-head h2 {
  margin: 0;
  font: 700 clamp(2rem, 4vw, 3rem) / 1 var(--font-display);
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--text-soft);
}

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

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

.story-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.story-list,
.project-meta,
.contact-list,
.seller-points {
  display: grid;
  gap: 10px;
}

.project-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: transparent;
  padding: 28px 28px 12px;
}


.project-body {
  padding: 16px 28px 28px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-topline,
.review-meta,
.modal-meta,
.tag-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.project-body h3,
.about-panel h3,
.story-card h3,
.value-card h3,
.feature-card h3,
.contact-card h3,
.catalog-note h3 {
  margin: 14px 0 12px;
  font: 700 1.35rem/1.1 var(--font-display);
  text-wrap: balance;
}

.project-body p,
.metric-card p,
.value-card p,
.feature-card p,
.story-card p,
.about-panel p,
.contact-card p,
.catalog-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.58;
  max-width: 34ch;
}

.delivery-disclosure {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  overflow: hidden;
}

.delivery-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.delivery-disclosure summary::-webkit-details-marker {
  display: none;
}

.delivery-disclosure summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 1.15rem;
  line-height: 1;
}

.delivery-disclosure[open] summary::after {
  content: "−";
}

.delivery-disclosure-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 240ms ease, opacity 200ms ease;
}

.delivery-disclosure-content > div {
  overflow: hidden;
}

.delivery-disclosure[open] .delivery-disclosure-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.project-delivery-list,
.modal-delivery-list {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.delivery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.delivery-row span {
  color: var(--text-soft);
}

.delivery-row strong {
  font-size: 1rem;
  line-height: 1.2;
}

.metric-card strong,
.metric-card p,
.review-card blockquote,
.review-meta,
.project-body h3,
.project-body p {
  overflow-wrap: anywhere;
}

.project-bottom,
.project-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
}

.catalog-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-soft);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.filter-pill.is-accent {
  background: rgba(111, 142, 121, 0.16);
  color: var(--accent-strong);
  border-color: rgba(66, 97, 82, 0.2);
  box-shadow: 0 10px 24px rgba(66, 97, 82, 0.12);
}

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

.project-card--empty {
  min-height: 100%;
}

.carousel-shell {
  position: relative;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 34%);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

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

.material-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    var(--surface);
  box-shadow: 0 16px 40px rgba(42, 33, 25, 0.08);
}

.material-image {
  aspect-ratio: 1 / 1;
  padding: 18px 18px 0;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.material-copy {
  padding: 20px 22px 24px;
}

.material-copy h3 {
  margin: 0 0 10px;
  font: 700 1.3rem/1.1 var(--font-display);
}

.material-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.58;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-height: 230px;
  padding: 28px;
  scroll-snap-align: start;
  box-shadow: none;
  justify-content: space-between;
}

.review-card blockquote {
  margin: 0 0 22px;
  font-size: 1.04rem;
  line-height: 1.58;
  max-width: 34ch;
}

.review-meta strong,
.contact-card strong,
.story-card strong {
  font-size: 1rem;
}

.review-meta {
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 20px;
}

.about-visual,
.hero-visual,
.contact-map {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 42px rgba(45, 31, 22, 0.1);
}

.about-visual img,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual {
  justify-self: end;
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.contact-panel-stack {
  display: grid;
  gap: 18px;
}

.contact-card a {
  color: var(--accent-strong);
}

.contact-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}

.social-link svg,
.floating-phone svg,
.carousel-button svg,
.modal-close svg {
  width: 22px;
  height: 22px;
}

.contact-map iframe {
  width: 100%;
  min-height: 100%;
  border: 0;
}

.floating-phone {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: var(--accent-contrast);
  animation: pulse 2.6s ease-in-out infinite;
}

.floating-phone span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.floating-phone-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.phone-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 245, 0.92)),
    var(--surface);
  box-shadow: 0 24px 44px rgba(39, 27, 20, 0.16);
}

.phone-popover::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: rgba(255, 251, 247, 0.96);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.phone-popover-label,
.phone-popover-note {
  display: block;
  color: var(--text-soft);
}

.phone-popover-label {
  margin-bottom: 8px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phone-popover strong {
  display: block;
  margin-bottom: 14px;
  font: 700 1.5rem/1.1 var(--font-display);
}

.phone-popover-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.phone-popover-actions .button-primary,
.phone-popover-actions .button-secondary {
  flex: 1 1 130px;
}

.phone-popover-note {
  margin-top: 12px;
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
  background: rgba(22, 15, 10, 0.58);
  backdrop-filter: blur(8px);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  width: min(960px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(250, 246, 240, 0.95));
  box-shadow: 0 30px 80px rgba(13, 8, 5, 0.32);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 14px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 252, 248, 0.72));
  backdrop-filter: blur(14px);
}

.modal-close,
.carousel-button {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  padding: 0 28px 28px;
}

.modal-copy {
  display: flex;
  flex-direction: column;
}

.modal-media {
  display: grid;
  gap: 14px;
}

.modal-gallery-main {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.modal-video-wrap {
  position: absolute;
  inset: 0;
  background: #111;
  border-radius: inherit;
}

.modal-thumb--video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.modal-thumb--video svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.modal-thumb--video.is-active {
  background: rgba(111, 142, 121, 0.14);
  border-color: rgba(66, 97, 82, 0.32);
  color: var(--accent-strong);
}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px;
}

.modal-gallery-nav {
  position: absolute;
  inset: 50% 14px auto;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.modal-gallery-nav .carousel-button {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.9);
}

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

.modal-thumb {
  overflow: hidden;
  min-height: 92px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.modal-thumb.is-active {
  opacity: 1;
  border-color: rgba(66, 97, 82, 0.32);
  transform: translateY(-2px);
}

.modal-price {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 18px 0;
}

.modal-copy > .delivery-disclosure {
  margin: 0 0 22px;
}

.modal-body h2 {
  margin: 14px 0 0;
  font: 700 clamp(1.8rem, 3vw, 2.6rem) / 1 var(--font-display);
}

.modal-price strong {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.modal-spec {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.modal-spec span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.catalog-note-list,
.seller-points {
  padding-left: 18px;
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 60ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 120ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 300ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 360ms; }

.page-footer {
  width: var(--content-width);
  margin: 12px auto 0;
  padding: 20px 8px 10px;
  color: var(--text-soft);
  text-align: center;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 18px 36px rgba(39, 27, 20, 0.28);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 22px 42px rgba(39, 27, 20, 0.34);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .story-grid,
  .about-grid,
  .contact-grid,
  .modal-body,
  .metrics-grid,
  .materials-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .review-track {
    grid-auto-columns: minmax(280px, 66%);
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    top: 0;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .brand {
    justify-content: flex-start;
  }

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

  @keyframes menu-item-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .header-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    overflow: hidden;
    transition: grid-template-rows 320ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity 280ms ease,
                padding-top 320ms ease;
    opacity: 0;
    padding-top: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    pointer-events: none;
  }

  .header-actions > * {
    min-height: 0;
    overflow: hidden;
  }

  .header-actions.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    padding-top: 6px;
    pointer-events: auto;
  }

  .header-actions.is-open .nav-link,
  .header-actions.is-open .top-cta {
    animation: menu-item-in 280ms ease both;
  }

  .header-actions.is-open .nav-link:nth-child(1) { animation-delay: 60ms; }
  .header-actions.is-open .nav-link:nth-child(2) { animation-delay: 100ms; }
  .header-actions.is-open .nav-link:nth-child(3) { animation-delay: 140ms; }
  .header-actions.is-open .nav-link:nth-child(4) { animation-delay: 180ms; }
  .header-actions.is-open .top-cta             { animation-delay: 220ms; }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    justify-self: stretch;
  }

  .hero,
  .stat-card,
  .metric-card,
  .value-card,
  .contact-card,
  .story-card,
  .catalog-note,
  .feature-card,
  .about-panel,
  .project-body,
  .review-card {
    padding: 24px;
  }

  .hero-grid,
  .hero-stats,
  .metrics-grid,
  .materials-grid,
  .project-grid,
  .story-grid,
  .about-grid,
  .contact-grid,
  .modal-body,
  .modal-specs {
    grid-template-columns: 1fr;
  }

  .modal-gallery-main {
    min-height: 320px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-track {
    grid-auto-columns: minmax(260px, 88%);
  }

  .top-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .site-frame {
    padding-top: 14px;
  }

  .shell,
  .site-header,
  .page-footer {
    width: min(100vw - 24px, 100%);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .nav-link {
    flex: 1 1 100%;
    text-align: center;
  }

  .modal-head {
    padding: 20px 20px 12px;
  }

  .modal-body {
    padding: 0 20px 20px;
  }

  .modal-thumb {
    min-height: 74px;
  }

  .floating-phone-wrap {
    right: 16px;
    bottom: 16px;
  }

  .phone-popover {
    width: min(320px, calc(100vw - 24px));
  }
}
