/* DB Media — site styles */
:root {
  --ink: #0E1220;
  --night: #0B0E17;
  --night-2: #141927;
  --line-dark: #2A3042;
  --accent: #3D5AFE;
  --accent-hover: #2A44D6;
  --accent-light: #8FA2FF;
  --accent-tint: #EEF1FF;
  --paper: #FFFFFF;
  --mist: #F7F8FB;
  --line: #E8EBF2;
  --line-2: #D5DAE5;
  --text-2: #3A4256;
  --text-3: #4A5266;
  --muted: #5B6275;
  --muted-dark: #B4BACB;
  --green: #34D399;
  --radius: 22px;
  --display: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --body: Verdana, Geneva, Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
button { font: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--night); color: #fff; }
.dots { background-image: radial-gradient(#1F2638 1.2px, transparent 1.2px); background-size: 26px 26px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }

/* Eyebrows & headings */
.eyebrow { font-family: var(--display); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section--dark .eyebrow { color: var(--accent-light); }
.h2 { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; font-weight: 700; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head--row > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.lead { font-size: 19px; line-height: 1.65; color: var(--text-2); }
.section--dark .lead { color: var(--muted-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(61, 90, 254, .35); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .24); background: transparent; }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { color: var(--ink); border-color: var(--line-2); background: #fff; }
.btn--outline:hover { color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(11, 14, 23, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand svg { width: 40px; height: 34px; flex-shrink: 0; }
.wordmark { font-family: var(--display); font-size: 23px; letter-spacing: -.025em; font-weight: 700; }
.wordmark span { font-weight: 400; }
.wordmark i { font-style: normal; color: var(--accent-light); }
@media (max-width: 420px) { .wordmark { font-size: 20px; } .brand svg { width: 34px; height: 29px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #C9CFDC; text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 0; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent-light); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .btn { margin-top: 14px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background-color: var(--night); color: #fff; }
.orb { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: var(--accent); opacity: .32; filter: blur(120px); top: -160px; right: -80px; animation: orbFloat 9s ease-in-out infinite; pointer-events: none; }
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding: 96px 24px 110px; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.status { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: 14px; color: #C9CFDC; background: rgba(255, 255, 255, .04); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.025em; font-weight: 700; }
.rotator { color: var(--accent-light); display: inline-block; }
.rotator.in { animation: wordIn .45s var(--ease); }
.caret { display: inline-block; width: 5px; height: .82em; background: var(--accent-light); margin-left: 6px; vertical-align: -.06em; border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .lead { color: var(--muted-dark); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 9px 14px; border-radius: 999px; cursor: pointer; background: transparent; color: #8C93A6; border: 1px solid rgba(255, 255, 255, .14); transition: all .2s; }
.chip:hover { color: #fff; }
.chip[aria-pressed="true"] { background: rgba(143, 162, 255, .18); color: #fff; border-color: var(--accent-light); }

.hero-art { flex: 1 1 440px; min-width: 0; position: relative; height: 460px; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.browser-bar { height: 26px; background: #E8EBF2; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #C9CFDC; }
.hero-art .polaroid { position: absolute; margin: 0; }
.hero-art .b1 { left: 0; top: 70px; width: 62%; animation: floatA 7s ease-in-out infinite; }
.hero-art .b2 { right: 0; top: 0; width: 58%; animation: floatB 8s ease-in-out infinite; }
.hero-art .b3 { right: 6%; bottom: 0; width: 54%; transform: rotate(-2deg); }
@keyframes floatA { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(-6deg); } }
@keyframes floatB { 0%, 100% { transform: translateY(0) rotate(5deg); } 50% { transform: translateY(12px) rotate(5deg); } }
@media (max-width: 560px) { .hero-art { height: 340px; } }

.marquee-wrap { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; padding: 22px 0; }
.marquee { display: flex; gap: 56px; width: max-content; font-family: var(--display); font-size: 20px; font-weight: 500; color: #6B7389; white-space: nowrap; animation: marq 28s linear infinite; }
.marquee b { color: var(--accent-light); font-weight: 400; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background-color: var(--night); color: #fff; }
.page-hero .container { position: relative; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; max-width: 1240px; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1.04; font-weight: 700; max-width: 820px; }
.page-hero .lead { max-width: 620px; }

/* Services tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.tablist { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 16px; cursor: pointer; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; background: transparent; color: var(--text-3); border: 1px solid transparent; transition: all .2s; }
.tab:hover { color: var(--ink); }
.tab .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); transition: all .2s; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: 0 10px 30px rgba(14, 18, 32, .08); }
.tab[aria-selected="true"] .ico { background: var(--accent); color: #fff; }
.tabpanel { flex: 999 1 520px; min-width: 0; background: var(--night); color: #fff; border-radius: 24px; padding: 44px; position: relative; overflow: hidden; }
.tabpanel::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--accent); opacity: .28; filter: blur(90px); right: -80px; bottom: -120px; pointer-events: none; }
.panel-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; animation: wordIn .4s var(--ease); }
.panel-num { font-family: var(--display); font-size: 15px; color: var(--accent-light); font-weight: 600; }
.panel-body h3 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; }
.panel-body p { font-size: 18px; line-height: 1.65; color: var(--muted-dark); max-width: 560px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 15px; color: #E3E6EE; }
.checks svg { flex-shrink: 0; color: var(--accent-light); }
@media (max-width: 560px) { .tabpanel { padding: 28px; } }

/* Service cards (services page) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(14, 18, 32, .12); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.card p { color: var(--text-3); font-size: 16px; line-height: 1.6; }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-2); }
.card li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }

/* Work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 15px; font-weight: 500; padding: 11px 18px; border-radius: 999px; cursor: pointer; background: #fff; color: var(--text-2); border: 1px solid var(--line-2); transition: all .2s; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill--accent[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; animation: wordIn .4s var(--ease); }
.project:hover { transform: translateY(-8px); box-shadow: 0 28px 50px rgba(14, 18, 32, .16); }
.project[hidden] { display: none; }
.shot { all: unset; position: relative; cursor: zoom-in; display: flex; align-items: flex-end; gap: 16px; background: #F2F4F8; padding: 24px 22px 26px; }
.shot .polaroid { flex: 1 1 0; min-width: 0; }
.shot:focus-visible { outline: 3px solid var(--accent-light); outline-offset: -3px; }
.shot .crop { aspect-ratio: 4 / 3; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project:hover .shot img { transform: scale(1.05); }
.project-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; background: var(--accent-tint); padding: 6px 10px; border-radius: 999px; }
.domain { font-size: 14px; color: var(--muted); }
.project h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.project p { font-size: 16px; line-height: 1.6; color: var(--text-3); }
.project-links { display: flex; gap: 20px; }
.linkbtn { border: 0; background: none; padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.project-links a { font-size: 15px; font-weight: 600; padding: 10px 0; text-decoration: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(6, 8, 14, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-card { width: 100%; max-width: 980px; max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); animation: wordIn .35s var(--ease); }
.lightbox-bar { height: 48px; background: #E8EBF2; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 14px; }
.lightbox-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.lightbox-url { flex: 1; height: 28px; border-radius: 8px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: var(--muted); }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); border-radius: 10px; }
.icon-btn:hover { background: rgba(14, 18, 32, .06); }
.lightbox-media { display: flex; gap: 20px; align-items: center; padding: 20px; background: #F2F4F8; }
.lightbox-media .lb-desktop { flex: 1 1 0; min-width: 0; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 24px rgba(14, 18, 32, .12); }
.lightbox-media .phone { position: static; flex: 0 0 22%; transform: none; }
@media (max-width: 560px) { .lightbox-media { flex-direction: column; } .lightbox-media .phone { width: 55%; } }
.lightbox-foot { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox-foot h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }

/* Idea section */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split > * { flex: 1 1 460px; min-width: 0; }
.photo { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(14, 18, 32, .16); background: var(--accent-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.float-card { position: absolute; border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.float-card.f1 { left: 5%; top: 6%; background: #fff; box-shadow: 0 16px 34px rgba(14, 18, 32, .14); animation: bob 6s ease-in-out infinite; }
.float-card.f2 { right: 5%; top: 6%; background: var(--night); color: #fff; box-shadow: 0 16px 34px rgba(14, 18, 32, .25); animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.f1 .i { width: 34px; height: 34px; border-radius: 10px; background: #FEF3C7; color: #B45309; display: flex; align-items: center; justify-content: center; }
.f2 .i { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--night); display: flex; align-items: center; justify-content: center; }
.idea-copy { display: flex; flex-direction: column; gap: 24px; }
.stat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 8px 0; }
.stat { display: flex; align-items: baseline; gap: 8px; }
.stat b { font-family: var(--display); font-size: 72px; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.stat span { font-family: var(--display); font-size: 22px; font-weight: 600; }
.vrule { width: 1px; height: 56px; background: var(--line-2); }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-2); }

/* Process */
.progress { height: 4px; background: #1F2638; border-radius: 2px; overflow: hidden; margin-bottom: 18px; }
.progress div { height: 4px; width: 25%; background: var(--accent); border-radius: 2px; transition: width .5s var(--ease); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .08); transition: background .25s, border-color .25s; }
.step:hover { border-color: rgba(143, 162, 255, .3); }
.step:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }
.step[aria-expanded="true"] { background: rgba(143, 162, 255, .1); border-color: rgba(143, 162, 255, .5); }
.step .n { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent-light); }
.step .t { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; font-weight: 600; color: #fff; }
.step .b { font-size: 16px; line-height: 1.6; color: var(--muted-dark); }
.step .more { display: none; font-size: 14px; line-height: 1.6; color: #E3E6EE; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.step[aria-expanded="true"] .more { display: block; animation: wordIn .3s ease; }

/* Quote builder */
.builder { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.builder-steps { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.q { display: flex; flex-direction: column; gap: 14px; border: 0; margin: 0; padding: 0; }
.q legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 14px; }
.q legend span { font-weight: 400; color: var(--muted); }
.summary { flex: 1 1 360px; min-width: 0; position: sticky; top: 90px; background: var(--night); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.summary .label { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-light); font-weight: 600; }
.summary .type { font-family: var(--display); font-size: 26px; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.chosen { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; }
.chosen span { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(143, 162, 255, .14); color: #C7D0FF; animation: wordIn .3s ease; }
.chosen em { font-style: normal; font-size: 14px; color: #8C93A6; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #E3E6EE; }
.field input, .field textarea { height: 46px; border: 1px solid var(--line-dark); border-radius: 10px; padding: 0 14px; font-size: 16px; font-family: var(--body); background: var(--night-2); color: #fff; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-light); }
.summary .btn { width: 100%; }
.note { font-size: 13px; color: #8C93A6; text-align: center; }
.thanks { display: none; flex-direction: column; gap: 14px; padding: 24px 0; animation: wordIn .4s var(--ease); }
.form-part { display: flex; flex-direction: column; gap: 18px; }
.summary.sent .thanks { display: flex; }
.summary.sent .form-part { display: none; }
.thanks .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; }
.thanks h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.thanks p { color: var(--muted-dark); }

/* Contact details */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text-2); }
.contact-list strong { color: var(--ink); display: inline-block; min-width: 84px; }

/* Footer */
.site-footer { background: var(--night); color: var(--muted-dark); }
.site-footer .container { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-cta h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.025em; font-weight: 700; color: #fff; max-width: 720px; }
.footer-cta h2 span { color: var(--accent-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.footer-nav a { color: var(--muted-dark); text-decoration: none; font-size: 15px; padding: 12px 0; }
.footer-nav a:hover { color: #fff; }
.small { font-size: 14px; }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .big { font-family: var(--display); font-size: clamp(90px, 16vw, 200px); line-height: .9; letter-spacing: -.06em; font-weight: 700; color: var(--accent-light); }

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

/* Polaroid snapshots */
.polaroid { margin: 0; background: #fff; padding: 12px 12px 0; border-radius: 3px; box-shadow: 0 2px 4px rgba(14, 18, 32, .08), 0 18px 40px rgba(14, 18, 32, .22); }
.polaroid img { width: 100%; height: auto; border-radius: 1px; }
.polaroid figcaption { font-family: "Caveat", "Segoe Print", cursive; font-size: 22px; font-weight: 600; color: #2A3042; text-align: center; padding: 10px 4px 14px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-art .polaroid { box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 60px rgba(0, 0, 0, .5); }
.hero-art .polaroid figcaption { font-size: 20px; padding: 8px 4px 12px; }
.shot .polaroid { transform: rotate(-1.6deg); transition: transform .4s var(--ease), box-shadow .4s; }
.project:nth-child(even) .shot .polaroid { transform: rotate(1.4deg); }
.project:hover .shot .polaroid { transform: rotate(0deg) translateY(-4px); box-shadow: 0 4px 8px rgba(14, 18, 32, .1), 0 26px 50px rgba(14, 18, 32, .26); }
.shot .crop { aspect-ratio: 4 / 3; overflow: hidden; }
@media (max-width: 560px) { .hero-art .polaroid { padding: 7px 7px 0; } .hero-art .polaroid figcaption { font-size: 14px; padding: 5px 2px 8px; } }

/* Welcome agent (chat) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--body); }
.chat-launcher { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 12px 30px rgba(61, 90, 254, .45); transition: transform .2s, box-shadow .2s; }
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(61, 90, 254, .55); }
.chat-launcher .ic-close { display: none; }
.chat.open .chat-launcher { width: 56px; padding: 0; justify-content: center; }
.chat.open .chat-launcher span, .chat.open .chat-launcher .ic-open { display: none; }
.chat.open .chat-launcher .ic-close { display: block; }
.chat-teaser { position: relative; max-width: 270px; background: #fff; color: var(--ink); border-radius: 16px 16px 4px 16px; padding: 14px 34px 14px 16px; box-shadow: 0 14px 36px rgba(14, 18, 32, .2); font-size: 14px; line-height: 1.45; animation: wordIn .4s var(--ease); }
.chat-teaser p { cursor: pointer; }
.chat-teaser-close { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; border-radius: 8px; }
.chat-panel { width: min(380px, calc(100vw - 40px)); height: min(580px, calc(100vh - 120px)); background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(14, 18, 32, .32); display: flex; flex-direction: column; overflow: hidden; animation: wordIn .35s var(--ease); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; background: var(--night); color: #fff; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-title-wrap { flex: 1; min-width: 0; }
.chat-title-wrap h2 { font-size: 16px; letter-spacing: -.01em; font-weight: 600; }
.chat-title-wrap p { font-size: 12.5px; color: var(--muted-dark); display: flex; align-items: center; gap: 6px; }
.chat-title-wrap i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat-icon { width: 40px; height: 40px; border: 0; background: none; color: #C9CFDC; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-icon:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: wordIn .3s var(--ease); overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #A3AABD; animation: dot 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; }
.msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.msg.summary { display: flex; flex-direction: column; gap: 6px; width: 85%; }
.msg.summary div { display: flex; gap: 10px; font-size: 13.5px; }
.msg.summary b { min-width: 74px; color: var(--muted); font-weight: 600; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 12px; background: var(--mist); }
.chat-chips:empty { display: none; }
.chat-chip { font: inherit; font-size: 14px; font-weight: 500; padding: 9px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--accent); background: #fff; color: var(--accent); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.chat-chip:hover { background: var(--accent); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.chat-form input:focus { outline: none; border-color: var(--accent); }
.chat-form button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-foot { font-size: 11.5px; color: var(--muted); text-align: center; padding: 6px 0 10px; background: #fff; }
@media (max-width: 480px) {
  .chat { right: 12px; bottom: 12px; }
  .chat-launcher span { display: none; }
  .chat-launcher { width: 56px; padding: 0; justify-content: center; }
  .chat-panel { height: calc(100vh - 100px); }
}

/* Phone snapshot beside each desktop Polaroid */
.phone { display: block; background: #0E1220; padding: 5px; border-radius: 20px; box-shadow: 0 2px 4px rgba(14, 18, 32, .15), 0 18px 36px rgba(14, 18, 32, .3); }
.phone img { width: 100%; height: auto; border-radius: 15px; display: block; }
.phone[hidden] { display: none; }
.mthumb { flex: 0 0 22%; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .4s var(--ease); }
.mthumb .phone { width: 100%; padding: 4px; border-radius: 14px; }
.mthumb .phone img { border-radius: 10px; }
.mlabel { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.project:hover .mthumb { transform: translateY(-6px); }
.shot .polaroid figcaption { text-align: center; padding-left: 4px; padding-right: 4px; }
.hero-art .polaroid { position: absolute; }
.hero-art .hero-phone { position: absolute; left: 30%; bottom: -18px; width: 19%; z-index: 3; transform: rotate(-5deg); animation: bob 7s ease-in-out infinite; box-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 30px 60px rgba(0, 0, 0, .55); }
.hero-art .polaroid figcaption { text-align: center; padding-right: 4px; }
@media (max-width: 560px) { .hero-art .hero-phone { padding: 3px; border-radius: 12px; } .hero-art .hero-phone img { border-radius: 9px; } }

@media (max-width: 560px) {
  .float-card { font-size: 12px; padding: 7px 10px; gap: 7px; border-radius: 12px; }
  .float-card.f1 { left: 4%; top: 4%; } .float-card.f2 { right: 4%; top: 4%; }
  .f1 .i { width: 24px; height: 24px; border-radius: 7px; } .f1 .i svg { width: 14px; height: 14px; }
  .f2 .i { width: 20px; height: 20px; } .f2 .i svg { width: 11px; height: 11px; }
}

/* Domain search */
.domain-box { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; text-align: center; align-items: center; }
.domain-box .section-head { align-items: center; }
.domain-form { width: 100%; display: flex; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px; }
.domain-form input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 18px; padding: 0 18px; }
.domain-form input::placeholder { color: #8C93A6; }
.domain-form input:focus { outline: none; }
.domain-form:focus-within { border-color: var(--accent-light); }
.domain-form .btn { padding: 0 30px; }
.domain-form .btn:disabled { opacity: .6; cursor: wait; }
.domain-results { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.domain-results:empty { display: none; }
.dom-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); text-align: left; animation: wordIn .3s var(--ease); }
.dom-name { flex: 1 1 200px; font-family: var(--display); font-size: 19px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.dom-status { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.dom-status.is-checking { color: #B4BACB; background: rgba(255, 255, 255, .08); }
.dom-status.is-available { color: #0B0E17; background: var(--green); }
.dom-status.is-taken { color: #FCA5A5; background: rgba(248, 113, 113, .14); }
.dom-status.is-unknown { color: #FDE68A; background: rgba(251, 191, 36, .14); }
.dom-act { min-width: 0; }
.dom-act:empty { display: none; }
.dom-link { color: var(--accent-light); font-weight: 600; text-decoration: none; padding: 10px 0; display: inline-block; }
.dom-link:hover { color: #fff; }
.domain-note { color: var(--muted-dark); font-size: 15px; max-width: 620px; }
@media (max-width: 560px) { .domain-form { border-radius: 18px; flex-direction: column; } .domain-form .btn { height: 50px; } }

/* Sample-sites carousel (homepage) */
.carousel .work-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scroll-behavior: smooth; scrollbar-width: none; padding: 14px 4px 36px; margin: -14px -4px -36px; }
.carousel .work-grid::-webkit-scrollbar { display: none; }
.carousel .work-grid:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; border-radius: 12px; }
.carousel .project { scroll-snap-align: start; }
.carousel-ctrls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.carousel-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.carousel-dot { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.carousel-dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
.carousel-dot[aria-current="true"]::before { width: 26px; background: var(--accent); }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1000px) { .carousel .work-grid { grid-auto-columns: calc((100% - 28px) / 2); } }
@media (max-width: 640px) { .carousel .work-grid { grid-auto-columns: 86%; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .carousel .work-grid { scroll-behavior: auto; } }
