/* Demo Site 4 · Deniz Arslan · minimal editorial / Swiss */
:root {
  --paper: #ffffff;
  --mist: #f3f4f6;
  --ink: #0d0e12;
  --graphite: #555a65;
  --rule: #dcdee3;
  --blue: #1f3cff;
  --blue-d: #142ad8;
  --blue-t: #e9edff;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --bar: 40px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 80px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding-top: var(--bar);
  background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 50px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }

/* demo bar */
.demobar { position: fixed; inset: 0 0 auto; height: var(--bar); z-index: 120; background: var(--ink); color: #e9eaee; font-size: 13px; }
.demobar__in { height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demobar__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.demobar__txt strong { color: #fff; font-weight: 600; }
.demobar a { text-decoration: none; white-space: nowrap; }
.demobar__back:hover { color: #fff; text-decoration: underline; }
.demobar__cta { background: var(--blue); color: #fff; padding: 5px 12px; font-weight: 600; transition: background .2s; }
.demobar__cta:hover { background: #3a55ff; }

/* nav */
.nav { position: sticky; top: var(--bar); z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.02em; font-stretch: 85%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt b { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand__txt small { font-family: var(--mono); font-size: 11px; color: var(--graphite); letter-spacing: .03em; }
.nav__links { display: flex; gap: 22px; font-size: 15px; }
.nav__links a { text-decoration: none; position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); background: #fff; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 0; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.link-u { font-weight: 500; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) 0 100%/100% 1px no-repeat; padding-bottom: 2px; }
.link-u:hover { color: var(--blue); background-image: linear-gradient(var(--blue), var(--blue)); }

/* hero */
.hero { padding: clamp(48px, 8vw, 112px) 0 0; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: end; }
.hero__copy { grid-column: 1 / span 7; }
.hero__fig { grid-column: 8 / span 5; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); margin-bottom: 28px; }
.eyebrow .dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.hero__title { font-size: clamp(2.7rem, 7.4vw, 7rem); line-height: .94; font-weight: 600; font-stretch: 82%; letter-spacing: -.035em; overflow-wrap: break-word; }
.hero__title em { color: var(--blue); font-size: 1.08em; letter-spacing: -.01em; }
.hero__lead { max-width: 34em; margin-top: 32px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #2b2e35; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.fig__frame { border: 1px solid var(--ink); padding: 18px 14px 10px 6px; background: var(--paper); }
.fig figcaption, .portrait figcaption, .map figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--graphite); }
.fig figcaption .mono, .portrait figcaption .mono { color: var(--ink); margin-right: 8px; }
.chart { width: 100%; height: auto; overflow: hidden; }
.chart text { font-family: var(--mono); font-size: 13px; fill: var(--graphite); }
.chart__grid line { stroke: var(--rule); stroke-dasharray: 2 4; }
.chart__axis line { stroke: var(--ink); }
.c { fill: none; stroke-linecap: round; }
.c1 { stroke: var(--ink); stroke-width: 2; }
.c2 { stroke: #8b909b; stroke-width: 2; stroke-dasharray: 6 5; }
.c3 { stroke: var(--blue); stroke-width: 4; }
.chart__cover { fill: var(--paper); animation: sweep 2.2s var(--ease) .35s both; }
.chart__labels text { animation: fade .6s ease both; }
.chart__labels .l1 { fill: var(--ink); animation-delay: .9s; }
.chart__labels .l2 { animation-delay: 1.1s; }
.chart__labels .l3 { fill: var(--blue); font-weight: 500; animation-delay: 1.3s; }
.chart__mark { animation: fade .5s ease 2.3s both; }
.chart__mark .core { fill: var(--blue); }
.chart__mark .pulse { fill: var(--blue); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out 2.6s infinite; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(560px); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: .45; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ink); }
.facts > div { padding: 18px 20px 26px 0; border-right: 1px solid var(--rule); }
.facts > div + div { padding-left: 20px; }
.facts > div:last-child { border-right: 0; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); margin-bottom: 6px; }
.facts dd { font-weight: 500; font-size: 16.5px; }

/* sections */
.sec { padding: clamp(80px, 10vw, 144px) 0; border-top: 1px solid var(--rule); }
.hero + .sec { border-top: 0; }
.sec--mist { background: var(--mist); }
.sec--ink { background: var(--ink); color: #f3f4f6; border-top-color: var(--ink); }
.sh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; margin-bottom: clamp(48px, 6vw, 88px); }
.sh__no { grid-column: 1 / span 3; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--ink); align-self: start; }
.sh__no span { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.sh__title { grid-column: 4 / -1; font-size: clamp(2rem, 4.2vw, 3.9rem); line-height: 1.02; font-weight: 600; font-stretch: 85%; letter-spacing: -.03em; max-width: 15em; overflow-wrap: break-word; }
.sh__title em { color: var(--blue); }
.sec--ink .sh__no { color: #a3a8b3; border-top-color: #fff; }
.sec--ink .sh__no span, .sec--ink .sh__title em { color: #8fa0ff; }
.lead { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; margin-bottom: 22px; }
.mini { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 48px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }

/* about */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
.portrait { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--bar) + 100px); }
.portrait__tile { aspect-ratio: 4 / 5; background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 25% 20%; display: flex; align-items: flex-end; padding: 18px; overflow: hidden; }
.portrait__tile span { color: #fff; font-weight: 700; font-stretch: 75%; font-size: clamp(7rem, 16vw, 13rem); line-height: .78; letter-spacing: -.06em; transition: transform .6s var(--ease); }
.portrait:hover .portrait__tile span { transform: translateY(-8px); }
.about__body { grid-column: 6 / -1; max-width: 42em; }
.about__body > p:not(.lead) { color: #2b2e35; margin-bottom: 16px; }
.cv li { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule); transition: padding .3s var(--ease); }
.cv__y { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.cv__t { font-weight: 500; }
.cv__s { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); border: 1px solid var(--rule); padding: 2px 7px; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.area { position: relative; padding: 30px 28px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--mist); display: flex; flex-direction: column; gap: 12px; min-height: 280px; overflow: hidden; }
.area::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.area > * { position: relative; z-index: 1; }
.area:hover::before { transform: scaleY(1); }
.area__k { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.area h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-stretch: 88%; }
.area p { color: #3a3e47; font-size: 15.5px; }
.area__m { margin-top: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--graphite); padding-top: 14px; border-top: 1px solid var(--rule); }

/* approach */
.approach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ap { border-top: 3px solid var(--ink); padding-top: 22px; }
.ap + .ap { border-top-color: var(--blue); }
.ap__tag { color: var(--graphite); margin-bottom: 16px; }
.ap h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; font-stretch: 88%; margin-bottom: 16px; max-width: 16em; }
.ap > p:not(.ap__tag) { color: #2b2e35; max-width: 34em; }
.tri { width: 100%; max-width: 340px; margin-top: 28px; }
.tri__line { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.tri__dot { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.tri__dot--b { fill: var(--blue); stroke: var(--blue); }
.tri text { font-family: var(--mono); font-size: 13px; fill: var(--ink); }
.ap__list { margin-top: 24px; }
.ap__list li { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: #3a3e47; }
.ap__list b { color: var(--ink); font-weight: 600; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan { background: var(--paper); border: 1px solid var(--rule); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--ink); }
.plan--hi { border-color: var(--blue); box-shadow: inset 0 4px 0 var(--blue); }
.plan--hi:hover { border-color: var(--blue); }
.plan__k { color: var(--blue); }
.plan h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.plan__p { display: flex; flex-direction: column; padding: 14px 0; border-block: 1px solid var(--rule); }
.plan__p b { font-size: 2.6rem; font-weight: 600; letter-spacing: -.035em; font-stretch: 85%; line-height: 1.05; }
.plan__p span { font-family: var(--mono); font-size: 12px; color: var(--graphite); }
.plan > p:not([class]) { color: #3a3e47; font-size: 15.5px; flex: 1; }
.plan .btn { align-self: flex-start; }
.note { margin-top: 32px; font-size: 14.5px; color: var(--graphite); max-width: 52em; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); counter-reset: s; }
.step { padding: 26px 24px 30px 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--rule); }
.step__n { font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 600; line-height: .9; letter-spacing: -.05em; font-stretch: 75%; color: var(--blue); }
.step h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.step p { color: #3a3e47; font-size: 15.5px; }
.step__t { color: var(--graphite); margin-top: auto; }

/* posts */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; background: var(--paper); padding: 24px; border: 1px solid var(--rule); transition: border-color .3s; }
.post:hover { border-color: var(--ink); }
.post__meta { display: flex; justify-content: space-between; color: var(--graphite); }
.post__meta span:first-child { color: var(--blue); }
.post__art { width: 100%; height: auto; aspect-ratio: 5 / 2; background: var(--mist); }
.post__art path, .post__art circle { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.post__art circle:last-child { stroke: var(--blue); }
.post h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.post p { color: #3a3e47; font-size: 15px; flex: 1; }
.post__go { font-weight: 600; font-size: 14.5px; color: var(--blue); }
.post__go span { display: inline-block; transition: transform .3s var(--ease); }
.post:hover .post__go span { transform: translateX(5px); }

/* faq */
.faq { border-top: 1px solid var(--ink); max-width: 980px; margin-left: auto; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item h3 { font-size: inherit; }
.faq__item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; background: none; border: 0; text-align: left; font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 500; letter-spacing: -.01em; }
.faq__item button:hover { color: var(--blue); }
.faq__ic { flex: none; width: 28px; height: 28px; position: relative; border: 1px solid currentColor; border-radius: 50%; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq__ic::after { transform: rotate(90deg); }
.faq__item button[aria-expanded="true"] .faq__ic::after { transform: rotate(0); }
.faq__a { padding: 0 48px 26px 0; color: #2b2e35; max-width: 46em; animation: fade .35s ease; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
.contact__info { grid-column: 1 / span 5; }
.map { grid-column: 7 / -1; }
.cl > div { padding: 16px 0; border-bottom: 1px solid #2c2f38; }
.cl > div:first-child { border-top: 1px solid #fff; }
.cl dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #a3a8b3; margin-bottom: 4px; }
.cl dd { font-size: 17px; }
.cl a { text-decoration: none; background: linear-gradient(#8fa0ff, #8fa0ff) 0 100%/0 1px no-repeat; transition: background-size .3s var(--ease); }
.cl a:hover { background-size: 100% 1px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.map svg { width: 100%; height: auto; border: 1px solid #2c2f38; }
.map__bg { fill: #16181e; }
.map__sea { fill: #1f3cff; opacity: .55; }
.map__st path { stroke: #2f333d; stroke-width: 1.5; fill: none; }
.map__main { stroke: #6b7180; stroke-width: 4; fill: none; }
.map__lbl { font-family: var(--mono); font-size: 12px; fill: #a3a8b3; }
.map__name { font-family: var(--mono); font-size: 13px; fill: #fff; }
.map__pin { fill: #fff; }
.map__halo { fill: none; stroke: #fff; stroke-width: 1.5; opacity: .6; }
.map figcaption { color: #a3a8b3; }

/* footer */
.foot { background: var(--ink); color: #c9ccd3; padding: 0 0 40px; font-size: 14.5px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px 0 28px; border-top: 1px solid #2c2f38; }
.foot__brand b { color: #fff; font-weight: 600; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: #fff; text-decoration: underline; }
.foot__sos { padding: 18px 20px; border: 1px solid #3a3e48; border-left: 3px solid #8fa0ff; color: #e3e5ea; max-width: 60em; }
.foot__sos strong { color: #fff; }
.foot__sos a { color: #fff; font-weight: 600; }
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; color: #9298a4; font-size: 13px; }
.foot__bot a { color: #fff; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-io .rv { opacity: 1; transform: none; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 320; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14.5px; border-left: 3px solid var(--blue); transition: opacity .25s, transform .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* booking panel */
.bk { position: fixed; inset: 0; z-index: 300; }
.bk[hidden] { display: none; }
.bk__scrim { position: absolute; inset: 0; background: rgba(13,14,18,.5); opacity: 0; transition: opacity .35s ease; }
.bk__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.bk.is-open .bk__scrim { opacity: 1; }
.bk.is-open .bk__panel { transform: none; }
.bk__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 28px 18px; }
.bk__kicker { color: var(--blue); margin-bottom: 4px; }
.bk__head h2 { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; font-stretch: 85%; line-height: 1.1; }
.bk__x { width: 44px; height: 44px; border: 1px solid var(--rule); background: #fff; font-size: 26px; line-height: 1; transition: border-color .2s, transform .3s var(--ease); }
.bk__x:hover { border-color: var(--ink); transform: rotate(90deg); }
.bk__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 0 28px; }
.bk__steps li { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--graphite); position: relative; padding-top: 10px; }
.bk__steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--rule); }
.bk__steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.bk__steps li.is-on, .bk__steps li.is-done { color: var(--ink); }
.bk__steps li.is-on::after, .bk__steps li.is-done::after { transform: scaleX(1); }
.bk__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px; }
.bk__step { border: 0; margin: 0; padding: 0; min-width: 0; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.bk__step legend, .bk__q { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 16px; padding: 0; }
.opt { display: block; margin-bottom: 10px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__c { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 20px; border: 1px solid var(--rule); transition: border-color .2s, background .2s; }
.opt__c b { font-weight: 600; }
.opt__c small { grid-column: 1; font-size: 14px; color: var(--graphite); }
.opt__c em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--mono); font-style: normal; font-size: 14px; }
.opt:hover .opt__c { border-color: var(--ink); }
.opt input:checked + .opt__c { border-color: var(--blue); background: var(--blue-t); box-shadow: inset 4px 0 0 var(--blue); }
.opt input:focus-visible + .opt__c { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt input:disabled + .opt__c { opacity: .4; cursor: not-allowed; }
.opt__ic { color: var(--blue); font-size: 18px !important; }
.bk__hint { font-size: 14px; color: var(--graphite); margin-top: 6px; }
.cal { border: 1px solid var(--rule); padding: 12px; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--graphite); text-align: center; padding-bottom: 6px; }
.cal__m { grid-column: 1 / -1; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); padding: 8px 2px 4px; }
.day { aspect-ratio: 1; min-height: 40px; border: 1px solid var(--rule); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; position: relative; transition: border-color .15s, background .15s, color .15s; }
.day:hover:not(:disabled) { border-color: var(--ink); }
.day small { font-family: var(--mono); font-size: 9.5px; color: var(--graphite); line-height: 1; }
.day:disabled { cursor: not-allowed; color: #a7abb4; background: var(--mist); border-color: transparent; }
.day.is-full:disabled { background: repeating-linear-gradient(135deg, var(--mist) 0 4px, #e6e8ec 4px 6px); }
.day.is-blank { visibility: hidden; }
.day[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.day[aria-pressed="true"] small { color: #dfe4ff; }
.bk__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 26px; color: var(--graphite); font-size: 11px; }
.lg { width: 12px; height: 12px; display: inline-block; border: 1px solid var(--rule); margin-right: -8px; vertical-align: -2px; }
.lg--free { background: #fff; } .lg--full { background: repeating-linear-gradient(135deg, var(--mist) 0 3px, #d9dce2 3px 5px); } .lg--off { background: var(--mist); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots__empty { grid-column: 1 / -1; color: var(--graphite); font-size: 15px; padding: 14px; border: 1px dashed var(--rule); }
.slot { min-height: 44px; border: 1px solid var(--rule); background: #fff; font-family: var(--mono); font-size: 14px; transition: border-color .15s, background .15s; }
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot:disabled { text-decoration: line-through; color: #a7abb4; background: var(--mist); border-color: transparent; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.opt-l { font-weight: 400; color: var(--graphite); }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #b9bdc6; border-radius: 0; background: #fff; color: var(--ink); transition: border-color .2s; }
.fld textarea { resize: vertical; min-height: 88px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.fld input[aria-invalid="true"] { border-color: #c4262e; }
.fld__err { color: #b3121b; font-size: 13.5px; margin-top: 4px; min-height: 0; }
.fld__err:empty { display: none; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #3a3e47; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.bk__done { text-align: left; outline: none; }
.done__mark { width: 64px; height: 64px; background: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.done__mark svg { width: 36px; height: 36px; }
.done__mark path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: square; }
.bk__done h3 { font-size: 1.7rem; font-weight: 600; letter-spacing: -.025em; margin-bottom: 8px; }
.bk__done > p { color: var(--graphite); }
.sum { margin: 24px 0 16px; border-top: 1px solid var(--ink); }
.sum div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.sum dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); padding-top: 3px; }
.sum dd { font-weight: 500; overflow-wrap: anywhere; }
.sum .ref dd { font-family: var(--mono); color: var(--blue); font-size: 17px; letter-spacing: .04em; }
.bk__demo { color: var(--graphite); }
.bk__foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 28px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: #fff; }
.bk__foot .btn { flex: 0 1 auto; }
.bk__foot #bkNext { margin-left: auto; min-width: 150px; }

/* anim pause */
.anim-off, .anim-off * { animation-play-state: paused !important; }

/* responsive */
@media (max-width: 1100px) {
  .nav__links { gap: 16px; font-size: 14px; }
}
@media (max-width: 980px) {
  .nav__burger { display: block; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--ink); padding: 8px var(--gut) 16px; font-size: 18px; display: none; }
  .nav__links.is-open { display: flex; animation: fade .25s ease; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav__links a::after { display: none; }
  .hero__copy, .hero__fig { grid-column: 1 / -1; }
  .hero__fig { margin-top: 48px; max-width: 640px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(3) { padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .sh__no { grid-column: 1 / -1; flex-direction: row; gap: 14px; }
  .sh__title { grid-column: 1 / -1; }
  .portrait { grid-column: 1 / span 5; position: static; }
  .about__body { grid-column: 6 / -1; }
  .areas, .plans, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .contact__info, .map { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .demobar { font-size: 12px; }
  .demobar__in { gap: 8px; }
  .demobar__cta { padding: 5px 9px; }
  .nav__in { height: 64px; gap: 10px; }
  .nav__cta { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .brand__txt small { display: none; }
  .about { grid-template-columns: 1fr; }
  .portrait, .about__body { grid-column: 1; }
  .portrait { max-width: 340px; }
  .areas, .plans, .posts, .approach, .steps { grid-template-columns: 1fr; }
  .area { min-height: 0; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--rule); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; }
  .step__n { grid-row: 1 / span 3; font-size: 3.4rem; }
  .ap + .ap { margin-top: 40px; }
  .ap__list li { grid-template-columns: 1fr; gap: 2px; }
  .cv li { grid-template-columns: 48px 1fr; }
  .cv__s { display: none; }
  .faq__a { padding-right: 0; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .bk__head { padding: 18px 18px 14px; }
  .bk__steps, .bk__body { padding-left: 18px; padding-right: 18px; }
  .bk__steps li { font-size: 9.5px; letter-spacing: 0; }
  .bk__foot { padding-left: 18px; padding-right: 18px; }
  .sum div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 420px) {
  .demobar__back { font-size: 0; }
  .demobar__back::before { content: "← Demolar"; font-size: 12px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 14px 0; border-right: 0; }
  .facts > div + div { border-top: 1px solid var(--rule); }
  .brand__mark { width: 36px; height: 36px; font-size: 14px; }
  .brand__txt b { font-size: 15.5px; }
  .day { min-height: 36px; font-size: 14px; }
  .bk__steps li span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .chart__mark .pulse { display: none; }
}

/* demo dock theme */
:root { --dd-bg: #ffffff; --dd-fg: #0d0e12; --dd-line: #dcdee3; --dd-accent: #1f3cff; --dd-accent-fg: #ffffff; --dd-font: "Instrument Sans", system-ui, sans-serif; --dd-toast-accent: #8fa0ff; }
