@charset "utf-8";
/* Layout: black book-site bands, image/text split rows, a grey FAQ band, gold CAIMAN wordmark footer — matching the original Wix site */
:root {
  --head: 76px;
  --bg: #000;
  --fg: #fff;
  --gold: #e8b04f;
  --red: #ff0000;
  --paper: #efefef;
  --ink: #000;
  --panel: #9a9a9a;
  --rule: #ffffff;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --serif: "Times New Roman", Times, Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--display); font-weight: 400; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); display: flex; justify-content: flex-end; align-items: center; height: var(--head); }
nav { display: flex; gap: clamp(20px, 3vw, 40px); }
nav a { font-weight: 700; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
nav a[aria-current="page"] { border-bottom-color: var(--gold); }
nav a:hover { color: var(--gold); }


/* Shared */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > * { min-width: 0; }
.split img { width: 100%; height: 100%; object-fit: cover; }
.cta { display: flex; justify-content: center; padding-block: 64px; }
.cta a { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.6vw, 56px); color: var(--gold); text-decoration: none; letter-spacing: 0.01em; transition: transform .2s; }
.cta a:hover { transform: scale(1.04); }

/* Hero */
.hero { padding-top: 8px; padding-bottom: 48px; }
.hero .copy { padding: 0 max(16px, 6vw) 0 max(28px, 4vw); }
.wordmark { font-family: var(--display); font-weight: 700; color: var(--gold); font-size: clamp(64px, 8.4vw, 108px); line-height: 1; letter-spacing: 0.02em; margin: 0 0 0 -0.045em; }
.tagline { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: 0.02em; line-height: 1.2; margin: 12px 0 clamp(56px, 8vw, 120px); }
.hero p { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.5; letter-spacing: 0.01em; margin: 0 0 20px; max-width: 30em; }
.hero .copy { align-self: start; }
.hero .wordmark { margin-top: -0.14em; }
.hero p.tagline { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: 0.02em; margin: 12px 0 clamp(56px, 8vw, 120px); max-width: none; }
.hero b { font-weight: 700; }

/* Hat */
.hat { position: relative; aspect-ratio: 1536 / 939; background: url(/img/hat.jpg) center / cover no-repeat; margin-inline: 2px; }
.hat q { position: absolute; quotes: none; font-size: clamp(14px, 1.9vw, 25px); line-height: 1.3; letter-spacing: 0.01em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hat .q1 { left: max(48px, 6%); top: 11%; width: 26%; }
.hat .q2 { right: max(48px, 6%); top: 11%; width: 28%; }
.hat .q3 { left: max(48px, 6%); top: 54%; width: 29%; }
.hat .q4 { right: max(48px, 6%); top: 54%; width: 26%; }

/* Release banner + "notify me" sign-up (switches to the Amazon button on release day) */
[hidden] { display: none !important; }
.launch { display: grid; justify-items: center; text-align: center; padding-block: 56px 64px; }
.launch .cta { padding-block: 8px; }
.prelaunch { display: grid; justify-items: center; gap: 12px; width: 100%; }
.launch-date { font-weight: 700; color: var(--gold); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.2; letter-spacing: 0.02em; margin: 0; text-wrap: balance; }
.countdown { font-size: clamp(19px, 2vw, 24px); margin: 0; }
.notify { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 540px; margin-top: 10px; background: none; padding: 0; }
.notify input[type="email"] { flex: 1 1 240px; width: auto; min-width: 0; height: 50px; font-size: 18px; }
.notify button { flex: 0 0 auto; height: 50px; padding: 0 24px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 20px; }
.notify button:hover { color: var(--ink); filter: brightness(1.1); }
.notify button:disabled { opacity: .7; cursor: wait; }
.notify-note { flex-basis: 100%; margin: 0; font-size: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* SAM / SFIDA */
.story { background: var(--fg); color: var(--ink); }
.story.dark { background: var(--bg); color: var(--fg); }
.story .text { padding: clamp(32px, 4vw, 56px) clamp(24px, 6vw, 84px); align-self: center; }
.story h2 { font-weight: 700; font-size: clamp(38px, 4vw, 52px); letter-spacing: 0.04em; text-align: center; margin: 0 0 24px; line-height: 1.2; }
.story p { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.55; letter-spacing: 0.01em; margin: 0 0 1em; max-width: 30em; margin-inline: auto; }
.story.dark { padding-top: 34px; }


/* Board */
.board { position: relative; aspect-ratio: 1578 / 739; background: url(/img/board.jpg) center / cover no-repeat; display: grid; place-items: center; margin-top: 40px; }
.board h2 { font-weight: 700; font-size: clamp(26px, 4.2vw, 54px); line-height: 1.2; letter-spacing: 0.03em; text-align: center; margin: 0; text-shadow: 0 2px 2px #000, 0 0 18px rgba(0,0,0,.8); }
.motto { display: flex; justify-content: center; padding-block: 64px; }
.motto p { font-weight: 400; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.45; letter-spacing: 0.01em; margin: 0; max-width: 24em; text-align: center; text-wrap: balance; }

/* FAQ */
.faq { background: var(--paper); color: var(--ink); padding-bottom: 20px; }
.faq h2 { font-weight: 700; font-size: 32px; letter-spacing: 0.03em; margin: 0; padding: 40px 0 28px 50.5%; }
.faq dl { margin: 0; }
.faq .row { display: grid; grid-template-columns: 49% 1fr; align-items: center; border-top: 1px solid var(--ink); padding-block: 36px; padding-left: 28px; }
.faq dt { font-weight: 700; font-size: 24px; letter-spacing: 0.04em; }
.faq dd { margin: 0; font-weight: 400; font-size: 19px; letter-spacing: 0.01em; line-height: 1.55; max-width: 28em; }

/* Footer */
footer { padding-block: 34px 18px; }
footer .wordmark { font-size: clamp(72px, 9vw, 120px); letter-spacing: 0.02em; }
footer .tagline { font-weight: 700; letter-spacing: 0.02em; font-size: clamp(26px, 3vw, 38px); margin: 10px 0 36px 4px; }
footer .base { border-top: 1px solid var(--rule); display: flex; justify-content: flex-end; padding-top: 14px; font-family: var(--display); font-weight: 400; font-size: 15px; }

/* Autore */
.author { padding-top: 46px; align-items: start; }
.author img { height: auto; }
.author .text { padding: 0 max(16px, 6vw) 0 max(28px, 4vw); align-self: center; }
.author h1 { font-family: var(--serif); font-weight: 700; color: var(--red); font-size: clamp(40px, 4.8vw, 62px); line-height: 1.1; margin: 0; padding-bottom: 6px; border-bottom: 2px solid var(--rule); display: inline-block; }
.author p { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; margin: 0 0 0.9em; max-width: 34em; }
.author p.lead { margin: 28px 0 1.6em; }
.contacts { display: grid; justify-items: center; gap: 14px; padding-block: 8px 60px; }
.contacts h2 { font-weight: 700; font-size: 34px; margin: 0; }
.contacts ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 70px; margin: 0; padding: 0; font-weight: 400; font-size: 26px; }
.contacts .write { font-weight: 400; font-size: 26px; }

/* Contact */
.contact h1 { font-weight: 700; font-size: clamp(48px, 5.5vw, 72px); letter-spacing: 0.02em; margin: 0 0 24px; padding-top: 18px; line-height: 1.2; }
.contact .split { gap: 8px; align-items: start; }
.formwrap { border: 1px solid var(--rule); padding: 70px 8px 30px; }
form { background: var(--panel); padding: 22px 24px 24px; display: grid; grid-template-columns: 1fr 1.22fr; gap: 20px 72px; }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ink); letter-spacing: 0.02em; }
input, textarea { font: 400 17px var(--display); color: var(--ink); background: #fff; border: 1px solid #555; padding: 8px 10px; width: 100%; color-scheme: light; }
input { height: 36px; }
textarea { height: 92px; resize: vertical; }
button { font-family: var(--display); font-weight: 400; font-size: 22px; background: var(--bg); color: var(--fg); border: 0; height: 46px; cursor: pointer; }
button:hover { color: var(--gold); }
.note { grid-column: 1 / -1; background: var(--bg); color: var(--fg); font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 1.4; padding: 14px 16px; margin: 0; }

/* Autore page: Times New Roman for text; titles stay Oswald Bold like the rest of the site */
.page-autore main, .page-autore main * { font-family: var(--serif); }
.page-autore main p, .page-autore main li, .page-autore main .write { font-weight: 400; }
.page-autore main h1, .page-autore main h2, .page-autore main .cta a, .page-autore main .launch-date { font-family: var(--display); font-weight: 700; }

/* Full-screen sections on the Home page (computers and tablets only):
   each part fills the screen under the menu and the page snaps from one to the next. */
@media (min-width: 761px) and (min-height: 560px) {
  html:has(body.page-home), html:has(#view-home:not([hidden])) { scroll-snap-type: y mandatory; scroll-padding-top: var(--head); }
  .snap { scroll-snap-align: start; scroll-snap-stop: always; min-height: calc(100svh - var(--head)); box-sizing: border-box; }
  footer { scroll-snap-align: end; }
  .hero.snap { padding-block: 0; }
  .hero.snap img { height: calc(100svh - var(--head)); }
  .hero.snap .copy { padding-top: 0; }
  .hat.snap, .board.snap { aspect-ratio: auto; height: calc(100svh - var(--head)); margin-top: 0; }
  .launch.snap { align-content: center; }
  .launch.snap .launch-date { font-size: clamp(48px, 6vw, 88px); }
  .launch.snap .countdown { font-size: clamp(22px, 2vw, 28px); }
  .story.snap { padding-top: 0; }
  .story.snap img { height: calc(100svh - var(--head)); }
  .motto.snap { align-items: center; }
  .motto.snap p { font-size: clamp(30px, 3.4vw, 50px); max-width: 22em; }
  .faq.snap { display: grid; align-content: center; }
}

/* Phone */
@media (max-width: 760px) {
  header { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .hero .copy { padding: 24px 0 0; }
  .hat { aspect-ratio: auto; min-height: 640px; background-position: 58% center; display: grid; align-content: space-between; gap: 18px; padding-block: 20px; }
  .hat q { position: static; width: auto !important; font-size: 20px; text-align: left !important; }
  .hat .q2, .hat .q4 { justify-self: end; text-align: right !important; max-width: 70%; }
  .hat .q1, .hat .q3 { max-width: 70%; }
  .story .text { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .story p { text-align: left; }
  .story.dark .img { order: 2; }
  .board { aspect-ratio: 4 / 3; background-size: cover; }
  .faq h2 { padding-left: 0; }
  .faq .row { grid-template-columns: 1fr; gap: 10px; padding-block: 26px; }
  .author .text { padding: 28px 0 0; }
  form { grid-template-columns: 1fr; gap: 16px; padding: 18px 14px; }
  .formwrap { padding: 16px 8px; }
  .contacts ul { gap: 12px 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.thanks { padding-block: 80px 100px; text-align: center; }
.thanks h1 { font-weight: 700; font-size: clamp(44px, 6vw, 72px); margin: 0 0 16px; }
.thanks p { font-size: 22px; margin: 0 0 28px; }
.thanks a { color: var(--gold); font-weight: 700; font-size: 24px; }
