/* Local Fonts - GDPR Compliant (Zero Google Server Connections) */
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/CrimsonPro-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/CrimsonPro-LightItalic.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/CrimsonPro-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IM Fell English';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/IMFellEnglish-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IM Fell English';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/IMFellEnglish-Italic.woff2') format('woff2');
}

:root {
  --cream:    #f5f0e8;
  --parchment:#ede5d0;
  --bark:     #8b6c42;
  --bark-dark:#5c4425;
  --earth:    #3a2a14;
  --rust:     #9b4a1e;
  --gold:     #c8922a;
  --shadow:   rgba(30,18,6,0.18);
  --font-size-base: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: var(--earth);
  color: var(--cream);
  border-radius: 0 0 0.4rem 0.4rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.skip-link:focus {
  top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

body {
  background-color: var(--cream);
  color: var(--earth);
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 300;
  font-size: var(--font-size-base);
  line-height: 1.75;
  overflow-x: hidden;
}

html { font-size: var(--font-size-base); }

nav a { font-size: 1rem; }

.feature p,
.whistle-note p,
.processo p,
.contatti > p,
form label,
input, textarea, select { font-size: 1.05rem; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 3rem;
  background: rgba(245,240,232,0.93);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(139,108,66,0.2);
}

.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo-img { width: 70px; height: 70px; flex-shrink: 0; }
.nav-logo-text { font-family: 'IM Fell English', serif; font-size: 1.15rem; color: var(--bark-dark); }
.nav-logo-text em { font-style: italic; color: var(--rust); }

nav { gap: 1rem; }

.nav-toggle {
  display: none;
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
  width: 3rem;
  height: 2.5rem;
  position: relative;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 0.15rem;
  background: var(--earth);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span + span {
  margin-top: 0.4rem;
}

.nav-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.nav-menu ul {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin: 0 auto;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;

  right: 0;
}

.lang-switcher select {
  appearance: none;
  border: 1px solid rgba(139,108,66,0.18);
  background: rgba(245,240,232,0.93);
  color: var(--earth);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  cursor: pointer;
  min-width: 10rem;
  box-shadow: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  background-image: linear-gradient(45deg, transparent 50%, var(--earth) 50%), linear-gradient(135deg, var(--earth) 50%, transparent 50%);
  background-position: calc(100% - 0.9rem) center, calc(100% - 0.6rem) center;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.lang-switcher select:hover,
.lang-switcher select:focus {
  border-color: rgba(139,108,66,0.18);
}

.lang-switcher option {
  background: rgba(245,240,232,0.93);
  color: var(--earth);
  font-family: 'Crimson Pro', Georgia, serif;
  letter-spacing: 0.02em;
  text-transform: none;
  border: 1px solid rgba(139,108,66,0.18);
}

nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav a { font-family: 'Crimson Pro', serif; font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bark-dark); text-decoration: none; opacity: 0.75; transition: opacity 0.2s, color 0.2s; }
nav a:hover { opacity: 1; color: var(--rust); }

.nav-backdrop {
  display: none;
}

/* HERO */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 8rem 3rem 4rem; gap: 4rem; position: relative;
}

.hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 50%; background: var(--parchment); z-index: -1; }
.hero-text { padding-left: 3rem; }

.hero-eyebrow {
  font-size: 0.82rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rust);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem;
}

.hero-eyebrow::before { content: ''; display: inline-block; width: 2rem; height: 1px; background: var(--rust); }

h1 { font-family: 'IM Fell English', serif; font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1.05; color: var(--earth); }
h1 em { font-style: italic; color: var(--bark); display: block; font-size: 0.68em; }

.hero-sub { font-style: italic; font-size: 1.12rem; color: var(--bark); margin: 1.5rem 0 2.5rem; max-width: 36ch; line-height: 1.65; }

.btn-primary {
  display: inline-block; background: var(--bark-dark); color: var(--cream);
  padding: 0.85rem 2.2rem; font-family: 'Crimson Pro', serif; font-size: 0.88rem;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer; transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover { background: var(--rust); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block; border: 1px solid var(--bark); color: var(--bark-dark);
  padding: 0.85rem 2.2rem; font-family: 'Crimson Pro', serif; font-size: 0.88rem;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; margin-left: 1rem;
  transition: background 0.25s, color 0.25s;
}

.btn-secondary:hover { background: var(--bark-dark); color: var(--cream); }

.hero-visual { display: flex; align-items: center; justify-content: center; padding: 3rem; }
.whistle-wrap { position: relative; width: 100%; max-width: 620px; }
.whistle-svg { width: 100%; filter: drop-shadow(4px 8px 16px rgba(30,18,6,0.22)); transform: rotate(-8deg); transition: transform 0.5s ease; }
.whistle-svg:hover { transform: rotate(-4deg) scale(1.02); }
.hero-caption { position: absolute; bottom: 1.5rem; right: 1.5rem; font-style: italic; font-size: 0.82rem; color: var(--bark); opacity: 0.65; text-align: right; line-height: 1.4; }

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
  box-shadow: 0 28px 45px rgba(30,18,6,0.18);
}

.about-image-photo {
  width: 100%;
  height: auto;
  max-width: 520px;
  display: block;
  border-radius: 1.6rem;
  object-fit: cover;
}

.about-collage {
  display: grid;
  gap: 1rem;
}

.about-collage-item {
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: 0 20px 35px rgba(30,18,6,0.14);
}

.about-collage-large {
  grid-column: 1 / -1;
}

.about-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .about-collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(150px, 1fr));
  }

  .about-collage-large {
    grid-row: auto;
  }
}

.process-image {
  margin: 1.8rem 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.process-image img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 1.6rem;
  object-fit: contain;
  box-shadow: 0 20px 36px rgba(30,18,6,0.16);
}

.whistle-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1.4rem;
  box-shadow: 0 18px 36px rgba(30,18,6,0.12);
}

.story-image.story-image-tall {
  aspect-ratio: auto;
  max-height: 780px;
}

.story-image + .story-image {
  margin-top: 1rem;
}

.story-visuals.story-visuals-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.3fr);
  gap: 1.2rem;
  align-items: stretch;
}

.story-image-block {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  max-width: 380px;
  width: 100%;
}

.story-image-block .story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.story-step-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-image-secondary {
  margin-top: 1rem;
}

.gallery {
  background: linear-gradient(180deg, rgba(245,240,232,0.95) 0%, rgba(237,229,208,0.98) 100%);
}

.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0 0;
  display: grid;
  gap: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-card {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1.4rem;
  box-shadow: 0 16px 30px rgba(30,18,6,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(30,18,6,0.18);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background: rgba(15, 11, 7, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-modal.visible {
  opacity: 1;
  visibility: visible;
}

.image-modal figure {
  margin: 0;
  max-width: min(90vw, 1050px);
  max-height: 90vh;
  width: 100%;
  display: grid;
  place-items: center;
}

.image-modal img {
  width: auto;
  max-width: 100%;
  max-height: calc(90vh - 4rem);
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.image-modal figcaption {
  margin-top: 1rem;
  color: rgba(245,240,232,0.88);
  font-size: 0.98rem;
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  border-radius: 999px;
  background: rgba(245,240,232,0.12);
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(245,240,232,0.2);
}

/* SECTIONS */
section { padding: 6rem 3rem; }

.story-preview { background: var(--parchment); }
.story-preview-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  gap: 1.5rem;
}
.story-preview-inner p {
  margin: 0;
}
.story-preview-inner a {
  margin-top: 1.75rem;
  display: inline-block;
}

.story-visuals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
  min-width: 0;
}

.story-image-placeholder {
  width: 100%;
  min-width: 0;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #d4c4a8 0%, #b8a07a 100%);
  border: 1px solid rgba(139,108,66,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  text-align: center;
  padding: 1rem;
  max-width: 100%;
}

.story-page {
  background: var(--parchment);
  padding-bottom: 3rem;
}
.story-page-content {
  max-width: 900px;
  margin: 0 auto;
}
.story-page-content p {
  color: var(--bark-dark);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.section-label {
  font-size: 0.76rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rust);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem;
}

.section-label::after { content: ''; flex: 1; max-width: 3rem; height: 1px; background: var(--rust); opacity: 0.5; }

.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;
}

h2 { font-family: 'IM Fell English', serif; font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.15; color: var(--earth); margin-bottom: 1.5rem; }
h2 em { font-style: italic; color: var(--bark); }

/* ABOUT */
.about { background: var(--parchment); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text { padding-left: 3rem; }
.about-text p { color: var(--bark-dark); margin-bottom: 1.2rem; font-size: 1.02rem; }
.about-image { position: relative; padding: 2rem; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.about-collage {
  max-width: 520px;
  width: 100%;
}
.about-image-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(160deg, #d4c4a8 0%, #b8a07a 100%);
  display: flex; align-items: flex-end; justify-content: flex-end; overflow: hidden;
}

.about-image-placeholder::after { content: 'Your photo here'; font-style: italic; font-size: 0.88rem; color: rgba(255,255,255,0.55); padding: 1rem; }
.about-image::before { content: ''; position: absolute; inset: 0.5rem; border: 1px solid var(--bark); opacity: 0.3; pointer-events: none; }

.detail-list { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.detail-item { border-left: 2px solid var(--gold); padding-left: 0.9rem; }
.detail-item strong { display: block; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.2rem; }
.detail-item span { font-size: 0.98rem; color: var(--bark-dark); }

/* WHISTLE */
.whistle-section { max-width: 1100px; margin: 0 auto; }
.whistle-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.whistle-photo { position: relative; overflow: hidden; }
.whistle-photo-box {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, #c9b48a 0%, #9b7a4a 100%);
  display: flex; align-items: center; justify-content: center;
}

.whistle-photo-box span { font-style: italic; color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.whistle-photo::before { content: ''; position: absolute; inset: 0.6rem; border: 1px solid var(--bark); opacity: 0.28; pointer-events: none; }

.features { display: flex; flex-direction: column; gap: 2rem; }
.feature { display: flex; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.feature-icon { width: 2.5rem; height: 2.5rem; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.15rem; }
.feature h4 { font-family: 'IM Fell English', serif; font-size: 1.08rem; color: var(--earth); margin-bottom: 0.3rem; }
.feature p { font-size: 0.95rem; color: var(--bark); line-height: 1.6; }

.feature-details {
  border: 1px solid var(--gold);
  border-radius: 4px;
  margin-bottom: 1rem;
}
.feature-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}
.feature-summary::-webkit-details-marker { display: none; }
.feature-summary::marker { display: none; }
.feature-summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.3s;
}
.feature-details[open] .feature-summary::after {
  content: '−';
  transform: rotate(180deg);
}
.feature-details p {
  padding: 0 1rem 1rem;
}

.whistle-note { margin-top: 0.5rem; padding: 1.3rem 1.5rem; border-left: 3px solid var(--gold); background: var(--parchment); }
.whistle-note p { font-style: italic; font-size: 1.05rem; color: var(--bark-dark); line-height: 1.75; }

.whistle-material-info { margin-top: 1.3rem; padding: 1.3rem 1.5rem; border-left: 3px solid var(--rust); background: var(--cream); }
.whistle-material-info p { font-size: 1.05rem; color: var(--earth); line-height: 1.75; }

/* PROCESS */
.processo { background: var(--earth); color: var(--cream); }
.processo .section-label { color: var(--gold); }
.processo .section-label::after { background: var(--gold); }
.processo h2 { color: var(--cream); }
.processo h2 em { color: var(--gold); }
.process-intro-block { display: flex; flex-direction: column; gap: 1.5rem; }
.process-intro-layout { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-direction:column;}
.process-intro-copy { flex: 1 1 auto; min-width: 0; }
.process-media { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding-top: 0.35rem; }
.process-image { width: min(100%, 620px); max-width: 100%; display: block; border-radius: 20px; object-fit: contain; height: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.processo-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.processo-steps { counter-reset: steps; display: flex; flex-direction: column; }
.step { counter-increment: steps; display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(245,240,232,0.1); }
.step:last-child { border-bottom: none; }
.step-num { font-family: 'IM Fell English', serif; font-size: 2rem; color: var(--gold); opacity: 0.4; line-height: 1; }
.step-num::before { content: counter(steps, decimal-leading-zero); }
.step h4 { font-family: 'IM Fell English', serif; font-size: 1.1rem; color: var(--cream); margin-bottom: 0.35rem; }
.step p { font-size: 0.93rem; color: rgba(245,240,232,0.58); line-height: 1.6; }

.processo.story-steps {
  background: var(--parchment);
  color: var(--earth);
  padding-top: 3rem;
}
.processo.story-steps .section-label {
  color: var(--rust);
}
.processo.story-steps .section-label::after {
  background: var(--rust);
}
.processo.story-steps h2 {
  color: var(--earth);
  font-size: clamp(1.75rem, 2.8vw, 2.2rem);
  margin-bottom: 1rem;
}
.processo.story-steps h2 em {
  color: var(--bark);
}
.processo.story-steps .processo-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.processo.story-steps {
position: relative;
padding-left: 2rem;
min-width: 0;
}
.processo.story-steps::before {
content: '';
position: absolute;
left: 1.05rem;
top: 2rem;
bottom: 2rem;
width: 2px;
background: rgba(139,108,66,0.14);
}
.processo.story-steps .step {
display: block;
position: relative;
background: rgba(245,240,232,0.92);
border: 1px solid rgba(139,108,66,0.14);
border-radius: 1.2rem;
padding: 1.8rem 1.5rem 1.5rem 2.3rem;
box-shadow: 0 16px 30px rgba(30,18,6,0.08);
margin-bottom: 1.25rem;
}
.processo.story-steps .step:last-child {
margin-bottom: 0;
}
.processo.story-steps .step-num {
position: absolute;
left: 0.3rem;
top: 1.95rem;
width: 1rem;
height: 1rem;
border-radius: 50%;
background: var(--gold);
box-shadow: 0 0 0 0.25rem var(--cream);
}
.processo.story-steps .step-num::before {
content: '';
}
.processo.story-steps .step h4 {
color: var(--earth);
}
.processo.story-steps .step p {
color: rgba(30,18,6,0.82);
}
.processo.story-steps .ornament {
color: var(--earth);
opacity: 0.4;
}

.ornament { color: var(--gold); font-size: 1.1rem; opacity: 0.4; letter-spacing: 0.6em; margin: 1.5rem 0; text-align: center;}

/* FUTURE */
.future { background: var(--parchment); text-align: center; padding: 5rem 3rem; }
.future .section-label { justify-content: center; }
.future .section-label::after { display: none; }
.future .section-label::before { content: ''; flex: 1; max-width: 3rem; height: 1px; background: var(--rust); opacity: 0.5; }
.future p { max-width: 52ch; margin: 0 auto; font-style: italic; color: var(--bark); font-size: 1.06rem; line-height: 1.78; }

/* CONTACT */
.contatti { max-width: 700px; margin: 0 auto; text-align: center; }
.contatti .section-label { justify-content: center; }
.contatti .section-label::after { display: none; }
.contatti .section-label::before { content: ''; flex: 1; max-width: 3rem; height: 1px; background: var(--rust); opacity: 0.5; }
.contatti > p { font-style: italic; color: var(--bark); margin-bottom: 3rem; font-size: 1.03rem; }

form { display: flex; flex-direction: column; gap: 1.2rem; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: block; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bark); margin-bottom: 0.4rem; }
input:not([type="checkbox"]), textarea, select { width: 100%; background: var(--parchment); border: 1px solid rgba(139,108,66,0.3); padding: 0.8rem 1rem; font-family: 'Crimson Pro', serif; font-size: 1rem; color: var(--earth); outline: none; transition: border-color 0.2s; appearance: none; }
input:focus, textarea:focus, select:focus { border-color: var(--bark); }
textarea { min-height: 130px; resize: vertical; }
.form-submit { text-align: center; margin-top: 0.5rem; }

/* PRIVACY CONSENT CHECKBOX */
.form-privacy {
  margin: 0.5rem 0 0.8rem 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  text-transform: none;
  font-size: 0.92rem;
  letter-spacing: normal;
  color: var(--earth);
}
.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--rust);
  width: 1.1rem;
  height: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-label a {
  color: var(--rust);
  text-decoration: underline;
}
.checkbox-label a:hover {
  color: var(--gold);
}

/* FOOTER */
footer { background: var(--bark-dark); color: rgba(245,240,232,0.5); text-align: center; padding: 2.5rem 3rem; font-size: 0.84rem; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-bottom: 1.2rem; }
.footer-logo-img { width: 32px; height: 32px; opacity: 1; }
.footer-logo-text { font-family: 'IM Fell English', serif; font-size: 1rem; color: var(--cream); }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; }
footer a { color: rgba(245,240,232,0.4); text-decoration: none; transition: color 0.2s; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }
footer a:hover { color: var(--gold); }
.divider { border: none; border-top: 1px solid rgba(139,108,66,0.2); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: rgba(245,240,232,0.4);
  transition: color 0.2s;
  font-size: 0.9rem;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* TOAST */
.toast {
  position: fixed;
  left: 50%;
  top: 3.5rem;
  transform: translateX(-50%) translateY(16px);
  background: rgba(50,40,30,0.95);
  color: #f5f0e8;
  border-radius: 0.75rem;
  padding: 0.8rem 1.1rem;
  box-shadow: 0 8px 16px rgba(20,14,7,0.45);
  font-size: 0.9rem;
  font-family: 'Crimson Pro', serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* FADE */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
body.is-mobile .story-page {
  padding: 7.5rem 1.25rem 2.5rem;
}

body.is-mobile .story-page-content {
  padding: 0;
}

body.is-mobile .processo.story-steps {
  padding: 3rem 0.75rem 3.5rem 1rem;
  overflow-x: hidden;
}

body.is-mobile .processo.story-steps::before {
  left: 0.5rem;
  top: 3rem;
  bottom: 2rem;
}

body.is-mobile .processo.story-steps .step {
  padding: 1.2rem 1rem 1.1rem 1.7rem;
}

body.is-mobile .processo.story-steps .step-num {
  left: 0.08rem;
  top: 1.2rem;
  width: 0.8rem;
  height: 0.8rem;
  box-shadow: 0 0 0 0.16rem var(--cream);
}

body.is-mobile .story-visuals {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

body.is-mobile .story-image-placeholder {
  max-width: 100%;
  min-height: 150px;
}

@media (max-width: 1490px) {
  .hero-text .btn-primary,
  .hero-text .btn-secondary {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .hero-text .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 900px) {
  .process-intro-layout {
    flex-direction: column;
    gap: 1.25rem;
  }

  .process-media {
    justify-content: flex-start;
    padding-top: 0;
    justify-content: center;
    align-items: center;
  }

  .process-image {
    width: min(100%, 620px);
  }
}

@media (max-width: 1300px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 78vw);
    padding: 5rem 1.5rem 2rem;
    background: rgba(245,240,232,0.97);
    backdrop-filter: blur(6px);
    border-left: 1px solid rgba(139,108,66,0.18);
    box-shadow: -12px 0 40px rgba(30,18,6,0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1.5rem;
    z-index: 205;
  }

  .nav-menu ul {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .lang-switcher {
    position: static;
    margin-left: 0;
  }

  nav.nav-open .nav-menu {
    transform: translateX(0);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(30,18,6,0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  nav.nav-open + .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu ul li {
    margin: 0;
  }

  .nav-menu ul li a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    letter-spacing: 0.16em;
  }

  .lang-switcher select {
    min-width: 100%;
  }
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav ul { gap: 1.2rem; }
  .hero { grid-template-columns: 1fr; padding: 5rem 1.5rem 2.5rem; }
  .hero::after { display: none; }
  .hero-text { padding-left: 0; }
  .hero-visual { padding: 1rem; }
  .about { grid-template-columns: 1fr; padding: 4rem 1.5rem; display: flex; flex-direction: column-reverse; }
  .about-text { padding-left: 0; }
  .about-image { padding: 0.8rem 0; }
  .about-collage { max-width: 340px; margin: 0 auto; }
  .about-collage-item { width: 100%; height: auto; }
  .about-collage-item img, .about-image-photo { width: 100%; height: auto; max-height: 320px; }
  .whistle-layout { grid-template-columns: 1fr; }
  .hero-caption { position: static; bottom: auto; right: auto; margin-top: 1rem; width: auto; text-align: left; }
  .whistle-photo-box { aspect-ratio: auto; min-height: 0; }
  .whistle-photo-img { width: 100%; height: auto; object-fit: contain; }
  .processo-inner { grid-template-columns: 1fr; gap: 2rem; }
  .processo .ornament { text-align: center !important; margin: 1.5rem auto; }
  .process-image img {
    width: 100%;
    max-width: 100%;
  }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 1.5rem; }
  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
  }
  .story-visuals.story-visuals-split { grid-template-columns: 1fr; }
  .story-image-block { max-width: 100%; }
  .story-image-block .story-image { width: 100%; height: auto; object-fit: contain; }

  .story-page {
    padding: 7.5rem 1.25rem 2.5rem;
  }

  .story-page-content {
    padding: 0;
  }

  .processo.story-steps {
    padding: 3rem 0.75rem 3.5rem 1rem;
    overflow-x: hidden;
  }

  .processo.story-steps::before {
    left: 0.5rem;
    top: 3rem;
    bottom: 2rem;
  }

  .processo.story-steps .step {
    padding: 1.2rem 1rem 1.1rem 1.7rem;
  }

  .processo.story-steps .step-num {
    left: 0.08rem;
    top: 1.2rem;
    width: 0.8rem;
    height: 0.8rem;
    box-shadow: 0 0 0 0.16rem var(--cream);
  }

  .story-visuals {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .story-image-block {
    max-width: 100%;
    width: 100%;
    height: auto;
    align-items: flex-start;
  }

  .story-image-block .story-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .story-image-placeholder {
    max-width: 100%;
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .story-page {
    padding: 8rem 1rem 2.25rem;
  }

  .story-page-content h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .story-page-content p {
    font-size: 0.98rem;
  }

  .processo.story-steps {
    padding: 2.75rem 0.6rem 3rem 0.85rem;
  }

  .processo.story-steps .step {
    padding: 1rem 0.85rem 1rem 1.5rem;
    border-radius: 1rem;
  }

  .processo.story-steps .step-num {
    left: 0.04rem;
    top: 1.05rem;
    width: 0.7rem;
    height: 0.7rem;
  }

  .story-image-placeholder {
    min-height: 135px;
    padding: 0.9rem;
    font-size: 0.92rem;
  }
}

@media (min-width: 901px) {
  .feature-details {
    border: none;
  }
  .feature-summary {
    cursor: default;
    padding: 0;
  }
  .feature-summary::after { display: none; }
  .feature-details p {
    padding: 0;
  }
}
