:root {
  --ink: #0b0b09;
  --ink-soft: #23231d;
  --paper: #f4f1e8;
  --white: #fffdf8;
  --line: #d6d0c1;
  --muted: #706d64;
  --gold: #c99a20;
  --gold-bright: #e4b72f;
  --green: #526c58;
  --red: #9a4f46;
  --amber: #9a6b2f;
  --radius: 10px;
  --shadow: 0 22px 55px rgba(20, 18, 12, 0.1);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background-color: var(--paper); background-image: image-set(url("./assets/akari-paper-light.webp") type("image/webp"), url("./assets/akari-paper-light.png") type("image/png")); background-position: center top; background-size: cover; background-attachment: fixed; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { position: relative; cursor: pointer; transition: transform .12s ease, filter .15s ease, opacity .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
button:not(:disabled):active { transform: translateY(1px) scale(.985); filter: brightness(.94); }
button:disabled { cursor: not-allowed; }
html.action-pending, html.action-pending body { cursor: progress; }
html.action-pending button:not([aria-busy="true"]), html.action-pending a { cursor: progress; }
button[aria-busy="true"] { cursor: wait; opacity: .86; filter: saturate(.88); }
button[data-action-state="success"] { color: #263d2d; border-color: #74907b; background: #dfeadf; box-shadow: 0 0 0 3px rgba(82,108,88,.12); }
button[data-action-state="error"] { color: #6f2f28; border-color: #b07169; background: #f3e3e0; box-shadow: 0 0 0 3px rgba(154,79,70,.1); }
.button-spinner { width: 13px; height: 13px; display: inline-block; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: button-spin .7s linear infinite; }
.button-result { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 7px; font-weight: 900; }
@keyframes button-spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }

.public-site { min-height: 100vh; color: var(--ink); }
.public-header { min-height: 118px; padding: 0 clamp(28px, 4.2vw, 70px); display: flex; align-items: center; justify-content: space-between; }
.public-wordmark { color: var(--ink); text-decoration: none; font: 500 clamp(23px, 2.1vw, 31px) Georgia, "Times New Roman", serif; letter-spacing: -.015em; }
.public-login { border: 0; background: transparent; color: var(--ink); padding: 12px 0 12px 28px; font: 500 16px Georgia, serif; }
.public-login::after { content: ""; display: block; width: 0; height: 1px; margin-top: 4px; margin-left: auto; background: var(--gold); transition: width .2s ease; }
.public-login:hover::after { width: 100%; }
.public-main { width: 100%; }
.public-hero { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1.02fr); align-items: stretch; }
.public-hero-image { min-height: 520px; position: relative; overflow: hidden; background: #090908 url("./assets/akari-hero-dark.png") center / cover; box-shadow: 20px 25px 60px rgba(18,16,10,.13); }
.public-hero-image video { width: 100%; height: 100%; min-height: 520px; display: block; object-fit: cover; object-position: center; background: transparent; }
.video-frame { position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(218,172,45,.16); box-shadow: inset 0 0 80px rgba(0,0,0,.3); }
.public-hero-copy { padding: clamp(58px, 8vw, 120px) clamp(40px, 7vw, 110px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.public-hero-copy h1 { max-width: 650px; font-size: clamp(52px, 6vw, 88px); line-height: .98; letter-spacing: -.045em; }
.public-hero-copy > p:not(.eyebrow) { max-width: 570px; margin: clamp(42px, 7vw, 90px) 0 0; font: 600 clamp(16px, 1.5vw, 20px)/1.75 Georgia, serif; }
.public-portal-link { margin-top: 34px; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(133,98,10,.4); background: transparent; color: #765707; font-weight: 750; }
.public-portal-link span { display: inline-block; margin-left: 16px; transition: transform .18s ease; }
.public-portal-link:hover span { transform: translateX(5px); }
.public-statement { min-height: 920px; position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: 70px 24px; text-align: center; color: white; background: #070706 url("./assets/akari-hero-dark.png") center / cover; }
.public-statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, transparent 10%, rgba(0,0,0,.26) 75%), linear-gradient(115deg, rgba(0,0,0,.08), rgba(225,178,42,.08), rgba(0,0,0,.15)); }
.public-statement > div:not(.mirror-shard) { width: min(900px, 90vw); position: relative; z-index: 3; }
.mirror-shard { position: absolute; inset: -2%; z-index: 1; pointer-events: none; background: url("./assets/akari-hero-dark.png") center / cover; filter: contrast(1.07) saturate(1.06); opacity: .8; }
.shard-one { clip-path: polygon(0 0, 39% 0, 22% 100%, 0 100%); transform: translate(-1.1%, -.4%) scale(1.025); animation: shard-one 11s ease-in-out infinite alternate; }
.shard-two { clip-path: polygon(37% 0, 72% 0, 62% 100%, 20% 100%); transform: translate(.8%, .5%) scale(1.018); animation: shard-two 13s ease-in-out infinite alternate; }
.shard-three { clip-path: polygon(70% 0, 100% 0, 100% 100%, 60% 100%); transform: translate(1.15%, -.2%) scale(1.022); animation: shard-three 12s ease-in-out infinite alternate; }
@keyframes shard-one { to { transform: translate(-.35%, .25%) scale(1.018); } }
@keyframes shard-two { to { transform: translate(.15%, -.3%) scale(1.024); } }
@keyframes shard-three { to { transform: translate(.4%, .3%) scale(1.016); } }
.public-statement .eyebrow { color: #f1c84d; }
.public-statement h2 { font-size: clamp(45px, 6vw, 82px); line-height: 1.08; text-wrap: balance; text-shadow: 0 4px 20px rgba(0,0,0,.42); }
.public-statement a { display: inline-block; margin-top: 55px; padding: 17px 25px; color: #171207; background: linear-gradient(135deg, #efc54a, #c38f13); border: 1px solid #f2cb55; text-decoration: none; font: 700 15px Georgia, serif; box-shadow: 0 15px 36px rgba(0,0,0,.22); }
.public-intent { padding: clamp(90px, 12vw, 170px) clamp(28px, 8vw, 140px); display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(45px, 10vw, 150px); border-bottom: 1px solid var(--line); }
.public-kicker { margin: 0; font: 500 clamp(34px, 4vw, 58px)/1.04 Georgia, serif; letter-spacing: -.03em; }
.public-intent-copy { max-width: 740px; }
.public-intent-copy p { margin: 0 0 28px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; color: #514f48; }
.public-footer { min-height: 190px; padding: 45px clamp(28px, 5vw, 80px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; background: linear-gradient(rgba(5,5,4,.92), rgba(5,5,4,.96)), url("./assets/akari-paper-dark.png") center / cover; color: white; }
.public-footer img { width: 80px; height: 48px; object-fit: contain; }
.public-footer span { font: 500 24px Georgia, serif; }
.public-footer button { border: 1px solid rgba(220,173,45,.55); border-radius: 0; padding: 13px 18px; color: white; background: transparent; }
.public-footer button:hover { background: rgba(220,173,45,.12); }

.app-shell { display: grid; grid-template-columns: 278px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 32px 24px; background: linear-gradient(rgba(5,5,4,.9), rgba(5,5,4,.96)), url("./assets/akari-paper-dark.png") center / cover; color: #f8f3e7; display: flex; flex-direction: column; z-index: 10; border-right: 1px solid rgba(222,177,45,.28); box-shadow: 18px 0 55px rgba(0,0,0,.12); }
.sidebar::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); }
.brand { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; margin: 0 6px 48px; }
.brand-mark { width: 58px; height: 34px; object-fit: contain; filter: saturate(.9) contrast(1.08); }
.brand strong { display: block; font: 500 20px Georgia, serif; letter-spacing: .015em; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; color: #aaa79d; font-size: 9px; text-transform: uppercase; letter-spacing: .24em; }
.sidebar nav { display: grid; gap: 8px; }
.nav-item { width: 100%; border: 0; border-left: 1px solid transparent; border-radius: 0 7px 7px 0; padding: 13px 14px; display: flex; gap: 12px; align-items: center; color: #aaa99e; background: transparent; text-align: left; text-decoration: none; transition: .18s ease; }
.nav-item:hover, .nav-item.active { color: white; background: linear-gradient(90deg, rgba(211,164,36,.14), rgba(255,255,255,.035)); border-left-color: var(--gold-bright); }
.nav-item span { color: var(--gold); width: 18px; text-align: center; }
.sidebar-bottom { margin-top: auto; }
.secure-note { display: flex; gap: 9px; align-items: center; color: #bfc1b8; font-size: 12px; margin: 0 10px 15px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #83a789; box-shadow: 0 0 0 4px rgba(131,167,137,.12); }
.view-switch { width: 100%; padding: 13px 14px; border: 1px solid rgba(211,164,36,.42); border-radius: 7px; background: rgba(0,0,0,.22); color: white; display: flex; justify-content: space-between; }
.view-switch:hover { background: rgba(211,164,36,.12); }
.sidebar-bottom p { color: #77776f; font-size: 10px; margin: 18px 8px 0; }

main { min-width: 0; padding: 0 5vw 70px; background: rgba(248,246,239,.62); backdrop-filter: blur(1px); }
.topbar { min-height: 122px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.eyebrow { margin: 0 0 7px; color: #a67908; font-size: 10px; letter-spacing: .22em; font-weight: 800; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 0; }
h1 { font-size: clamp(25px, 3vw, 38px); }
h2 { font-size: 27px; }
.private-label { color: var(--muted); font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-size: 12px; }
.mobile-menu { position: relative; border: 1px solid var(--line); background: rgba(255,255,255,.42); width: 40px; height: 40px; border-radius: 50%; }
.mobile-menu { display: none; }

.hero-row { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.lede { color: var(--muted); margin: 0; max-width: 560px; font-family: Georgia, serif; font-size: 18px; line-height: 1.55; }
.primary-button, .secondary-button { border-radius: 9px; padding: 12px 17px; font-weight: 650; border: 1px solid var(--ink); }
.primary-button { background: linear-gradient(135deg, var(--gold-bright), #bf8912); color: #17130a; border-color: #b48210; box-shadow: 0 8px 24px rgba(180,128,11,.16); }
.primary-button:hover { background: linear-gradient(135deg, #edc444, #ca9519); }
.secondary-button { background: transparent; color: var(--ink); }

.metric-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.metric-card { min-height: 158px; padding: 24px; border-radius: var(--radius); background: rgba(255,253,248,.8); border: 1px solid var(--line); border-top-color: rgba(197,148,26,.58); box-shadow: 0 8px 25px rgba(26,28,21,.045); position: relative; overflow: hidden; }
.metric-card.dark { background: linear-gradient(rgba(5,5,4,.72), rgba(5,5,4,.86)), url("./assets/akari-paper-dark.png") center / cover; color: white; border-color: #222018; }
.metric-card.dark::after { content: ""; position: absolute; inset: auto -25px -65px auto; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(185,154,94,.3); box-shadow: 0 0 0 24px rgba(185,154,94,.04); }
.metric-card p { color: var(--muted); font-size: 12px; margin: 0 0 18px; }
.metric-card.dark p { color: #bbbcb4; }
.metric-card strong { display: block; font-family: Georgia, serif; font-size: clamp(25px, 2.4vw, 34px); font-weight: 500; margin-bottom: 10px; }
.metric-card span { color: var(--muted); font-size: 11px; }
.metric-card .positive { color: var(--green); }
.metric-card .warning { color: var(--red); }
.metric-card.dark span { color: #d4d0c5; }
.metric-line { width: 75px; height: 2px; background: var(--gold); margin-top: 18px; }

.panel { background: rgba(255,253,248,.88); border: 1px solid var(--line); border-top: 2px solid rgba(198,151,29,.68); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-header { padding: 24px 26px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filters { display: flex; gap: 10px; }
.search { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 11px; background: white; }
.search input { border: 0; outline: 0; width: 170px; padding: 10px 0; background: transparent; }
select { border: 1px solid var(--line); border-radius: 8px; padding: 10px 34px 10px 11px; background: white; color: var(--ink); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th { padding: 13px 26px; background: rgba(232,226,212,.78); color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-align: left; }
td { padding: 18px 26px; border-top: 1px solid #e7e2d7; font-size: 13px; }
tbody tr { transition: background .15s; cursor: pointer; }
tbody tr:hover { background: rgba(185,154,94,.07); }
.invoice-number { font-weight: 750; }
.client-cell { display: flex; align-items: center; gap: 10px; }
.client-initial { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e4dfd2; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.amount { text-align: right; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-paid { color: var(--green); background: #e4ece4; }
.status-overdue { color: var(--red); background: #f3e4e1; }
.status-sent { color: #556679; background: #e4e9ee; }
.status-draft { color: var(--amber); background: #f1eadc; }
.payment-state { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.payment-incoming { color: #466352; background: #e0ebe3; }
.payment-awaiting { color: #735f29; background: #f3ead0; }
.payment-attention { color: var(--red); background: #f3e4e1; }
.payment-settled { color: var(--green); background: #e4ece4; }
.payment-not-requested { color: #777; background: #eceae4; }
.empty-state { padding: 34px; text-align: center; color: var(--muted); }
.lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.compact { min-height: 270px; }
.activity-list { padding: 0 26px 18px; }
.activity { display: grid; grid-template-columns: 33px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid #e7e2d7; }
.activity-icon { width: 30px; height: 30px; border-radius: 50%; background: #e3e8df; color: var(--green); display: grid; place-items: center; }
.activity strong, .activity small { display: block; }
.activity strong { font-size: 12px; margin-bottom: 3px; }
.activity small, .activity time { color: var(--muted); font-size: 10px; }
.readiness { padding-bottom: 12px; }
.readiness-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 26px; border-top: 1px solid #e7e2d7; }
.connection-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; }
.connection-icon.ready { color: var(--green); background: #e3eae3; }
.connection-icon.pending { color: var(--amber); background: #f0e9da; }
.readiness-row strong, .readiness-row small { display: block; }
.readiness-row strong { font-size: 12px; }
.readiness-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.pill { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; padding: 5px 7px; border-radius: 99px; }
.pill.ready { background: #e3eae3; color: var(--green); }
.pill.pending { background: #f0e9da; color: var(--amber); }

.client-welcome { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: 52px 42px; border-radius: var(--radius); background: linear-gradient(90deg, rgba(4,4,3,.92), rgba(4,4,3,.6)), url("./assets/akari-hero-dark.png") center / cover; color: white; margin-bottom: 20px; overflow: hidden; position: relative; border: 1px solid rgba(211,164,36,.34); box-shadow: var(--shadow); }
.client-welcome::after { content: ""; position: absolute; width: 330px; height: 330px; right: -190px; top: -160px; border: 1px solid rgba(185,154,94,.25); transform: rotate(45deg); }
.client-welcome h2 { font-size: clamp(31px, 4vw, 48px); }
.client-welcome p:not(.eyebrow) { color: #b9bab3; max-width: 520px; line-height: 1.6; }
.client-balance { text-align: right; z-index: 1; }
.client-balance small, .client-balance span { display: block; color: #b9bab3; }
.client-balance strong { display: block; font: 500 clamp(30px, 4vw, 44px) Georgia, serif; margin: 8px 0; }
.client-secure { color: var(--green); font-size: 11px; }
.invoice-cards { padding: 0 26px 25px; display: grid; gap: 12px; }
.invoice-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; background: white; }
.invoice-card h3 { margin: 0 0 5px; font-size: 14px; }
.invoice-card p { color: var(--muted); margin: 0; font-size: 11px; }
.invoice-card .card-amount { font: 500 20px Georgia, serif; }
.card-actions { display: flex; gap: 8px; }
.small-button { border: 1px solid var(--line); background: white; border-radius: 8px; padding: 9px 11px; font-size: 11px; }
.small-button.pay { color: white; background: var(--ink); border-color: var(--ink); }
.client-help { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 28px; margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.client-help p { color: var(--muted); margin: 5px 0 0; font-size: 12px; }

dialog { border: 1px solid rgba(198,151,29,.48); border-radius: 10px; padding: 0; color: var(--ink); background: var(--white) url("./assets/akari-paper-light.png") center / cover; box-shadow: 0 30px 90px rgba(0,0,0,.34); }
dialog::backdrop { background: rgba(14,15,12,.62); backdrop-filter: blur(4px); }
.invoice-dialog { width: min(760px, calc(100vw - 30px)); }
.create-dialog { width: min(900px, calc(100vw - 30px)); }
.dialog-shell { position: relative; padding: 42px; }
.dialog-close { position: absolute; right: 17px; top: 15px; border: 0; background: transparent; font-size: 27px; color: var(--muted); }
.document-head { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.document-brand { display: flex; align-items: center; gap: 12px; font: 500 31px Georgia, serif; }
.document-brand img { width: 62px; height: 34px; object-fit: contain; }
.document-meta { text-align: right; }
.document-meta strong, .document-meta span { display: block; }
.document-meta span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 25px 0; }
.billing-grid small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; }
.billing-grid p { margin: 3px 0; font-size: 13px; }
.line-item { display: grid; grid-template-columns: 1fr auto; padding: 15px 0; border-top: 1px solid var(--line); }
.invoice-total { display: flex; justify-content: flex-end; gap: 30px; padding: 20px 0; border-top: 2px solid var(--ink); font: 500 21px Georgia, serif; }
.document-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin: 25px 0; }
.form-grid label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 650; }
.form-grid input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
.form-grid select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
.form-grid textarea { width: 100%; min-height: 100px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); resize: vertical; font: inherit; }
.form-wide { grid-column: 1 / -1; }
.document-items-field { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #faf9f6; }
.items-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.items-heading div { display: grid; gap: 4px; }
.items-heading span { color: var(--ink); font-size: 12px; font-weight: 750; }
.items-heading small { color: var(--muted); font-size: 10px; font-weight: 500; }
.items-heading strong { color: var(--ink); font-size: 16px; white-space: nowrap; }
.items-editor { display: grid; gap: 9px; }
.item-editor-row { display: grid; grid-template-columns: minmax(180px, 1.6fr) minmax(100px, .7fr) minmax(110px, .75fr) minmax(88px, .55fr) minmax(125px, .8fr) 38px; gap: 9px; align-items: end; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.item-editor-row label { margin: 0; }
.item-editor-row input, .item-editor-row select { min-width: 0; }
.remove-line-button, .add-line-button { border: 1px solid var(--line); background: white; color: var(--ink); cursor: pointer; }
.remove-line-button { width: 38px; height: 40px; border-radius: 8px; font-size: 19px; }
.add-line-button { justify-self: start; padding: 10px 14px; border-radius: 999px; font: inherit; font-size: 11px; font-weight: 700; }
.negative-line strong { color: #9e3028; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.proposal-lede { margin-top: 12px; }
.proposal-action { white-space: nowrap; }
.row-actions { display: flex; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.edit-button { color: var(--ink); border-color: rgba(201, 154, 32, .55); background: #fffdf7; }
.proposal-pricing { display: grid; gap: 3px; white-space: nowrap; }
.proposal-pricing small { color: var(--muted); font-size: 10px; }
.proposal-price-block { border-top: 1px solid var(--line); margin-top: 26px; }
.proposal-status-invoiced { color: #4d5c78; background: #e5e8ef; }
.settings-panel { padding: 30px; }
.settings-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.settings-heading h2 { margin: 4px 0 0; }
.settings-heading > p { max-width: 360px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }
.payment-heading { margin-top: 34px; }
.settings-check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 650; }
.settings-check input { width: 17px; height: 17px; accent-color: var(--gold); }
.settings-note { margin: 10px 0 24px; color: var(--muted); font-size: 12px; }
.payment-details { margin: 18px 0 8px; padding: 18px; border: 1px solid rgba(201,154,32,.42); border-radius: 8px; background: rgba(248,244,232,.72); }
.payment-details small { display: block; margin-bottom: 10px; color: #917733; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.payment-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 24px; }
.payment-details p { margin: 0; font-size: 12px; }
.payment-details strong { margin-right: 5px; }
.payment-reference { grid-column: 1 / -1; padding-top: 6px; border-top: 1px solid rgba(201,154,32,.22); }
.toast { position: fixed; right: 24px; bottom: 24px; max-width: min(430px, calc(100vw - 32px)); padding: 13px 17px 13px 42px; border: 1px solid rgba(228,183,47,.38); border-radius: 9px; background: var(--ink); color: white; box-shadow: 0 22px 55px rgba(0,0,0,.24); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .22s ease; z-index: 50; }
.toast::before { content: "·"; position: absolute; left: 17px; top: 50%; transform: translateY(-54%); color: var(--gold-bright); font-size: 28px; line-height: 1; }
.toast[data-tone="success"] { border-color: rgba(118,157,127,.58); }
.toast[data-tone="success"]::before { content: "✓"; color: #9bc2a3; font-size: 15px; }
.toast[data-tone="error"] { border-color: rgba(190,107,96,.64); }
.toast[data-tone="error"]::before { content: "!"; color: #e59b91; font-size: 17px; font-weight: 900; }
.toast.show { opacity: 1; transform: translateY(0); }

.login-dialog { width: min(470px, calc(100vw - 28px)); }
.login-dialog .dialog-shell { padding: 46px; }
.payment-qr-dialog { width: min(520px, calc(100vw - 28px)); text-align: center; }
.payment-qr-dialog h2 { margin: 8px 0 10px; font: 500 36px Georgia, serif; }
.payment-qr-summary { display: grid; gap: 4px; margin: 0 0 20px; }
.payment-qr-summary strong { font: 500 30px Georgia, serif; }
.payment-qr-summary span { color: var(--muted); font-size: 13px; }
.payment-qr-frame { width: min(300px, 78vw); margin: 0 auto 18px; padding: 14px; border: 1px solid rgba(201,154,32,.36); border-radius: 18px; background: #fffdf8; box-shadow: 0 18px 45px rgba(14,15,12,.12); }
.payment-qr-frame img { display: block; width: 100%; height: auto; }
.payment-qr-help { max-width: 390px; margin: 0 auto 12px; color: var(--muted); line-height: 1.55; }
.payment-qr-actions { justify-content: center; flex-wrap: wrap; }
.payment-qr-actions a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; font: 500 20px Georgia, serif; }
.login-brand img { width: 56px; height: 32px; object-fit: contain; }
.login-intro { color: var(--muted); line-height: 1.65; margin: 12px 0 28px; }
.login-field { display: grid; gap: 8px; margin-top: 16px; color: #555148; font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.login-field input { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: rgba(255,255,255,.82); outline: none; }
.login-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,154,32,.12); }
.login-submit { width: 100%; margin-top: 24px; padding: 14px 18px; }
.prototype-note { margin: 17px 0 0; color: #89857b; font-size: 10px; line-height: 1.55; text-align: center; }
.text-button { border: 0; background: transparent; color: #746b58; font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media print {
  body > *:not(dialog[open]) { display: none !important; }
  dialog[open] { position: static; width: 100%; box-shadow: none; }
  dialog::backdrop, .dialog-close, .document-actions { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mirror-shard { animation: none; }
}

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .lower-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .settings-heading { align-items: start; flex-direction: column; }
  .settings-heading > p { text-align: left; }
  .payment-details-grid { grid-template-columns: 1fr; }
  .public-header { min-height: 86px; }
  .public-hero { grid-template-columns: 1fr; }
  .public-hero-image, .public-hero-image video { min-height: 56vw; }
  .public-hero-image { order: 2; }
  .public-hero-copy { padding: 55px 24px 62px; }
  .public-hero-copy h1 { font-size: clamp(45px, 14vw, 68px); }
  .public-hero-copy > p:not(.eyebrow) { margin-top: 34px; }
  .public-statement { min-height: 690px; }
  .public-intent { grid-template-columns: 1fr; padding: 80px 24px; }
  .public-footer { grid-template-columns: auto 1fr; }
  .public-footer button { grid-column: 1 / -1; }
  .app-shell { display: block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; transform: translateX(-100%); transition: transform .2s; box-shadow: 18px 0 50px rgba(0,0,0,.25); }
  .sidebar.open { transform: translateX(0); }
  main { padding: 0 18px 45px; }
  .topbar { min-height: 95px; margin-bottom: 28px; }
  .mobile-menu { display: inline-grid; place-items: center; margin-right: 12px; flex: 0 0 auto; }
  .topbar > div:nth-child(2) { margin-right: auto; }
  .topbar-actions .icon-button { display: none; }
  .hero-row { align-items: stretch; flex-direction: column; }
  .primary-button { align-self: flex-start; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 135px; }
  .panel-header { align-items: flex-start; flex-direction: column; }
  .filters { width: 100%; flex-direction: column; }
  .search input, .search { width: 100%; }
  .filters select { width: 100%; }
  .client-welcome { grid-template-columns: 1fr; padding: 28px; }
  .client-balance { text-align: left; }
  .invoice-card { grid-template-columns: 1fr; }
  .card-actions { justify-content: flex-start; }
  .client-help { align-items: flex-start; flex-direction: column; }
  .dialog-shell { padding: 34px 22px; }
  .form-grid, .billing-grid { grid-template-columns: 1fr; }
  .item-editor-row { grid-template-columns: 1fr 1fr; }
  .item-editor-row label:first-child { grid-column: 1 / -1; }
  .document-head { flex-direction: column; }
  .document-meta { text-align: left; }
  .login-dialog .dialog-shell { padding: 40px 23px 30px; }
}

/* Exact public-site recreation measured from the live Squarespace pages. */
@font-face {
  font-family: "Akari Cormorant";
  src: url("./assets/fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Akari Garamond";
  src: url("./assets/fonts/EBGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
.sq-clone { position: relative; width: 100%; min-width: 320px; overflow: hidden; color: #000; background: #f7f6f0; font-family: "Akari Garamond", Georgia, serif; }
#public-site { overflow: clip; background: transparent; }
.sq-clone button, .sq-clone input, .sq-clone select, .sq-clone textarea { font-family: inherit; }
.sq-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 120.7px; display: flex; align-items: flex-start; justify-content: space-between; padding: 40.8px 4.048%; background: transparent; }
.sq-header a { color: #000; text-decoration: none; font-family: "Akari Cormorant", "Cormorant Garamond", Georgia, serif; font-size: 31.36px; font-weight: 500; line-height: 1.2; }
.sq-header nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.sq-header nav a { font-family: "Akari Garamond", Georgia, serif; font-size: 16px; font-weight: 700; line-height: 34.3296px; }
.sq-header button { margin: 2.4px 0 0; padding: 0; border: 0; color: #000; background: transparent; font-size: 19.072px; font-weight: 700; line-height: 34.3296px; }
.sq-home { width: 100%; padding: 0; background: transparent; backdrop-filter: none; }
.sq-home section { position: relative; width: 100%; overflow: hidden; }
.sq-section-bg { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; }
.sq-section-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sq-hero > .sq-section-bg, .akari-story__light { opacity: 0; }
.sq-hero { z-index: 3; height: 659.0625px; }
.sq-video { position: absolute; left: 0; top: 157px; width: 49.567%; height: 352.6375px; overflow: hidden; background: #111 url("./assets/akari-hero-dark.png") center / cover no-repeat; }
.sq-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sq-film-controls { position: absolute; left: 18px; bottom: 16px; z-index: 4; display: flex; align-items: center; gap: 8px; }
.sq-film-controls button { min-height: 40px; border: 1px solid rgba(235,197,97,.55); border-radius: 999px; padding: 9px 14px; color: #fffdf8; background: rgba(5,5,4,.78); box-shadow: 0 8px 24px rgba(0,0,0,.28); backdrop-filter: blur(10px); font-family: "Akari Garamond", Georgia, serif; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.sq-film-controls button:hover { background: rgba(5,5,4,.94); border-color: rgba(235,197,97,.9); }
.sq-film-sound span[aria-hidden] { display: inline-block; margin-right: 7px; color: #e7b82e; }
.sq-hero h1 { position: absolute; left: 54.302%; top: 120.6875px; width: 37.786%; margin: 0; color: #000; font-family: "Akari Cormorant", "Cormorant Garamond", Georgia, serif; font-size: 62.08px; font-weight: 500; line-height: 1.2319; letter-spacing: 0; }
.sq-hero > p { position: absolute; left: 54.302%; top: 411.5375px; width: 33.921%; margin: 0; color: #000; font-size: 19.072px; font-weight: 700; line-height: 34.3296px; }

/* One continuous Akari mark scene replaces the two independent paper folds. */
.akari-story {
  --story-lift: 0;
  --story-dark: 0;
  --story-gold: 0;
  --story-emboss: .34;
  --story-vision: 0;
  --story-about: 0;
  --story-release: 0;
  --story-sheen: 0;
  position: relative;
  z-index: 4;
  height: 390vh;
  min-height: 2300px;
  overflow: visible !important;
}
.akari-story__sticky { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden; isolation: isolate; }
.akari-story__light, .akari-story__dark, .akari-story__shade { position: absolute; inset: 0; display: block; }
.akari-story__light { z-index: 0; }
.akari-story__dark { z-index: 1; opacity: var(--story-dark); transform: scale(calc(1.035 - (var(--story-dark) * .035))); will-change: opacity, transform; }
.akari-story__light img, .akari-story__dark img { width: 100%; height: 100%; object-fit: cover; }
.akari-story__shade { z-index: 2; opacity: calc(var(--story-dark) * .72); background: radial-gradient(circle at 50% 50%, transparent 0 23%, rgba(0,0,0,.12) 48%, rgba(0,0,0,.74) 112%), linear-gradient(110deg, rgba(255,211,87,.08), transparent 37% 65%, rgba(255,255,255,.05)); pointer-events: none; }
.akari-story__mark { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; opacity: calc(1 - (var(--story-about) * .72)); transform: perspective(1200px) translateY(calc(42px - (var(--story-lift) * 42px) - (var(--story-release) * 54px))) scale(calc(.88 + (var(--story-lift) * .13) - (var(--story-release) * .035))) rotateX(calc((1 - var(--story-lift)) * 2.2deg)); filter: drop-shadow(0 calc(var(--story-lift) * 26px) calc(8px + (var(--story-lift) * 28px)) rgba(0,0,0,calc(var(--story-lift) * .34))); pointer-events: none; transform-style: preserve-3d; will-change: transform, opacity, filter; }
.akari-mark { position: absolute; width: min(76vw, 980px); height: auto; object-fit: contain; }
.akari-mark--emboss { opacity: var(--story-emboss); filter: grayscale(1) sepia(.18) brightness(1.72) contrast(.42) drop-shadow(0 7px 4px rgba(89,68,20,.24)); }
.akari-mark--gold { opacity: var(--story-gold); clip-path: circle(calc(var(--story-gold) * 76%) at 50% 50%); filter: saturate(1.08) contrast(1.13) brightness(calc(.82 + (var(--story-sheen) * .18))) drop-shadow(0 18px 20px rgba(0,0,0,.38)) drop-shadow(0 0 18px rgba(231,184,46,.24)); }
.akari-mark__sheen { position: absolute; width: min(76vw, 980px); aspect-ratio: 367 / 186; opacity: calc(var(--story-gold) * .68); background: linear-gradient(108deg, transparent 24%, rgba(255,255,255,.04) 38%, rgba(255,244,188,.8) 49%, rgba(255,255,255,.08) 58%, transparent 73%); background-size: 220% 100%; background-position: calc(100% - (var(--story-sheen) * 100%)) 50%; -webkit-mask: url("./assets/akari-mark.png") center / contain no-repeat; mask: url("./assets/akari-mark.png") center / contain no-repeat; mix-blend-mode: screen; }
.akari-story__vision { position: absolute; inset: 0; z-index: 6; color: #fff; opacity: var(--story-vision); pointer-events: none; transform: translateY(calc((1 - var(--story-vision)) * 36px)); }
.akari-story__vision h2 { position: absolute; left: 19.5%; top: 35%; width: 61%; margin: 0; color: #fff; text-align: center; font-family: "Akari Cormorant", Georgia, serif; font-size: 62.08px; font-weight: 500; line-height: 1.2319; }
.akari-story__vision a { position: absolute; left: 41.4%; top: 70%; width: 17.2%; min-width: 220px; height: 57.6px; display: grid; place-items: center; color: #000; background: #e7b82e; text-decoration: none; font-size: 16px; font-weight: 700; pointer-events: auto; }
.akari-story__about { position: absolute; left: 15.65%; top: 50%; z-index: 6; width: 68.7%; opacity: var(--story-about); transform: translateY(calc(-50% + ((1 - var(--story-about)) * 44px))); color: #000; pointer-events: none; }
.akari-story__about p { margin: 0 0 16px; font-size: 19.072px; font-weight: 700; line-height: 34.3296px; }
.sq-capabilities { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 15px 0 12px; border-top: 1px solid rgba(0,0,0,.18); border-bottom: 1px solid rgba(0,0,0,.18); }
.sq-capabilities span { white-space: nowrap; }
.akari-story__web-link { display: inline-block; margin-top: 9px; padding: 13px 18px; color: #fffdf8; background: #080807; font-weight: 700; text-decoration: none; pointer-events: auto; }

.sq-inquiry { min-height: 1500px; }
.sq-inquiry > main { position: relative; min-height: 1500px; padding: 0; background: transparent; backdrop-filter: none; }
.sq-inquiry-intro { position: absolute; left: 23.375%; top: 205.1625px; width: 53.245%; text-align: center; }
.sq-inquiry-intro h2 { margin: 0; font-family: "Akari Cormorant", "Cormorant Garamond", Georgia, serif; font-size: 43.648px; font-weight: 500; line-height: 56.7075px; }
.sq-inquiry-intro p { margin: 31.9px 0 0; font-size: 19.072px; font-weight: 700; line-height: 34.3296px; }
.sq-inquiry-form { position: absolute; left: 15.645%; top: 472px; width: 68.706%; color: #000; }
.sq-inquiry-form fieldset { margin: 0 0 27px; padding: 0; border: 0; }
.sq-inquiry-form legend, .sq-inquiry-form > label, .sq-name-grid label { color: #000; font-size: 19.072px; font-weight: 700; line-height: 23px; }
.sq-inquiry-form label { display: grid; gap: 8px; margin: 0 0 27px; }
.sq-inquiry-form label span { color: #5d5d5d; font-size: 16px; }
.sq-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.sq-name-grid label { margin-bottom: 0; }
.sq-inquiry-form input, .sq-inquiry-form select, .sq-inquiry-form textarea { width: 100%; border: .8px solid #000; border-radius: 0; color: #000; background: rgba(255,255,255,.72); box-shadow: none; outline: none; }
.sq-inquiry-form input { height: 55.925px; padding: 10px; font-size: 19.072px; }
.sq-inquiry-form select { height: 50.4px; padding: 10px 32px 10px 10px; font-size: 16px; font-weight: 700; }
.sq-inquiry-form textarea { height: 100px; padding: 10px; resize: vertical; font-size: 19.072px; font-weight: 700; }
.sq-inquiry-form input:focus, .sq-inquiry-form select:focus, .sq-inquiry-form textarea:focus { outline: 1px solid #000; outline-offset: 2px; }
.sq-inquiry-form > button { width: auto; min-width: 190px; height: 57.6px; margin-top: -7px; padding: 0 24px; border: 0; color: #fff; background: #000; font-size: 16px; font-weight: 700; }
.sq-inquiry-form > button:disabled { cursor: wait; opacity: .65; }
.sq-inquiry-confirmation { position: absolute; left: 15.645%; top: 472px; width: 68.706%; min-height: 420px; padding: clamp(38px, 6vw, 72px); border: 1px solid rgba(0,0,0,.18); background: rgba(255,255,255,.68); box-shadow: 0 30px 70px rgba(24,22,15,.12); backdrop-filter: blur(12px); }
.sq-inquiry-confirmation h2 { max-width: 740px; margin: 12px 0 24px; font-family: "Akari Cormorant", Georgia, serif; font-size: clamp(40px, 5vw, 62px); font-weight: 500; line-height: 1.06; }
.sq-inquiry-confirmation p:not(.sq-legal-kicker) { max-width: 690px; font-size: 19px; font-weight: 600; line-height: 1.7; }
.sq-inquiry-confirmation a { display: inline-block; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid #9c7412; color: #604706; font-weight: 700; text-decoration: none; }
.sq-inquiry-email { position: absolute; left: 34.966%; top: 1370px; width: 30.052%; margin: 0; text-align: center; font-size: 19.072px; font-weight: 700; line-height: 34.3296px; }

.sq-footer { position: relative; z-index: 8; min-height: 220px; padding: 44px clamp(24px, 5vw, 78px) 32px; display: grid; grid-template-columns: minmax(260px, 1fr) auto; align-items: center; gap: 28px 50px; color: #fffdf8; background-color: #080807; background-image: linear-gradient(rgba(5,5,4,.25), rgba(5,5,4,.6)), image-set(url("./assets/akari-paper-dark.webp") type("image/webp"), url("./assets/akari-paper-dark.png") type("image/png")); background-position: center; background-size: cover; }
.sq-footer-brand { display: flex; align-items: center; gap: 17px; }
.sq-footer-brand img { width: 76px; height: 48px; object-fit: contain; }
.sq-footer-brand strong, .sq-footer-brand span { display: block; }
.sq-footer-brand strong { font-family: "Akari Cormorant", Georgia, serif; font-size: 24px; font-weight: 500; }
.sq-footer-brand span { margin-top: 4px; color: #b9b4a8; font-size: 14px; }
.sq-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 25px; }
.sq-footer a, .sq-footer button { border: 0; padding: 6px 0; color: #f6f0e4; background: transparent; font-size: 15px; font-weight: 650; text-decoration: none; }
.sq-footer a:hover, .sq-footer button:hover { color: #efc54a; }
.sq-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(235,197,97,.22); color: #9f9a8e; font-size: 13px; }

.sq-legal { min-height: 100vh; }
.sq-legal > main { position: relative; min-height: 1000px; padding: 180px clamp(24px, 8vw, 140px) 110px; }
.sq-legal-card { width: min(860px, 100%); margin: 0 auto; padding: clamp(36px, 6vw, 78px); border: 1px solid rgba(0,0,0,.15); background: rgba(255,255,255,.72); box-shadow: 0 30px 80px rgba(30,28,20,.11); backdrop-filter: blur(10px); }
.sq-legal-kicker { margin: 0 0 18px; color: #8a6510; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sq-legal-card h1 { max-width: 720px; margin: 0 0 42px; font-family: "Akari Cormorant", Georgia, serif; font-size: clamp(46px, 6vw, 72px); font-weight: 500; line-height: 1.02; }
.sq-legal-card h2 { margin: 34px 0 10px; font-family: "Akari Cormorant", Georgia, serif; font-size: 30px; font-weight: 600; }
.sq-legal-card p { margin: 0 0 18px; color: #292821; font-size: 18px; font-weight: 600; line-height: 1.72; }
.sq-legal-card a { color: #765707; }
.sq-legal-card .sq-legal-updated { margin-top: 42px; color: #706d64; font-size: 14px; }

/* Websites and web apps */
.sq-web { --web-gold: #e7b82e; --web-gold-dark: #9a6f08; --web-ink: #080807; --web-line: rgba(8,8,7,.17); --web-muted: #6a675f; }
#web-site { overflow: clip; }
.sq-web-header { min-height: 104px; padding: 0 clamp(24px,5vw,78px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--web-line); background: rgba(247,246,240,.84); backdrop-filter: blur(18px); }
.sq-web-brand { font-family: "Akari Cormorant", Georgia, serif; font-size: 30px; font-weight: 500; text-decoration: none; }
.sq-web-header nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 700; }
.sq-web-header nav a { text-decoration: none; }
.sq-web-header-cta { padding: 12px 17px; color: #fffdf8; background: var(--web-ink); }
.sq-web h1, .sq-web h2, .sq-web h3, .sq-web p { margin-top: 0; }
.sq-web h1, .sq-web h2, .sq-web h3 { font-family: "Akari Cormorant", Georgia, serif; font-weight: 500; }
.sq-web h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(60px,7.4vw,105px); line-height: .91; letter-spacing: -.035em; }
.sq-web h2 { margin-bottom: 22px; font-size: clamp(44px,5vw,72px); line-height: .98; letter-spacing: -.025em; }
.sq-web h3 { margin-bottom: 14px; font-size: 30px; line-height: 1.04; }
.sq-web-eyebrow { margin: 0 0 16px; color: var(--web-gold-dark); font-size: 14px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sq-web-hero { min-height: 660px; padding: 84px clamp(24px,7vw,108px) 78px; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(48px,8vw,120px); align-items: center; }
.sq-web-lede { max-width: 680px; margin-bottom: 0; font-size: 20px; font-weight: 650; line-height: 1.65; }
.sq-web-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.sq-web-button { min-height: 54px; padding: 14px 21px; display: inline-grid; place-items: center; font-size: 16px; font-weight: 800; text-decoration: none; }
.sq-web-button--dark { color: #fffdf8; background: var(--web-ink); }
.sq-web-button--gold { color: var(--web-ink); background: var(--web-gold); }
.sq-web-text-link { padding: 11px 0 8px; border-bottom: 1px solid currentColor; font-weight: 800; text-decoration: none; }
.sq-web-display { position: relative; min-height: 440px; overflow: hidden; background: #0b0b09 url("./assets/akari-paper-dark.webp") center / cover; box-shadow: 0 34px 80px rgba(0,0,0,.2); }
.sq-web-display-glow { position: absolute; inset: -30%; background: radial-gradient(circle at 57% 48%, rgba(231,184,46,.22), transparent 40%); }
.sq-web-browser { position: absolute; left: 9%; top: 12%; width: 74%; height: 66%; overflow: hidden; border: 1px solid rgba(255,255,255,.32); background: #f4f0e7; box-shadow: 0 24px 50px rgba(0,0,0,.45); transform: perspective(900px) rotateY(-7deg) rotateX(2deg); }
.sq-web-browser-bar { height: 28px; padding-left: 10px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid rgba(0,0,0,.12); }
.sq-web-browser-bar i { width: 6px; aspect-ratio: 1; border-radius: 50%; background: rgba(0,0,0,.28); }
.sq-web-browser-layout { position: relative; height: calc(100% - 28px); padding: 13%; }
.sq-web-browser-layout > span:first-child { display: block; width: 47%; height: 14%; background: #171511; }
.sq-web-browser-layout > span:nth-child(2) { display: block; width: 42%; height: 6%; margin-top: 7%; background: rgba(0,0,0,.2); }
.sq-web-browser-layout > b { display: block; width: 23%; height: 10%; margin-top: 8%; background: var(--web-gold); }
.sq-web-browser-layout > i { position: absolute; right: 8%; top: 13%; width: 36%; height: 66%; background: #151410; }
.sq-web-phone { position: absolute; right: 7%; bottom: 7%; width: 27%; height: 53%; border: 1px solid rgba(255,255,255,.42); border-radius: 22px; background: #f4f0e7; box-shadow: 0 24px 50px rgba(0,0,0,.52); transform: rotate(3deg); }
.sq-web-phone i { display: block; width: 28%; height: 4px; margin: 9px auto 0; border-radius: 9px; background: rgba(0,0,0,.24); }
.sq-web-phone img { display: block; width: 62%; margin: 34% auto 16%; }
.sq-web-phone span { display: block; width: 67%; height: 5px; margin: 0 auto 9px; background: rgba(0,0,0,.2); }
.sq-web-phone span:last-child { width: 46%; }
.sq-web-build-story { --build-draw: 0; --build-wipe: 100%; --build-site: 1; --build-app: 0; --build-connect: 0; --build-secure: 0; --build-host: 0; --build-own: 0; position: relative; height: 600vh; min-height: 3800px; color: #fffdf8; background: #080807; }
.sq-web-build-sticky { position: sticky; top: 0; height: 100vh; min-height: 680px; overflow: hidden; isolation: isolate; background: linear-gradient(115deg,rgba(0,0,0,.12),rgba(0,0,0,.62)), url("./assets/akari-paper-dark.webp") center / cover; }
.sq-web-build-sticky::before { content: ""; position: absolute; inset: 0; opacity: .42; background: radial-gradient(circle at 73% 48%,rgba(231,184,46,.16),transparent 34%), linear-gradient(90deg,rgba(231,184,46,.04) 1px,transparent 1px), linear-gradient(rgba(231,184,46,.035) 1px,transparent 1px); background-size: auto,72px 72px,72px 72px; pointer-events: none; }
.sq-web-build-copy { position: absolute; z-index: 4; left: clamp(30px,6vw,94px); top: 12%; bottom: 10%; width: min(36%,560px); }
.sq-web-build-copy > .sq-web-eyebrow { color: var(--web-gold); }
.sq-web-build-step { position: absolute; left: 0; top: 24%; width: 100%; opacity: 0; transform: translateY(34px); transition: opacity .12s linear,transform .12s linear; }
.sq-web-build-step--site { opacity: var(--build-site); transform: translateY(calc((1 - var(--build-site)) * 34px)); }
.sq-web-build-step--app { opacity: var(--build-app); transform: translateY(calc((1 - var(--build-app)) * 34px)); }
.sq-web-build-step--connect { opacity: var(--build-connect); transform: translateY(calc((1 - var(--build-connect)) * 34px)); }
.sq-web-build-step--secure { opacity: var(--build-secure); transform: translateY(calc((1 - var(--build-secure)) * 34px)); }
.sq-web-build-step--host { opacity: var(--build-host); transform: translateY(calc((1 - var(--build-host)) * 34px)); }
.sq-web-build-step--own { opacity: var(--build-own); transform: translateY(calc((1 - var(--build-own)) * 34px)); }
.sq-web-build-step > span { color: var(--web-gold); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sq-web-build-step h2 { max-width: 560px; margin: 18px 0 24px; font-size: clamp(48px,5.2vw,76px); }
.sq-web-build-step p { max-width: 430px; color: #d2cabc; font-size: 19px; font-weight: 650; line-height: 1.65; }
.sq-web-build-machine { position: absolute; z-index: 3; right: clamp(28px,5vw,80px); top: 13%; width: min(54%,840px); height: 74%; }
.sq-web-build-orbit { position: absolute; inset: -15%; opacity: calc(.18 + (var(--build-secure) * .18) + (var(--build-host) * .1) + (var(--build-own) * .16)); border: 1px solid rgba(231,184,46,.2); border-radius: 50%; transform: perspective(900px) rotateX(68deg) rotateZ(calc(-8deg + (var(--build-secure) * 8deg) + (var(--build-own) * 8deg))) scale(calc(.86 + (var(--build-draw) * .14))); box-shadow: 0 0 90px rgba(231,184,46,.08); }
.sq-web-build-frame { position: absolute; inset: 4% 0 13%; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: rgba(7,7,6,.9); box-shadow: 0 36px 90px rgba(0,0,0,.52); transform: perspective(1300px) rotateY(calc((1 - var(--build-draw)) * -5deg)) translateY(calc((1 - var(--build-draw)) * 28px)); }
.sq-web-build-frame::before { content: ""; position: absolute; inset: -1px; z-index: 12; border: 1px solid rgba(239,197,74,.9); clip-path: inset(0 var(--build-wipe) 0 0); pointer-events: none; }
.sq-web-build-bar { height: 42px; padding: 0 15px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.12); color: #958d80; font-size: 11px; letter-spacing: .08em; }
.sq-web-build-bar i { width: 7px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.28); }
.sq-web-build-bar span { margin-left: 10px; }
.sq-web-build-bar b { width: 20%; height: 5px; margin-left: auto; background: rgba(255,255,255,.12); }
.sq-web-build-canvas { position: relative; height: calc(100% - 42px); overflow: hidden; }
.sq-web-build-grid { position: absolute; inset: 0; opacity: calc(var(--build-draw) * .38); background: linear-gradient(90deg,rgba(231,184,46,.12) 1px,transparent 1px),linear-gradient(rgba(231,184,46,.1) 1px,transparent 1px); background-size: 36px 36px; }
.sq-web-build-site,.sq-web-build-app,.sq-web-build-connect,.sq-web-build-secure,.sq-web-build-host,.sq-web-build-own { position: absolute; inset: 0; }
.sq-web-build-site { padding: 12% 10%; opacity: var(--build-site); transform: scale(calc(.96 + (var(--build-site) * .04))); }
.sq-web-build-site > span,.sq-web-build-site > strong,.sq-web-build-site > i,.sq-web-build-site > button { position: relative; z-index: 2; display: block; transform-origin: left; transform: scaleX(var(--build-draw)); }
.sq-web-build-kicker { width: 18%; height: 5px; background: var(--web-gold); }
.sq-web-build-site > strong { width: 54%; height: 34px; margin-top: 8%; background: #f6efe1; }
.sq-web-build-site > i { width: 46%; height: 7px; margin-top: 5%; background: rgba(255,255,255,.32); }
.sq-web-build-site > i + i { width: 37%; margin-top: 2%; }
.sq-web-build-site > button { width: 22%; min-width: 92px; height: 40px; margin-top: 7%; border: 0; color: #080807; background: var(--web-gold); font-size: 12px; font-weight: 800; transform: scaleX(var(--build-draw)); }
.sq-web-build-site > b { position: absolute; right: 8%; top: 14%; width: 35%; height: 72%; border: 1px solid rgba(231,184,46,.38); background: linear-gradient(145deg,rgba(231,184,46,.19),rgba(255,255,255,.03)); clip-path: inset(var(--build-wipe) 0 0 0); }
.sq-web-build-app { display: grid; grid-template-columns: 23% 1fr; opacity: var(--build-app); transform: translateX(calc((1 - var(--build-app)) * 28px)); }
.sq-web-build-app aside { padding: 30px 20px; border-right: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.sq-web-build-app aside span { display: block; width: 82%; height: 7px; margin-bottom: 27px; background: rgba(255,255,255,.2); }
.sq-web-build-app aside span:first-child { width: 54%; background: var(--web-gold); }
.sq-web-build-app main { min-width: 0; padding: 30px; background: transparent; backdrop-filter: none; }
.sq-web-build-app header { display: flex; justify-content: space-between; }
.sq-web-build-app header b { width: 33%; height: 18px; background: #f6efe1; }
.sq-web-build-app header i { width: 17%; height: 18px; border: 1px solid rgba(231,184,46,.55); }
.sq-web-build-metrics { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.sq-web-build-metrics span { height: 86px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(145deg,rgba(231,184,46,.18),rgba(255,255,255,.025)); }
.sq-web-build-table { margin-top: 20px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.12); }
.sq-web-build-table i { display: block; height: 9px; margin: 16px 0; background: linear-gradient(90deg,rgba(255,255,255,.28) 0 22%,transparent 22% 29%,rgba(255,255,255,.12) 29% 72%,transparent 72% 80%,rgba(231,184,46,.44) 80%); }
.sq-web-build-connect { opacity: var(--build-connect); }
.sq-web-node { position: absolute; z-index: 3; width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid rgba(231,184,46,.65); border-radius: 50%; color: #f3cc5a; background: #11100d; box-shadow: 0 0 34px rgba(231,184,46,.12); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.sq-web-node--mail { left: 14%; top: 18%; }.sq-web-node--data { right: 13%; top: 16%; }.sq-web-node--pay { left: 20%; bottom: 14%; }.sq-web-node--api { right: 18%; bottom: 16%; }
.sq-web-build-connect i { position: absolute; left: 50%; top: 50%; width: 36%; height: 1px; background: linear-gradient(90deg,transparent,var(--web-gold)); transform-origin: left; opacity: .72; }
.sq-web-build-connect i:nth-of-type(1) { transform: rotate(-145deg) scaleX(var(--build-connect)); }.sq-web-build-connect i:nth-of-type(2) { transform: rotate(-35deg) scaleX(var(--build-connect)); }.sq-web-build-connect i:nth-of-type(3) { transform: rotate(145deg) scaleX(var(--build-connect)); }.sq-web-build-connect i:nth-of-type(4) { transform: rotate(35deg) scaleX(var(--build-connect)); }
.sq-web-build-connect b { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fffdf8; background: radial-gradient(circle,rgba(231,184,46,.24),rgba(8,8,7,.9) 68%); font-size: 11px; letter-spacing: .12em; transform: translate(-50%,-50%); }
.sq-web-build-secure { display: grid; grid-template-columns: .8fr 1.2fr; place-items: center; padding: 8%; opacity: var(--build-secure); transform: scale(calc(.94 + (var(--build-secure) * .06))); }
.sq-web-shield { width: min(78%,210px); aspect-ratio: .82; display: grid; place-items: center; background: linear-gradient(145deg,#f4c947,#966707); clip-path: polygon(50% 0,94% 16%,86% 72%,50% 100%,14% 72%,6% 16%); filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.sq-web-shield span { width: 78%; height: 82%; background: #0c0b09; clip-path: inherit; }
.sq-web-auth-card { width: 100%; max-width: 360px; padding: 34px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.055); box-shadow: 0 24px 50px rgba(0,0,0,.32); }
.sq-web-auth-card small { color: var(--web-gold); font-weight: 800; letter-spacing: .12em; }
.sq-web-auth-card > strong { display: block; margin: 25px 0 18px; font-size: 26px; letter-spacing: .28em; }
.sq-web-auth-card > div { display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; }
.sq-web-auth-card i { height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fffdf8; font-style: normal; font-weight: 800; }
.sq-web-auth-card b { display: block; margin-top: 22px; color: #d7cdaF; font-size: 13px; }
.sq-web-auth-card b::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #e7b82e; box-shadow: 0 0 12px rgba(231,184,46,.7); }
.sq-web-build-host { padding: 9% 10%; opacity: var(--build-host); transform: translateY(calc((1 - var(--build-host)) * 28px)); }
.sq-web-build-host > small,.sq-web-build-own > small { color: var(--web-gold); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.sq-web-build-host > div { margin: 8% 0 6%; display: flex; align-items: center; gap: 22px; }
.sq-web-build-host > div strong { color: var(--web-gold); font-family: "Akari Cormorant", Georgia, serif; font-size: clamp(72px,8vw,116px); font-weight: 500; line-height: .72; }
.sq-web-build-host > div span { color: #fffdf8; font-size: 14px; font-weight: 800; line-height: 1.25; }
.sq-web-build-host > p { color: #aaa194; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.sq-web-build-host > b { display: block; width: fit-content; margin-top: 6%; padding: 12px 16px; border: 1px solid rgba(231,184,46,.48); color: #f4d36f; font-size: 13px; letter-spacing: .04em; }
.sq-web-build-host > i { display: block; margin-top: 5%; color: #d7cdaf; font-size: 13px; font-style: normal; font-weight: 700; }
.sq-web-build-own { padding: 8% 10%; opacity: var(--build-own); transform: scale(calc(.94 + (var(--build-own) * .06))); }
.sq-web-build-own > div { position: absolute; right: 9%; top: 16%; width: 42%; height: 62%; padding: 9% 7%; border: 1px solid rgba(231,184,46,.42); background: linear-gradient(145deg,rgba(231,184,46,.16),rgba(255,255,255,.025)); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.sq-web-build-own > div i { display: block; margin-bottom: 18%; color: var(--web-gold); font-size: 30px; font-style: normal; font-weight: 700; }
.sq-web-build-own > div span { display: block; width: 100%; height: 6px; margin-top: 13%; background: rgba(255,255,255,.2); }
.sq-web-build-own > div span:nth-of-type(2) { width: 72%; }.sq-web-build-own > div span:nth-of-type(3) { width: 86%; }
.sq-web-build-own > strong { display: block; width: 40%; margin-top: 15%; color: #fffdf8; font-family: "Akari Cormorant", Georgia, serif; font-size: clamp(46px,5.2vw,76px); font-weight: 500; line-height: .9; }
.sq-web-build-own > p { width: 40%; margin-top: 7%; color: #cfc5b3; font-size: 14px; font-weight: 650; line-height: 1.5; }
.sq-web-build-own > b { display: block; width: fit-content; margin-top: 5%; color: var(--web-gold); font-size: 11px; letter-spacing: .14em; }
.sq-web-build-status { position: absolute; left: 3%; right: 3%; bottom: 0; display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid rgba(255,255,255,.14); }
.sq-web-build-status span { min-height: 52px; padding: 17px 12px; border-right: 1px solid rgba(255,255,255,.1); color: #a9a194; font-size: 12px; font-weight: 750; letter-spacing: .04em; text-align: center; }
.sq-web-build-status span:nth-child(1) { opacity: calc(.48 + (var(--build-site) * .52)); }.sq-web-build-status span:nth-child(2) { opacity: calc(.48 + (var(--build-app) * .52)); }.sq-web-build-status span:nth-child(3) { opacity: calc(.48 + (var(--build-connect) * .52)); }.sq-web-build-status span:nth-child(4) { opacity: calc(.48 + (var(--build-secure) * .52)); }.sq-web-build-status span:nth-child(5) { opacity: calc(.48 + (var(--build-host) * .52)); }.sq-web-build-status span:nth-child(6) { border-right: 0; opacity: calc(.48 + (var(--build-own) * .52)); }
.sq-web-scroll-cue { position: absolute; z-index: 8; left: 50%; bottom: 68px; display: flex; align-items: center; gap: 12px; opacity: 0; color: rgba(255,253,248,.72); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; transform: translate(-50%,12px); transition: opacity .38s ease,transform .38s ease; pointer-events: none; user-select: none; }
.sq-web-scroll-cue.is-visible { opacity: 1; transform: translate(-50%,0); }
.sq-web-scroll-cue > i { position: relative; width: 18px; height: 34px; display: block; overflow: hidden; border: 1px solid rgba(231,184,46,.48); border-radius: 12px; }
.sq-web-scroll-cue > i b { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; border-radius: 3px; background: var(--web-gold); transform: translateX(-50%); animation: sq-web-scroll-pulse 1.55s cubic-bezier(.55,0,.25,1) infinite; }
@keyframes sq-web-scroll-pulse { 0% { opacity: 0; transform: translate(-50%,-4px); } 24% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,15px); } }
.sq-web-enquiry { padding: 100px clamp(24px,10vw,156px); display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; background: rgba(255,254,250,.78); }
.sq-web-enquiry > div:last-child p { margin-bottom: 30px; font-size: 20px; font-weight: 650; line-height: 1.65; }

@media (min-width: 961px) and (max-width: 1100px) {
  .sq-hero h1 { font-size: clamp(54px, 5.5vw, 60px); line-height: 1.12; }
  .sq-hero > p { top: 424px; line-height: 1.65; }
}

@media (min-width: 961px) and (max-width: 1240px) {
  .sq-web-build-copy { width: 39%; }
  .sq-web-build-machine { width: 52%; }
  .sq-web-build-step h2 { font-size: clamp(44px,5vw,62px); }
}

@media (max-width: 960px) {
  .sq-header { height: 112px; padding: 36px clamp(24px, 5vw, 40px); }
  .sq-hero {
    height: auto;
    min-height: 0;
    padding: 112px 0 clamp(92px, 12vw, 120px);
    display: flex;
    flex-direction: column;
  }
  .sq-video {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .sq-hero h1,
  .sq-hero > p {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 760px;
    margin-right: clamp(24px, 6vw, 58px);
    margin-left: clamp(24px, 6vw, 58px);
  }
  .sq-hero h1 {
    margin-top: clamp(42px, 7vw, 64px);
    font-size: clamp(50px, 8vw, 64px);
    line-height: 1.05;
  }
  .sq-hero > p {
    margin-top: 28px;
    font-size: clamp(17px, 2.35vw, 19.072px);
    line-height: 1.7;
  }
  .akari-story { height: 370vh; min-height: 2150px; }
  .akari-mark, .akari-mark__sheen { width: min(96vw, 900px); }
  .akari-story__vision h2 { left: 8%; top: 34%; width: 84%; font-size: clamp(49px,7vw,62px); }
  .akari-story__vision a { left: 50%; top: 70%; width: min(420px,70%); transform: translateX(-50%); }
  .akari-story__about { left: 9%; width: 82%; }
  .sq-web-header nav > a:not(.sq-web-header-cta) { display: none; }
  .sq-web-build-story { height: 580vh; min-height: 3600px; }
  .sq-web-build-sticky { min-height: 720px; }
  .sq-web-build-copy { left: 7%; right: 7%; top: 6%; bottom: auto; width: auto; height: 38%; }
  .sq-web-build-step { top: 23%; }
  .sq-web-build-step h2 { max-width: 680px; margin: 12px 0 13px; font-size: clamp(38px,6vw,52px); }
  .sq-web-build-step p { max-width: 700px; margin-bottom: 0; font-size: 17px; line-height: 1.48; }
  .sq-web-build-machine { left: 7%; right: 7%; top: 42%; width: auto; height: 52%; }
  .sq-web-build-frame { inset: 0 0 13%; }
  .sq-web-build-status { left: 0; right: 0; }
  .sq-web-hero, .sq-web-enquiry { grid-template-columns: 1fr; }
  .sq-web-display { min-height: 480px; }
  .sq-footer { grid-template-columns: 1fr; align-items: start; }
  .sq-footer nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .sq-header { height: 92px; padding: 28px 24px; }
  .sq-header a { font-size: 25px; }
  .sq-header nav a { display: none; }
  .sq-header button { font-size: 17px; }
  .sq-hero { padding-top: 120px; padding-bottom: 86px; }
  .sq-hero h1 { font-size: clamp(42px, 11vw, 50px); }
  .sq-hero > p { margin-top: 24px; font-size: 17px; line-height: 1.65; }
  .sq-film-controls { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  .sq-film-controls button { min-height: 42px; padding: 9px 12px; }
  .akari-story__sticky { min-height: 560px; }
  .akari-mark, .akari-mark__sheen { width: 124vw; }
  .akari-story__vision h2 { left: 4%; top: 31%; width: 92%; font-size: clamp(44px,12vw,49px); }
  .akari-story__vision a { top: 71%; width: min(320px,76%); }
  .akari-story__about { left: 24px; width: calc(100% - 48px); }
  .akari-story__about p { margin-bottom: 10px; font-size: 16px; line-height: 1.46; }
  .sq-capabilities { gap: 4px 14px; padding: 10px 0 8px; }
  .sq-web-header { min-height: 86px; }
  .sq-web-brand { font-size: 24px; }
  .sq-web-header-cta { padding: 10px 13px; font-size: 14px; }
  .sq-web-hero { min-height: auto; padding-top: 68px; }
  .sq-web h1 { font-size: clamp(52px,16vw,70px); }
  .sq-web h2 { font-size: clamp(42px,12vw,54px); }
  .sq-web-lede { font-size: 18px; }
  .sq-web-display { min-height: 340px; }
  .sq-web-build-story { height: 570vh; min-height: 3500px; }
  .sq-web-build-sticky { min-height: 700px; }
  .sq-web-build-copy { left: 24px; right: 24px; top: 4%; height: 42%; }
  .sq-web-build-copy > .sq-web-eyebrow { margin-bottom: 8px; }
  .sq-web-build-step { top: 21%; }
  .sq-web-build-step h2 { margin: 8px 0 10px; font-size: clamp(34px,9.5vw,44px); }
  .sq-web-build-step p { font-size: 15.5px; line-height: 1.4; }
  .sq-web-build-machine { left: 14px; right: 14px; top: 47%; height: 48%; }
  .sq-web-build-frame { inset: 0 0 8%; }
  .sq-web-build-bar { height: 34px; }
  .sq-web-build-canvas { height: calc(100% - 34px); }
  .sq-web-build-site { padding: 13% 8%; }
  .sq-web-build-site > strong { width: 58%; height: 23px; }
  .sq-web-build-site > button { width: 30%; height: 34px; }
  .sq-web-build-app { grid-template-columns: 25% 1fr; }
  .sq-web-build-app aside { padding: 22px 11px; }
  .sq-web-build-app main { padding: 20px 14px; }
  .sq-web-build-metrics { gap: 6px; margin-top: 24px; }
  .sq-web-build-metrics span { height: 64px; }
  .sq-web-node { width: 58px; height: 58px; font-size: 9px; }
  .sq-web-build-connect b { width: 92px; height: 92px; font-size: 9px; }
  .sq-web-build-secure { grid-template-columns: .7fr 1.3fr; padding: 5%; }
  .sq-web-auth-card { padding: 18px 14px; }
  .sq-web-auth-card > div { gap: 3px; }
  .sq-web-auth-card i { height: 34px; font-size: 12px; }
  .sq-web-auth-card > strong { margin: 15px 0 12px; font-size: 19px; }
  .sq-web-build-host { padding: 10% 8%; }
  .sq-web-build-host > div { margin: 10% 0 8%; gap: 12px; }
  .sq-web-build-host > div strong { font-size: 62px; }
  .sq-web-build-host > div span { font-size: 11px; }
  .sq-web-build-host > b { margin-top: 8%; padding: 10px 12px; font-size: 11px; }
  .sq-web-build-own { padding: 8%; }
  .sq-web-build-own > div { right: 7%; top: 19%; width: 43%; height: 57%; padding: 10% 7%; }
  .sq-web-build-own > div i { font-size: 22px; }
  .sq-web-build-own > strong { width: 43%; margin-top: 22%; font-size: 37px; }
  .sq-web-build-own > p { width: 43%; font-size: 11px; }
  .sq-web-build-status { display: none; }
  .sq-web-scroll-cue { left: auto; right: 14px; bottom: 16px; gap: 8px; transform: translateY(10px); }
  .sq-web-scroll-cue.is-visible { transform: translateY(0); }
  .sq-web-scroll-cue > span { display: none; }
  .sq-web-enquiry { padding-top: 76px; padding-bottom: 76px; }
  .sq-inquiry, .sq-inquiry > main { min-height: 1470px; }
  .sq-inquiry-intro { left: 24px; top: 145px; width: calc(100% - 48px); }
  .sq-inquiry-form { left: 24px; top: 390px; width: calc(100% - 48px); }
  .sq-inquiry-confirmation { left: 24px; top: 390px; width: calc(100% - 48px); padding: 34px 26px; }
  .sq-name-grid { grid-template-columns: 1fr; gap: 27px; }
  .sq-inquiry-email { left: 24px; top: 1370px; width: calc(100% - 48px); }
  .sq-footer { padding: 40px 24px 28px; }
  .sq-footer-brand strong { font-size: 21px; }
  .sq-footer nav { display: grid; justify-content: stretch; gap: 8px; }
  .sq-footer nav a, .sq-footer nav button { width: max-content; text-align: left; }
  .sq-legal > main { padding: 130px 20px 70px; }
  .sq-legal-card { padding: 34px 24px; }
  .sq-legal-card h1 { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .akari-story__mark { will-change: auto; }
}
