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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.paguru-concept-2026 {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.paguru-concept-2026.admin-bar .concept-ribbon {
  top: 32px;
}

body.paguru-concept-2026.admin-bar .concept-header {
  top: calc(32px + 2.1rem);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.concept-skip {
  position: fixed;
  z-index: 1000;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #111;
  transform: translateY(-180%);
}

.concept-skip:focus {
  transform: none;
}

.concept-ribbon {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 2.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid #111;
  background: #d8ff36;
  color: #111;
  font: 800 0.64rem/1.1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.concept-ribbon a {
  white-space: nowrap;
}

.concept-header {
  position: fixed;
  z-index: 250;
  top: 2.1rem;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem var(--side);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(14px);
}

.concept-logo {
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.concept-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.concept-nav a {
  border-bottom: 1px solid transparent;
}

.concept-nav a:hover {
  border-color: currentColor;
}

.concept-nav .nav-action {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--text);
}

.concept-menu {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
}

.concept-main {
  padding-top: 6.9rem;
}

.concept-eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.concept-button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--page);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.concept-button:hover {
  box-shadow: 0.35rem 0.35rem 0 var(--focus);
  transform: translate(-0.2rem, -0.2rem);
}

.concept-section {
  padding: clamp(5rem, 10vw, 9rem) var(--side);
}

.concept-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem var(--side);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
}

.concept-footer strong {
  font-size: clamp(1.5rem, 6vw, 3rem);
  letter-spacing: -0.055em;
}

.concept-footer p {
  max-width: 42rem;
  margin: 0;
  line-height: 1.55;
}

.concept-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-weight: 750;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Casa Lume — attività locale */
.theme-lume {
  --page: #f2eadb;
  --text: #3a2218;
  --border: rgba(58, 34, 24, 0.35);
  --focus: #e6562d;
  --side: clamp(1rem, 4vw, 4rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

.theme-lume .concept-logo {
  font: italic 700 clamp(1.55rem, 3vw, 2.25rem)/1 var(--serif);
}

.lume-hero {
  display: grid;
  min-height: calc(100svh - 6.9rem);
  border-bottom: 1px solid var(--border);
}

.lume-hero-copy {
  display: flex;
  min-height: 34rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 8vw, 7rem) var(--side);
}

.lume-hero h1 {
  max-width: 8ch;
  margin: 0;
  font: italic 500 clamp(4.4rem, 18vw, 11rem)/0.78 var(--serif);
  letter-spacing: -0.075em;
}

.lume-hero h1 span {
  display: block;
  margin-left: 0.45em;
  color: #c24425;
}

.lume-hero-copy > p:not(.concept-eyebrow) {
  max-width: 31rem;
  margin: 2.2rem 0;
  font: 1rem/1.55 var(--sans);
}

.lume-hero-media {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #b54a2e;
}

.lume-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lume-hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 13rem;
  padding: 1rem;
  background: #f2eadb;
  font: italic 600 1rem/1.25 var(--serif);
}

.lume-marquee {
  overflow: hidden;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: #c24425;
  color: #f7ead4;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.lume-marquee span {
  display: block;
  animation: lume-scroll 22s linear infinite;
}

@keyframes lume-scroll {
  to { transform: translateX(-50%); }
}

.lume-intro {
  display: grid;
  gap: 3rem;
}

.lume-intro h2,
.lume-menu h2,
.lume-book h2 {
  margin: 0;
  font: italic 500 clamp(3.5rem, 11vw, 8rem)/0.9 var(--serif);
  letter-spacing: -0.065em;
}

.lume-intro p {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  line-height: 1.55;
}

.lume-values {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 3.5rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.lume-values li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 750;
}

.lume-values span {
  color: #c24425;
}

.lume-menu {
  background: #3a2218;
  color: #f2eadb;
}

.lume-menu-head {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.lume-menu-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(242, 234, 219, 0.35);
  list-style: none;
}

.lume-menu-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(242, 234, 219, 0.35);
}

.lume-menu-list strong {
  display: block;
  margin-bottom: 0.4rem;
  font: italic 600 clamp(1.35rem, 3vw, 2rem)/1 var(--serif);
}

.lume-menu-list small {
  color: rgba(242, 234, 219, 0.67);
  line-height: 1.4;
}

.lume-menu-list b {
  color: #f3b749;
}

.lume-book {
  display: grid;
  gap: 3rem;
  background: #e8ad3f;
}

.lume-book-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--text);
  background: var(--page);
  box-shadow: 0.75rem 0.75rem 0 #c24425;
}

.lume-book-card p {
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

/* Studio Quadro — servizi professionali */
.theme-quadro {
  --page: #e8edf1;
  --text: #112235;
  --border: rgba(17, 34, 53, 0.34);
  --focus: #2978ff;
  --side: clamp(1rem, 4vw, 4.5rem);
  --sans: Arial, Helvetica, sans-serif;
}

.theme-quadro .concept-header {
  background: rgba(232, 237, 241, 0.92);
}

.theme-quadro .concept-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.theme-quadro .concept-logo::before {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid currentColor;
  content: "";
}

.quadro-hero {
  display: grid;
  min-height: calc(100svh - 6.9rem);
}

.quadro-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(3rem, 7vw, 6rem) var(--side);
  border-bottom: 1px solid var(--border);
}

.quadro-hero h1 {
  max-width: 11ch;
  margin: 4rem 0 2rem;
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.83;
}

.quadro-hero-copy footer {
  display: grid;
  grid-template-columns: auto minmax(0, 28rem);
  gap: 2rem;
  align-items: end;
}

.quadro-hero-copy footer strong {
  color: #2978ff;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 500;
}

.quadro-hero-copy footer p {
  margin: 0;
  line-height: 1.5;
}

.quadro-hero-media {
  position: relative;
  min-height: 65vh;
  overflow: hidden;
  background: #c5ccd2;
}

.quadro-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.quadro-hero-media::after {
  position: absolute;
  inset: 0;
  border: clamp(1rem, 4vw, 4rem) solid rgba(41, 120, 255, 0.84);
  content: "";
  mix-blend-mode: multiply;
  pointer-events: none;
}

.quadro-section-head {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.quadro-section-head h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.quadro-section-head > p:last-child {
  max-width: 34rem;
  margin: 0;
  line-height: 1.55;
}

.quadro-services {
  display: grid;
  border-top: 1px solid var(--border);
}

.quadro-service {
  min-height: 18rem;
  padding: 1.4rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quadro-service span {
  color: #2978ff;
  font-size: 0.7rem;
  font-weight: 800;
}

.quadro-service h3 {
  margin: 4rem 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.quadro-service p {
  margin: 0;
  color: rgba(17, 34, 53, 0.72);
  line-height: 1.5;
}

.quadro-work {
  background: #112235;
  color: #e8edf1;
}

.quadro-work-grid {
  display: grid;
  gap: 2rem;
}

.quadro-project-image {
  min-height: 26rem;
  margin: 0;
  overflow: hidden;
}

.quadro-project-image img {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
}

.quadro-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(232, 237, 241, 0.35);
}

.quadro-project-copy h3 {
  max-width: 8ch;
  margin: 1rem 0 5rem;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.quadro-project-copy p {
  max-width: 27rem;
  line-height: 1.5;
}

.quadro-contact {
  display: grid;
  gap: 3rem;
  background: #2978ff;
  color: #fff;
}

.quadro-contact h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.87;
}

.quadro-contact .concept-button {
  justify-self: start;
  border-color: #fff;
  background: #fff;
  color: #112235;
}

/* Terra Forma — e-commerce */
.theme-terra {
  --page: #f5f0e4;
  --text: #243228;
  --border: rgba(36, 50, 40, 0.34);
  --focus: #e55a2c;
  --side: clamp(1rem, 4vw, 4rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

.theme-terra .concept-logo {
  font: 700 clamp(1.3rem, 3vw, 2rem)/1 var(--display);
  letter-spacing: -0.045em;
}

.terra-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.terra-cart b {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: #e55a2c;
  color: #fff;
}

.terra-hero {
  display: grid;
  min-height: calc(100svh - 6.9rem);
  background: #e3c7a4;
}

.terra-hero-media {
  min-height: 55vh;
  overflow: hidden;
}

.terra-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terra-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) var(--side);
}

.terra-hero h1 {
  max-width: 8.5ch;
  margin: 0;
  font: 500 clamp(4rem, 14vw, 9rem)/0.83 var(--display);
  letter-spacing: -0.07em;
}

.terra-hero h1 em {
  color: #b94122;
  font-weight: 400;
}

.terra-hero-copy > p:not(.concept-eyebrow) {
  max-width: 31rem;
  margin: 2rem 0;
  line-height: 1.55;
}

.terra-shop-head {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.terra-shop-head h2,
.terra-story h2 {
  margin: 0;
  font: 500 clamp(3.5rem, 10vw, 7.5rem)/0.88 var(--display);
  letter-spacing: -0.07em;
}

.terra-shop-head p:last-child {
  max-width: 32rem;
  margin: 0;
  line-height: 1.5;
}

.terra-product-grid {
  display: grid;
  gap: 2.2rem 1rem;
}

.terra-product-media {
  position: relative;
  display: grid;
  min-height: 22rem;
  place-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #ddd4bd;
}

.terra-product-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.terra-product-media.is-orange { background: #d9633d; }
.terra-product-media.is-olive { background: #7d8c6c; }
.terra-product-media.is-sand { background: #c7aa82; }

.terra-vessel {
  position: relative;
  width: 46%;
  aspect-ratio: 0.86;
  border: 1px solid rgba(36, 50, 40, 0.45);
  border-radius: 42% 42% 28% 28% / 18% 18% 42% 42%;
  background: #f4e0c6;
  box-shadow: inset -1.1rem -0.8rem 0 rgba(36, 50, 40, 0.12), 0 1.2rem 2rem rgba(36, 50, 40, 0.13);
}

.terra-vessel::before {
  position: absolute;
  top: -3%;
  left: 18%;
  width: 64%;
  height: 14%;
  border: 1px solid rgba(36, 50, 40, 0.45);
  border-radius: 50%;
  background: #2c3e32;
  content: "";
}

.terra-vessel.is-cup {
  width: 42%;
  aspect-ratio: 1.1;
  border-radius: 10% 10% 42% 42%;
  background: #efe5d3;
}

.terra-vessel.is-cup::after {
  position: absolute;
  top: 18%;
  right: -28%;
  width: 40%;
  height: 48%;
  border: 0.8rem solid #efe5d3;
  border-left: 0;
  border-radius: 0 50% 50% 0;
  content: "";
}

.terra-vessel.is-bowl {
  width: 60%;
  aspect-ratio: 1.6;
  border-radius: 8% 8% 50% 50%;
  background: #cdb08a;
}

.terra-product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 1rem;
  align-items: center;
}

.terra-product-info h3 {
  margin: 0;
  font: 600 1.25rem/1 var(--display);
}

.terra-product-info p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(36, 50, 40, 0.7);
  font-size: 0.85rem;
}

.terra-add {
  grid-column: 1 / -1;
  padding: 0.8rem 1rem;
  margin-top: 0.4rem;
  border: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.terra-add:hover,
.terra-add.is-added {
  background: var(--text);
  color: var(--page);
}

.terra-story {
  display: grid;
  gap: 3rem;
  background: #243228;
  color: #f5f0e4;
}

.terra-story-copy p {
  max-width: 35rem;
  line-height: 1.6;
}

.terra-story-stats {
  display: grid;
  border-top: 1px solid rgba(245, 240, 228, 0.3);
}

.terra-story-stats div {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(245, 240, 228, 0.3);
}

.terra-story-stats strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #e8a15b;
  font: 500 clamp(2rem, 6vw, 4rem)/1 var(--display);
}

.terra-story-stats span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terra-newsletter {
  display: grid;
  gap: 2rem;
  background: #e55a2c;
  color: #fff7e8;
}

.terra-newsletter h2 {
  max-width: 12ch;
  margin: 0;
  font: 500 clamp(3rem, 9vw, 7rem)/0.9 var(--display);
  letter-spacing: -0.065em;
}

.terra-newsletter .concept-button {
  justify-self: start;
  border-color: #fff7e8;
  background: #fff7e8;
  color: #243228;
}

.cart-toast {
  position: fixed;
  z-index: 500;
  right: 1rem;
  bottom: 1rem;
  max-width: 19rem;
  padding: 1rem 1.2rem;
  border: 1px solid #243228;
  background: #d8ff36;
  color: #111;
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 760px) {
  .concept-footer {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }

  .concept-footer-links {
    grid-column: 1 / -1;
  }

  .lume-intro,
  .lume-book,
  .terra-story,
  .terra-newsletter {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    align-items: start;
  }

  .lume-menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lume-menu-list li:nth-child(odd) {
    padding-right: 2rem;
    border-right: 1px solid rgba(242, 234, 219, 0.35);
  }

  .lume-menu-list li:nth-child(even) {
    padding-left: 2rem;
  }

  .quadro-section-head,
  .terra-shop-head {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.45fr);
    align-items: end;
  }

  .quadro-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quadro-work-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .terra-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terra-story-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .terra-story-stats div {
    padding: 1.4rem;
    border-right: 1px solid rgba(245, 240, 228, 0.3);
  }
}

@media (min-width: 980px) {
  .lume-hero,
  .quadro-hero,
  .terra-hero {
    grid-template-columns: minmax(0, 1fr) minmax(30rem, 0.78fr);
  }

  .lume-hero-media,
  .quadro-hero-media,
  .terra-hero-media {
    min-height: 0;
  }

  .lume-menu-head {
    grid-template-columns: 1fr 0.6fr;
    align-items: end;
  }

  .quadro-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .terra-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  body.paguru-concept-2026.admin-bar .concept-ribbon {
    top: 46px;
  }

  body.paguru-concept-2026.admin-bar .concept-header {
    top: calc(46px + 2.1rem);
  }

  .concept-ribbon span {
    max-width: 68vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .concept-menu {
    display: inline-flex;
  }

  .concept-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 0 var(--side) 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--page);
  }

  .concept-nav.is-open {
    display: grid;
  }

  .concept-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .concept-nav .nav-action {
    padding: 1rem;
    text-align: center;
  }

  .quadro-hero-copy footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
