/* ============ Precix colours (EDIT here to change the whole scheme) ============ */
:root {
  --bg: #fafaf7;
  --bg-alt: #f3f2ed;
  --surface: #ffffff;
  --line: #e6e4de;
  --ink: #1c1a17;
  --dark: #151311;
  --muted: #6b6862;
  --faint: #9a978f;
  --red: #9e1b1f;
  --red-dark: #7f1418;
  --red-tint: #f6e9e8;
  --slate: #3f5866;
  --green: #4f7a5e;
  --gold: #b88a2c;
  --radius: 8px;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2, .h3-serif { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
h1 em, h2 em, .h3-serif em { font-style: italic; color: var(--red); }
.h2-wide { max-width: 20ch; margin-bottom: 48px; }

.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
.lead { font-size: 1.08rem; margin: 22px 0 0; max-width: 50ch; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.dot--live { background: #ff6b5e; box-shadow: 0 0 0 0 rgba(255,107,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,107,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,94,0); } }
.arrow { display: inline-block; transition: transform .25s var(--ease); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius);
  background: var(--red); color: #fff; border: 1px solid var(--red);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:hover .arrow, .bookbar__btn:hover .arrow, .mobile-cta:hover .arrow { transform: translateX(4px); }
.btn--sm { padding: 9px 16px; font-size: 0.88rem; }
.btn--lg { padding: 16px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============ Header ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; color: #fff; transition: background .3s, color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.wordmark { font-family: var(--sans); font-weight: 300; font-size: 1.55rem; letter-spacing: 0.34em; text-decoration: none; margin: 0; }
.wordmark--light { color: var(--bg); }
.nav__logo { display: block; line-height: 0; }
.nav__logo img { height: 34px; width: auto; }
.nav__logo-dark, .nav--solid .nav__logo-light { display: none; }
.nav--solid .nav__logo-dark { display: block; }
.nav__links { display: flex; gap: 34px; font-size: 0.93rem; }
.nav__links a { text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; }
.nav--solid { background: rgba(250, 250, 247, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); border-color: var(--line); }
.nav--solid .nav__links a:hover { color: var(--red); }

/* ============ 1. Hero ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--dark); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.04); animation: drift 18s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,9,.62) 0%, rgba(12,10,9,.5) 40%, rgba(12,10,9,.78) 100%),
    radial-gradient(ellipse at 50% 55%, rgba(12,10,9,.35), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 108px 0 72px; }

.lockup { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 24px; }
.lockup > span:not(.lockup__x) { font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1; }
.lockup__amcham { font-weight: 600; letter-spacing: -0.02em; }
.lockup__amcham b { font-weight: 700; color: #ffb3ab; }
.lockup__precix { font-weight: 300; letter-spacing: 0.3em; margin-right: -0.3em; }
.lockup__x { opacity: .6; font-size: 1.3rem; font-weight: 300; }

.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 9px 18px; border-radius: 999px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.16em; }
.pill--glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.hero__meta { margin: 0 0 16px; opacity: .88; }
.hero__meta .sep { margin: 0 6px; opacity: .6; }
.hero h1 em { color: #ffb3ab; }
.hero__lede { max-width: 54ch; margin: 18px auto 22px; font-size: 1.1rem; opacity: .9; font-weight: 300; }

.hero__price { display: flex; align-items: baseline; justify-content: center; gap: 16px; flex-wrap: wrap; }
.price__old { font-size: 1.4rem; text-decoration: line-through; opacity: .6; }
.price__new { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1; font-weight: 500; }
.price__unit { opacity: .8; }
.save { margin: 10px 0 22px; padding: 6px 14px; border-radius: 6px; font-weight: 600; font-size: 0.92rem; }
.save--hero { background: #fff; color: var(--red); }

.bookbar {
  display: flex; align-items: stretch; padding: 6px; gap: 6px;
  background: rgba(20,17,15,.55); border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.bookbar__info { display: flex; flex-direction: column; justify-content: center; padding: 6px 22px 6px 24px; text-align: left; border-right: 1px solid rgba(255,255,255,.2); }
.bookbar__info .mono { opacity: .65; font-size: 0.66rem; }
.bookbar__dates { font-weight: 500; font-size: 0.95rem; }
.bookbar__btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s; }
.bookbar__btn:hover { background: var(--red-dark); }
.hero__count { margin: 16px 0 0; opacity: .7; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; text-decoration: none; opacity: .65; display: flex; gap: 8px; }
.hero__scroll span { animation: bob 2s infinite; display: inline-block; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ============ Sections ============ */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #f1efe9; }
.label { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; color: var(--muted); }
.label__line { flex: 1; height: 1px; background: var(--line); }
.label--dark { color: #a8a49b; }
.label--dark .label__line { background: rgba(255,255,255,.12); }
.split-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.split-head p { margin: 0; font-size: 1.05rem; }
.muted-dark { color: #a8a49b; }

/* ============ 2. Why ============ */
.why { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.why__media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.why__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transition: transform 1.2s var(--ease); }
.why__media:hover img { transform: scale(1.03); }
.why__tag { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.why__tag .mono { color: var(--red); font-size: 0.62rem; }
.why__tag strong { display: block; font-weight: 600; font-size: 0.85rem; margin-top: 1px; }

.benefits { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.benefits .mono { color: var(--red); padding-top: 4px; }
.benefits strong { font-weight: 600; }
.benefits p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 0.9rem; }
.chips--light span { background: transparent; border-color: #d9d6ce; font-size: 0.85rem; }

/* ============ 3. Value props ============ */
.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prop { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--c); border-radius: 6px; padding: 26px 24px 30px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.prop:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(28,26,23,.4); }
.prop--red { --c: var(--red); } .prop--slate { --c: var(--slate); } .prop--green { --c: var(--green); } .prop--gold { --c: var(--gold); }
.prop__num { color: var(--c); }
.prop__cat { color: var(--faint); margin-top: 14px; font-size: 0.66rem; }
.prop h3 { font-family: var(--serif); font-size: 1.85rem; font-weight: 500; line-height: 1.1; margin: 10px 0 12px; letter-spacing: -0.01em; }
.prop p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.prop p.placeholder { font-style: italic; color: var(--faint); border: 1px dashed var(--line); border-radius: 6px; padding: 10px 12px; }

.specialist { display: grid; grid-template-columns: 340px 1fr; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.specialist__media { position: relative; min-height: 260px; background: var(--bg); }
.specialist__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.specialist__placeholder { display: none; position: absolute; inset: 0; place-items: center; align-content: center; text-align: center; color: var(--faint); line-height: 2;
  background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(158,27,31,.05) 12px 13px), var(--bg); }
.specialist__placeholder small { text-transform: none; letter-spacing: .04em; }
.specialist__media.is-empty img { display: none; }
.specialist__media.is-empty .specialist__placeholder { display: grid; }
.specialist__copy { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.h3-serif { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 12px 0 14px; max-width: 22ch; }
.specialist__copy p { margin: 0; max-width: 54ch; }

.prop__link { margin-top: auto; padding-top: 16px; color: var(--c); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.prop__link:hover { text-decoration: underline; }

/* ============ 4. Sample report ============ */
.viewer { border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; background: #1d1a17; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.12); }
.tab { display: flex; align-items: center; gap: 12px; padding: 20px 22px; background: none; border: 0; color: #a8a49b; cursor: pointer; text-align: left; font-weight: 500; border-right: 1px solid rgba(255,255,255,.08); position: relative; transition: color .2s, background .2s; }
.tab:last-child { border-right: 0; }
.tab .mono { color: #6f6b64; }
.tab:hover { color: #fff; }
.tab.is-active { color: #fff; background: rgba(255,255,255,.04); }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #e0574c; }
.tab.is-active .mono { color: #e0574c; }
.panes { padding: 36px; }
.pane { display: none; grid-template-columns: 1fr 2.2fr; gap: 40px; align-items: center; }
.pane.is-active { display: grid; animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.pane__text h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; color: #fff; }
.pane__text p { color: #a8a49b; margin: 14px 0 0; }
.sheet { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.sheet img { width: 100%; }

/* ============ Event + flow ============ */
.event { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; }
.rows { margin: 0; border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row dt { color: var(--faint); padding-top: 6px; }
.row dd { margin: 0; }
.row dd strong { display: block; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1.15; }
.row dd span { color: var(--muted); font-size: 0.95rem; }
.row--accent dt, .row--accent dd strong { color: var(--red); }

.flow__title { text-align: center; margin: 80px 0 48px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.flow__step { padding: 0 16px; position: relative; text-align: center; }
.flow__step::before { content: ""; position: absolute; top: 19px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 1px; background: var(--line); }
.flow__step:last-child::before { display: none; }
.flow__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--red); color: var(--red); font-family: var(--serif); font-size: 1.3rem; margin: 0 auto 20px; }
.flow__step p { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ============ 5. Pricing ============ */
.pricing { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.checks li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 11px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

.pricecard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: 0 40px 80px -50px rgba(28,26,23,.5); position: relative; }
.pricecard::before { content: ""; position: absolute; inset: -1px -1px auto; height: 3px; background: var(--red); border-radius: 14px 14px 0 0; }
.pricecard__head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.pricecard__badge { color: var(--red); background: var(--red-tint); padding: 4px 8px; border-radius: 4px; }
.pricecard__price { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; }
.pricecard__price .price__old { color: var(--faint); opacity: 1; }
.pricecard__price .price__new { font-size: 4.4rem; }
.pricecard__unit { margin: 4px 0 24px; }
.pricecard__qr { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 0; margin-bottom: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricecard__qr p { margin: 0; font-size: 0.9rem; }
.pricecard__qrhint { margin-top: 8px !important; color: var(--red); font-weight: 500; }
.pricecard__qrtitle { font-weight: 600; font-size: 1rem !important; margin-bottom: 4px !important; }

.qr { width: 148px; height: 148px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; }
a.qr { cursor: pointer; transition: border-color .2s; }
a.qr:hover { border-color: var(--faint); }
.qr img, .qr canvas { width: 100% !important; height: auto !important; }

/* ============ FAQ + footer ============ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq__list summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--mono); color: var(--red); font-size: 1.2rem; line-height: 1.2; transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }

.footer { background: var(--dark); color: var(--bg); padding: 56px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.footer__small { font-size: 0.86rem; opacity: 0.6; margin: 10px 0 0; }
.footer__right { text-align: right; }
.footer__right p { margin: 4px 0; }

.mobile-cta { display: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .why, .event, .pricing, .faq, .split-head { grid-template-columns: 1fr; gap: 40px; }
  .props { grid-template-columns: 1fr 1fr; }
  .specialist { grid-template-columns: 1fr; }
  .specialist__media { min-height: 300px; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .tab:nth-child(2) { border-right: 0; }
  .tab:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .pane { grid-template-columns: 1fr; gap: 24px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .flow__step:nth-child(2)::before { display: none; }
  .why__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 76px 0; }
  .nav .btn--sm { display: none; }
  .hero__inner { padding: 112px 0 80px; }
  .lockup { gap: 8px 12px; flex-wrap: nowrap; }
  .lockup > span:not(.lockup__x) { font-size: 1.12rem; }
  .lockup__precix { letter-spacing: .2em; margin-right: -.2em; }
  .lockup__x { font-size: .95rem; }
  .pill { font-size: .66rem; padding: 8px 14px; }
  .bookbar { flex-direction: column; border-radius: 18px; width: 100%; }
  .bookbar__info { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 10px 14px; flex-direction: row; justify-content: space-between; align-items: center; }
  .bookbar__btn { justify-content: center; border-radius: 12px; }
  .hero__scroll { display: none; }
  .props { grid-template-columns: 1fr; }
  .specialist__copy { padding: 28px 24px; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .tab { padding: 14px 14px; font-size: .9rem; gap: 8px; }
  .panes { padding: 20px; }
  .sheet { padding: 8px; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow__step::before { display: none; }
  .pricecard { padding: 24px; }
  .pricecard__qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__right { text-align: left; }
  .mobile-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
    padding: 16px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 16px 30px -12px rgba(0,0,0,.45);
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .mobile-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Device photo label in the specialist block */
.specialist__label { position: absolute; left: 16px; bottom: 16px; padding: 6px 10px; border-radius: 4px; background: rgba(255,255,255,.9); color: var(--red); }
.specialist__media { background: #1d1a17; }
.specialist { grid-template-columns: 480px 1fr; }
.specialist__media img { object-position: 60% 50%; }
@media (max-width: 1000px) { .specialist { grid-template-columns: 1fr; } }
