/* ==========================================================
   Quickerr Systems — stylesheet
   ========================================================== */
:root {
  --black: #000;
  --ink: #181818;
  --text: #4a4a4a;
  --muted: #777;
  --white: #fff;
  --mist: #f4f8f9;
  --grey: #f1f1f1;
  --coral: #f9565f;
  --coral-deep: #e8434c;
  --blue: #5fd8f8;
  --amber: #ffbf00;
  --sans: "Poppins", Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
strong { color: inherit; font-weight: 600; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(0,0,0,.92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.page-warranty .site-header { background: #000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header-logo img { width: 128px; height: auto; opacity: 0; transition: opacity .3s; }
.site-header.scrolled .header-logo img, .page-warranty .header-logo img { opacity: 1; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 4px 0;
}
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--coral); transition: right .25s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a.btn-touch {
  background: var(--amber); color: #000; border-radius: 999px;
  padding: 8px 20px; font-weight: 600; transition: background .2s, transform .2s;
}
.main-nav a.btn-touch::after { display: none; }
.main-nav a.btn-touch:hover { background: #fff; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; background: rgba(0,0,0,.97);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .main-nav a { font-size: 20px; }
  .main-nav a.btn-touch { padding: 10px 28px; font-size: 16px; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header, .nav-open .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .header-logo img { opacity: 1; position: relative; z-index: 2; }
  .header-logo { position: relative; z-index: 2; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-logo img { width: 110px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: #000 url("../img/hero-bg.jpg") right center / cover no-repeat; color: #fff; overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 75%); }
.hero-inner { position: relative; max-width: none; padding: 100px 0 80px 14.6vw; }
.hero-copy { width: min(52vw, 100%); } /* block ends ~2/3 across the screen */
.hero-logo { width: clamp(200px, 16.5vw, 300px); margin-bottom: 10px; }
.hero h1 {
  font-size: clamp(20px, 1.65vw, 30px); line-height: 1.2; font-weight: 700; font-style: italic;
  text-transform: uppercase; margin: 0 0 14px; color: #fff; white-space: nowrap;
}
.hero p { color: #fff; font-size: clamp(13px, .95vw, 16px); line-height: 1.65; max-width: none; }
.hero blockquote { margin: 30px 0 44px; }
.hero blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 38px); line-height: 1.2; color: #fff; margin: 0 0 4px; max-width: 85%; }
.hero cite { font-style: normal; font-size: clamp(12px, .9vw, 15px); font-weight: 600; color: #fff; }
.hero .btn-line { padding: 12px 18px; }
@media (max-width: 1100px) { .hero-inner { padding-left: var(--gutter); padding-right: var(--gutter); } .hero-copy { width: min(720px, 100%); } }

@media (max-width: 760px) {
  .hero { background-image: url("../img/hero-mobile.jpg"); background-position: center bottom; align-items: flex-start; }
  .hero-video { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.75) 55%, rgba(0,0,0,.2) 100%); }
  .hero h1 { white-space: normal; }
}

/* ---------- Buttons ---------- */
.btn-line {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0;
  border-bottom: 1px solid currentColor; color: #fff; padding: 10px 2px;
  font-size: 12px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; text-decoration: none;
  transition: gap .25s, color .25s;
}
.btn-line:hover { gap: 18px; color: var(--blue); }
.btn-line-dark { color: var(--ink); }
.btn-line-dark:hover { color: var(--coral); }
.btn-solid {
  display: inline-block; background: #fff; color: var(--ink); text-decoration: none; text-align: center;
  padding: 12px 34px; border-radius: 6px; font-size: 14px; font-weight: 500; border: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.15); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.bg-blue { background: var(--blue); }
.bg-white { background: #fff; }
.bg-mist { background: var(--mist); }
.bg-grey { background: var(--grey); }
.bg-black { background: #000; color: rgba(255,255,255,.8); }
.bg-coral { background: var(--coral); }
.bg-blue .split-copy, .bg-blue .split-copy strong { color: #23424a; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-rev { grid-template-columns: 1fr 1.05fr; }
.split-copy { max-width: 540px; }
.split-media img, .split-media video { width: 100%; }
.rounded { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.12); }

@media (max-width: 860px) {
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .split-media { order: -1; }
  .split-copy { max-width: none; }
}

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.eyebrow-light { color: #fff; }
.title { margin: 0 0 26px; line-height: 1.05; font-weight: 400; font-size: clamp(40px, 5.4vw, 64px); }
.t-bold { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; }
.t-light { font-family: var(--sans); font-weight: 300; }
.t-script { font-family: var(--serif); font-style: italic; color: var(--ink); }
.bg-blue .t-script { color: #1c2b30; }
.t-white { color: #fff; }
.t-coral { color: var(--coral); }
.t-blue { color: var(--blue); }

.spec-list { list-style: none; padding: 0; margin: 0 0 30px; }
.spec-list li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.spec-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* ---------- Store ---------- */
.store-title { color: #fff; margin-bottom: 44px; }
.store-title .t-script { color: #fff; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.product { display: flex; flex-direction: column; }
.product-img { display: block; background: #fff; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-img:hover img { transform: scale(1.05); }
.product h3 { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; margin: 18px 0 16px; flex: 1; }
.product .btn-solid { align-self: flex-start; }
.store-note { margin: 40px 0 0; color: rgba(255,255,255,.85); font-size: 13px; }
.store-note a { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- FAQ / notify ---------- */
.faq-section { background: #000 url("../img/hero-bg.jpg") center / contain no-repeat; }
.faq-section::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.faq-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.faq-title { color: var(--coral); font-size: clamp(44px, 5vw, 60px); font-weight: 600; margin: 0 0 6px; line-height: 1; }
.faq { margin-top: 36px; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; gap: 22px; align-items: baseline;
  padding: 20px 30px 20px 0; color: #fff; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 300; color: var(--coral); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .num { color: var(--coral); min-width: 16px; }
.faq .answer { padding: 0 0 20px 38px; color: rgba(255,255,255,.75); }
.title-script { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); color: var(--ink); margin: 0 0 10px; line-height: 1.15; }
.title-script span { color: var(--blue); }
.title-script-light { color: #fff; }
.notify a { color: var(--blue); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Book ---------- */
.book-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; color: var(--ink); margin: 0 0 18px; }
.book-title span { display: block; color: var(--coral); }

/* ---------- Page head ---------- */
.page-head { padding-top: 170px; }
.page-title { font-size: clamp(44px, 6vw, 72px); font-weight: 600; color: var(--ink); margin: 0 0 20px; line-height: 1; }
.lead { font-size: 18px; color: var(--ink); }
.page-head .btn-solid { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 520px); justify-content: center; gap: clamp(32px, 4vw, 56px); align-items: center; }
.contact-media img { width: 100%; aspect-ratio: 519 / 762; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.contact-copy { max-width: 520px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media img { aspect-ratio: 16 / 10; }
  .contact-copy { max-width: none; }
}

.form { margin-top: 26px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 12px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #cfd8db; background: transparent;
  font: inherit; color: var(--ink); padding: 8px 0; border-radius: 0; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--coral); }
.field-light span { color: rgba(255,255,255,.6); }
.field-light input { color: #fff; border-bottom-color: rgba(255,255,255,.35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--serif); font-style: italic; font-size: 14px; margin: 6px 0 22px; }
.check input { margin-top: 5px; accent-color: var(--coral); }
.form-inline { display: flex; gap: 24px; align-items: flex-end; }
.form-inline .field { flex: 1; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin: 18px 0 0; }
.notice-ok { background: #e3f8ee; color: #135e3b; }
.notice-error { background: #fde8e9; color: #8f1d24; }
@media (max-width: 480px) { .form-inline { flex-direction: column; align-items: stretch; } .form-inline .btn-line { align-self: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: #181818; color: rgba(255,255,255,.7); text-align: center; padding: 64px 0 40px; position: relative; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-logo img { width: 220px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { color: var(--coral); }
.footer-mail { color: #fff; font-weight: 600; text-decoration: none; font-size: 16px; }
.footer-mail:hover { color: var(--blue); }
.footer-legal { font-size: 12px; margin: 8px 0 0; line-height: 1.7; }
.to-top { position: absolute; right: 24px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; background: rgba(255,255,255,.08); }
.to-top:hover { background: var(--coral); }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); }
.modal-box { position: relative; max-height: calc(100vh - 40px); overflow: auto; border-radius: var(--radius); }
.modal-video { width: min(1100px, 100%); background: #000; overflow: visible; }
.modal-video video { width: 100%; border-radius: var(--radius); }
.modal-text { width: min(760px, 100%); background: #fff; padding: clamp(28px, 5vw, 56px); }
.modal-text h2 { font-size: clamp(30px, 4vw, 44px); color: var(--coral); text-transform: uppercase; font-weight: 700; margin: 0 0 6px; line-height: 1.1; }
.modal-contact { width: min(620px, 100%); }
.modal-contact h2.title-script { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--ink); font-size: clamp(30px, 3.6vw, 42px); margin: 0 0 8px; }
.modal-contact .form { margin-top: 18px; }
.modal-attrib { font-family: var(--serif); font-style: italic; color: var(--muted); }
.modal-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 34px; line-height: 1; color: var(--ink); z-index: 2; }
.modal-video .modal-close { top: -44px; right: 0; color: #fff; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
