/* Selected direction: 02 · Salon Panorama. */
.design-panorama {
  --cream: #f4f8f3;
  --ink: #173b31;
  --muted: #486459;
  background: var(--cream);
}

.design-panorama > header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
  color: #f4f8f3;
}

.design-panorama header nav {
  max-width: 1440px;
  min-height: 108px;
  padding: 18px 5%;
  border-bottom: 1px solid #ffffff35;
}

.design-panorama header .logo {
  width: 158px;
  height: 69px;
  max-height: none;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.design-panorama header .links {
  background: transparent;
  gap: 25px;
  font-size: 13px;
}

.design-panorama header .links a:not(.button):hover {
  color: #a8dcc8;
}

.design-panorama header .button,
.design-panorama .hero .button,
.design-panorama .page-hero .button {
  background: #a8dcc8;
  border-color: #a8dcc8;
  color: #173b31;
}

.design-panorama header .button:hover,
.design-panorama .hero .button:hover {
  background: #eaf7f1;
  border-color: #eaf7f1;
}

.design-panorama header a:focus-visible,
.design-panorama header button:focus-visible {
  outline-color: #a8dcc8;
}

.design-panorama .hero.hero-background-section {
  min-height: 775px;
  padding: 208px max(5%, calc((100vw - 1296px) / 2)) 100px;
  align-items: center;
}

.design-panorama .hero-background-section .hero-copy {
  max-width: 1100px;
}

.design-panorama .hero-background-section h1 {
  font-size: clamp(4rem, 7.5vw, 7.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 24px 0 30px;
}

.design-panorama .hero-background-section .lead {
  max-width: 470px;
  font-size: 16px;
  color: #e4f0e9;
  margin-bottom: 30px;
  text-align: left;
}

.design-panorama .hero-background-section::before,
.design-panorama .page-hero::after {
  background: linear-gradient(
    90deg,
    rgba(7, 25, 19, 0.88),
    rgba(7, 25, 19, 0.48) 55%,
    rgba(7, 25, 19, 0.25)
  );
}

.design-panorama .hero-background-section .hero-background img {
  object-position: 60% center;
}

.design-panorama .hero .actions {
  gap: 28px;
}

.design-panorama .hero .actions .outline {
  border: 0;
  background: transparent;
  color: #f4f8f3;
  box-shadow: none;
  padding-inline: 0;
}

.panorama-information {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  padding: 26px max(5%, calc((100vw - 1296px) / 2));
  background: #173b31;
  border-top: 1px solid #ffffff35;
  color: #f4f8f3;
  font-size: 13px;
}

.panorama-information small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #c4ded1;
  margin-bottom: 8px;
}

.design-panorama .section {
  max-width: 1440px;
  padding: 88px 5%;
}

.design-panorama .split {
  gap: 8%;
}

.design-panorama .split > .photo-frame {
  aspect-ratio: 1.15;
}

.design-panorama .split h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.design-panorama .cards {
  gap: 30px;
}

.design-panorama .card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.design-panorama .card > div:not(.photo-frame) {
  padding: 26px 0 0;
}

.design-panorama .original-copy {
  border-top: 1px solid #173b3125;
}

.design-panorama .page-hero:not(.gallery-hero) {
  min-height: 620px;
  padding: 205px max(5%, calc((100vw - 1100px) / 2)) 100px;
}

.design-panorama .page-hero-copy h1 {
  margin-top: 24px;
}

.design-panorama .gallery-hero {
  min-height: 400px;
}

@media (max-width: 1000px) {
  .design-panorama header .links {
    gap: 14px;
  }
}

@media (max-width: 850px) {
  .design-panorama header nav {
    min-height: 96px;
  }
  .design-panorama header .logo {
    width: 136px;
    height: 60px;
  }
  .design-panorama header .menu {
    color: #f4f8f3;
    border-radius: 14px;
    border: 1px solid #ffffff70;
  }
  .design-panorama header .links {
    background: #eaf7f1;
    color: #173b31;
    margin: 0 5%;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 20px 40px #0003;
  }
  .design-panorama header .links a:not(.button):hover {
    color: #20513f;
  }
  .design-panorama .hero.hero-background-section {
    min-height: 755px;
    padding: 185px 6% 90px;
  }
  .design-panorama .hero-background-section h1 {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  .panorama-information {
    grid-template-columns: 1fr 1fr;
    padding-inline: 6%;
  }
  .panorama-information > div:last-child {
    grid-column: 1 / -1;
  }
  .design-panorama .section {
    padding: 64px 6%;
  }
  .design-panorama .page-hero:not(.gallery-hero) {
    min-height: 510px;
    padding: 175px 6% 75px;
  }
}

@media (max-width: 520px) {
  .design-panorama .hero-background-section h1 {
    font-size: clamp(2.7rem, 11.7vw, 3.9rem);
  }
  .design-panorama .hero .actions {
    gap: 12px;
  }
  .design-panorama .hero .actions .outline {
    justify-content: flex-start;
  }
  .panorama-information {
    gap: 24px 15px;
    font-size: 12px;
  }
}

/* The fixed navigation stays legible over light page content. */
.design-panorama > header.is-scrolled {
  background: rgba(23, 59, 49, 0.98);
  box-shadow: 0 5px 20px rgba(7, 25, 19, 0.16);
}

html {
  scroll-padding-top: 128px;
}

@media (max-width: 850px) {
  html {
    scroll-padding-top: 112px;
  }

  .design-panorama header .links {
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Mint branding on fixed header and footer, including the scrolled state. */
.design-panorama > header,
.design-panorama > header.is-scrolled,
.design-panorama footer {
  background: #a8dcc8;
  color: #173b31;
}
.design-panorama header nav {
  border-bottom-color: rgba(40, 107, 88, 0.22);
}
.design-panorama header .logo {
  filter: url(#grazia-logo-green);
  opacity: 1;
}
.design-panorama header .button {
  background: #286b58;
  border-color: #286b58;
  color: #ffffff;
}
.design-panorama header .button:hover {
  background: #1c5140;
  border-color: #1c5140;
  color: #ffffff;
}
.design-panorama header .links a:not(.button):hover {
  color: #20513f;
}
.design-panorama header a:focus-visible,
.design-panorama header button:focus-visible {
  outline-color: #173b31;
}
.design-panorama footer .footer-bottom,
.design-panorama footer .small,
.design-panorama footer .copyright-notice {
  color: #173b31;
  border-color: rgba(40, 107, 88, 0.3);
}
@media (max-width: 850px) {
  .design-panorama header .menu {
    color: #173b31;
    border-color: rgba(40, 107, 88, 0.45);
  }
  .design-panorama header .links {
    background: #a8dcc8;
    color: #173b31;
  }
}


/* Transparent green navigation with crisp white labels. */
.design-panorama > header {
  background: rgba(23, 59, 49, 0.38);
  color: #ffffff;
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  backdrop-filter: blur(14px) saturate(110%);
}

.design-panorama > header.is-scrolled {
  background: rgba(23, 59, 49, 0.70);
}

.design-panorama header .links,
.design-panorama header .links a,
.design-panorama header .links a:not(.button):hover,
.design-panorama header .menu {
  color: #ffffff;
}

.design-panorama header .links a {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.design-panorama header .logo {
  filter: brightness(0) invert(1);
}

.design-panorama header nav,
.design-panorama header .menu {
  border-color: rgba(255, 255, 255, 0.3);
}

.design-panorama header a:focus-visible,
.design-panorama header button:focus-visible {
  outline-color: #ffffff;
}

@media (max-width: 850px) {
  .design-panorama header .links {
    background: rgba(23, 59, 49, 0.96);
    color: #ffffff;
  }
}
