:root {
  --paper: #eef1e9;
  --ink: #15211f;
  --turquoise: #178ea0;
  --sky: #55b9cf;
  --navy: #132746;
  --pink: #ee4c88;
  --lime: #9bbb45;
  --cream: #f3e4c7;
  --shadow: 0 22px 60px rgba(20, 46, 50, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
a { color: inherit; }
.progress { position: fixed; z-index: 100; left: 0; right: 0; top: 0; height: 4px; background: rgba(255,255,255,.35); }
.progress span { display: block; width: 0; height: 100%; background: var(--pink); transition: width .08s linear; }
.topbar { position: fixed; z-index: 90; top: 18px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 32px)); padding: 12px 14px 12px 18px; border-radius: 999px; background: rgba(244,247,240,.82); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 12px 35px rgba(12,42,47,.12); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: space-between; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 9px; }
.brand-mark { font-weight: 800; letter-spacing: -.08em; font-size: 25px; color: var(--turquoise); }
.brand-sub { font-size: 10px; font-weight: 700; letter-spacing: .22em; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
nav a:hover { background: rgba(23,142,160,.1); }
.nav-cta { background: var(--navy); color: white; }
.menu-btn { display: none; border: 0; border-radius: 999px; padding: 10px 14px; background: var(--navy); color: white; font: inherit; font-weight: 600; }
.slide { width: 100%; min-height: 100svh; display: grid; place-items: center; padding: 88px 28px 30px; position: relative; overflow: hidden; }
.slide img { width: min(100%, 1600px); height: auto; display: block; border-radius: 2px; box-shadow: var(--shadow); }
.hero { padding: 0; min-height: 100svh; background: #48acbf; }
.hero img { width: 100%; height: 100svh; object-fit: cover; border-radius: 0; box-shadow: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 38%, rgba(7,24,35,.45)); pointer-events: none; }
.hero-overlay { position: absolute; z-index: 2; left: clamp(24px, 7vw, 110px); bottom: clamp(30px, 7vh, 80px); color: white; }
.hero-overlay p { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 13px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; text-decoration: none; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.scroll-cue span { font-size: 20px; }
.section-divider { min-height: 70svh; padding: 130px max(28px, 8vw); background: var(--navy); color: white; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.section-divider::before { content: "CIAO"; position: absolute; right: -4vw; bottom: -11vw; font-size: clamp(180px, 34vw, 520px); line-height: .7; font-weight: 800; letter-spacing: -.09em; color: rgba(255,255,255,.035); }
.section-divider span { color: var(--sky); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.section-divider h2 { font-family: "Italiana", serif; font-size: clamp(48px, 8vw, 115px); font-weight: 400; line-height: .95; max-width: 1000px; margin: 24px 0; }
.section-divider p { max-width: 520px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.72); }
.catalog:nth-of-type(odd) { background: #e9efe8; }
.catalog:nth-of-type(even) { background: #f3eee4; }
.contact { padding: 0; background: var(--turquoise); }
.contact img { width: 100%; height: 100svh; object-fit: cover; border-radius: 0; box-shadow: none; }
.contact-actions { position: absolute; inset: auto 5vw 6vh auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.contact-actions a { background: rgba(255,255,255,.9); color: var(--navy); text-decoration: none; padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 25px rgba(0,0,0,.16); }
footer { min-height: 160px; padding: 40px max(28px, 7vw); background: #0e1f2e; color: white; display: flex; justify-content: space-between; align-items: center; }
footer a { text-decoration: none; color: var(--sky); }
.now-viewing { position: fixed; z-index: 80; left: 24px; bottom: 20px; padding: 10px 14px; border-radius: 14px; color: white; background: rgba(13,31,43,.76); backdrop-filter: blur(12px); display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.18); pointer-events: none; }
.now-viewing span { font-size: 12px; font-weight: 700; }
.now-viewing small { opacity: .65; font-size: 10px; letter-spacing: .12em; }

@media (min-width: 900px) {
  .slide:not(.hero):not(.contact) { scroll-margin-top: 50px; }
  .slide img { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .7s; opacity: .65; transform: scale(.975); }
  .slide.in-view img { opacity: 1; transform: scale(1); }
}
@media (max-width: 760px) {
  .topbar { top: 10px; width: calc(100% - 20px); }
  nav { position: absolute; top: 62px; right: 0; width: 220px; padding: 10px; border-radius: 20px; background: rgba(244,247,240,.96); box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  .menu-btn { display: inline-block; }
  .brand-sub { display: none; }
  .slide { min-height: auto; padding: 88px 10px 24px; }
  .slide img { width: 100%; box-shadow: 0 12px 28px rgba(20,46,50,.15); }
  .hero { min-height: 100svh; padding: 0; }
  .hero img { height: 100svh; object-position: 48% center; }
  .section-divider { min-height: 72svh; padding: 100px 24px; }
  .section-divider h2 { font-size: clamp(48px, 16vw, 78px); }
  .contact { min-height: 100svh; padding: 0; }
  .contact img { height: 100svh; object-position: center; }
  .contact-actions { left: 18px; right: 18px; bottom: 24px; align-items: stretch; }
  .contact-actions a { text-align: center; font-size: 14px; }
  .now-viewing { left: 12px; bottom: 10px; max-width: calc(100% - 24px); }
  footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
