/* AMC Bookings home page. Loads after site.css on the home page only.
   One idea: a diary that fills itself while the owner works. */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root { --bk-forest: #06281E; --bk-lime: #A3E635; --bk-black: var(--amc-obsidian); --bk-paper: #EFF0EC; --bk-tint: #E4E6E1; --bk-display: "Bricolage", var(--amc-font); --field: var(--bk-forest); --on-field: #FFFFFF; }
body { background: var(--field); transition: background-color .7s var(--amc-ease); }
.site-header { background: var(--field); transition: background-color .7s var(--amc-ease); }
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: none; }
@media (min-width: 901px) { .site-header .site-nav ul a, .site-header .nav-signin { color: var(--on-field); transition: color .7s var(--amc-ease); } }
.site-header .amc-word b, .site-header .amc-word span { color: var(--on-field); transition: color .7s var(--amc-ease); }
.site-header .amc-mark { stroke: var(--on-field); }
.site-header .btn-primary { background: var(--on-field); color: var(--field); box-shadow: none; transition: background-color .7s var(--amc-ease), color .7s var(--amc-ease); }
.site-header .btn-primary:hover { background: var(--on-field); color: var(--field); }
.nav-toggle { color: var(--on-field); border-color: currentColor; }
@media (max-width: 900px) { .site-header .btn-primary { background: var(--em-700); color: #fff; } .site-nav ul a, .nav-signin { color: #0B0E14; } }
.btn, .btn-primary, .btn-primary:hover { box-shadow: none; }
.footer-h { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.footer-base { border-top: 0; }

#main h2 { font-family: var(--bk-display); font-size: clamp(2.2rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 .4em; color: inherit; }
#main h3 { font-family: var(--bk-display); font-weight: 700; letter-spacing: -.015em; color: inherit; }
.section { padding: 128px 0; background: transparent; }
[data-field="paper"] { background: var(--bk-paper); color: #0B0E14; }
[data-field="forest"] { background: var(--bk-forest); color: #fff; }
[data-field="lime"] { background: var(--bk-lime); color: #102006; }
[data-field="black"] { background: var(--bk-black); color: #E8ECF6; }
.is-live [data-field]:not(.bx-hero) { background: transparent; color: var(--on-field); transition: color .7s var(--amc-ease); }
.section-dark::before { display: none; }
.section-head { text-align: left; max-width: none; margin: 0 0 48px; }
.section-head p, .section-head.on-dark p, .split-copy > p, .step p, .plans-note { color: inherit; }
.section-head p { max-width: 40em; font-size: 1.15rem; }
.section-head.on-dark h2 { color: inherit; }

/* ---------- Hero: the week fills itself ---------- */
.bx-hero { position: relative; height: 210vh; background: var(--bk-forest); color: #fff; }
.bx-stage { --m: 0; --hx: 0deg; --hy: 0deg; position: sticky; top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); min-height: 560px; overflow: hidden; }
.bx-wrap { height: 100%; max-width: var(--amc-container); margin: 0 auto; padding: 22px var(--amc-gutter) 24px; display: flex; flex-direction: column; }
.bx-title { margin: 0; font-family: var(--bk-display); font-size: clamp(2.2rem, 7vw, 6.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; white-space: nowrap; position: relative; z-index: 2; }
.bx-row { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: 32px; align-items: center; }
.bx-copy { position: relative; z-index: 2; }
.bx-copy p { margin: 0 0 18px; font-size: 1.1rem; line-height: 1.5; color: #E4F2EC; }
.bx-copy p.bx-note { margin: 0; font-weight: 600; font-size: 1rem; color: #fff; }
.bx-cta { background: var(--bk-lime); color: #102006; transition: background-color .2s, color .2s, translate .35s var(--amc-ease); translate: var(--mx, 0) var(--my, 0); }
.bx-cta:hover { background: #fff; color: #0B0E14; }

.bx-view { position: relative; height: 100%; min-height: 0; perspective: 1500px; display: grid; place-items: center; }
.bx-sun { position: absolute; left: calc(14% + 72% * var(--m)); top: calc(30% - 24% * sin(var(--m) * 180deg)); width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: color-mix(in srgb, var(--bk-lime), #fff calc(var(--m) * 100%)); }
.bx-board { --bw: min(640px, 47vw); position: relative; width: var(--bw); transform-style: preserve-3d; transform: rotateX(calc(52deg - 46deg * var(--m) + var(--hx))) rotateZ(calc(-22deg + 21deg * var(--m) + var(--hy))) scale(calc(.9 + .12 * var(--m))); transition: transform .35s var(--amc-ease); will-change: transform; background: #0B3A2C; border-radius: 10px; outline: 1.5px solid rgba(255, 255, 255, .55); padding: calc(var(--bw) * .02); }
.bx-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; }
.bx-days b { font: 700 calc(var(--bw) * .024)/1.3 var(--bk-display); color: var(--bk-lime); padding-left: 4px; }
.bx-grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(8, calc(var(--bw) * .062)); gap: 4px; transform-style: preserve-3d; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .1) 0 1px, transparent 1px calc(var(--bw) * .062 + 4px)); }
.bx-a { display: flex; align-items: flex-start; padding: 3px 5px; border-radius: 4px; font: 600 calc(var(--bw) * .0185)/1.15 var(--amc-font); overflow: hidden; opacity: 0; transform: translateZ(120px) scale(.92); transition: opacity .35s var(--amc-ease), transform .5s var(--amc-ease); }
.bx-a.is-on { opacity: 1; transform: translateZ(0) scale(1); }
.t0 { background: var(--bk-lime); color: #102006; } .t1 { background: #fff; color: #06281E; } .t2 { background: #10B981; color: #04150F; }
.c1 { grid-column: 1; } .c2 { grid-column: 2; } .c3 { grid-column: 3; } .c4 { grid-column: 4; } .c5 { grid-column: 5; } .c6 { grid-column: 6; }
.r1 { grid-row-start: 1; } .r2 { grid-row-start: 2; } .r3 { grid-row-start: 3; } .r4 { grid-row-start: 4; } .r5 { grid-row-start: 5; } .r6 { grid-row-start: 6; } .r7 { grid-row-start: 7; } .r8 { grid-row-start: 8; }
.s1 { grid-row-end: span 1; } .s2 { grid-row-end: span 2; } .s3 { grid-row-end: span 3; }
.bx-count { margin: 8px 0 0; font: 600 calc(var(--bw) * .024)/1.3 var(--amc-font); color: #fff; }

/* ---------- Try it ---------- */
.bx-try { padding: 128px 0; }
.bx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.bx-two > div > p { font-size: 1.15rem; }
.demo-card { box-shadow: none; border-radius: 12px; outline: 2px solid #0B0E14; }
.float-chip { box-shadow: none; background: var(--bk-lime); color: #102006; outline: 2px solid #0B0E14; }
.demo-note { color: inherit; }
.demo-card, .demo-card p, .demo-card b { color: var(--ink); }

/* ---------- Sections ---------- */
.marquee { background: var(--bk-lime); border: 0; padding: 22px 0; }
.marquee li { font: 700 clamp(1.6rem, 3.4vw, 2.8rem)/1.1 var(--bk-display); letter-spacing: -.03em; color: #102006; }
.marquee li::after { background: #102006; }
.steps { margin: 0; max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps::before, .steps::after { display: none; }
.step { background: var(--bk-tint); border: 0; border-radius: 8px; flex-direction: column; }
.step-n { box-shadow: none; background: #0B0E14; }
.step:nth-child(2) { margin-top: 44px; } .step:nth-child(3) { margin-top: 88px; }
.phone { box-shadow: none; }
.tabs { background: rgba(16, 32, 6, .14); }
.tab { color: inherit; }
.tab.is-on { box-shadow: none; }
.ticks li::before { background-color: rgba(255, 255, 255, .7); }
.pay-card { background: rgba(255, 255, 255, .07); border: 0; border-radius: 8px; }
.feature-icon { display: none; }
.pay-card h3 { margin-top: 0; font-size: 1.4rem; }
.plan { border: 0; border-radius: 8px; background: var(--bk-tint); box-shadow: none; }
.plan:hover { box-shadow: none; }
.plan-featured { background: var(--bk-forest); color: #fff; box-shadow: none; }
.plan-featured .price, .plan-featured .plan-blurb, .plan-featured .price small, .plan-featured .price-eft, .plan-featured h3 { color: #fff; }
.plan-featured .btn-primary { background: var(--bk-lime); color: #102006; }
.plan-ribbon { background: var(--bk-lime); color: #102006; }
.price { font-family: var(--bk-display); font-size: 3.2rem; }
.btn-ghost { background: #0B0E14; color: #fff; border-color: #0B0E14; }
.btn-ghost:hover { background: var(--em-700); color: #fff; border-color: var(--em-700); }
#faq .container { max-width: var(--amc-container); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
#faq .section-head { position: sticky; top: 104px; align-self: start; margin: 0; }
.faq details { background: var(--bk-tint); border: 0; border-radius: 6px; }
.faq details[open] { box-shadow: none; }
.faq details p { color: var(--ink); }
.faq summary::after { border-color: #0B0E14; }
.bx-close { padding: 136px 0 72px; }
#main .bx-close h2 { font-size: clamp(2.6rem, 8.6vw, 8rem); font-weight: 800; line-height: .98; }
.bx-close-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.bx-close-row p { margin: 0; font-size: 1.15rem; }
.site-footer { padding-top: 40px; }

/* type that reacts, words that land */
.lv-ch { display: inline-block; font-weight: var(--w, inherit); will-change: font-weight; }
.lv-word { display: inline-block; opacity: 0; translate: 0 .5em; font-weight: 300; transition: opacity .7s var(--amc-ease), translate .8s var(--amc-ease), font-weight .9s var(--amc-ease); transition-delay: var(--d, 0s); }
.is-in .lv-word { opacity: 1; translate: 0 0; font-weight: inherit; }

.lv-index { list-style: none; margin: 0; padding: 0; }
.lv-index li { padding: 16px 0; outline-offset: 4px; cursor: default; }
.lv-index li + li { box-shadow: 0 -1px 0 rgba(255, 255, 255, .28); }
#main .lv-index h3 { font-size: clamp(1.7rem, 3.8vw, 3.2rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; margin: 0; transition: font-weight .35s var(--amc-ease), translate .35s var(--amc-ease); }
.lv-index p { max-height: 0; margin: 0; max-width: 42em; font-size: 1.1rem; opacity: 0; overflow: hidden; transition: max-height .4s var(--amc-ease), opacity .4s, margin .4s var(--amc-ease); }
.lv-index li:hover h3, .lv-index li:focus-visible h3 { font-weight: 800; translate: 12px 0; }
.lv-index li:hover p, .lv-index li:focus-visible p { opacity: 1; max-height: 8em; margin-top: 8px; }
@media (hover: none), (prefers-reduced-motion: reduce) { .lv-index p { max-height: none; opacity: 1; margin-top: 8px; } }

@media (max-width: 960px) {
  .bx-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 4px; margin-top: 18px; align-items: start; }
  .bx-board { --bw: min(520px, 70vw); }
  .bx-two, #faq .container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #faq .section-head { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(n) { margin-top: 0; }
  .section, .bx-try { padding: 88px 0; }
}
@media (max-width: 720px) {
  .bx-hero { height: 170vh; }
  .bx-title { font-size: 11vw; }
  .bx-cta { width: 100%; }
  .bx-copy p { font-size: 1rem; margin-bottom: 14px; }
  .bx-board { --bw: 78vw; }
  .bx-sun { width: 40px; height: 40px; margin: -20px; }
  .bx-a { font-size: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bx-hero { height: auto; }
  .bx-stage { --m: 1; position: relative; top: 0; height: auto; }
  .bx-wrap { height: auto; }
  .bx-view { min-height: 480px; }
  .bx-board, .bx-a { transition: none; }
}
.demo-note { margin-top: 40px; }
.pay-card p { color: #E8ECF6; }
.plan-blurb { color: inherit; }
.chip-b { display: none; }
