/* N2QSoft — shared design system. Architectural minimalism: ivory, graphite, matte black. */
:root {
  --black: #141414;
  --graphite: #303030;
  --stone: #777773;          /* lines and large decorative type only: 4.1:1 on ivory */
  --muted: #5c5c58;          /* secondary body text, 6:1 on ivory */
  --line: #e4e2dd;
  --ivory: #f5f4f0;
  --white: #fcfbf9;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --header: 84px;
  --radius: 22px;
  --shadow: 0 24px 60px -28px rgba(38, 32, 22, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--graphite); font: 400 1rem/1.65 var(--font); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { color: var(--black); margin: 0; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 2.9vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.012em; }
p { margin: 0; text-wrap: pretty; }
ul { padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100%, calc(var(--wrap) + 2 * var(--gutter))); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--black); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lead { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.65; max-width: 34em; }
.muted { color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: .75rem; font-weight: 650; letter-spacing: .24em; text-transform: uppercase; color: var(--graphite); }
.eyebrow::before { content: ""; width: 38px; height: 1.5px; background: currentColor; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .9375rem; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--go { transform: translateX(3px); }
.btn--dark { background: var(--black); color: #fff; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6); }
.btn--dark:hover { background: var(--graphite); }
.btn--light { background: var(--white); color: var(--black); border-color: #d9d6cf; box-shadow: 0 10px 22px -18px rgba(0, 0, 0, .5); }
.btn--light:hover { background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(245, 244, 240, 0); transition: background-color .25s; }
.header.is-stuck { border-color: rgba(20, 20, 20, .07); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .35); }
.header.is-stuck::before { background: rgba(245, 244, 240, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.logo { justify-self: start; display: block; border-radius: 6px; }
.logo img { width: 88px; }
.nav { display: flex; gap: 6px; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; font-size: .9375rem; font-weight: 550; color: var(--black); text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: rgba(20, 20, 20, .055); }
.nav a[aria-current] { background: rgba(20, 20, 20, .085); font-weight: 650; }
.header .btn { justify-self: end; min-height: 42px; padding: 0 20px; }
.header .icon { width: 17px; height: 17px; }

/* ---------- home hero: an architectural room built from CSS ---------- */
.hero { position: relative; margin-top: calc(var(--header) * -1); padding: calc(var(--header) + 40px) 0 60px; min-height: max(640px, min(70vh, 700px)); display: flex; align-items: center; isolation: isolate; overflow: hidden; background: linear-gradient(100deg, #f6f5f1 0%, #f1efea 46%, #e6e3dc 100%); }
.hero__copy { position: relative; z-index: 2; max-width: 660px; }
.hero h1 { font-size: clamp(2.25rem, 1.1rem + 2.85vw, 3.375rem); }
.hero h1 span { display: block; }
.hero .lead, .hero .principles { max-width: 36em; }
.hero .lead { margin-top: 22px; max-width: 31em; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.principles li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: start; }
.principles .icon { width: 28px; height: 28px; grid-row: span 2; stroke-width: 1.35; margin-top: 2px; }
.principles strong { font-size: .875rem; color: var(--black); line-height: 1.35; }
.principles span { font-size: .8125rem; line-height: 1.45; color: var(--muted); }

.room { position: absolute; z-index: 0; inset: 0 0 0 43%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 17%); mask-image: linear-gradient(90deg, transparent, #000 17%); }
.room > * { position: absolute; display: block; }
.room__wall { inset: 0; background: linear-gradient(112deg, #eeece7 0%, #dedbd4 55%, #bdb9b0 100%); }
.room__niche { left: 9%; right: -8%; top: 7%; bottom: 17%; border-radius: clamp(120px, 17vw, 270px) 0 0 0; background: linear-gradient(100deg, #cfccc4, #e2dfd8 12%, #d9d6cf); box-shadow: -34px 8px 70px -10px rgba(70, 58, 40, .18); }
.room__arch { left: 15%; right: -8%; top: 12%; bottom: 17%; border-radius: clamp(100px, 15vw, 236px) 0 0 0; background: linear-gradient(118deg, #ebe9e4 8%, #e6e3dd 48%, #cbc7be 100%); box-shadow: inset 18px 18px 40px -22px rgba(70, 58, 40, .38), inset 2px 2px 0 rgba(255, 255, 255, .55); }
.room__light { inset: -10% -10% 0 -10%; pointer-events: none; background:
    linear-gradient(122deg, transparent 29%, rgba(255, 251, 240, .62) 33.5%, rgba(255, 251, 240, .62) 38%, transparent 42%),
    linear-gradient(122deg, transparent 45%, rgba(255, 251, 240, .5) 48%, rgba(255, 251, 240, .5) 50%, transparent 54%),
    linear-gradient(122deg, transparent 57%, rgba(255, 251, 240, .28) 61%, transparent 70%),
    radial-gradient(60% 45% at 30% 8%, rgba(255, 252, 244, .75), transparent 70%); }
.room__shade { inset: 0; pointer-events: none; background: linear-gradient(235deg, rgba(40, 34, 24, .26), transparent 36%); }
.room__floor { left: 0; right: 0; bottom: 0; height: 17.2%; background: linear-gradient(180deg, #cdc9c0 0, #dcd9d2 14%, #ebe9e3 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.room__plinth { left: 22%; right: 4%; bottom: 6.5%; height: 15%; }
.room__plinth::before { content: ""; position: absolute; left: 0; right: 0; top: 24%; bottom: 0; border-radius: 0 0 50% 50% / 0 0 46% 46%; background: linear-gradient(90deg, #c4c0b7, #e7e4de 30%, #d6d2ca 66%, #b4afa5); box-shadow: 0 30px 36px -14px rgba(60, 50, 34, .36); }
.room__plinth::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52%; border-radius: 50%; background: linear-gradient(105deg, #f7f5f1, #e4e1da); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .8); }
.room__logo { left: 22%; right: 7%; top: 25%; z-index: 1; filter: drop-shadow(0 22px 22px rgba(60, 48, 30, .16)); }
.room__logo img { width: 100%; max-width: 560px; margin-inline: auto; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: clamp(44px, 5vw, 68px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }

/* ---------- product showcase ---------- */
.showcase { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: 24px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(20, 20, 20, .06); background: radial-gradient(90% 120% at 100% 0%, #bfe2ff 0%, transparent 58%), radial-gradient(70% 100% at 55% 110%, #ffe1b5 0%, transparent 62%), #f2f7fb; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.showcase:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.showcase__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.showcase__id { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.showcase__id img { width: 76px; border-radius: 18px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .45); }
.showcase h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.showcase p { max-width: 30em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(20, 20, 20, .08); font-size: .8125rem; font-weight: 550; }
.showcase__stage { position: relative; min-height: 430px; }
.showcase__stage .shot { position: absolute; width: 33%; max-width: 218px; border: 6px solid #191b20; border-width: 12px 6px; border-radius: 24px; box-shadow: 0 30px 40px -22px rgba(10, 30, 60, .55); background: #191b20; transition: transform .5s var(--ease); }
.showcase__stage .shot img { border-radius: 10px; width: 100%; }
.shot--a { left: 4%; top: 74px; transform: rotate(-7deg); }
.shot--b { left: 33%; top: 32px; z-index: 2; }
.shot--c { left: 62%; top: 82px; transform: rotate(7deg); }
.showcase:hover .shot--a { transform: rotate(-9deg) translate(-8px, -6px); }
.showcase:hover .shot--b { transform: translateY(-12px); }
.showcase:hover .shot--c { transform: rotate(9deg) translate(8px, -6px); }
.showcase__stage .buddy { position: absolute; z-index: 3; width: 86px; filter: drop-shadow(0 12px 12px rgba(20, 40, 70, .28)); }
.buddy--1 { left: 1%; bottom: 18px; }
.buddy--2 { right: 3%; top: 26px; width: 74px !important; }

/* ---------- studio ---------- */
.studio--text { align-items: start; }
.studio--text .makes { margin-top: 0; }
.section--feature { padding-block: clamp(52px, 5.5vw, 76px); }
.studio { display: grid; grid-template-columns: 11fr 10fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.frame { margin: 0; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.frame img { width: 100%; border-radius: 12px; }
.studio .lead { margin-top: 18px; }
.makes { list-style: none; margin-top: 30px; border-top: 1px solid #d8d5ce; }
.makes li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid #d8d5ce; }
.makes strong { color: var(--black); }

.band { background: var(--black); color: #e4e2dd; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -6%; top: 22%; width: 38%; height: 130%; border-radius: 240px 240px 0 0; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015)); }
.band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.band h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.band p { color: #bebcb6; margin-top: 8px; }
.band .btn--light { border-color: transparent; }
.band :focus-visible { outline-color: #fff; }

/* ---------- footer ---------- */
.footer { background: #ebe9e4; border-top: 1px solid #dcd9d2; padding-block: 56px 28px; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo img { width: 104px; }
.footer__about { max-width: 24em; margin-top: 16px; color: var(--muted); }
.footer h2 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li a { display: inline-block; padding: 5px 0; text-decoration: none; }
.footer li a:hover { text-decoration: underline; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #d5d2ca; color: var(--muted); font-size: .8125rem; }

/* ---------- inner pages ---------- */
.page-head { position: relative; margin-top: calc(var(--header) * -1); padding: calc(var(--header) + 64px) 0 64px; overflow: hidden; isolation: isolate; background: linear-gradient(100deg, #f6f5f1, #ebe9e3); }
.page-head::before, .page-head::after { content: ""; position: absolute; z-index: -1; bottom: 0; border-radius: 220px 0 0 0; }
.page-head::before { right: 0; width: 34%; height: 88%; background: linear-gradient(110deg, #e2dfd8, #d3cfc6); box-shadow: -24px 6px 50px -20px rgba(70, 58, 40, .28); }
.page-head::after { right: 0; width: 28%; height: 74%; background: linear-gradient(122deg, #efede8 20%, #dad7cf); box-shadow: inset 16px 16px 34px -22px rgba(70, 58, 40, .4); }
.page-head .lead { margin-top: 18px; }
.page-head h1 { max-width: 14em; }
.crumbs { margin: 0 0 18px; font-size: .875rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card p, .card ul { margin-top: 10px; }
.card ul { padding-left: 1.1em; }
.card .btn { margin-top: 20px; }
.email { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem); font-weight: 650; letter-spacing: -.015em; color: var(--black); overflow-wrap: anywhere; }

.doc { max-width: 740px; }
.doc h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin-top: 10px; }
.doc li + li { margin-top: 6px; }
.doc a { overflow-wrap: anywhere; }
.doc h3 { margin: 24px 0 8px; }
.doc ul + p, .doc .notice + p { margin-top: 12px; }
.doc .notice { margin-bottom: 24px; }
.doc .cards { margin-top: 16px; }
.doc .card > :first-child { margin-top: 0; }
.notice { border: 1px solid #d3cfc6; border-left: 3px solid var(--black); border-radius: 12px; background: var(--white); padding: 18px 22px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #d8d5ce; }
details.faq { border-bottom: 1px solid #d8d5ce; }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--black); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-bottom: 18px; }

.lost { min-height: 56vh; display: flex; align-items: center; }

/* ---------- motion ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.showcase.reveal { transition: opacity .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.layer { transform: translate3d(calc(var(--mx, 0) * var(--depth, 0) * 1px), calc(var(--my, 0) * var(--depth, 0) * 1px + var(--sy, 0) * var(--drift, 0) * 1px), 0); transition: transform .45s cubic-bezier(.2, .6, .3, 1); }
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: rise .9s var(--ease) both; animation-delay: var(--delay, 0s); }
  .slide { animation: slide .9s var(--ease) both; animation-delay: var(--delay, 0s); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes slide { from { transform: translateY(14px); } }
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* ---------- responsive ---------- */
@media (min-width: 861px) and (max-width: 1300px) {
  .room { inset: 0 0 0 52%; }
  .hero__copy { max-width: 50%; }
  .hero h1 { font-size: clamp(2.125rem, 1rem + 2.4vw, 2.875rem); }
  .hero h1 span { display: inline; }
  .room__logo { left: 18%; right: 6%; top: 29%; }
}
@media (max-width: 1080px) {
  .principles { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; max-width: 22em; }
  .room { inset: 0 0 0 46%; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__body { padding-bottom: 8px; }
}
@media (max-width: 860px) {
  .hero { display: block; padding: calc(var(--header) + 28px) 0 0; min-height: 0; background: #f4f3ef; }
  .hero__copy { max-width: 36em; }
  .hero h1 span { display: inline; }
  .room { position: relative; inset: auto; width: 100%; height: clamp(300px, 78vw, 440px); margin-top: 36px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%); mask-image: linear-gradient(180deg, transparent, #000 14%); }
  .room__niche { left: 6%; top: 6%; border-radius: 140px 0 0 0; }
  .room__arch { left: 11%; top: 12%; border-radius: 120px 0 0 0; }
  .room__logo { left: 23%; right: 19%; top: 15%; }
  .room__plinth { bottom: 5%; height: 13%; }
  .principles { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .page-head::before { width: 46%; height: 46%; opacity: .7; }
  .page-head::after { width: 38%; height: 36%; opacity: .7; }
}
@media (max-width: 700px) {
  :root { --header: 112px; }
  .header__inner { grid-template-columns: 1fr auto; grid-template-rows: 62px 42px; row-gap: 0; align-content: center; }
  .logo img { width: 72px; }
  .header .btn { grid-column: 2; grid-row: 1; min-height: 38px; padding: 0 16px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; margin-inline: -8px; }
  .nav a { min-height: 36px; padding: 0 14px; }
}
@media (max-width: 380px) {
  .nav a { padding: 0 9px; font-size: .875rem; }
  .header .btn { padding: 0 12px; font-size: .875rem; }
}
@media (max-width: 560px) {
  .showcase__stage { min-height: 300px; }
  .showcase__stage .shot { width: 36%; border-width: 8px 4px; border-radius: 16px; }
  .showcase__stage .shot img { border-radius: 7px; }
  .shot--a { left: 2%; top: 48px; }
  .shot--b { left: 32%; top: 18px; }
  .shot--c { left: 62%; top: 54px; }
  .showcase__stage .buddy { width: 60px; }
  .buddy--2 { width: 52px !important; top: 4px; }
  .actions .btn { flex: 1 1 100%; }
  .makes li { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .layer { transform: none; }
}
