/* Boreal Yachting demo. Palette and type read from boreal-yachting.com:
   fjord-900 navy, bone cream, ice, 2px radii, Source Serif 4 headings, Inter body. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/Inter.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('fonts/SourceSerif4.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 300 600; font-display: swap; src: url('fonts/SourceSerif4-italic.woff2') format('woff2'); }

:root {
  --navy: hsl(206 53% 13%);
  --navy-2: hsl(206 53% 19%);
  --navy-3: hsl(205 43% 21%);
  --fjord: hsl(200 51% 37%);
  --fjord-2: hsl(200 31% 74%);
  --ice: hsl(203 31% 95%);
  --cream: hsl(40 40% 94%);
  --bone: hsl(37 33% 86%);
  --bone-2: hsl(37 30% 78%);
  --ink: #1f2d3a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #8a97a6;
  --white: #fff;
  --ok: #2f7d4f;
  --warn: #b7791f;
  --live: #e0b14a;
  --r: 3px;
  --r-lg: 10px;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(10, 22, 32, .06), 0 10px 30px rgba(10, 22, 32, .10);
  --shadow-lg: 0 2px 4px rgba(10, 22, 32, .08), 0 24px 60px rgba(10, 22, 32, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
input, textarea { font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.cursor, [role="button"], label, summary, select { cursor: pointer; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes leave { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-16px); } }
@keyframes leaveBack { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px); } }
@keyframes riseBack { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes push { from { transform: scale(1.02); } to { transform: scale(1.13); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(224, 177, 74, .75); background: #fff8e6; } 100% { box-shadow: 0 0 0 14px rgba(224, 177, 74, 0); background: #fff; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.rise { animation: rise .45s var(--ease) both; }
.rise-back { animation: riseBack .45s var(--ease) both; }
.leave { animation: leave .22s ease-in both; }
.leave-back { animation: leaveBack .22s ease-in both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: var(--r); font-weight: 500; font-size: .95rem; line-height: 1; text-decoration: none; transition: background .18s, color .18s, transform .18s, box-shadow .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy-2); color: #fff; }
.btn--primary:hover { background: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--ice); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--bone-2); }
.btn--ghost:hover { background: #fff; }
.btn--link { background: none; color: inherit; text-decoration: underline; text-underline-offset: 4px; padding-inline: .25rem; }
.btn--lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Site nav */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 600; letter-spacing: .18em; font-size: .78rem; text-transform: uppercase; }
.logo svg { width: 22px; height: 22px; }
.nav__links { display: flex; gap: 1.6rem; font-size: .85rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; opacity: .92; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav__cta { background: var(--navy-2); color: #fff; padding: .6rem 1rem; }
.nav__cta:hover { background: var(--navy); }
@media (max-width: 900px) { .nav__links { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: end; overflow: hidden; color: #fff; isolation: isolate; }
html.noanim *, html.noanim *::before, html.noanim *::after { animation: none !important; transition: none !important; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; z-index: -2; animation: push 28s ease-out both; transform-origin: 60% 40%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10, 22, 32, .42) 0%, rgba(10, 22, 32, .08) 35%, rgba(10, 22, 32, .35) 70%, rgba(10, 22, 32, .78) 100%); }
.hero__inner { padding: 7rem 0 3.2rem; }
.eyebrow { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; opacity: .9; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); max-width: 15ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
@media (min-width: 900px) { .hero h1 { max-width: 24ch; } }
.hero__sub { font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 48ch; opacity: .94; margin: 1.1rem 0 2rem; }

/* The search bar: four questions, one open at a time */
.qs { position: relative; display: flex; align-items: stretch; background: #fff; color: var(--ink); border-radius: 999px; padding: .4rem .4rem .4rem .6rem; box-shadow: var(--shadow-lg); max-width: 72rem; }
.qs__q { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: stretch; }
.qs__btn { flex: 1; min-width: 0; text-align: left; padding: .65rem 1.25rem; border-radius: 999px; transition: background .18s, box-shadow .18s; }
.qs__btn:hover { background: var(--cream); }
.qs__q.is-open > .qs__btn { background: var(--cream); box-shadow: inset 0 0 0 1px var(--bone); }
.qs__label { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.qs__value { display: block; margin-top: .1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.qs__value.is-empty { font-weight: 400; color: var(--muted); }
.qs__div { align-self: center; width: 1px; height: 55%; background: var(--bone); box-shadow: 1px 0 0 rgba(255, 255, 255, .8); flex: none; }
.qs__go { flex: none; display: inline-flex; align-items: center; gap: .55rem; padding: 0 1.4rem 0 1.2rem; border-radius: 999px; background: var(--navy-2); color: #fff; font-weight: 600; text-decoration: none; transition: background .18s; }
.qs__go:hover { background: var(--navy); }
.qs__go svg { width: 18px; height: 18px; }
.qs__panel { display: none; position: absolute; bottom: calc(100% + 14px); left: 0; z-index: 30; width: var(--pw, 26rem); max-width: calc(100vw - 2rem); background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.1rem; animation: rise .28s var(--ease) both; }
.qs__q.is-open > .qs__panel { display: block; }
.qs__q--end .qs__panel { left: auto; right: 0; }
.qs__panel h4 { margin: 0 0 .75rem; font: 600 .8rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qs__hint { margin-top: .8rem; font-size: .82rem; color: var(--muted); }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.opts--1 { grid-template-columns: 1fr; }
.opt { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .45rem .55rem; border-radius: 8px; transition: background .15s; }
.opt:hover { background: var(--cream); }
.opt.is-on { background: var(--ice); box-shadow: inset 0 0 0 1.5px var(--fjord); }
.opt__thumb { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; flex: none; background: var(--bone); }
.opt__name { display: block; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.opt__sub { display: block; font-size: .78rem; color: var(--muted); margin-top: .1rem; }

.months { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.month { padding: .7rem .4rem; border-radius: 8px; text-align: center; font-weight: 500; font-size: .92rem; box-shadow: inset 0 0 0 1px var(--bone); transition: background .15s, box-shadow .15s; }
.month:hover { background: var(--cream); }
.month.is-on { background: var(--navy-2); color: #fff; box-shadow: none; }
.month.is-off { color: var(--muted-2); box-shadow: inset 0 0 0 1px var(--ice); background: repeating-linear-gradient(135deg, transparent 0 6px, var(--ice) 6px 7px); cursor: not-allowed; }
.month--wide { grid-column: 1 / -1; }
.month small { display: block; font-weight: 400; font-size: .72rem; color: inherit; opacity: .75; }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--bone-2); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: background .15s; color: var(--navy); }
.stepper__btn:hover { background: var(--cream); }
.stepper__btn[disabled] { opacity: .3; cursor: default; }
.stepper__n { font-family: var(--serif); font-size: 2.2rem; min-width: 3ch; text-align: center; }
.stepper__lbl { font-size: .95rem; font-weight: 600; }
.stepper__lbl small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }

.fit { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; padding: .7rem; border-radius: 8px; background: var(--cream); }
.fit__thumb { width: 64px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; }
.fit__h { font-weight: 600; font-size: .95rem; }
.fit__d { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.fit.is-no { background: #fdf3e3; }

@media (max-width: 900px) {
  .qs { display: block; border-radius: 16px; padding: .4rem; }
  .qs__q { display: block; }
  .qs__btn { width: 100%; padding: .85rem 1rem; border-radius: 12px; }
  .qs__div { display: none; }
  .qs__panel { position: static; width: auto; max-width: none; box-shadow: none; border-top: 1px solid var(--bone); border-radius: 0; margin: 0 .5rem .5rem; padding: 1rem .5rem .6rem; }
  .qs__go { width: 100%; justify-content: center; padding: 1rem; margin-top: .25rem; border-radius: 12px; }
  .months { grid-template-columns: repeat(3, 1fr); }
  .opts { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 5rem 0; }
.section--tight { padding: 3rem 0; }
.section__head { max-width: 60ch; margin-bottom: 2.2rem; }
.section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section__lede { font-size: 1.08rem; color: var(--ink-2); margin-top: .9rem; max-width: 60ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2.4rem 0; border-top: 1px solid var(--bone); border-bottom: 1px solid var(--bone); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--navy); }
.stat span { display: block; font-size: .85rem; color: var(--muted); margin-top: .45rem; max-width: 22ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { display: block; text-decoration: none; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--bone); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 1.1rem 1.2rem 1.3rem; }
.card__meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fjord); font-weight: 700; margin-bottom: .45rem; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--ink-2); font-size: .95rem; margin-top: .4rem; }
.card__go { display: inline-block; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--fjord-2); line-height: 1; }
.step h3 { font-size: 1.3rem; margin: .5rem 0 .4rem; }
.step p { color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--navy); max-width: 34ch; }
blockquote + p { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.dark { background: var(--navy); color: #fff; }
.dark .section__lede, .dark .step p { color: var(--fjord-2); }
.dark h2, .dark h3 { color: #fff; }
.footer { background: var(--navy); color: var(--fjord-2); padding: 3rem 0 2.2rem; font-size: .88rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.footer a { text-decoration: none; }
.footer .logo { color: #fff; }
.demo-tag { display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .3rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 900px) {
  .section { padding: 3.2rem 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .cards { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 1.6rem; }
  .split { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero__inner { padding-top: 6rem; }
}

/* Planner (plan.html) */
.pnav { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: .85rem 1rem; background: color-mix(in srgb, var(--cream) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pnav .logo { color: var(--navy); justify-self: center; }
.pnav__back { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--navy); padding: .4rem .6rem .4rem .3rem; border-radius: 999px; transition: background .15s, opacity .2s; }
.pnav__back:hover { background: #fff; }
.pnav__back svg { width: 20px; height: 20px; }
.pnav__back.is-hidden { opacity: 0; pointer-events: none; }
.pnav__close { justify-self: end; font-size: .85rem; color: var(--muted); text-decoration: none; }
.dots { display: flex; justify-content: center; gap: .4rem; padding: .35rem 0 .9rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bone-2); transition: all .3s var(--ease); }
.dot.is-done { background: var(--fjord-2); }
.dot.is-on { width: 22px; border-radius: 4px; background: var(--navy-2); }
.dots.is-hidden { visibility: hidden; }
.stage { width: min(880px, 100% - 2rem); margin: 0 auto; padding-bottom: 5rem; overflow: visible; }
.screen { will-change: transform, opacity; }
.q-title { font-size: clamp(1.85rem, 4.6vw, 2.7rem); color: var(--navy); margin: .6rem 0 .5rem; }
.q-sub { color: var(--ink-2); font-size: 1.02rem; max-width: 50ch; margin-bottom: 1.6rem; }
.q-sub b { font-weight: 600; color: var(--navy); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; width: 100%; text-align: left; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--bone); transition: transform .25s var(--ease), box-shadow .25s; animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile:active { transform: scale(.985); }
.tile.is-on { box-shadow: 0 0 0 2px var(--navy-2), var(--shadow); }
.tile__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--bone); }
.tile__body { padding: .7rem .8rem .85rem; }
.tile__name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.15; color: var(--navy); }
.tile__meta { font-size: .76rem; color: var(--muted); margin-top: .3rem; line-height: 1.35; }
.tile--plain { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; }
.tile--plain .tile__body { padding: 0; }
.tile--plain svg { width: 28px; height: 28px; flex: none; color: var(--fjord); }

.choices { display: grid; gap: .6rem; }
.choice { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; background: #fff; padding: 1rem 1.1rem; border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--bone); transition: transform .2s var(--ease), box-shadow .2s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.choice:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.choice.is-on { box-shadow: 0 0 0 2px var(--navy-2); }
.choice svg { width: 30px; height: 30px; flex: none; color: var(--fjord); }
.choice__name { font-weight: 600; font-size: 1.02rem; }
.choice__sub { font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.choice__arrow { margin-left: auto; color: var(--bone-2); }
.choices--2 { grid-template-columns: 1fr 1fr; }
.choices--2 .choice { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.1rem; }

.bigstep { background: #fff; border-radius: var(--r-lg); padding: 1.6rem 1.4rem; box-shadow: 0 1px 0 var(--bone); animation: rise .5s var(--ease) both; }
.bigstep .stepper { justify-content: center; gap: 2rem; }
.bigstep .stepper__btn { width: 56px; height: 56px; font-size: 1.7rem; }
.bigstep .stepper__n { font-size: 4rem; }
.bigstep .fit { margin-top: 1.4rem; }
.bigstep .fit__thumb { width: 88px; height: 64px; }
.note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.cta-row { margin-top: 1.4rem; display: flex; gap: .7rem; flex-wrap: wrap; }

/* Proposal */
.proposal { display: grid; gap: .9rem; }
.pcard { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--bone); animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms); }
.pcard__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.pcard__body { padding: 1rem 1.1rem 1.15rem; }
.pcard__k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--fjord); margin-bottom: .35rem; }
.pcard h3 { font-size: 1.45rem; color: var(--navy); }
.pcard p { color: var(--ink-2); font-size: .95rem; margin-top: .35rem; }
.specs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.spec { font-size: .8rem; padding: .32rem .6rem; border-radius: 999px; background: var(--ice); color: var(--navy); font-weight: 500; }
.route { background: var(--ice); }
.route svg { width: 100%; height: auto; display: block; }
.route .pcard__body { padding-top: .9rem; }
.price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.price__n { font-family: var(--serif); font-size: 2.1rem; color: var(--navy); line-height: 1; }
.price__s { font-size: .9rem; color: var(--muted); }
.included { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.included li { display: flex; gap: .55rem; font-size: .92rem; color: var(--ink-2); }
.included li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: .2rem; border-radius: 50%; background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.summary { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; }
.summary .chip { background: #fff; }
.instant { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--ok); font-weight: 600; margin-bottom: .6rem; }
.instant i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 125, 79, .18); }
.saved { font-size: .82rem; color: var(--muted); margin-top: .6rem; }

/* Form */
.form { display: grid; gap: 1rem; background: #fff; padding: 1.3rem; border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--bone); animation: rise .5s var(--ease) both; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; padding: .85rem .9rem; border: 1.5px solid var(--bone-2); border-radius: 8px; background: #fff; font-size: 1.02rem; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fjord); box-shadow: 0 0 0 3px rgba(46, 111, 142, .18); }
.field input.is-filled { animation: pop .3s var(--ease); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.fine { font-size: .78rem; color: var(--muted); }

/* Done */
.done { text-align: center; padding-top: 1rem; }
.done__check { width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--navy-2); display: grid; place-items: center; animation: pop .5s var(--ease) both; }
.done__check svg { width: 36px; height: 36px; }
.timeline { text-align: left; background: #fff; border-radius: var(--r-lg); padding: .5rem 1.2rem; margin-top: 1.6rem; box-shadow: 0 1px 0 var(--bone); }
.tl { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid var(--cream); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 250ms); }
.tl:last-child { border-bottom: 0; }
.tl b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--fjord); line-height: 1.2; }
.tl strong { display: block; font-weight: 600; }
.tl span { display: block; font-size: .9rem; color: var(--ink-2); margin-top: .15rem; }

@media (max-width: 600px) {
  .tiles--3 { grid-template-columns: 1fr 1fr; }
  .choices--2 { grid-template-columns: 1fr; }
  .choices--2 .choice { flex-direction: row; align-items: center; }
  .bigstep .stepper { gap: 1.2rem; }
  .bigstep .stepper__n { font-size: 3.4rem; }
  .pnav { padding: .7rem .75rem; }
  .pnav__back span { display: none; }
}

/* Chips and badges, shared */
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 500; padding: .3rem .65rem; border-radius: 999px; background: var(--ice); color: var(--navy); white-space: nowrap; }
.chip small { font-weight: 600; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.chip--miss { background: transparent; box-shadow: inset 0 0 0 1px var(--bone-2); color: var(--muted-2); }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 4px; white-space: nowrap; }
.badge--ny { background: #fff1cf; color: #7a4e00; }
.badge--utkast { background: var(--cream); color: var(--muted); box-shadow: inset 0 0 0 1px var(--bone-2); }
.badge--tilbud { background: var(--ice); color: var(--fjord); }
.badge--purret { background: #fde7e3; color: #9a3412; }
.badge--booket { background: #e2f3e8; color: var(--ok); }

/* Office (office.html) */
.office { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; background: var(--cream); }
.side { background: var(--navy); color: var(--fjord-2); padding: 1.3rem 1rem; display: flex; flex-direction: column; gap: 1.6rem; position: sticky; top: 0; height: 100vh; }
.side .logo { color: #fff; }
.side__nav { display: grid; gap: .15rem; }
.side__nav a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .62rem .75rem; border-radius: 6px; text-decoration: none; font-size: .92rem; }
.side__nav a:hover { background: rgba(255, 255, 255, .06); }
.side__nav a.is-on { background: var(--navy-2); color: #fff; }
.side__nav .n { font-size: .72rem; font-weight: 700; background: var(--live); color: var(--navy); padding: .1rem .45rem; border-radius: 999px; }
.side__foot { margin-top: auto; font-size: .78rem; line-height: 1.5; opacity: .8; }
.side__foot kbd { font: 600 .72rem var(--sans); background: rgba(255, 255, 255, .12); color: #fff; padding: .1rem .35rem; border-radius: 4px; }
.main { padding: 1.5rem 1.8rem 2.5rem; min-width: 0; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.topbar h1 { font-size: 2rem; color: var(--navy); }
.topbar p { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.counts { display: flex; gap: .5rem; flex-wrap: wrap; }
.count { background: #fff; border-radius: 8px; padding: .55rem .8rem; min-width: 104px; box-shadow: 0 1px 0 var(--bone); }
.count b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--navy); line-height: 1; }
.count span { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.demo-note { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--muted); background: #fff; padding: .4rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--bone); }
.demo-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.split2 { display: grid; grid-template-columns: minmax(380px, 460px) 1fr; gap: 1.2rem; align-items: start; }
.list { display: grid; gap: .55rem; }
.row { position: relative; width: 100%; text-align: left; background: #fff; border-radius: 10px; padding: .85rem .95rem; box-shadow: 0 1px 0 var(--bone); transition: box-shadow .2s, transform .2s; }
.row:hover { box-shadow: var(--shadow); }
.row.is-on { box-shadow: 0 0 0 2px var(--navy-2); }
.row.is-new { animation: glow 2.6s ease-out both, rise .5s var(--ease) both; }
.row__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.row__name { font-weight: 600; font-size: 1rem; }
.row__time { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.row__chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.row__chips .chip { font-size: .74rem; padding: .22rem .5rem; }
.meter { display: flex; align-items: center; gap: .55rem; margin-top: .6rem; font-size: .74rem; color: var(--muted); }
.meter__bar { flex: 1; height: 5px; border-radius: 3px; background: var(--cream); overflow: hidden; }
.meter__bar i { display: block; height: 100%; border-radius: 3px; background: var(--fjord); transition: width .6s var(--ease); }
.meter.is-hi .meter__bar i { background: var(--ok); }
.meter.is-lo .meter__bar i { background: var(--warn); }
.row__follow { font-size: .76rem; color: var(--ink-2); margin-top: .45rem; }
.detail { background: #fff; border-radius: 12px; padding: 1.35rem 1.5rem 1.5rem; box-shadow: 0 1px 0 var(--bone); position: sticky; top: 1.2rem; animation: fadeIn .3s both; }
.detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.detail h2 { font-size: 1.65rem; color: var(--navy); }
.detail__sub { font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.detail__sub a { color: var(--fjord); }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.1rem 0; }
.kv div { background: var(--cream); border-radius: 8px; padding: .7rem .8rem; }
.kv b { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kv span { display: block; font-weight: 600; margin-top: .2rem; font-size: .95rem; }
.detail .chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.draft label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 1.2rem 0 .4rem; }
.draft textarea { width: 100%; min-height: 300px; padding: .95rem 1rem; border: 1.5px solid var(--bone); border-radius: 8px; font-size: .93rem; line-height: 1.55; resize: vertical; color: var(--ink); background: #fff; }
.draft textarea:focus { outline: none; border-color: var(--fjord); }
.actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .9rem; }
.actions .btn { padding: .7rem 1rem; font-size: .88rem; }
.empty { color: var(--muted); padding: 3rem 1rem; text-align: center; }
.copied { font-size: .8rem; color: var(--ok); align-self: center; }
@media (max-width: 1100px) { .split2 { grid-template-columns: 1fr; } .detail { position: static; } }
@media (max-width: 760px) { .office { grid-template-columns: 1fr; } .side { position: static; height: auto; } .main { padding: 1rem; } .kv { grid-template-columns: 1fr 1fr; } }
