@font-face { font-family: 'Brockmann'; src: url('/assets/v3/brockmann.ttf') format('truetype'); font-weight: 500 700; font-display: swap; }
:root {
  --ink: #242424; --ink-2: #4e4d4d; --ink-3: #797776; --line: #dcd7cf;
  --accent: #115e59; --accent-2: #134e4a; --bg: #f5f3ee; --bg-2: #ece9e2;
  --dark: #1f2a28; --on-dark: #ffffff; --on-dark-2: #cfcbc8;
  --logo: url('/assets/v3/dq-logo-dark.png');
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.display { font-family: Brockmann, Inter, sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
.accent { color: var(--accent); }
.label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 620px; margin: 22px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: opacity .15s, background .15s; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: .86; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--bg-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* nav */
nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: block; width: 136px; height: 23px; background: var(--logo) left center / contain no-repeat; text-indent: -9999px; overflow: hidden; }
.links { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
.links .btn { padding: 9px 16px; font-size: 14px; color: var(--bg); }
@media (max-width: 760px) { .links a:not(.btn) { display: none; } }

/* sections */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.hero { padding: 96px 0 64px; }
.hero h1 { font-size: clamp(40px, 6vw, 80px); max-width: 1100px; }
h2.display { font-size: clamp(30px, 4vw, 44px); max-width: 760px; }
.sub { color: var(--ink-2); max-width: 620px; margin: 14px 0 0; font-size: 17px; }

.press { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.press .label { margin: 0; }
.press img { width: auto; filter: grayscale(1); opacity: .62; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 2px solid var(--ink); }
.product { padding: 32px 32px 8px 0; display: flex; flex-direction: column; }
.product + .product { padding-left: 32px; border-left: 1px solid var(--line); }
.product .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.product h3 { font-family: Brockmann, Inter, sans-serif; font-size: 28px; letter-spacing: -0.02em; margin: 10px 0 10px; }
.product p { color: var(--ink-2); margin: 0 0 14px; }
.product .for { font-size: 14px; color: var(--ink-3); margin-top: auto; padding-top: 10px; }
.product .go { margin-top: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 2px; }
.product .go:hover { color: var(--accent-2); border-color: var(--accent-2); }
.product img.logo { height: 40px; width: auto; margin-bottom: 6px; }
@media (max-width: 860px) {
  .products { grid-template-columns: 1fr; }
  .product, .product + .product { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* results */
.results { margin-top: 48px; border-top: 1px solid var(--line); }
.result { display: grid; grid-template-columns: 220px 1fr 1fr 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.result .who strong { display: block; font-family: Brockmann, Inter, sans-serif; font-size: 20px; letter-spacing: -0.01em; }
.result .who span { font-size: 14px; color: var(--ink-3); }
.stat .n { font-family: Brockmann, Inter, sans-serif; font-weight: 700; font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; }
.stat .n.hot { color: var(--accent); }
.stat .l { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.result a.more { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) {
  .result { grid-template-columns: 1fr 1fr; }
  .result .who { grid-column: 1 / -1; }
}
.note { font-size: 13px; color: var(--ink-3); margin-top: 18px; }

.band { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.band > div { padding: 26px 24px 26px 0; }
.band > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.band .n { font-family: Brockmann, Inter, sans-serif; font-weight: 700; font-size: 48px; letter-spacing: -0.02em; line-height: 1; color: var(--accent); }
.band .l { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.results { margin-top: 48px; border-top: 2px solid var(--ink); }

/* logos */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 36px 48px; margin-top: 36px; }
.logos img { height: 34px; width: auto; }
.logos img.tall { height: 54px; }
.logo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
@media (max-width: 860px) { .logo-split { grid-template-columns: 1fr; gap: 40px; } }

/* about */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
.founder { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; padding-top: 28px; border-top: 2px solid var(--ink); }
.founder img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.founder h3 { font-family: Brockmann, Inter, sans-serif; font-size: 24px; letter-spacing: -0.02em; margin: 0; }
.founder .role { color: var(--accent); font-weight: 600; font-size: 14px; margin: 2px 0 10px; }
.founder p { color: var(--ink-2); margin: 0 0 12px; }
.founder a { font-weight: 600; font-size: 14px; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } .founder { grid-template-columns: 84px 1fr; } .founder img { width: 84px; height: 84px; } }

/* contact */
.contact { background: var(--dark); color: var(--on-dark); border-bottom: 0; }
.contact .display { color: #fff; }
.contact .sub { color: var(--on-dark-2); }
.contact .btn-dark { background: #fff; color: #242424; }
.contact .btn-line { border-color: #fff; color: #fff; }
.contact .btn-line:hover { background: rgba(255,255,255,.08); }
footer { background: var(--dark); color: #a8a4a1; font-size: 14px; padding: 28px 0 40px; border-top: 1px solid #3a3a3a; }
footer .logo { width: 120px; height: 20px; background: url('/assets/v3/dq-logo-light.png') left center / contain no-repeat; }
footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer a { color: #d9d5d2; text-decoration: none; }
footer nav { position: static; background: none; border: 0; backdrop-filter: none; display: flex; gap: 22px; flex-wrap: wrap; }

/* articles */
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article-head { padding: 72px 0 40px; border-bottom: 0; }
.article-head h1 { font-size: clamp(34px, 4.8vw, 54px); max-width: 860px; }
.meta { font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.hero-img { margin-top: 36px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.hero-img img { width: 100%; height: auto; }
.prose { max-width: 720px; padding: 8px 0 80px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose h2, .prose h3 { font-family: Brockmann, Inter, sans-serif; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.prose h2 { font-size: 30px; margin: 52px 0 14px; }
.prose h3 { font-size: 22px; margin: 36px 0 10px; }
.prose h4 { font-size: 18px; color: var(--ink); margin: 28px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose img { border-radius: 16px; margin: 24px 0; border: 1px solid var(--line); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); font-family: Brockmann, Inter, sans-serif; font-size: 22px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 20px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); border-bottom: 2px solid var(--ink); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 12px; }

/* insights index */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 48px; }
.post { text-decoration: none; display: flex; flex-direction: column; }
.post .thumb { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); border: 1px solid var(--line); }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post:hover .thumb img { transform: scale(1.03); }
.post .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: 18px; }
.post h3 { font-family: Brockmann, Inter, sans-serif; font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; margin: 8px 0 8px; color: var(--ink); }
.post p { font-size: 15px; color: var(--ink-2); margin: 0; }
.post .date { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* hero visual */
.hero-grid { display: block; }
.hero-visual { margin: 0; justify-self: end; max-width: 340px; }
.hero-visual img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.hero-visual figcaption { font-size: 13px; color: var(--ink-3); margin-top: 12px; text-align: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { justify-self: start; max-width: 260px; } }

/* logo grids */
.logo-block { margin-top: 64px; }
.logo-block + .logo-block { margin-top: 48px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid .cell { height: 112px; display: flex; align-items: center; justify-content: center; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-grid img { width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } .logo-grid .cell { height: 92px; } }
.logo-grid .cell.more { font-size: 14px; color: var(--ink-3); text-align: center; }
