:root {
  --bg: #efefeb;
  --bg-soft: #f7f7f4;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-tint: #ebebe6;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.22);
  --text: #121212;
  --muted: #5e5e5a;
  --accent: #111111;
  --accent-strong: #2a2a2a;
  --shadow: 0 28px 70px rgba(17, 17, 17, 0.1);
  --shadow-soft: 0 14px 32px rgba(17, 17, 17, 0.07);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 34%),
    radial-gradient(circle at top right, rgba(212, 212, 206, 0.34), transparent 28%),
    linear-gradient(180deg, #f8f8f6 0%, #efefeb 46%, #f4f4f1 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.36), transparent 18%);
  opacity: 0.85;
}

body.has-cookie-modal {
  overflow: hidden;
}

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

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

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

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

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

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
}

.brand span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.section {
  padding: 72px 0;
  scroll-margin-top: 120px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 56px;
  align-items: center;
  padding-top: 88px;
}

.eyebrow,
.highlight-kicker,
.stage-label,
.collection-index,
.step-number {
  color: var(--accent-strong);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2,
.stage-card h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
  color: var(--text);
}

.hero h1 {
  max-width: 11.2ch;
  font-size: clamp(2.75rem, 5.2vw, 4.7rem);
}

.lead,
.highlight-card p,
.collection-card p,
.step-card p,
.faq-answer p,
.contact-copy p,
.site-footer p,
.stage-card p,
.form-helper,
.contact-points p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy .lead {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.12);
}

.button-primary {
  background: linear-gradient(135deg, #0f0f0f, #2f2f2f);
  color: #ffffff;
  font-weight: 700;
}

.button-secondary,
.button-small {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.button-small {
  min-height: 44px;
  padding: 0 18px;
}

.button-block {
  width: 100%;
}

.hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #111111, #666666);
  box-shadow: 0 0 0 6px rgba(17, 17, 17, 0.08);
}

.hero-stage {
  position: relative;
}

.stage-frame {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f3f3f0 0%, #ddddd8 62%, #f8f8f5 100%);
  box-shadow: var(--shadow);
}

.stage-frame::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), transparent 70%);
}

.lead-stage {
  display: flex;
  align-items: flex-end;
}

.stage-backdrop {
  position: absolute;
  inset: 24px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.24)),
    linear-gradient(180deg, rgba(243, 243, 240, 0.96), rgba(228, 228, 224, 0.96));
}

.curtain {
  position: absolute;
  top: 70px;
  bottom: 120px;
  width: 28%;
  border-radius: 28px;
  opacity: 0.72;
}

.curtain::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(66, 66, 66, 0.18)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.4) 0 18px,
      rgba(64, 64, 64, 0.08) 18px 36px
    );
}

.curtain-left {
  left: 46px;
}

.curtain-right {
  right: 46px;
}

.stage-card {
  position: relative;
  z-index: 1;
  width: calc(100% - 80px);
  margin: 40px;
  padding: 34px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 42px rgba(17, 17, 17, 0.09);
}

.lead-card {
  display: grid;
  gap: 14px;
}

.stage-card h2 {
  margin-top: 4px;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
}

.lead-card p {
  margin: 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 32px;
}

.section-subline {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
}

.trust-strip,
.projects-grid,
.highlights,
.collection-grid,
.steps-grid,
.faq-list {
  display: grid;
  gap: 20px;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 16px;
}

.projects-section {
  padding-top: 18px;
}

.materials-section {
  padding-top: 24px;
}

.projects-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

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

.project-feature,
.project-card-simple,
.material-card {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.project-feature img,
.project-card-simple img,
.material-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.project-feature img {
  aspect-ratio: 16 / 11.4;
}

.project-card-simple img {
  aspect-ratio: 4 / 4.3;
}

.project-media-corridor {
  object-position: center 58%;
}

.project-media-roman {
  object-position: center 42%;
}

.project-media-blinds {
  object-position: center 47%;
}

.project-copy,
.material-meta {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.project-copy span,
.material-meta span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-copy h3,
.material-meta h3 {
  margin: 0;
  color: var(--text);
}

.project-copy h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.project-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.material-meta h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.materials-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: stretch;
}

.material-feature {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.material-feature img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
}

.material-media-bedroom {
  object-position: center 46%;
}

.materials-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.materials-text {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 242, 238, 0.9)),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.materials-text span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.materials-text h3,
.materials-text p {
  margin: 0;
}

.materials-text h3 {
  font-size: 1.36rem;
  line-height: 1.35;
  color: var(--text);
}

.materials-text p {
  color: var(--muted);
  line-height: 1.8;
}

.materials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.materials-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
}

.material-card img {
  aspect-ratio: 4 / 3.25;
}

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

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

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

.trust-pill,
.highlight-card,
.collection-card,
.step-card,
.lead-form-panel,
.contact-copy,
.faq-item {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.trust-pill {
  padding: 26px;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 243, 239, 0.9)),
    var(--surface);
}

.trust-pill strong {
  font-size: 1.02rem;
}

.trust-pill span {
  color: var(--muted);
  line-height: 1.7;
}

.highlight-card,
.collection-card,
.step-card {
  padding: 30px;
}

.highlight-card h3,
.collection-card h3,
.step-card h3 {
  margin: 10px 0 0;
  font-size: 1.34rem;
  line-height: 1.2;
}

.evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.evidence-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.05);
}

.collection-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 241, 237, 0.9)),
    var(--surface);
}

.collection-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0.08));
}

.option-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 241, 237, 0.9)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.option-feature-main {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 12.6;
}

.option-media-lounge {
  object-position: center 56%;
}

.option-feature-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px 30px 30px 0;
}

.option-feature-copy h3,
.option-feature-copy p,
.option-feature-detail p {
  margin: 0;
}

.option-feature-copy h3 {
  font-size: 1.42rem;
  line-height: 1.25;
  color: var(--text);
}

.option-feature-copy p,
.option-feature-detail p {
  color: var(--muted);
  line-height: 1.8;
}

.option-feature-detail {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.option-feature-detail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.option-media-detail {
  object-position: center 58%;
}

.option-feature-detail strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.collection-index,
.step-number {
  display: inline-flex;
  margin-bottom: 10px;
}

.installation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.installation-media,
.installation-copy {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.installation-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  aspect-ratio: 4 / 4.8;
}

.installation-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 32px;
}

.installation-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.installation-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
}

.service-visit-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 239, 235, 0.86)),
    rgba(255, 255, 255, 0.7);
}

.service-visit-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 16px;
}

.service-visit-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.service-visit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.installation-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.installation-detail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

.installation-detail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.installation-detail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.contact-copy,
.lead-form-panel {
  padding: 32px;
}

.contact-copy {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, rgba(244, 244, 241, 0.95), rgba(232, 232, 228, 0.92));
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-points strong {
  display: block;
  margin-bottom: 6px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form.is-success {
  gap: 14px;
}

.lead-form.is-success > .form-grid,
.lead-form.is-success > label,
.lead-form.is-success > .button-block,
.lead-form.is-success > .form-helper,
.lead-form.is-success > .form-direct {
  display: none;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

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

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(17, 17, 17, 0.52);
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #8a8a85;
}

.lead-form textarea {
  min-height: 138px;
  resize: vertical;
}

.form-helper {
  margin: 0;
  font-size: 0.95rem;
}

.form-legal {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.form-legal a,
.cookie-banner a,
.legal-rich-text a,
.legal-meta-item a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success {
  padding: 18px 20px;
  border: 1px solid rgba(118, 152, 115, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(247, 251, 245, 0.96), rgba(238, 246, 235, 0.92)),
    #f8fbf6;
  box-shadow: 0 16px 34px rgba(83, 106, 72, 0.08);
  outline: none;
}

.form-success strong {
  display: block;
  margin-bottom: 6px;
  color: #4f6e43;
}

.form-success p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-direct {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.form-direct a,
.footer-links a {
  color: var(--accent-strong);
}

.form-direct a:hover,
.form-direct a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--accent-strong);
}

.faq-item {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.7rem;
  color: var(--accent-strong);
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  margin: 0;
  overflow: hidden;
  padding: 0 26px 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0 56px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.footer-copy,
.footer-links,
.footer-legal {
  display: grid;
  gap: 8px;
}

.site-footer p,
.footer-links a,
.footer-legal a {
  margin: 0;
  color: var(--muted);
}

.footer-links button {
  justify-self: start;
}

.footer-legal button {
  justify-self: start;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
}

.legal-main {
  padding-bottom: 64px;
}

.legal-hero {
  padding-top: 40px;
}

.legal-layout {
  display: grid;
  gap: 20px;
}

.legal-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.legal-card h1,
.legal-card h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--text);
}

.legal-card h1 {
  font-size: clamp(2.8rem, 6vw, 4.1rem);
}

.legal-card h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal-intro,
.legal-updated,
.legal-rich-text p,
.legal-rich-text li,
.legal-meta-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-updated {
  font-size: 0.94rem;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-meta-item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 20px;
  background: rgba(245, 245, 242, 0.78);
}

.legal-meta-item strong,
.legal-rich-text strong {
  color: var(--text);
}

.legal-rich-text {
  display: grid;
  gap: 14px;
}

.legal-rich-text code,
.legal-meta-item code {
  padding: 3px 8px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.legal-note {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  background: rgba(237, 237, 233, 0.9);
}

.legal-contact-list {
  display: grid;
  gap: 10px;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  text-align: left;
  cursor: pointer;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: min(460px, calc(100vw - 24px));
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 60px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(18px);
}

.cookie-banner-copy {
  display: grid;
  gap: 10px;
}

.cookie-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cookie-banner strong,
.cookie-modal-panel h2 {
  color: var(--text);
}

.cookie-banner strong {
  font-size: 1.08rem;
  line-height: 1.4;
}

.cookie-banner p,
.cookie-modal-intro,
.cookie-option-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cookie-banner-actions,
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner-actions .button,
.cookie-modal-actions .button {
  flex: 1 1 180px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.38);
  backdrop-filter: blur(4px);
}

.cookie-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  display: grid;
  gap: 20px;
  padding: 32px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 32px 70px rgba(17, 17, 17, 0.18);
  outline: none;
}

.cookie-modal-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.cookie-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 24px;
  background: rgba(245, 245, 242, 0.8);
}

.cookie-option-copy {
  display: grid;
  gap: 8px;
}

.cookie-option-copy strong {
  color: var(--text);
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-toggle-ui {
  position: relative;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.18);
  transition: background-color 180ms ease;
}

.cookie-toggle-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(47, 38, 31, 0.14);
  transition: transform 180ms ease;
}

.cookie-toggle input:checked + .cookie-toggle-ui {
  background: linear-gradient(135deg, #111111, #333333);
}

.cookie-toggle input:checked + .cookie-toggle-ui::after {
  transform: translateX(22px);
}

.cookie-toggle-text {
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.cookie-toggle.is-locked {
  cursor: default;
}

.cookie-toggle.is-locked .cookie-toggle-ui {
  background: linear-gradient(135deg, #111111, #333333);
}

.cookie-toggle.is-locked .cookie-toggle-ui::after {
  transform: translateX(22px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-up 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 240ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .installation-section,
  .contact-section,
  .trust-strip,
  .projects-layout,
  .materials-editorial,
  .option-feature,
  .highlights,
  .collection-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .stage-frame {
    min-height: 640px;
  }

  .project-row,
  .materials-side {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    border-radius: 30px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-footer {
    flex-direction: column;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .cookie-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 12px 14px;
  }

  .brand span {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.5rem);
    line-height: 0.98;
  }

  .section-heading h2,
  .contact-copy h2,
  .stage-card h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1;
  }

  .hero {
    gap: 28px;
    padding-top: 56px;
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .stage-frame {
    min-height: auto;
  }

  .curtain {
    top: 52px;
    bottom: 88px;
    width: 30%;
  }

  .curtain-left {
    left: 18px;
  }

  .curtain-right {
    right: 18px;
  }

  .stage-card,
  .material-meta,
  .materials-text,
  .installation-copy,
  .contact-copy,
  .legal-card,
  .lead-form-panel,
  .trust-pill,
  .highlight-card,
  .collection-card,
  .step-card {
    padding: 24px;
  }

  .stage-card {
    width: calc(100% - 32px);
    margin: 16px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

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

  .form-direct {
    display: grid;
    gap: 6px;
  }

  .legal-card h1 {
    font-size: clamp(2.3rem, 12vw, 3.2rem);
  }

  .legal-card h2 {
    font-size: clamp(1.9rem, 10vw, 2.4rem);
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 20px;
    border-radius: 24px;
  }

  .cookie-banner-actions,
  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-banner-actions .button,
  .cookie-modal-actions .button {
    width: 100%;
    flex-basis: auto;
  }

  .cookie-modal {
    padding: 12px;
  }

  .cookie-modal-panel {
    padding: 26px 20px 20px;
    border-radius: 24px;
  }

  .cookie-close {
    top: 14px;
    right: 14px;
  }

  .site-nav .button-small {
    width: 100%;
  }

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

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

  .option-feature-copy {
    padding: 0 24px 24px;
  }

  .option-feature-detail {
    grid-template-columns: 1fr;
  }

  .project-row,
  .materials-side {
    grid-template-columns: 1fr;
  }

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

  .faq-question {
    padding: 20px;
  }

  .faq-answer p {
    padding-left: 20px;
    padding-right: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
