@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@500;700&display=swap");

:root {
  --nero: #0D0D0D;
  --nero-soft: #151515;
  --bianco: #F5F5F5;
  --grigio: #A6A6A6;
  --oro: #C2A36B;
  --oro-light: #E8D5B0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--nero);
  color: var(--bianco);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.62) 0%, rgba(13, 13, 13, 0.88) 72%, var(--nero) 100%),
    radial-gradient(circle at 50% 10%, rgba(194, 163, 107, 0.16), transparent 34%),
    url("assets/hero/hero-landscape.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.72), transparent 26%, transparent 74%, rgba(13, 13, 13, 0.72)),
    linear-gradient(180deg, rgba(13, 13, 13, 0.2), rgba(13, 13, 13, 0.74));
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 18px clamp(18px, 5vw, 72px) 24px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.88), rgba(13, 13, 13, 0.48) 72%, transparent);
  border-top: 1px solid rgba(245, 245, 245, 0.18);
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(13, 13, 13, 0.92);
  border-bottom: 1px solid rgba(166, 166, 166, 0.18);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(194, 163, 107, 0.72);
  transform: rotate(45deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(245, 245, 245, 0.28);
}

.mark-line {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--oro);
}

.mark-line-top {
  top: 12px;
}

.mark-line-mid {
  top: 20px;
  background: var(--bianco);
}

.mark-line-bottom {
  top: 28px;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.95rem);
  font-weight: 700;
  line-height: 0.78;
  color: var(--bianco);
  letter-spacing: 0;
  text-transform: lowercase;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  width: 100%;
  color: var(--bianco);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
}

.primary-nav > a,
.language-toggle,
.nav-search-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--bianco);
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-search-button {
  width: 34px;
  padding: 0;
}

.nav-search-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.primary-nav > a::after,
.language-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--oro);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible,
.nav-search-button:hover,
.nav-search-button:focus-visible {
  color: var(--oro-light);
  outline: none;
  transform: translateY(-1px);
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after,
.language-selector.is-open .language-toggle::after,
.language-toggle:hover::after,
.language-toggle:focus-visible::after {
  transform: scaleX(1);
}

.language-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.language-toggle {
  gap: 8px;
  padding: 0;
}

.language-chevron {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.language-selector.is-open .language-chevron {
  transform: translateY(2px) rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 132px;
  padding: 8px;
  background: rgba(13, 13, 13, 0.94);
  border: 1px solid rgba(194, 163, 107, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-selector.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.language-menu button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  color: var(--grigio);
  cursor: pointer;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-selected="true"] {
  color: var(--oro-light);
  outline: none;
}

.menu-toggle {
  display: none;
}

.hero-center {
  position: absolute;
  left: 50%;
  bottom: clamp(36px, 8vh, 78px);
  z-index: 1;
  width: min(17rem, 44vw);
  height: 3px;
  transform: translateX(-50%);
  background: rgba(245, 245, 245, 0.34);
}

.hero-center span {
  display: block;
  width: 38%;
  height: 100%;
  margin-left: 62%;
  background: var(--oro);
}

.section-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--oro);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

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

.section-heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.section-heading h2,
.story-copy h2,
.map-copy h2 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.story-copy p,
.map-copy p {
  max-width: 390px;
  margin: 0;
  color: #666666;
  font-size: 0.86rem;
  line-height: 1.7;
}

.carousel-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(13, 13, 13, 0.18);
  background: transparent;
  color: var(--nero);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--oro);
  border-color: var(--oro);
  color: var(--nero);
  outline: none;
  transform: translateY(-1px);
}

.carousel-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.glasses-section {
  padding: 76px 22px 82px;
  background: linear-gradient(180deg, var(--bianco) 0%, #ECECEC 100%);
  color: var(--nero);
}

.glasses-carousel,
.story-slides {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.glasses-carousel::-webkit-scrollbar,
.story-slides::-webkit-scrollbar {
  display: none;
}

.glasses-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 260px;
  scroll-snap-align: start;
}

.glasses-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.51 / 1;
  background: #DFE3E8;
}

.glasses-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 260ms ease, transform 420ms ease;
}

.glasses-image-hover {
  opacity: 0;
  transform: translateY(4px) scale(1.01);
}

.glasses-card:hover .glasses-image-base {
  opacity: 0;
}

.glasses-card:hover .glasses-image-hover {
  opacity: 1;
  transform: scale(1);
}

.glasses-card-copy {
  padding-top: 18px;
}

.glasses-card h3,
.story-slide-copy h3 {
  margin: 0 0 10px;
  color: var(--nero);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.glasses-card p,
.story-slide-copy p {
  margin: 0;
  color: #666666;
  font-size: 0.76rem;
  line-height: 1.65;
}

.photo-section {
  padding: 0;
  background: transparent;
}

.photo-frame {
  width: 100%;
  overflow: hidden;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.story-section {
  padding: 76px 22px 86px;
  background: linear-gradient(180deg, var(--bianco) 0%, #ECECEC 100%);
  color: var(--nero);
}

.story-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.story-copy h2 {
  max-width: 320px;
  margin-bottom: 18px;
}

.story-copy p {
  max-width: 300px;
}

.story-carousel {
  min-width: 0;
}

.story-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.75fr);
  flex: 0 0 100%;
  min-width: 0;
  background: #FFFFFF;
  scroll-snap-align: start;
}

.story-slide img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.story-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-width: 0;
  padding: 32px;
}

.story-slide-copy span {
  margin-bottom: 22px;
  color: var(--oro);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
}

.story-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.section-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.section-dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.24);
}

.section-dots .is-active {
  background: var(--oro);
}

.map-section {
  padding: 78px 22px 86px;
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 163, 107, 0.12), transparent 34%),
    linear-gradient(180deg, var(--nero) 0%, #080808 100%);
  color: var(--bianco);
  border-top: 1px solid rgba(166, 166, 166, 0.14);
}

.map-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.map-copy h2 {
  margin-bottom: 16px;
  color: var(--bianco);
}

.map-copy p {
  color: var(--grigio);
}

.locator-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 28px;
}

.locator-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(245, 245, 245, 0.28);
  background: rgba(245, 245, 245, 0.04);
  color: var(--bianco);
  outline: none;
}

.locator-form input:focus {
  border-color: var(--oro);
}

.locator-form button,
.locator-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--oro);
  background: var(--oro);
  color: var(--nero);
  cursor: pointer;
  font-weight: 700;
}

.map-frame {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(194, 163, 107, 0.28);
  background: var(--nero-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 96px) 22px 46px;
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 163, 107, 0.12), transparent 34%),
    linear-gradient(180deg, var(--nero) 0%, #080808 100%);
  border-top: 1px solid rgba(166, 166, 166, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 13, 0.72), transparent 50%, rgba(13, 13, 13, 0.72));
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 42px;
}

.footer-brand .brand-name {
  font-size: clamp(2.6rem, 6vw, 4.35rem);
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}

.footer-brand .mark-line {
  left: 10px;
  width: 18px;
}

.footer-brand .mark-line-top {
  top: 11px;
}

.footer-brand .mark-line-mid {
  top: 18px;
}

.footer-brand .mark-line-bottom {
  top: 25px;
}

.footer-section {
  margin-bottom: 34px;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--oro);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
}

.contact-line,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
}

.contact-line a,
.footer-legal a {
  color: var(--grigio);
  transition: color 180ms ease, transform 180ms ease;
}

.contact-line a {
  font-size: 1rem;
  font-weight: 500;
}

.contact-line a:hover,
.contact-line a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--oro-light);
  outline: none;
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(194, 163, 107, 0.48);
  background: rgba(245, 245, 245, 0.04);
  color: var(--bianco);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--oro);
  border-color: var(--oro);
  color: var(--nero);
  outline: none;
  transform: translateY(-2px);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link svg rect,
.social-link svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-legal {
  margin-top: 6px;
  color: var(--grigio);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: stretch;
    gap: 18px;
    padding: 16px 22px;
  }

  .site-header .brand {
    align-self: center;
    max-width: calc(100% - 92px);
  }

  .site-header .brand-name {
    font-size: clamp(2.25rem, 5vw, 3rem);
  }

  .site-header .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header .mark-line {
    left: 9px;
    width: 16px;
  }

  .site-header .mark-line-top {
    top: 10px;
  }

  .site-header .mark-line-mid {
    top: 16px;
  }

  .site-header .mark-line-bottom {
    top: 22px;
  }

  .menu-toggle {
    position: absolute;
    top: 24px;
    right: 22px;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(245, 245, 245, 0.24);
    background: rgba(13, 13, 13, 0.34);
    color: var(--bianco);
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    left: 11px;
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle span:first-child {
    top: 17px;
  }

  .menu-toggle span:last-child {
    top: 23px;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease;
  }

  .site-header.is-open .primary-nav {
    max-height: 520px;
    opacity: 1;
    padding: 12px 0 4px;
    pointer-events: auto;
  }

  .primary-nav > a,
  .language-toggle,
  .nav-search-button {
    justify-content: center;
    min-height: 40px;
  }

  .nav-search-button {
    justify-self: center;
  }

  .language-selector {
    display: flex;
    justify-content: center;
  }

  .section-heading-split {
    display: block;
    text-align: center;
  }

  .section-heading h2,
  .story-copy h2,
  .map-copy h2 {
    font-size: 2.15rem;
  }

  .section-heading p {
    margin: 16px auto 0;
  }

  .carousel-bar {
    justify-content: center;
  }

  .glasses-card {
    flex-basis: min(72vw, 340px);
  }

  .story-inner,
  .map-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 760px;
  }

  .story-copy,
  .map-copy {
    text-align: center;
  }

  .story-copy h2,
  .story-copy p,
  .map-copy p,
  .locator-form {
    margin-left: auto;
    margin-right: auto;
  }

  .story-copy p {
    max-width: 430px;
  }

  .story-slide {
    grid-template-columns: 1fr;
  }

  .story-slide img {
    height: 360px;
  }

  .story-slide-copy {
    padding: 28px;
  }

  .locator-form {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .hero {
    background-position: center;
  }

  .site-header .brand {
    gap: 10px;
    max-width: calc(100% - 126px);
  }

  .site-header .brand-name {
    font-size: clamp(1.9rem, 9.2vw, 2.6rem);
  }

  .site-header .brand-mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .site-header .brand-mark::before {
    inset: 5px;
  }

  .site-header .mark-line {
    left: 7px;
    width: 14px;
  }

  .site-header .mark-line-top {
    top: 8px;
  }

  .site-header .mark-line-mid {
    top: 13px;
  }

  .site-header .mark-line-bottom {
    top: 18px;
  }

  .menu-toggle {
    top: 18px;
    right: 18px;
  }

  .primary-nav {
    grid-template-columns: 1fr;
  }

  .language-menu {
    left: 50%;
  }

  .site-header.is-open .primary-nav {
    max-height: 620px;
  }

  .glasses-section,
  .story-section,
  .map-section {
    padding: 62px 18px;
  }

  .section-heading h2,
  .story-copy h2,
  .map-copy h2 {
    font-size: 2rem;
  }

  .glasses-card {
    flex-basis: 84%;
    min-width: 0;
  }

  .story-slide img {
    height: 260px;
  }

  .story-slide-copy {
    padding: 22px;
  }

  .story-slide-copy span {
    margin-bottom: 18px;
    font-size: 2.45rem;
  }

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

  .locator-form button,
  .locator-map-link {
    width: 100%;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand .brand-name {
    font-size: clamp(2.3rem, 12vw, 3.2rem);
  }

  .contact-line,
  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}

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

  .site-header .brand {
    max-width: calc(100% - 112px);
  }

  .site-header .brand-name {
    font-size: clamp(1.65rem, 8.8vw, 2.1rem);
  }

  .site-header .brand-mark {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .site-header .brand-mark::before {
    inset: 4px;
  }

  .site-header .mark-line {
    left: 6px;
    width: 13px;
  }

  .site-header .mark-line-top {
    top: 7px;
  }

  .site-header .mark-line-mid {
    top: 12px;
  }

  .site-header .mark-line-bottom {
    top: 17px;
  }

  .menu-toggle {
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .menu-toggle span {
    left: 10px;
  }

  .menu-toggle span:first-child {
    top: 15px;
  }

  .menu-toggle span:last-child {
    top: 21px;
  }
}
