/* Shared base for Sevenday concept demos. Each demo sets its own theme tokens. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body-font); color: var(--fg); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head-font); line-height: 1.08; margin: 0 0 .5em; font-weight: var(--head-weight, 700); }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent); display: inline-block; margin-bottom: 12px; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--btn-radius, 999px); font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-a { background: var(--accent); color: var(--on-accent, #fff); }
.btn-o { border-color: currentColor; background: transparent; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Demo bar */
.demo-bar { background: #0f1b2d; color: #f7f4ee; font-family: "Inter", system-ui, sans-serif; font-size: .85rem; position: relative; z-index: 60; }
.demo-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; flex-wrap: wrap; padding: 6px 0; }
.demo-bar a { color: #f7f4ee; text-decoration: none; font-weight: 600; }
.demo-bar .get { background: #e4572e; padding: 6px 14px; border-radius: 999px; color: #fff; }
.demo-bar span b { color: #ffb59c; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg, var(--bg)); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--head-font); font-weight: 700; font-size: 1.35rem; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
.links a { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; }
.links a:hover { opacity: 1; }
.links .btn { opacity: 1; padding: 10px 20px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Generic grids */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius, 16px); padding: 28px; }

/* Art panels (stand-ins for the client's own photos) */
.art { border-radius: var(--radius, 16px); position: relative; overflow: hidden; min-height: 320px; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-note { position: absolute; left: 14px; bottom: 14px; font-family: "Inter", system-ui, sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .04em; background: rgba(255,255,255,.88); color: #0f1b2d; padding: 4px 10px; border-radius: 999px; }

/* Review */
.review { font-family: var(--head-font); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.35; max-width: 820px; margin: 0 auto; text-align: center; }
.review cite { display: block; font-family: var(--body-font); font-style: normal; font-size: .95rem; margin-top: 18px; color: var(--muted); }
.example { display: inline-block; font-family: "Inter", system-ui, sans-serif; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.stars { color: #f5b301; letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 14px; }

/* Footer */
.foot { padding: 48px 0 36px; border-top: 1px solid var(--line); font-size: .92rem; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h3 { font-size: 1.05rem; }
.foot p { margin: 0 0 6px; color: var(--muted); }
.fine { text-align: center; color: var(--muted); font-size: .8rem; padding: 18px 0 28px; }

/* Booking / payment modal (demo) */
.modal { position: fixed; inset: 0; background: rgba(10, 16, 28, .55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal.open { display: flex; }
.sheet { background: #fff; color: #14181f; width: min(460px, 100%); border-radius: 18px; padding: 26px; font-family: "Inter", system-ui, sans-serif; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); max-height: 90vh; overflow: auto; }
.sheet h3 { font-family: "Inter", system-ui, sans-serif; font-size: 1.2rem; margin-bottom: 4px; }
.sheet .sub { color: #5b6472; font-size: .9rem; margin-bottom: 18px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.days button, .slots button { font: inherit; border: 1.5px solid #dfe3ea; background: #fff; border-radius: 10px; padding: 9px 4px; cursor: pointer; font-size: .85rem; line-height: 1.2; }
.days button.on, .slots button.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent, #fff); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.slots button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.sheet .btn { width: 100%; }
.sheet .close { float: right; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #5b6472; }
.sheet .powered { text-align: center; font-size: .75rem; color: #8a93a1; margin-top: 12px; }
.paybox { border: 1.5px solid #dfe3ea; border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.paybox .row { display: flex; justify-content: space-between; font-size: .95rem; padding: 4px 0; }
.paybox .row.t { font-weight: 700; border-top: 1px solid #eef0f4; margin-top: 6px; padding-top: 10px; }
.fake-input { border: 1.5px solid #dfe3ea; border-radius: 10px; padding: 12px; color: #8a93a1; font-size: .9rem; margin-bottom: 10px; }
.done { text-align: center; padding: 18px 0; }
.done .ok { width: 56px; height: 56px; border-radius: 50%; background: #e3f6ec; color: #18884f; display: grid; place-items: center; margin: 0 auto 12px; font-size: 1.6rem; font-weight: 700; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .g2 { grid-template-columns: 1fr; gap: 36px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--nav-bg, var(--bg)); padding: 8px 16px 22px; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); }
  .links.open { display: flex; }
  .links li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .links li:last-child a { border: 0; margin-top: 14px; text-align: center; }
  .g3, .g4 { grid-template-columns: 1fr; }
  .art { min-height: 260px; }
  .demo-bar .wrap { justify-content: center; text-align: center; }
  .demo-bar .hide-m { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .rv { opacity: 1; transform: none; } }

/* Photos */
img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art img.cover { z-index: 0; }
.art > *:not(img) { z-index: 1; }
