/* ------------------------------------------------------------ */
/* Tokens                                                         */
/* ------------------------------------------------------------ */
:root {
  --bg: #f6f3ec;
  --bg-alt: #efeae0;
  --ink: #17140f;
  --ink-soft: #6e685f;
  --line: rgba(23, 20, 15, 0.14);
  --dark-bg: #14120e;
  --cream: #f6f3ec;

  --dot-1: #96603f;
  --dot-2: #2b3868;
  --dot-3: #2e4a37;

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1220px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 12vw, 160px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------ */
/* Reset                                                          */
/* ------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

em { font-style: italic; }

/* subtle grain overlay for texture */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ */
/* Reveal-on-scroll                                               */
/* ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------ */
/* Header                                                         */
/* ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 26px 0;
  color: var(--ink);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.86);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-color: var(--line);
}
.site-header.nav-hover {
  background: rgba(246, 243, 236, 0.86);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 24px;
  pointer-events: none;
}
.header-inner .logo,
.header-inner .burger {
  pointer-events: auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: color 0.4s var(--ease);
}
.site-header.scrolled .logo,
.site-header.nav-hover .logo { color: var(--ink); }

.header-bar { position: relative; }

.nav-inline {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: clamp(10px, 1.6vw, 20px);
}
.nav-inline a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-inline a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.35s var(--ease);
}
.nav-inline a:hover::after { right: 0; }

/* Second header row: submenu items revealed below the main bar */
.nav-subrow {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.site-header.subrow-open .nav-subrow { max-height: 120px; }

.nav-submenu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px 8px;
}
.nav-submenu.is-active { display: flex; }
.nav-submenu a {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}
.nav-submenu a:hover { opacity: 0.55; }

.lang-switch {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 210;
}
.lang-sep {
  font-size: 10px;
  color: var(--ink-soft);
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.lang-btn.is-active { color: var(--ink); }
.lang-btn:hover { color: var(--ink); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 24px;
  justify-self: start;
  z-index: 210;
}
.burger span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------ */
/* Full-screen nav overlay                                        */
/* ------------------------------------------------------------ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  transition: opacity 0.3s var(--ease);
}
.nav-overlay a:hover { opacity: 0.55; }
.nav-overlay-foot {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ */
/* Hero                                                            */
/* ------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero-photo {
  position: absolute;
  inset: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-scroll span {
  width: 1px;
  height: 40px;
  background: rgba(23, 20, 15, 0.25);
  overflow: hidden;
  position: relative;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0; right: 0; height: 100%;
  background: var(--ink);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
.hero-scroll p {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ */
/* Styles                                                          */
/* ------------------------------------------------------------ */
.styles { padding: 28px 0; }

.styles-row {
  display: flex;
  gap: 10px;
}

.style-card {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.style-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.style-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.style-dot-1 { background: var(--dot-1); }
.style-dot-2 { background: var(--dot-2); }
.style-dot-3 { background: var(--dot-3); }

.style-card h3 { font-size: clamp(11px, 1.1vw, 14px); }
.style-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ */
/* Eyebrow (label + line)                                         */
/* ------------------------------------------------------------ */
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow-row.center { justify-content: center; }
.eyebrow-line {
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ------------------------------------------------------------ */
/* About                                                           */
/* ------------------------------------------------------------ */
.about { padding: var(--section-y) 0; }
.styles + .about { padding-top: 40px; }

.about-text {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.5;
  max-width: 800px;
}

.meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.about .meta-row {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.meta-brand { display: flex; flex-direction: column; gap: 4px; }
.meta-brand span:first-child {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.meta-brand span:not(:first-child) {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease);
}
.meta-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.meta-link:hover { gap: 12px; }

/* ------------------------------------------------------------ */
/* Section heading                                                */
/* ------------------------------------------------------------ */
h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 48px; }

/* ------------------------------------------------------------ */
/* Directions / Cards                                             */
/* ------------------------------------------------------------ */
.directions { padding: var(--section-y) 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--bg-alt);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.4s var(--ease);
}
.card:hover { background: var(--bg); }

.card-icon {
  width: 40px; height: 40px;
  color: var(--ink);
}
.card-icon svg { width: 100%; height: 100%; }

.card h3 { font-size: 22px; }
.card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------------ */
/* Italy                                                           */
/* ------------------------------------------------------------ */
.italy { padding: var(--section-y) 0; }

.italy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.italy-visual { aspect-ratio: 4 / 5; position: relative; order: 2; }
.italy-frame {
  position: absolute; inset: 0;
  background:
    url("../content/italy.jpg") center / cover no-repeat,
    linear-gradient(160deg, #d8cdb8 0%, #b9ab8f 55%, #8f7f63 100%);
}

.italy-text h2 { margin-top: 18px; }
.italy-text p:not(.eyebrow-row *) {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 22px);
  color: var(--ink);
  max-width: 480px;
}

/* ------------------------------------------------------------ */
/* Partners                                                        */
/* ------------------------------------------------------------ */
.partners { padding: var(--section-y) 0; background: var(--dark-bg); color: var(--cream); }
.partners .eyebrow-row { color: rgba(246, 243, 236, 0.55); }
.partners h2 { color: var(--cream); }
.partners-lead {
  font-family: var(--font-display);
  color: rgba(246, 243, 236, 0.82);
  font-size: clamp(18px, 1.9vw, 22px);
  max-width: 560px;
  margin-top: -20px;
  margin-bottom: 48px;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(246, 243, 236, 0.16);
  border-left: 1px solid rgba(246, 243, 236, 0.16);
}
.partner-slot {
  border-right: 1px solid rgba(246, 243, 236, 0.16);
  border-bottom: 1px solid rgba(246, 243, 236, 0.16);
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(246, 243, 236, 0.4);
  letter-spacing: 0.04em;
}

.partners-note {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(246, 243, 236, 0.4);
}

/* ------------------------------------------------------------ */
/* Contact                                                         */
/* ------------------------------------------------------------ */
.contact {
  padding: var(--section-y) 0;
  text-align: center;
}
.contact h2 { margin-bottom: 24px; }
.contact-sub {
  font-family: var(--font-display);
  max-width: 480px;
  color: var(--ink);
  font-size: clamp(18px, 1.9vw, 21px);
  margin: 0 auto 40px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------ */
/* Footer                                                          */
/* ------------------------------------------------------------ */
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); }
.site-footer .meta-row { align-items: center; }

/* ------------------------------------------------------------ */
/* Responsive                                                     */
/* ------------------------------------------------------------ */
@media (max-width: 860px) {
  .nav-inline { display: none; }
  .burger { display: flex; }

  .styles-row { flex-direction: column; }

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

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

  .italy-grid { grid-template-columns: 1fr; }
  .italy-visual { order: 1; aspect-ratio: 16/10; }

  .partners-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .partners-row { grid-template-columns: 1fr; }
  .meta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  .hero-scroll { display: none; }
}
