/* Local redesign, phase 2: retained editorial and conversion pages. */

body.page .site-main.about-main {
  padding: 0;
  background: var(--rd-paper);
}

.about-hero {
  display: flex;
  align-items: end;
  min-height: clamp(440px, 42vw, 640px);
  padding-top: 150px;
  padding-bottom: 75px;
  background: var(--rd-stone);
}
.about-hero > .container { align-self: stretch; }
.about-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr);
  gap: 60px;
  align-items: end;
  margin-top: clamp(55px, 9vw, 130px);
}
.about-hero h1,
.about-story h2,
.about-paths h2 {
  margin: 0;
  font-family: var(--rd-serif);
  font-weight: 400;
  line-height: 1.15;
}
.about-hero h1 { font-size: clamp(4rem, 8vw, 9rem); }
.about-hero__body p { margin: 0 0 25px; font-family: var(--rd-serif); font-size: clamp(1.5rem, 2.4vw, 2.6rem); }
.about-story { background: #fff; }
.about-story__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-story .rd-kicker { margin-bottom: 38px; }
.about-story h2 { font-size: clamp(2.8rem, 5.3vw, 6.1rem); }
.about-story__content { max-width: 610px; margin-top: 45px; color: var(--rd-muted); font-size: 1.08rem; line-height: 2; }
.about-story__content p { margin: 0 0 25px; }
.about-story__image { margin: 0; min-height: 550px; height: 100%; overflow: hidden; background: var(--rd-stone); }
.about-story__image img { width: 100%; height: 100%; object-fit: cover; }
.about-paths { background: var(--rd-black); color: #fff; }
.about-paths h2 { max-width: 12ch; margin: 55px 0; color: #fff; font-size: clamp(2.7rem, 5vw, 5.6rem); }
.about-paths__links { border-top: 1px solid #ffffff60; }
.about-paths__links a { display: flex; justify-content: space-between; align-items: center; min-height: 82px; gap: 20px; padding: 12px 0; border-bottom: 1px solid #ffffff60; color: #fff; font-size: clamp(1.05rem, 2vw, 1.7rem); text-decoration: none; }
.about-paths__links a:hover { color: var(--rd-gold); }

/* InvisaCook: editorial presentation without unverified product media. */
.invisa-main.invisa-redesign { padding: 0; background: var(--rd-paper); }
.invisa-redesign .invisa-hero { display: block; min-height: 0; padding: 0; background: #e9e7e2; }
.invisa-hero__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 670px; }
.invisa-redesign .invisa-hero__copy { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 28px; padding: 135px 5vw 85px 0; }
.invisa-redesign .invisa-hero h1 { max-width: none; font-family: var(--rd-serif); font-size: clamp(3.8rem, 5.4vw, 6.3rem); font-weight: 400; line-height: 1.15; }
.invisa-redesign .invisa-hero__copy > p:not(.rd-kicker) { max-width: 32em; margin: 0; color: var(--rd-muted); font-size: 1.02rem; line-height: 1.9; }
.invisa-hero__actions { display: flex; flex-wrap: wrap; gap: 18px 35px; margin-top: 15px; }
.invisa-hero__graphic { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; margin-right: calc(0px - var(--container-pad)); padding: 155px 38px 45px; overflow: hidden; background: #292722; color: #ebe8e0; }
.invisa-hero__graphic::before { content: ""; position: absolute; inset: 13% 10%; border: 1px solid #ffffff45; border-radius: 50%; transform: rotate(-28deg) scaleX(1.55); }
.invisa-hero__graphic::after { content: ""; position: absolute; width: 140%; height: 1px; left: -20%; top: 60%; background: #d5a341; transform: rotate(-24deg); }
.invisa-hero__graphic span { position: relative; z-index: 1; font-family: var(--rd-serif); font-size: clamp(1.8rem, 3vw, 3.8rem); letter-spacing: .16em; overflow-wrap: anywhere; }
.invisa-hero__graphic i { display: block; width: 58px; height: 58px; border: 1px solid var(--rd-gold); border-radius: 50%; align-self: center; }
.invisa-hero__graphic small { position: relative; z-index: 1; align-self: end; letter-spacing: .2em; }
.invisa-story { background: #fff; }
.invisa-story__layout { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(45px, 7vw, 110px); margin-top: 65px; }
.invisa-story h2, .invisa-redesign .rd-section__heading h2, .invisa-final h2 { margin: 0; font-family: var(--rd-serif); font-weight: 400; font-size: clamp(2.8rem, 5vw, 6rem); line-height: 1.2; }
.invisa-story__layout .content-flow { max-width: 570px; color: var(--rd-muted); font-size: 1.05rem; line-height: 2; }
.invisa-story__note { padding-top: 25px; border-top: 1px solid var(--rd-rule); font-size: .86rem; }
.invisa-explore { background: var(--rd-paper); }
.invisa-explore__note { max-width: 37em; color: var(--rd-muted); line-height: 1.9; }
.invisa-projects { background: #fff; }
.invisa-final { background: #312d29; color: #fff; }
.invisa-final h2 { margin: 50px 0 25px; color: #fff; }
.invisa-final p:not(.rd-kicker) { max-width: 34em; margin-bottom: 30px; color: #e1ded9; line-height: 1.9; }

/* Space stories: photographic rhythm and restrained copy. */
.site-main.project-archive-main,
.site-main.project-single-main { padding: 0; background: #fff; }
.project-archive-main .page-header__inner.container,
.project-single-main .page-header__inner.container { width: min(calc(100% - var(--container-pad) - var(--container-pad)), 1440px); margin-inline: auto; }
.project-archive-main .page-header { display: flex; align-items: end; min-height: 450px; padding: 130px 0 70px; background: #2d2b28; color: #fff; border: 0; }
.project-archive-main .page-header__inner { width: 100%; }
.project-archive-main .page-title { max-width: none; margin: 15px 0; color: #fff; font-family: var(--rd-serif); font-size: clamp(3.8rem, 7vw, 7.5rem); font-weight: 400; }
.project-archive-main .page-description { max-width: 37em; color: #e5e2da; }
.content-grid--projects.container { max-width: 1440px; padding-top: 0; padding-bottom: 95px; }
.content-grid--projects .project-story-card { padding: clamp(55px, 7vw, 105px) 0; border-bottom: 1px solid var(--rd-rule); gap: clamp(35px, 6vw, 90px); }
.content-grid--projects .content-card:nth-child(even),
.content-grid--projects .content-card:nth-child(odd) { background: transparent; box-shadow: none; clip-path: none; padding-inline: 0; }
.project-story-card:nth-child(even) .project-story-card__media { order: 2; }
.project-story-card__media { aspect-ratio: 1.42; gap: 6px; }
.project-story-card__image { background: var(--rd-stone); }
.project-story-card__body .content-card__title { margin: 18px 0; font-family: var(--rd-serif); font-weight: 400; font-size: clamp(2.3rem, 3.5vw, 4.2rem); line-height: 1.25; }
.project-story-card__summary { color: var(--rd-muted); }
.project-story-card__body .content-card__excerpt { display: none; }
.project-story-card__action { padding-bottom: 7px; border-bottom: 1px solid; text-decoration: none; font-size: .88rem; font-weight: 600; }
.project-story-card__action:hover { color: #9b6800; }
.project-single-main .page-header { padding: 110px 0 65px; background: var(--rd-stone); border: 0; }
.project-single-main .page-title { max-width: 18ch; font-family: var(--rd-serif); font-size: clamp(3rem, 5.6vw, 6rem); font-weight: 400; line-height: 1.22; }
.project-single.container { max-width: 1280px; padding-bottom: 95px; }
.project-single > .entry-featured-image { margin: 50px 0 75px; background: var(--rd-stone); }
.project-single > .entry-featured-image img { width: 100%; max-height: 800px; object-fit: cover; }
.project-single > p, .project-single > .wp-block-heading, .project-single > ul, .project-single > ol { max-width: 760px; margin-left: auto; margin-right: auto; }
.project-single > .wp-block-heading { font-family: var(--rd-serif); font-weight: 400; }
.project-materials { border-top: 1px solid var(--rd-rule); }
.project-materials__heading h2 { font-family: var(--rd-serif); font-weight: 400; }

/* Showroom and reservation: carry the same type, spacing and surfaces. */
.contact-main { background: var(--rd-paper); }
.contact-hero { min-height: 550px; padding-top: 125px; padding-bottom: 70px; background: var(--rd-stone); }
.contact-main--showroom .contact-hero,
.contact-main--contact .contact-hero,
.contact-main--reservation .contact-hero { background: var(--rd-stone); }
.contact-hero h1 { max-width: 13ch; font-family: var(--rd-serif); font-weight: 400; font-size: clamp(3.4rem, 5.6vw, 6.1rem); line-height: 1.22; }
.contact-hero__panel { min-height: 185px; }
.contact-hero__panel span:first-child { font-family: var(--rd-serif); font-weight: 400; }
.contact-section__heading h2,
.contact-editorial h2,
.reservation-layout__intro h2,
.contact-final-cta h2 { font-family: var(--rd-serif); font-weight: 400; line-height: 1.25; }
.contact-section { border-top-color: var(--rd-rule); }
.contact-action { border-radius: 0; }
.contact-action--primary { background: var(--rd-black); color: #fff; }
.contact-action--primary span, .contact-action--primary small { color: #fff; }
.contact-action:hover { border-color: var(--rd-black); }
.contact-main--showroom .contact-section--showroom-visit { background: var(--rd-paper); }
.reservation-panel, .reservation-form { background: #fff; }
.reservation-panel { border-color: var(--rd-rule); }
.reservation-form input, .reservation-form select, .reservation-form textarea { border-radius: 0; }
.contact-section--final { background: #312d29; color: #fff; }
.contact-final-cta h2, .contact-final-cta .eyebrow { color: #fff; }
.contact-final-cta p { color: #e1ded9; }
.contact-section--final .button--primary { background: var(--rd-gold); border-color: var(--rd-gold); color: var(--rd-black); }

.about-main a:focus-visible,
.invisa-redesign a:focus-visible,
.project-archive-main a:focus-visible,
.project-single-main a:focus-visible,
.contact-main a:focus-visible { outline: 3px solid var(--rd-gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .about-hero__body, .about-story__layout, .invisa-hero__layout, .invisa-story__layout { grid-template-columns: 1fr; }
  .about-story__image { min-height: 370px; max-height: 560px; }
  .invisa-hero__layout { min-height: 0; }
  .invisa-redesign .invisa-hero__copy { padding: 135px 0 75px; }
  .invisa-hero__graphic { min-height: 340px; margin: 0 calc(0px - var(--container-pad)); padding: 50px var(--container-pad); }
  .content-grid--projects .project-story-card { grid-template-columns: 1fr; }
  .project-story-card:nth-child(even) .project-story-card__media { order: 0; }
}

@media (max-width: 700px) {
  .about-hero { min-height: 420px; padding-top: 125px; padding-bottom: 60px; }
  .about-hero__body { gap: 25px; margin-top: 70px; }
  .about-hero h1 { font-size: 4.1rem; }
  .about-story__content { margin-top: 28px; font-size: 1rem; }
  .about-story__image { min-height: 300px; }
  .about-paths__links a { min-height: 66px; }
  .invisa-redesign .invisa-hero__copy { padding: 115px 0 65px; }
  .invisa-redesign .invisa-hero h1 { font-size: clamp(3.3rem, 12vw, 5rem); }
  .invisa-hero__graphic { min-height: 260px; }
  .invisa-hero__graphic span { font-size: 1.6rem; }
  .invisa-story__layout { margin-top: 38px; }
  .project-archive-main .page-header { min-height: 350px; padding: 110px 0 55px; }
  .project-archive-main .page-title { font-size: 3.7rem; }
  .content-grid--projects .project-story-card { padding: 55px 0; }
  .project-story-card__media { aspect-ratio: 1.1; }
  .project-single-main .page-header { padding: 105px 0 45px; }
  .project-single > .entry-featured-image { margin: 25px 0 50px; }
  .contact-hero { min-height: 450px; padding: 110px 0 55px; }
  .contact-hero h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
  .contact-hero__panel { min-height: 125px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-story-card__image img { transition: none; }
}
