/* Olos landing: lana, torba, filo d'oro. Cormorant Garamond per i titoli, Inter per il testo. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }

:root {
  --wool: #F2EFEA;
  --wool-deep: #E8E3DA;
  --wool-card: #FBFAF7;
  --peat: #262420;
  --peat-soft: #4A463F;
  --peat-muted: #736C61;
  --peat-line: #D8D1C5;
  --thread: #9A7B45;
  --thread-light: #C9AE7C;
  --garment: #4F4A43;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1152px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--wool);
  color: var(--peat);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--thread); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

h1, h2, h3, .display { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: 36px; line-height: 1.08; }
@media (min-width: 768px) { h2 { font-size: 46px; } }
.lead { max-width: 36rem; color: var(--peat-soft); line-height: 1.65; margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.btn-dark { background: var(--peat); color: var(--wool); }
.btn-dark:hover { background: var(--peat-soft); }
.btn-outline { border-color: var(--peat); color: var(--peat); }
.btn-outline:hover { background: var(--peat); color: var(--wool); }
.btn-light { background: var(--wool); color: var(--peat); }
.btn-light:hover { background: var(--wool-deep); }
.btn-ghost { border-color: rgba(242, 239, 234, 0.6); color: var(--wool); }
.btn-ghost:hover { background: var(--wool); color: var(--peat); border-color: var(--wool); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.skip {
  position: absolute; left: -999px; top: 16px; z-index: 100;
  background: var(--peat); color: var(--wool); border-radius: 999px; padding: 8px 16px;
}
.skip:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 239, 234, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 209, 197, 0.7);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.seal { width: 28px; height: 28px; color: var(--thread); }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--peat-soft); }
.nav-links a:hover { color: var(--peat); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.pill { border: 1px solid rgba(38, 36, 32, 0.3); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.pill:hover { border-color: var(--peat); }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 96px; display: grid; gap: 64px; align-items: center; }
@media (min-width: 768px) { .hero { grid-template-columns: 1.15fr 1fr; padding-top: 80px; } }
@media (min-width: 1024px) { .hero { gap: 80px; } }
.hero h1 { font-size: 50px; line-height: 0.98; }
@media (min-width: 640px) { .hero h1 { font-size: 72px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 76px; } }
.hero .lead { margin-top: 32px; font-size: 17px; }
.hero .note { margin-top: 24px; font-size: 13px; color: var(--peat-muted); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

.tag-scene { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
@media (min-width: 768px) { .tag-scene { max-width: none; } }
.garment {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px;
  background-color: var(--garment);
  background-image:
    radial-gradient(120% 80% at 50% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 7px);
}
.garment svg { position: absolute; left: 50%; top: 50%; width: 72%; max-width: 380px; transform: translate(-50%, -50%); }

.tag {
  position: absolute; right: 0; bottom: -32px; width: 210px;
  transform: rotate(4deg);
}
@media (min-width: 640px) { .tag { right: -4px; width: 236px; } }
@media (min-width: 768px) { .tag { right: -12px; bottom: -40px; width: 250px; } }
.tag-card {
  position: relative; border-radius: 10px; background: var(--wool-card);
  padding: 28px 20px 20px;
  box-shadow: 0 12px 40px -12px rgba(26, 26, 25, 0.35), 0 0 0 1px rgba(38, 36, 32, 0.1);
}
.tag-hole {
  position: absolute; left: 50%; top: 12px; width: 10px; height: 10px; transform: translateX(-50%);
  border-radius: 50%; background: var(--wool-deep); box-shadow: 0 0 0 1px rgba(38, 36, 32, 0.15);
}
.tag-cert { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.tag-cert .seal { width: 16px; height: 16px; }
.tag-brand { margin-top: 12px; font-size: 11px; color: var(--peat-muted); }
.tag-name { font-size: 22px; line-height: 1.1; }
.tag-mat { margin-top: 4px; font-size: 11px; color: var(--peat-soft); }
.tag-qr { margin-top: 16px; background: #fff; padding: 10px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(38, 36, 32, 0.1); }
.tag-qr svg { width: 100%; height: auto; }
.tag figcaption { margin-top: 12px; text-align: center; font-size: 11px; line-height: 1.35; color: var(--peat-muted); }

/* Sections */
section { border-top: 1px solid var(--peat-line); }
.section { padding-top: 80px; padding-bottom: 80px; }
.tint { background: rgba(232, 227, 218, 0.6); }
.dark { background: var(--peat); color: var(--wool); }
.dark .lead { color: rgba(242, 239, 234, 0.75); }

/* Video */
.video-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 1fr 2fr; gap: 56px; align-items: center; } }
.video { border-radius: 4px; overflow: hidden; background: #000; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Journey as a stitched thread */
.journey { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .journey { padding-top: 80px; padding-bottom: 80px; } }
.journey h2 { max-width: 34rem; }
.thread { position: relative; margin-top: 48px; display: grid; gap: 32px; }
.thread::before {
  content: ''; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px;
  background-image: linear-gradient(to bottom, var(--thread) 0 7px, transparent 7px 13px);
  background-size: 2px 13px;
}
.thread li { position: relative; padding-left: 36px; }
.thread .dot {
  position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--wool); box-shadow: 0 0 0 2px var(--thread);
  display: grid; place-items: center;
}
.thread .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--thread); }
.thread .n { font-family: var(--display); font-size: 24px; color: var(--thread); line-height: 1; }
.thread h3 { font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1.35; margin-top: 4px; letter-spacing: 0; }
.thread .place { margin-top: 4px; font-size: 14px; color: var(--peat-soft); }
.thread .doc {
  display: inline-block; margin-top: 8px; font-size: 12px; color: var(--peat-muted);
  background: var(--wool-card); padding: 4px 8px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(38, 36, 32, 0.1);
}
@media (min-width: 768px) {
  .thread { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .thread::before {
    left: 0; right: 0; top: 9px; bottom: auto; height: 2px; width: auto;
    background-image: linear-gradient(to right, var(--thread) 0 7px, transparent 7px 13px);
    background-size: 13px 2px;
  }
  .thread li { padding-left: 0; padding-top: 36px; }
}

/* How it works */
.steps { margin-top: 48px; display: grid; gap: 40px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { border-top: 1px solid var(--thread); padding-top: 20px; }
.steps .n { font-family: var(--display); font-size: 30px; color: var(--thread); line-height: 1; }
.steps h3 { font-size: 26px; line-height: 1.25; margin-top: 12px; }
.steps p { margin-top: 12px; color: var(--peat-soft); line-height: 1.65; }

/* For brands */
.brand-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .brand-grid { grid-template-columns: 1fr 2fr; gap: 64px; } }
.brand-grid .btn { margin-top: 32px; }
.features { display: grid; gap: 36px 40px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { border-top: 1px solid rgba(154, 123, 69, 0.5); padding-top: 16px; }
.features h3 { font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: 0; line-height: 1.35; }
.features p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: rgba(242, 239, 234, 0.7); }

/* For customers */
.customers { display: grid; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 768px) { .customers { grid-template-columns: 1fr 1fr; align-items: center; padding-top: 96px; padding-bottom: 96px; } }
.shows { margin-top: 40px; display: grid; gap: 28px; }
@media (min-width: 640px) { .shows { grid-template-columns: 1fr 1fr; } }
.shows > div { border-top: 1px solid var(--peat-line); padding-top: 16px; }
.shows dt { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.15; }
.shows dd { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--peat-soft); }
.customers .btn { margin-top: 40px; }

.phone { width: 280px; margin: 0 auto; }
.phone-frame { border-radius: 36px; background: var(--peat); padding: 12px; box-shadow: 0 12px 40px -12px rgba(26, 26, 25, 0.35); }
.phone-screen { border-radius: 26px; overflow: hidden; background: var(--wool); }
.phone-photo {
  position: relative; height: 160px; background-color: var(--garment);
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 7px);
}
.phone-photo svg.garment-ill { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); }
.phone-cert {
  position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 4px;
  background: rgba(251, 250, 247, 0.95); border-radius: 999px; padding: 4px 10px 4px 6px; font-size: 10px; font-weight: 500;
}
.phone-cert .seal { width: 14px; height: 14px; }
.phone-body { padding: 16px; }
.phone-body .small { font-size: 10px; color: var(--peat-muted); }
.phone-body .name { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.1; }
.phone-serial { margin-top: 12px; display: flex; align-items: flex-end; gap: 8px; border-top: 1px solid var(--peat-line); padding-top: 12px; }
.phone-serial .big { font-family: var(--display); font-size: 30px; line-height: 1; }
.phone-serial .small { line-height: 1.3; padding-bottom: 2px; }
.phone-steps { margin-top: 16px; display: grid; gap: 8px; }
.phone-steps li { display: flex; align-items: center; gap: 8px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-steps li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--thread); }
.phone-steps span { color: var(--peat-muted); }

/* Integrity + DPP */
.dpp { display: grid; gap: 48px; }
@media (min-width: 768px) { .dpp { grid-template-columns: 1fr 1fr; gap: 64px; } }
.dpp p + p { margin-top: 16px; }
.dpp h3 { font-size: 28px; line-height: 1.15; }
.trust { margin-top: 24px; display: grid; gap: 20px; }
.trust li { border-top: 1px solid var(--thread); padding-top: 16px; }
.trust strong { font-weight: 500; display: block; }
.trust p { margin-top: 4px; font-size: 14px; line-height: 1.65; color: var(--peat-soft); }

/* FAQ */
.faq-wrap { max-width: 768px; }
.faq { margin-top: 40px; border-top: 1px solid var(--peat-line); border-bottom: 1px solid var(--peat-line); }
.faq details { border-top: 1px solid var(--peat-line); padding: 20px 0; }
.faq details:first-child { border-top: 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-size: 17px; font-weight: 500; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--thread); margin-top: 2px; transition: transform 200ms; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin-top: 12px; max-width: 42rem; color: var(--peat-soft); line-height: 1.65; }

/* Final call */
.cta { padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 768px) { .cta { padding-top: 96px; padding-bottom: 96px; } }
.cta h2 { max-width: 44rem; font-size: 40px; }
@media (min-width: 768px) { .cta h2 { font-size: 60px; } }

/* Footer */
footer { border-top: 1px solid var(--peat-line); }
footer .wrap { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--peat-muted); }
@media (min-width: 768px) { footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
footer p { display: flex; align-items: center; gap: 8px; }
footer .seal { width: 20px; height: 20px; }
footer a:hover { color: var(--peat); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
