/*
Theme Name: Studio 360 Custom
Version: 1.1.0
Description: Sofi November 2026 update, compatible with Studio 360 plugins.
Author: Studio 360 Design
Text Domain: studio360-custom
*/
/* Studio 360 Design: creative consulting. Live-site palette & type, portfolio layout system. */
:root {
  --ink: #352627;        /* headings, dark sections */
  --text: #6b6162;       /* body copy */
  --blue: #8cabc8;       /* logo blue, accents */
  --blue-deep: #5f84a8;
  --blue-soft: #dbe5ee;
  --mist: #f5f7f9;
  --stone: #eeecec;
  --rose: #cc3366;
  --white: #ffffff;
  --line: #e2dfdf;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
.eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-deep);
}
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
.display { line-height: 1.02; letter-spacing: -.015em; }
.display em, h2 em { font-style: italic; color: var(--blue-deep); }
h2.section-title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text); }
p + p { margin-top: 1em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .03em;
  border: 1px solid var(--blue); border-radius: 999px;
  padding: 12px 24px; color: var(--ink);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--blue-soft); }
.btn.solid { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.solid:hover { background: var(--rose); border-color: var(--rose); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--white);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; color: var(--ink); white-space: nowrap; }
.logo img { width: 40px; height: 40px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-size: 14px; }
.nav a:not(.btn) { position: relative; padding: 4px 0; color: var(--ink); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: 9px 18px; }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--blue); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .3s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; } .menu-toggle span::after { top: 5px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 112px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 90px); margin: 20px 0 28px; }
.hero .lede { max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.pill {
  font-size: 12px; letter-spacing: .04em; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; white-space: nowrap; background: var(--white);
}
.pill.new { border-color: var(--rose); color: var(--rose); }

/* hero: one project on a monitor and phone */
.hero-stage.devices { position: relative; aspect-ratio: 1 / .78; }
.hero-grid > .hero-stage.devices, .page-hero-grid > .hero-stage.devices { align-self: start; margin-top: clamp(8px, 2vw, 32px); }
.devices .screen.fit { height: auto; }
.devices .monitor { position: absolute; top: 0; left: 0; width: 88%; }
.devices .monitor .screen { aspect-ratio: 16 / 10; border: 5px solid #1c1617; border-radius: 10px; box-shadow: 0 0 0 1px #5a5052, 0 1px 0 1px #2a2324, 0 40px 70px -40px rgba(53,38,39,.45); }
.devices .monitor .neck { display: block; width: 12%; height: 40px; margin: 0 auto; background: linear-gradient(90deg, #b8b2b3, #e6e3e3 40%, #f3f1f1 55%, #c3bdbe); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.devices .monitor .base { display: block; width: 30%; height: 5px; margin: 0 auto; border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, #bdb7b8, #ebe8e8 50%, #bdb7b8); box-shadow: 0 8px 14px -6px rgba(53,38,39,.3); }
.devices .phone { position: absolute; right: 0; bottom: 2%; width: 27%; max-width: none; margin: 0; border-width: 3px; border-radius: 24px; }
.devices .phone::before { top: 6px; width: 34%; height: 11px; }
.devices .phone .screen { aspect-ratio: 9 / 19; border-radius: 21px; }
.now-playing { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-size: 12px; color: var(--text); }
.now-playing b { font-weight: 500; color: var(--ink); }

/* ---------- phone & browser frames ---------- */
.screen { --h: 540px; height: var(--h); overflow: hidden; position: relative; background: var(--white); }
.screen img { width: 100%; }
.screen.auto img { animation: autoscroll var(--d, 30s) ease-in-out infinite alternate; }
.screen.once img { animation: autoscroll-once var(--d, 26s) ease-in-out 1 forwards; }
.screen:hover img { animation-play-state: paused; }
@keyframes autoscroll {
  0%, 6% { transform: translateY(0); }
  94%, 100% { transform: translateY(calc(-100% + var(--h))); }
}
@keyframes autoscroll-once {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-100% + var(--h))); }
}
.screen img.fade { opacity: 0; transition: opacity .4s ease; }
.screen img { transition: opacity .4s ease; }

.phone {
  width: 100%; max-width: 290px; margin: 0 auto;
  border: 4px solid var(--ink); border-radius: 36px;
  overflow: hidden; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(53,38,39,.45);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; z-index: 3; top: 9px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 18px; border-radius: 999px; background: var(--ink);
}
.phone .screen { border-radius: 32px; }

.browser {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(53,38,39,.3);
}
.browser .bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser .dots { display: flex; gap: 6px; }
.browser .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); }
.browser .url {
  flex: 1; max-width: 360px; margin: 0 auto; font-size: 11px; color: var(--text); text-align: center;
  background: var(--mist); border-radius: 6px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser .view { aspect-ratio: 16 / 10; overflow: hidden; }
.browser .view img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .4s ease; }
.browser .view.screen { height: auto; }
.browser .view.screen img { height: auto; object-fit: fill; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { max-width: 48ch; }
.tint { background: var(--mist); }
.stone { background: var(--stone); }
.dark { background: var(--ink); color: #d9d2d2; }
.dark h2, .dark h3, .dark .display { color: var(--white); }
.dark .eyebrow { color: var(--blue); }
.dark .lede { color: #d9d2d2; }
.dark em { color: var(--blue) !important; }

/* announcement band */
.expand { border-radius: var(--radius); background: var(--blue-soft); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.expand h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.expand .note { margin-top: 24px; font-size: 14px; color: var(--ink); border-top: 1px solid rgba(53,38,39,.2); padding-top: 18px; }

/* our role: interactive tabs */
.role { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.role-list { border-top: 1px solid rgba(255,255,255,.14); }
.role-tab {
  width: 100%; text-align: left; display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #a99f9f; transition: color .3s ease;
}
.role-tab .n { font-size: 12px; font-variant-numeric: tabular-nums; }
.role-tab .t { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.role-tab .plus { font-size: 20px; transition: transform .3s ease; }
.role-tab[aria-selected="true"], .role-tab:hover { color: var(--white); }
.role-tab[aria-selected="true"] .plus { transform: rotate(45deg); color: var(--rose); }
.role-tab[aria-selected="true"] .n { color: var(--blue); }
.role-panel { position: sticky; top: 112px; }
.role-panel figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: #4a3a3b; }
.role-panel figure img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.role-panel figure.role-screen { aspect-ratio: auto; background: var(--white); border-radius: 16px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.role-screen .bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.role-screen .dots { display: flex; gap: 6px; }
.role-screen .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); }
.role-screen .url { flex: 1; max-width: 320px; margin: 0 auto; font-size: 11px; color: var(--text); text-align: center; background: var(--mist); border-radius: 6px; padding: 4px 10px; }
.role-panel figure.role-screen img { height: auto; aspect-ratio: 1100 / 756; object-position: top; }
.role-panel .copy { margin-top: 28px; max-width: 58ch; }
.role-panel h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 12px; }
.role-panel ul { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.role-panel li { font-size: 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 14px; color: var(--white); }
.role-progress { height: 2px; background: rgba(255,255,255,.12); margin-top: 28px; overflow: hidden; }
.role-progress i { display: block; height: 100%; width: 0; background: var(--rose); }
.role-progress i.run { animation: progress var(--t, 7s) linear forwards; }
@keyframes progress { to { width: 100%; } }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.service {
  background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(53,38,39,.4); }
.service .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.service .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.service:hover .thumb img { transform: scale(1.05); }
.service .body { padding: 24px 26px 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.service .n { font-size: 12px; color: var(--blue-deep); letter-spacing: .1em; }
.service h3 { font-size: 26px; line-height: 1.15; }
.service p { font-size: 15px; }
.service .tag { justify-self: start; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.service.ai { background: var(--ink); border-color: var(--ink); color: #d9d2d2; }
.service.ai h3 { color: var(--white); }
.service.ai .n { color: var(--blue); }
.service.ai p a { color: var(--white) !important; border-bottom-color: var(--blue) !important; }
.service.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.service.wide .thumb.app-thumb { aspect-ratio: auto; height: 340px; background: var(--blue-soft); position: relative; overflow: hidden; }
.app-thumb .app-demo { position: absolute; inset: 28px 0 auto; padding: 0; background: none; }
.app-thumb .phone { max-width: 230px; }
.service.wide .body { align-content: center; padding: clamp(28px, 4vw, 48px); }
.service.wide h3 { font-size: clamp(28px, 3vw, 36px); }
.service.wide:hover .thumb img { transform: none; }
.service.blue { background: var(--blue-deep); border-color: var(--blue-deep); color: #eef3f8; }
.service.blue h3 { color: var(--white); }
.service.blue .n { color: var(--blue-soft); }

/* work showcase */
.work { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.work-list { border-top: 1px solid var(--ink); }
.work-tab {
  width: 100%; text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
}
.work-tab .t { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); color: var(--ink); line-height: 1.2; transition: color .3s ease; }
.work-tab .k { font-size: 12px; color: var(--text); text-align: right; }
.work-tab .d { grid-column: 1 / -1; font-size: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s ease, opacity .5s ease, margin .5s ease; }
.work-tab[aria-selected="true"] .t { color: var(--blue-deep); font-style: italic; }
.work-tab[aria-selected="true"] .d { max-height: 160px; opacity: 1; margin-top: 8px; }
.work-tab:hover .t { color: var(--blue-deep); }
.work-stage { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(20px, 3vw, 40px); align-items: center; }
.work-stage .phone { max-width: 250px; }
.work-stage .phone .screen { --h: 480px; }
.work-stage .caption { grid-column: 1 / -1; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; }
.work-stage .caption a { color: var(--ink); border-bottom: 1px solid var(--blue); }

/* two-column feature with points */
.assist { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.assist .points { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.assist .points li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 16px; font-size: 15px; }
.assist .points strong { font-weight: 500; color: var(--ink); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.chat-phone .screen { --h: 560px; display: flex; flex-direction: column; background: var(--mist); }
.chat-top { padding: 40px 16px 12px; background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.chat-top .av { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; font-family: var(--serif); color: var(--ink); font-size: 14px; }
.chat-top b { display: block; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.chat-top small { font-size: 11px; color: var(--text); }
.chat-top .demo { margin-left: auto; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 84%; font-size: 13px; line-height: 1.45; padding: 10px 13px; border-radius: 16px; animation: pop .35s cubic-bezier(.2,.7,.2,1); }
.msg.bot { background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: 0 1px 0 var(--line); }
.msg.me { background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.handoff { background: var(--blue-soft); }
.msg.typing { display: inline-flex; gap: 4px; padding: 13px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.chat-chips { padding: 10px 12px 14px; display: flex; flex-wrap: wrap; gap: 6px; background: var(--white); border-top: 1px solid var(--line); }
.chip { font-size: 12px; border: 1px solid var(--blue); border-radius: 999px; padding: 6px 11px; color: var(--ink); transition: background .2s ease; }
.chip:hover { background: var(--blue-soft); }
.chip.mic { display: inline-flex; align-items: center; gap: 6px; border-color: var(--rose); color: var(--rose); }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.wave i { width: 2px; height: 4px; background: currentColor; border-radius: 2px; }
.listening .wave i { animation: wave .8s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; }
@keyframes wave { 50% { height: 12px; } }
.demo-note { font-size: 12px; text-align: center; margin-top: 14px; }

/* industry tabs */
.ind { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ind-list { display: grid; gap: 6px; }
.ind-list [role=tab] { text-align: left; padding: 14px 18px; border-radius: 14px; font-size: 16px; color: var(--ink); border: 1px solid transparent; transition: all .2s ease; }
.ind-list [role=tab]:hover { background: var(--white); }
.ind-list [role=tab][aria-selected="true"] { background: var(--white); border-color: var(--blue); font-weight: 500; }
.ind-panel { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); animation: pop .4s cubic-bezier(.2,.7,.2,1); }
.ind-panel h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 12px; }
.ind-panel .asks { display: grid; gap: 10px; margin-top: 24px; }
.ind-panel .ask { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.ind-panel .ask .q { background: var(--ink); color: var(--white); padding: 8px 12px; border-radius: 14px 14px 4px 14px; margin-left: auto; max-width: 75%; }
.ind-panel .ask .a { background: var(--mist); color: var(--ink); padding: 8px 12px; border-radius: 14px 14px 14px 4px; max-width: 75%; }
.ind-panel .never { margin-top: 24px; font-size: 13px; padding-top: 16px; border-top: 1px solid var(--line); }
.ind-panel .never b { color: var(--rose); font-weight: 500; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.promise { padding: 32px 28px 8px 0; }
.promise + .promise { padding-left: 28px; border-left: 1px solid var(--line); }
.promise .n { font-family: var(--serif); font-size: 44px; color: var(--blue); line-height: 1; }
.promise h3 { font-size: 24px; margin: 16px 0 10px; line-height: 1.2; }
.promise p { font-size: 15px; }

/* testimonials */
.quotes { position: relative; }
.quote { display: none; }
.quote.on { display: block; animation: pop .6s cubic-bezier(.2,.7,.2,1); }
.quote blockquote { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.3; color: var(--ink); max-width: 30ch; }
.quote blockquote::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--blue); margin-bottom: 16px; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 14px; }
.quote cite b { display: block; font-weight: 500; color: var(--ink); font-size: 16px; }
.quote-nav { display: flex; align-items: center; gap: 12px; margin-top: 40px; }
.quote-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--blue); color: var(--ink); transition: background .2s ease; }
.quote-nav button:hover { background: var(--blue-soft); }
.quote-nav .count { font-size: 13px; font-variant-numeric: tabular-nums; margin-left: 8px; }
.quotes-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.quotes-grid > figure { border-radius: 50%; overflow: hidden; aspect-ratio: 1; }
.quotes-grid > figure img { width: 100%; height: 100%; object-fit: cover; }

/* team */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.team-faces { display: flex; gap: 16px; margin-top: 32px; }
.team-faces figure { width: 96px; }
.team-faces img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.team-faces figcaption { font-size: 12px; margin-top: 8px; line-height: 1.35; }
.team-faces figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 13px; }
.team-photo { border-radius: var(--radius); overflow: hidden; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); color: var(--ink); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--blue-deep); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--rose); }
.faq details p { padding: 0 0 24px; max-width: 66ch; font-size: 15px; }

/* contact */
.contact { text-align: center; }
.contact .display { font-size: clamp(48px, 8vw, 120px); margin: 20px 0 28px; }
.contact .lede { max-width: 52ch; margin: 0 auto; }
.contact .hero-actions { justify-content: center; }
.contact .btn:not(.solid) { color: var(--white); }
.contact .btn:not(.solid):hover { background: rgba(255,255,255,.08); }
.contact .btn.solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.contact .btn.solid:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }

.site-footer { background: var(--ink); color: #a99f9f; border-top: 1px solid rgba(255,255,255,.1); padding: 48px 0 32px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-bottom: 12px; }
.foot-grid ul { list-style: none; display: grid; gap: 6px; }
.foot-grid a:hover { color: var(--white); }
.foot-grid .logo { color: var(--white); margin-bottom: 14px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

/* ---------- reveal ---------- */
.reveal { transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .9s ease; }
.js .reveal:not(.in) { transform: translateY(18px); opacity: 0; }
.reveal.in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal:not(.in) { transform: none; opacity: 1; transition: none; }
  .screen.auto, .screen.once { overflow-y: auto; }
  .screen.auto img, .screen.once img { animation: none; }
  .role-progress i.run { animation: none; width: 100%; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
  .nav a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 16px; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-toggle { display: block; }
  .services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .expand, .role, .work, .assist, .quotes-grid, .team, .faq { grid-template-columns: 1fr; }
  .hero-stage.devices { max-width: 620px; width: 100%; margin: 24px auto 0; }
  .role-panel { position: static; order: -1; }
  .promises { grid-template-columns: 1fr; }
  .promise + .promise { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .quotes-grid > figure { max-width: 240px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .service.wide { grid-template-columns: 1fr; }
  .devices .monitor .screen { border-width: 3px; border-radius: 6px; }
  .devices .monitor .neck { height: 22px; }
      .devices .phone { border-width: 2px; border-radius: 16px; }
  .devices .phone::before { display: none; }
  .devices .phone .screen { border-radius: 14px; }
  .work-stage { grid-template-columns: 1fr; }
  .work-stage .browser { display: none; }
  .assist .points li { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; }
  .logo span { font-size: 18px; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.crumbs { font-size: 13px; display: flex; gap: 8px; margin-bottom: 32px; }
.crumbs a { color: var(--blue-deep); }
.crumbs a:hover { color: var(--rose); }
.page-hero h1 { font-size: clamp(44px, 7vw, 100px); margin: 16px 0 24px; max-width: 16ch; }
.page-hero .lede { max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 64px); padding-top: 20px; border-top: 1px solid var(--ink); }
.hero-meta b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); color: var(--ink); line-height: 1.1; }
.hero-meta span { font-size: 13px; }

/* sticky in-page nav */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--ink); transition: border-color .2s ease, background .2s ease; }
.subnav a:hover, .subnav a.on { border-color: var(--blue); background: var(--blue-soft); }

/* service blocks */
.svc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.svc.flip .svc-media { order: -1; }
.svc h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; margin: 14px 0 20px; }
.svc .incl { list-style: none; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.svc .incl li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; color: var(--ink); }
.svc .incl li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.svc .pairs { margin-top: 24px; font-size: 14px; }
.svc .pairs a { color: var(--ink); border-bottom: 1px solid var(--blue); }
.svc-media { position: relative; }
.svc-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(53,38,39,.4); }
.svc-media .main img { width: 100%; height: 100%; object-fit: cover; }
.svc-media .inset { position: absolute; right: calc(8px - var(--gutter)); bottom: -88px; width: 38%; border-radius: 20px; overflow: hidden; border: 6px solid var(--white); box-shadow: 0 24px 48px -24px rgba(53,38,39,.45); }
.svc-media .inset img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* app development: a small booking app drawn in CSS */
.app-demo { display: grid; place-items: center; padding: 24px 0; background: radial-gradient(circle at 50% 55%, var(--blue-soft), transparent 68%); }
.app-demo .phone { max-width: 270px; }
.app-ui { --h: 540px; background: var(--mist); padding: 14px 18px 0; display: flex; flex-direction: column; gap: 12px; font-size: 12px; color: var(--ink); }
.app-bar { display: flex; justify-content: space-between; font-size: 11px; font-weight: 500; padding: 0 6px; }
.app-dots { display: flex; gap: 3px; align-items: center; }
.app-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.app-hi { margin-top: 18px; font-size: 12px; color: var(--text); }
.app-ui h4 { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.1; }
.app-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.app-days span { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px 0; text-align: center; font-size: 10px; color: var(--text); }
.app-days b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.app-days .on { background: var(--ink); border-color: var(--ink); color: #cfc6c6; }
.app-days .on b { color: var(--white); }
.app-slots { list-style: none; display: grid; gap: 8px; }
.app-slots li { background: var(--white); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; border: 1px solid var(--line); }
.app-slots b { font-weight: 500; font-size: 13px; }
.app-slots em { font-style: normal; font-size: 10px; color: var(--rose); }
.app-slots .on { border-color: var(--blue); background: var(--blue-soft); }
.app-btn { display: block; text-align: center; background: var(--blue-deep); color: var(--white); border-radius: 999px; padding: 11px; font-size: 12px; font-weight: 500; }
.app-tabs { margin: auto -18px 0; display: flex; justify-content: space-around; background: var(--white); border-top: 1px solid var(--line); padding: 12px 0 18px; font-size: 10px; color: var(--text); }
.app-tabs .on { color: var(--blue-deep); font-weight: 500; }
/* services: varied layouts */
.svc.box { border-top: 0; border-radius: var(--radius); padding: clamp(32px, 5vw, 72px); margin: clamp(24px, 4vw, 48px) auto; width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter))); }
.svc.box + .svc, .svc + .svc.box { border-top: 0; }
.svc.soft { background: var(--blue-soft); }
.svc.stone { background: var(--stone); }
.svc.ink { background: var(--ink); color: #d9d2d2; }
.svc.blue { background: var(--blue-deep); color: #eef3f8; }
.svc.ink h2, .svc.blue h2, .svc.ink .incl li, .svc.blue .incl li, .svc.ink .pairs a, .svc.blue .pairs a { color: var(--white); }
.svc.ink .lede, .svc.blue .lede { color: inherit; }
.svc.ink .eyebrow { color: var(--blue); }
.svc.blue .eyebrow, .svc.blue h2 em { color: var(--blue-soft); }
.svc.ink .incl, .svc.ink .incl li, .svc.blue .incl, .svc.blue .incl li { border-color: rgba(255,255,255,.16); }
.svc.blue .incl li::before { background: var(--white); }
.svc.ink .pairs a { border-bottom-color: var(--blue); }
.svc.blue .pairs a { border-bottom-color: var(--blue-soft); }
.svc.solo, .svc.banner { align-items: start; }
.svc.solo .incl, .svc.banner .incl { margin-top: 0; }
.svc.blue.solo .incl { grid-template-columns: 1fr 1fr; }
.svc-media.band { grid-column: 1 / -1; margin: calc(-1 * clamp(32px, 5vw, 72px)) calc(-1 * clamp(32px, 5vw, 72px)) 0; }
.svc-media.band .main { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 21 / 8; box-shadow: none; }
.svc.solo.photo { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); }
.svc-media.round .main { aspect-ratio: 1; border-radius: 50%; }
.svc-media.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.svc-media.pair .main { aspect-ratio: 3 / 4; }
.svc-media.pair .main + .main { margin-top: 64px; }
.svc.narrow { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.svc-media.single .main { aspect-ratio: 3 / 4; }
.svc.stack { grid-template-columns: 1fr; }
.svc.stack > .reveal { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 clamp(32px, 6vw, 96px); }
.svc.stack > .reveal > .eyebrow, .svc.stack > .reveal > h2, .svc.stack > .reveal > .lede { grid-column: 1; }
.svc.stack > .reveal > .incl { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.svc.stack > .reveal > .pairs { grid-column: 2; }
.svc-media.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.svc-media.strip .main { aspect-ratio: auto; height: clamp(220px, 28vw, 380px); }
.svc-media.devices { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; align-items: center; }
.svc-media.devices .phone { max-width: 210px; border-width: 4px; }
.svc-media.devices .phone .screen { --h: 400px; }
.svc-media.devices .browser .view { aspect-ratio: 16 / 11; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { padding: 28px 24px 0 0; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -1px; left: 0; width: 44px; border-top: 2px solid var(--rose); padding-top: 12px; font-size: 12px; color: var(--blue); }
.step h3 { font-size: 26px; margin: 28px 0 10px; }
.step p { font-size: 15px; }
.steps.light .step { border-top-color: var(--line); }
.steps.five { grid-template-columns: repeat(5, 1fr); }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.filter { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink); background: var(--white); transition: all .2s ease; }
.filter:hover { border-color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters .count { margin-left: auto; font-size: 13px; }
[data-cat][hidden] { display: none !important; }

/* website grid */
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.site-card { display: block; animation: pop .5s cubic-bezier(.2,.7,.2,1); }
/* frame is as wide as the widest screenshot (2.1:1), so images fill the width and only ever trim at the bottom */
.site-card .thumb { border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 10; background: var(--stone); border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.site-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.site-card:hover .thumb { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(53,38,39,.45); }
.site-card .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-top: 14px; }
.site-card h3 { font-size: 21px; line-height: 1.2; }
.site-card .k { font-size: 12px; white-space: nowrap; }
.site-card .go { font-size: 13px; color: var(--blue-deep); display: inline-block; margin-top: 4px; transition: transform .3s ease; }
.site-card:hover .go { transform: translateX(4px); }

/* logo + art grids */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-grid figure { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .4s ease; }
.logo-grid figure:hover { transform: translateY(-4px); }
.logo-grid img { width: 100%; height: 100%; object-fit: contain; }
.logo-grid figure.dark-bg { background: var(--ink); }
.art-grid { columns: 3 220px; column-gap: 16px; }
.art-grid a { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 18px; overflow: hidden; position: relative; }
.art-grid img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.art-grid a:hover img { transform: scale(1.04); }
.art-grid a::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; opacity: 0; transition: opacity .3s ease; }
.art-grid a:hover::after { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(30,20,21,.92); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 12px; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; justify-items: center; gap: 12px; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; border-radius: 12px; }
.lightbox figcaption { color: #d9d2d2; font-size: 13px; text-align: center; }
.lightbox button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 18px; }
.lightbox button:hover { background: rgba(255,255,255,.1); }
.lightbox .lb-close { position: absolute; top: 20px; right: 20px; font-size: 24px; }

/* testimonials wall */
.t-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.t-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: block; animation: pop .5s cubic-bezier(.2,.7,.2,1); }
.t-card blockquote { font-size: 15px; line-height: 1.7; color: var(--ink); max-height: 11.9em; overflow: hidden; position: relative; }
.t-card blockquote::before { content: "“"; display: block; font-family: var(--serif); font-size: 56px; line-height: .6; color: var(--blue); margin-bottom: 12px; }
.t-card:not(.open) blockquote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(transparent, var(--white)); }
.t-card.open blockquote { max-height: none; }
.t-card .more { font-size: 13px; color: var(--blue-deep); margin-top: 10px; }
.t-card .more:hover { color: var(--rose); }
.t-card .more[hidden] + cite { margin-top: 18px; }
.t-card cite { display: block; font-style: normal; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.t-card cite b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.t-card.brown { background: var(--ink); border-color: var(--ink); }
.t-card.brown blockquote { color: var(--white); }
.t-card.brown:not(.open) blockquote::after { background: linear-gradient(rgba(53,38,39,0), var(--ink)); }
.t-card.brown .more { color: var(--blue); }
.t-card.brown cite { color: #a99f9f; border-top-color: rgba(255,255,255,.14); }
.t-card.brown cite b { color: var(--white); }
.t-card.blue { background: var(--blue-soft); border-color: var(--blue-soft); }
.t-card.blue blockquote::before { color: var(--blue-deep); }
.t-card.blue:not(.open) blockquote::after { background: linear-gradient(rgba(219,229,238,0), var(--blue-soft)); }
.t-card.blue cite { border-top-color: rgba(53,38,39,.12); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .4s ease; }
.member:hover { box-shadow: 0 30px 60px -40px rgba(53,38,39,.45); }
.member .photo { aspect-ratio: 1; overflow: hidden; background: var(--blue-soft); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .6s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.member:hover .photo img { filter: none; transform: scale(1.03); }
.member .body { padding: 22px 24px 24px; }
.member h3 { font-size: 26px; }
.member .job { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); margin-top: 4px; }
.member .bio { max-height: 0; overflow: hidden; transition: max-height .5s ease, margin .5s ease; font-size: 15px; }
.member.open .bio { max-height: 420px; margin-top: 14px; }
.member button { margin-top: 14px; font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--blue); }
.member button::after { content: " +"; }
.member.open button::after { content: " –"; }

/* cards (assistants page) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; }
.card .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; font-family: var(--serif); color: var(--ink); font-size: 18px; }
.card h3 { font-size: 22px; margin: 18px 0 8px; line-height: 1.2; }
.card p { font-size: 15px; }
.dark .card { background: #42302f; border-color: #4e3b3b; }
.dark .card .ic { background: rgba(140,171,200,.2); color: var(--blue); }


/* fit checklist */
.fit:not(.screen) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.fit-list { display: grid; gap: 10px; }
.fit-list label { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--ink); transition: border-color .2s ease, background .2s ease; }
.fit-list label:hover { border-color: var(--blue); }
.fit-list input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--blue); display: grid; place-items: center; transition: background .2s ease; margin: 0; }
.fit-list input:checked { background: var(--ink); border-color: var(--ink); }
.fit-list input:checked::after { content: ""; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.fit-list input:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.fit-list label:has(input:checked) { background: var(--blue-soft); border-color: var(--blue); }
.fit-out { position: sticky; top: 112px; background: var(--ink); color: #d9d2d2; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.fit-out .score { font-family: var(--serif); font-size: 64px; color: var(--white); line-height: 1; }
.fit-out p { margin-top: 16px; font-size: 17px; line-height: 1.55; min-height: 5em; }
.fit-out p[data-level="high"] { color: var(--white); }
.fit-out .btn { margin-top: 20px; }

/* journal */
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.post-feature .thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.post-feature .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.post-feature:hover .thumb img { transform: scale(1.03); }
.post-feature h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; margin: 14px 0 16px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.post { display: block; animation: pop .5s cubic-bezier(.2,.7,.2,1); }
.post .thumb { border-radius: 20px; overflow: hidden; background: var(--stone); }
.post .thumb img { width: 100%; height: auto; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.post:hover .thumb img { transform: scale(1.04); }
.post .meta { font-size: 12px; margin-top: 16px; display: flex; gap: 10px; }
.post .meta .tag { color: var(--rose); letter-spacing: .1em; text-transform: uppercase; }
.post h3 { font-size: 23px; line-height: 1.2; margin-top: 6px; transition: color .2s ease; }
.post:hover h3 { color: var(--blue-deep); }
.post p { font-size: 14px; margin-top: 8px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .form legend { font-size: 13px; color: var(--ink); font-weight: 500; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form fieldset { border: 0; display: grid; gap: 10px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink); background: var(--white); transition: all .2s ease; }
.pick label:hover span { border-color: var(--blue); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pick input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.form .fine { font-size: 12px; }
.form-done { background: var(--blue-soft); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.form-done h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.aside { display: grid; gap: 20px; }
.aside .box { border-radius: 22px; padding: 28px; background: var(--mist); }
.aside .box.dark { background: var(--ink); }
.aside h3 { font-size: 22px; margin-bottom: 10px; }
.aside ol { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.aside ol li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; }
.aside ol li::before { content: counter(n); width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 12px; display: grid; place-items: center; margin-top: 2px; }
.aside .socials { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* shared CTA band */
.cta-band { border-radius: var(--radius); background: var(--blue-soft); padding: clamp(36px, 6vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; max-width: 18ch; }
.cta-band p { margin-top: 12px; max-width: 46ch; }

@media (max-width: 1080px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps.five { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
}
@media (max-width: 900px) {
  .t-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-grid, .svc, .ind, .fit:not(.screen), .post-feature, .contact-grid { grid-template-columns: 1fr; }
  .svc.flip .svc-media, .svc.solo.photo .svc-media { order: 0; }
  .ind-panel .ask .q, .ind-panel .ask .a { max-width: 90%; }
  .svc-media .inset { right: 8px; }
  .svc.narrow, .svc.solo.photo, .svc.stack > .reveal { grid-template-columns: 1fr; }
  .svc.blue.solo .incl { grid-template-columns: 1fr; }
  .svc.stack > .reveal > .incl, .svc.stack > .reveal > .pairs { grid-column: 1; grid-row: auto; }
  .svc-media.round { max-width: 220px; }
  .svc-media.band .main { aspect-ratio: 16 / 8; }
  .site-grid, .post-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .steps, .steps.five { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .fit-out { position: static; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .t-wall { grid-template-columns: 1fr; }
  .site-grid, .post-grid, .team-grid, .cards, .steps, .steps.five, .form .row, .svc .incl { grid-template-columns: 1fr; }
  .svc-media.devices { grid-template-columns: 1fr; }
  .svc-media.devices .browser { display: none; }
  .svc-media .inset { width: 46%; bottom: -24px; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .filters .count { margin-left: 0; width: 100%; }
  .lightbox { grid-template-columns: 1fr; padding: 72px 12px 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { display: none; }
}

/* site chatbot */
.bot-wrap { position: fixed; right: clamp(12px, 3vw, 28px); bottom: clamp(12px, 3vw, 28px); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bot-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); border-radius: 999px; padding: 13px 20px; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(53,38,39,.55); transition: transform .3s ease; }
.bot-toggle:hover { transform: translateY(-2px); }
.bot-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(140,171,200,.25); }
.bot-wrap.open .bot-toggle { display: none; }
.bot-panel { order: -1; width: min(370px, calc(100vw - 24px)); height: min(560px, calc(100vh - 100px)); background: var(--mist); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(53,38,39,.5); display: flex; flex-direction: column; overflow: hidden; }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 16px 18px; background: var(--ink); color: #d9d2d2; }
.bot-head b { display: block; color: var(--white); font-family: var(--serif); font-weight: 500; font-size: 18px; }
.bot-head span { font-size: 12px; }
.bot-close { color: var(--white); font-size: 24px; line-height: 1; padding: 0 4px; }
.bot-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bot-log .msg { max-width: 88%; }
.bot-link { display: block; margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--blue-deep); }
.bot-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.bot-chips .chip { background: var(--white); }
.bot-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.bot-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 14px; color: var(--ink); }
.bot-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.bot-form button { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 16px; }
@media print { .bot-wrap { display: none; } }
/* app design page */
.app-stage { position: relative; padding: 8px 0 40px; }
.page-hero-grid.apps { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.app-stage .web-app { width: 84%; }
.app-stage .phone { position: absolute; right: 0; bottom: 0; width: 31%; max-width: 210px; border-width: 4px; border-radius: 30px; }
.app-stage .phone .app-ui { height: auto; font-size: 10px; gap: 8px; padding: 12px 12px 0; }
.app-stage .app-slots li { padding: 8px 10px; border-radius: 12px; }
.app-stage .app-days span { padding: 6px 0; }
.app-stage .app-days b { font-size: 14px; }
.app-stage .app-btn { padding: 9px; font-size: 11px; }
.app-stage .app-ui h4 { font-size: 18px; }
.app-stage .app-hi { margin-top: 10px; }
.app-stage .app-tabs { margin: 4px -12px 0; padding: 10px 0 14px; }
.web-ui { display: grid; grid-template-columns: 26% 1fr; min-height: 360px; font-size: 12px; color: var(--ink); }
.web-ui aside { background: var(--ink); color: #cfc6c6; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.web-ui aside b { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--white); margin-bottom: 12px; }
.web-ui aside span { padding: 7px 10px; border-radius: 8px; }
.web-ui aside .on { background: rgba(140,171,200,.25); color: var(--white); }
.web-main { background: var(--mist); padding: 18px 20% 18px 18px; display: grid; gap: 12px; align-content: start; }
.web-hi { font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.web-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.web-tiles div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.web-tiles small { display: block; font-size: 10px; color: var(--text); }
.web-tiles b { font-size: 22px; font-weight: 500; }
.web-rows { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.web-rows li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.web-rows li + li { border-top: 1px solid var(--line); }
.web-rows em { font-style: normal; font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--stone); color: var(--text); white-space: nowrap; }
.web-rows em.ok { background: var(--blue-soft); color: var(--blue-deep); }
.web-rows em.due { background: #f7e1e8; color: var(--rose); }
.app-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-panel { border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); scroll-margin-top: 100px; }
.app-panel.soft { background: var(--blue-soft); }
.app-panel.ink { background: var(--ink); color: #d9d2d2; }
.app-panel h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; margin: 14px 0 18px; }
.app-panel.ink h2 { color: var(--white); }
.app-panel.ink h2 em, .app-panel.ink .eyebrow { color: var(--blue); }
.app-panel .incl { list-style: none; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid rgba(53,38,39,.14); }
.app-panel .incl li { padding: 11px 0 11px 20px; border-bottom: 1px solid rgba(53,38,39,.14); font-size: 15px; position: relative; color: var(--ink); }
.app-panel .incl li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-deep); }
.app-panel.ink .incl, .app-panel.ink .incl li { border-color: rgba(255,255,255,.16); color: var(--white); }
.app-panel.ink .incl li::before { background: var(--blue); }
.app-panel .note { margin-top: 22px; font-size: 14px; font-style: italic; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .app-two { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .app-stage { max-width: 560px; }
  .page-hero-grid.apps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards.three, .app-panel .incl { grid-template-columns: 1fr; }
  .app-stage .web-app { width: 100%; }
  .app-stage { padding-bottom: 0; }
  .app-stage .phone { position: relative; width: 62%; max-width: 230px; margin: -56px 8% 0 auto; }
  .web-ui { grid-template-columns: 1fr; min-height: 0; }
  .web-ui aside { display: none; }
  .web-main { padding: 14px 14px 72px; }
  .web-hi { font-size: 17px; }
  .web-tiles div { padding: 8px 9px; }
  .web-tiles b { font-size: 18px; }
  .web-rows li { font-size: 11px; padding: 9px 10px; }
  .web-rows li:nth-child(n+3) { display: none; }
}
.more-wrap { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.more-wrap .btn[hidden] { display: none; }
/* blog: shared article typography */
.prose { font-size: 18px; line-height: 1.75; color: #4f4546; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin-top: 1.9em; scroll-margin-top: 100px; }
.prose h3 { font-size: 22px; line-height: 1.3; margin-top: 1.6em; scroll-margin-top: 100px; }
.prose h4 { font-family: var(--sans); font-size: 17px; font-weight: 500; color: var(--ink); margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .55em; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--blue); transition: border-color .2s ease, color .2s ease; }
.prose a:hover { color: var(--blue-deep); border-color: var(--rose); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue-deep); }
.prose blockquote { border-left: 3px solid var(--blue); padding-left: 20px; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.prose figure { margin-top: 2em; }
.prose figure img { border-radius: 20px; width: 100%; max-width: 520px; }
.prose > p:first-child::first-letter { }
/* blog layout A: editorial */
.pa-head { padding-top: clamp(32px, 5vw, 64px); }
.pa-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pa-intro .eyebrow a { color: inherit; }
.pa-intro h1 { font-size: clamp(40px, 5.4vw, 76px); margin: 18px 0 22px; }
.pa-intro .lede { max-width: 46ch; }
.byline { margin-top: 24px; font-size: 14px; }
.byline a { color: var(--ink); border-bottom: 1px solid var(--blue); }
.pa-cover img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: 0 40px 80px -40px rgba(53,38,39,.4); }
.pa-body { max-width: 700px; margin: clamp(48px, 7vw, 96px) auto 0; }
.pa-body > p:first-child { font-size: 21px; color: var(--ink); }
.pa-foot { max-width: 700px; margin: 56px auto clamp(64px, 8vw, 112px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.pa-foot a:not(.btn) { color: var(--ink); border-bottom: 1px solid var(--blue); }
.ja-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ja-feature .thumb { border-radius: var(--radius); overflow: hidden; }
.ja-feature .thumb img { width: 100%; height: auto; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ja-feature:hover .thumb img { transform: scale(1.03); }
.ja-feature h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; margin: 14px 0 18px; }
.post .body { display: block; }
@media (max-width: 900px) {
  .pa-grid, .ja-feature { grid-template-columns: 1fr; }
  .pa-cover { max-width: 440px; }
}
@media (max-width: 640px) {
  .prose { font-size: 17px; }
}
.ja-h { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; margin: 14px 0 16px; }
.journal-h1 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 8px; }
.ja-hero { color: inherit; }
.ja-hero .display { font-size: clamp(40px, 5.4vw, 76px); margin: 18px 0 22px; transition: color .2s ease; }
.ja-hero:hover .display { color: var(--blue-deep); }
.ja-hero .pa-cover img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ja-hero:hover .pa-cover img { transform: scale(1.015); }
.pa-cover { max-height: none; }
section.pa-head:has(.ja-hero) { padding-bottom: clamp(56px, 7vw, 104px); }

body.admin-bar .site-header{top:32px}@media(max-width:782px){body.admin-bar .site-header{top:46px}}
