﻿/* Arkenti marketing site
   Warm paper, navy ink, architectural geometry.
   No gradients. No glow. Density over emptiness. */

:root {
  --bg: #f4f2ec;
  --bg-raised: #ebe8df;
  --bg-paper: #faf8f3;
  --ink: #10233f;
  --ink-deep: #0b182c;
  --ink-soft: #1a3a5c;
  --text: #1a2433;
  --muted: #5a6570;
  --line: #d4d0c6;
  --line-strong: rgba(16, 35, 63, 0.22);
  --white: #fffdf8;
  --focus: #10233f;
  --header-h: 60px;
  --shell: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 92px);
  --radius: 2px;
  --font: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .tile:hover,
  .research-index a:hover .research-go {
    transform: none;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.25rem);
  letter-spacing: -0.038em;
  line-height: 1.02;
  margin-bottom: 0.35em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.shell {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow,
.section-kicker,
.meta-label,
.panel-label,
.footer-label,
.work-meta,
.study text,
.mono-index {
  font-family: var(--mono);
  font-weight: 400;
}

.eyebrow,
.section-kicker,
.meta-label,
.panel-label,
.footer-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono-index {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-kicker::after {
  content: "";
  height: 1px;
  width: 48px;
  background: var(--ink);
  opacity: 0.28;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}

.section-intro {
  max-width: 38ch;
  color: var(--muted);
  margin: 0;
}

.section {
  padding: var(--section) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 28px 48px;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head-stack {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 16px;
}

.section-head-stack .section-intro {
  max-width: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: 500 0.92rem/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--ink);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--ink-deep);
}

.btn-light {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.btn-light:hover {
  background: var(--white);
}

.text-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.text-link:hover {
  opacity: 0.7;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-word {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-list a {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
}

.header-cta {
  flex: 0 0 auto;
  min-height: 36px;
  padding-inline: 14px;
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 20px var(--gutter) 28px;
}

.mobile-nav ul {
  list-style: none;
  margin-bottom: 18px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 1.05rem;
  color: var(--ink);
}

.mobile-nav[hidden] {
  display: none !important;
}

body.nav-open {
  overflow: hidden;
}

/* Hero */

.hero {
  background: var(--ink-soft);
  color: #d5dbe3;
  min-height: 50vh;
  padding: 0;
}

.hero-grid {
  display: grid;
  min-height: 50vh;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px 52px max(var(--gutter), calc((100vw - var(--shell)) / 2));
}

.hero h1 {
  color: var(--bg);
}

.hero .eyebrow {
  color: #c5ccd6;
}

.hero-lead {
  max-width: 46ch;
  font-size: 1.08rem;
  color: #c5ccd6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero .text-link {
  color: var(--bg);
  border-bottom-color: var(--bg);
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-soft);
  color: var(--bg);
}

.hero-logo {
  width: min(40%, 200px);
  height: auto;
}

.hero-logo-void {
  fill: var(--ink-soft);
}

.hero-break {
  height: 14px;
  background: var(--ink);
  border-top: 1px solid var(--ink);
}

.hero-meta {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  height: 24px;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-meta-grid > div {
  padding: 18px 20px 18px 0;
  border-right: 1px solid var(--line);
}

.hero-meta-grid > div:last-child {
  border-right: 0;
}

.meta-value {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.meta-value a {
  text-decoration: none;
}

.meta-value a:hover {
  text-decoration: underline;
}

/* Expertise */

.xp-list {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.xp {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.xp:hover {
  background: var(--bg-raised);
  padding-left: 14px;
}

.xp-index {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 5px;
}

.xp-body h3 {
  margin-bottom: 6px;
}

.xp-body p {
  color: var(--muted);
  max-width: 52ch;
}

.xp-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.xp-tags li {
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-paper);
}

/* Portfolio gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-paper);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.tile:hover {
  text-decoration: none;
  background: var(--white);
  transform: translateY(-2px);
}

.tile-visual {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.tile-visual .study,
.tile-visual img {
  width: 100%;
  height: 100%;
}

.tile-visual img {
  object-fit: contain;
  padding: 28px 36px;
  background: var(--bg-raised);
}

.tile-visual-photo img {
  object-fit: cover;
  padding: 0;
  background: var(--bg-raised);
}

.tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.tile-meta,
.work-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.tile-meta span,
.work-meta span {
  color: var(--ink);
  margin-right: 8px;
}

.tile-body h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  min-height: 2.4em;
}

.tile-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.study-ground {
  fill: var(--bg-raised);
}

.study-grid path {
  stroke: #d8d3c8;
  stroke-width: 0.7;
  fill: none;
}

.study-a {
  fill: var(--ink);
}

.study-cut {
  fill: var(--bg-raised);
}

.study-frame {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  opacity: 0.35;
}

.study text {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.study rect:not(.study-ground):not(.study-frame) {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
}

.study-accent {
  fill: var(--ink) !important;
  stroke: var(--ink) !important;
}

/* Research */

.cta h2 {
  color: var(--bg);
}

.section-kicker.invert {
  color: #aeb6c2;
}

.section-kicker.invert .mono-index {
  color: var(--bg);
}

.section-kicker.invert::after {
  background: var(--bg);
  opacity: 0.35;
}

.research h3 a {
  color: var(--ink);
  text-decoration: none;
}

.research h3 a:hover {
  text-decoration: underline;
}

.research-board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 28px 40px;
  align-items: start;
}

.research-feature {
  border: 1px solid var(--line-strong);
  padding: 24px 24px 28px;
  background: var(--bg-paper);
}

.research-feature p {
  color: var(--muted);
  max-width: 46ch;
}

.research-feature .text-link {
  display: inline-block;
  margin-top: 18px;
}

.research-index {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.research-index li {
  border-bottom: 1px solid var(--line);
}

.research-index a {
  display: grid;
  grid-template-columns: 72px 88px 1fr 20px;
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
}

.research-index a:hover {
  text-decoration: none;
}

.research-index a:hover .research-title {
  text-decoration: underline;
}

.research-index time,
.research-index .kind,
.research-slot {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.research-title {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.research-go {
  color: var(--ink);
  transition: transform 0.2s var(--ease);
}

.research-index a:hover .research-go {
  transform: translateX(4px);
}

.research-empty {
  display: grid;
  grid-template-columns: 72px 88px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  color: var(--muted);
}

.entry-figure .study {
  display: block;
  width: 100%;
  height: auto;
}

.source-list {
  list-style: none;
  margin: 1.2em 0 0;
  max-width: 68ch;
  border-top: 1px solid var(--line-strong);
}

.source-list a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.source-list a:hover {
  text-decoration: none;
}

.source-list a:hover .source-title {
  text-decoration: underline;
}

.source-kind {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.source-title {
  display: block;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.source-venue {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Entry pages */

.entry {
  padding: var(--section) 0 80px;
}

.entry-back {
  display: inline-block;
  margin-bottom: 28px;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 32px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry-figure {
  margin: 0 0 40px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
}

.entry-figure img {
  display: block;
  width: min(320px, 70%);
  height: auto;
  margin: 48px auto;
}

.entry-figure-wide img {
  width: 100%;
  margin: 0;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 40px;
}

.shot-grid figure {
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
}

.shot-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-grid figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 10px 12px;
}

.shot-grid-phones {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid-phones figure {
  background: #111;
}

.tile-visual-phone {
  background: #0b0b0d;
}

.tile-visual-phone img {
  object-fit: contain;
  padding: 12px 0;
  background: #0b0b0d;
}

.faq {
  list-style: none;
  max-width: 68ch;
  margin: 1.2em 0 0;
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.faq details p {
  color: var(--muted);
  padding: 0 0 16px;
}

.entry-media {
  margin: 0 0 40px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
}

.entry-media video {
  display: block;
  width: 100%;
  height: auto;
}

.entry-link {
  margin-top: 36px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  border-top: 1px solid var(--line-strong);
  padding-top: 28px;
}

.entry-grid h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.entry-grid p,
.entry-prose p {
  color: var(--muted);
}

.entry-prose {
  max-width: 68ch;
}

.entry-prose h2 {
  margin-top: 1.6em;
}

.panel {
  background: var(--bg-paper);
  border: 1px solid var(--line-strong);
  padding: 20px 20px 8px;
}

/* Contact */

.cta {
  background: var(--ink-deep);
  color: #d5dbe3;
  padding-bottom: 80px;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 40px 56px;
  align-items: start;
}

.cta-copy p {
  max-width: 42ch;
  color: #c5ccd6;
}

.cta-details {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.cta-details div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 242, 236, 0.14);
}

.cta-details dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aeb6c2;
}

.cta-details dd {
  margin: 0;
  color: var(--bg);
}

.cta-details a {
  color: var(--bg);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aeb6c2;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(244, 242, 236, 0.22);
  background: #10233f;
  color: var(--bg);
  font: 400 1rem/1.4 var(--font);
  padding: 10px 12px;
  border-radius: var(--radius);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--bg);
  outline-offset: 1px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  color: #c5ccd6;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #c5ccd6;
  padding: 48px 0 28px;
  border-top: 1px solid rgba(244, 242, 236, 0.08);
}

.site-footer .brand,
.site-footer .brand-word {
  color: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 32px 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244, 242, 236, 0.14);
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 14px;
  color: #aeb6c2;
}

.footer-label {
  color: #aeb6c2;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li,
.site-footer a {
  color: #d5dbe3;
  font-size: 0.92rem;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--bg);
  text-decoration: underline;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.82rem;
  color: #8b95a3;
}

.footer-bar p {
  margin: 0;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 0.65s var(--ease) forwards;
  }

}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1040px) {
  .section-head,
  .research-board,
  .cta-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    max-width: 58ch;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav,
  .header-cta {
    display: none;
  }

  .nav-toggle,
  .mobile-nav {
    display: block;
  }

  .hero,
  .hero-grid {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
    padding: 40px var(--gutter);
  }

  .hero-brand {
    min-height: 22vh;
  }

  .hero-logo {
    width: min(32%, 120px);
  }

  .hero-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .hero-meta-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .research-index a,
  .research-empty {
    grid-template-columns: 64px 1fr 20px;
  }

  .research-index .kind {
    display: none;
  }

  .xp {
    grid-template-columns: 40px 1fr;
    gap: 12px 14px;
  }

  .xp-tags {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }

  .hero-meta-grid,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .shot-grid,
  .shot-grid-phones {
    grid-template-columns: 1fr;
  }

  .hero-meta-grid > div {
    border-right: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-meta-grid > div + div {
    border-top: 1px solid var(--line);
    border-bottom: 0;
    padding-top: 16px;
  }

  .cta-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-bar {
    flex-direction: column;
  }

  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
