/* ============================================================
   Lizardview Studio — Design & Social Media Agency
   Dark, minimal, Keplar-inspired system:
   near-black canvas, white type, sentence case, sharp edges,
   generous whitespace, small labels with counts.
   ============================================================ */

:root {
  --bg: #0e0e0f;
  --bg-2: #131314;
  --ink: #f1f1ef;
  --ink-soft: rgba(241, 241, 239, 0.55);
  --ink-faint: rgba(241, 241, 239, 0.32);
  --line: rgba(241, 241, 239, 0.14);
  --accent: #12b586;
  --hero-bg: #c2c4c7;               /* footage edge colour */
  --hero-ink: #131d19;
  --hero-ink-soft: rgba(19, 29, 25, 0.6);
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(100px, 16vh, 200px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-fly, body.has-fly a { cursor: none; }

::selection { background: var(--accent); color: #0e0e0f; }

/* small section label, Keplar-style: "Recent projects (6)" */
.section-label {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: clamp(36px, 6vh, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-label .count { color: var(--accent); }

/* ---------------- Fly cursor ---------------- */

.fly {
  position: fixed;
  left: 0; top: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45));
}

.fly.visible { opacity: 1; }

.beetle {
  position: relative;
  width: 60px;
  aspect-ratio: 1250 / 864;
  transform-origin: 50% 55%;
  transition: scale 0.25s ease;
  animation:
    beetleBob 1.7s ease-in-out infinite,
    beetleBuzz 0.14s linear infinite alternate;
}

.beetle img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.bbody { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

.bwing { position: absolute; z-index: 1; height: auto; will-change: transform; }

.bwing-l {
  left: 0; top: 32.4%; width: 36.1%;
  transform-origin: 94% 22%;
  animation: flapL 0.085s linear infinite alternate;
}

.bwing-r {
  left: 63.6%; top: 32.6%; width: 36.4%;
  transform-origin: 6% 22%;
  animation: flapR 0.085s linear infinite alternate;
}

@keyframes flapL {
  from { transform: rotate(12deg)  scaleY(1); }
  to   { transform: rotate(-26deg) scaleY(0.82); }
}

@keyframes flapR {
  from { transform: rotate(-12deg) scaleY(1); }
  to   { transform: rotate(26deg)  scaleY(0.82); }
}

@keyframes beetleBob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -5px; }
}

@keyframes beetleBuzz {
  from { rotate: -1.6deg; }
  to   { rotate: 1.6deg; }
}

.fly.hover-link .beetle { scale: 1.28; }

/* ---------------- Nav ----------------
   White text + difference blend: dark over the light hero,
   light over the dark sections. */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--pad-x);
  mix-blend-mode: difference;
  color: #fff;
  transition: background 0.4s ease, padding 0.4s ease;
}

/* once past the hero: solid dark bar instead of blend tricks */
.nav.scrolled {
  mix-blend-mode: normal;
  background: rgba(14, 14, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px var(--pad-x);
  border-bottom: 1px solid rgba(241, 241, 239, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand sup { font-size: 8px; }

.brand-mark { color: #fff; }

.nav-links { display: flex; gap: clamp(18px, 3vw, 44px); }

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.25s ease;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--hero-bg);
}

#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-title {
  position: absolute;
  left: var(--pad-x);
  top: 20%;
  z-index: 8;
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--hero-ink);
  mix-blend-mode: multiply;
  opacity: 0.94;
  pointer-events: none;
  user-select: none;
  max-width: 88vw;
}

.hero-foot {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: clamp(26px, 5vh, 48px);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  pointer-events: none;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hero-ink-soft);
}

.hf-right { text-align: right; }

@media (max-width: 640px) {
  .hf-right { display: none; }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 1px;
  height: 32px;
  overflow: hidden;
  z-index: 10;
}

.scroll-hint span {
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--hero-ink-soft);
  animation: drop 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes drop {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* fade the light footage into the dark page */
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14vh;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(14, 14, 15, 0), rgba(14, 14, 15, 0.55));
}

/* loader */
.loader {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--hero-bg);
  transition: opacity 0.7s ease;
}

.loader.done { opacity: 0; pointer-events: none; }

.loader-bar { width: min(240px, 50vw); height: 1px; background: rgba(19, 29, 25, 0.16); }

.loader-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--hero-ink);
  transition: width 0.2s ease;
}

.loader p {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--hero-ink-soft);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------------- Intro ---------------- */

.intro { padding: var(--pad-y) var(--pad-x); }

.intro-text {
  font-size: clamp(24px, 3.4vw, 48px);
  line-height: 1.32;
  font-weight: 300;
  letter-spacing: -0.015em;
  max-width: 1150px;
}

/* ---------------- Projects ---------------- */

.projects {
  padding: 0 var(--pad-x) var(--pad-y);
  content-visibility: auto;
  contain-intrinsic-size: auto 2200px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px);
}

.project {
  display: block;
  text-decoration: none;
  color: var(--ink);
}

.project figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.012);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.project:hover img { transform: scale(1.055); }

.project h3 { transition: color 0.3s ease; }
.project:hover h3 { color: var(--accent); }

.project h3 {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 480px;
}

.project p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.all-link {
  display: inline-block;
  margin-top: clamp(48px, 8vh, 80px);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.all-link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Vision ---------------- */

.vision {
  padding: 0 var(--pad-x) var(--pad-y);
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}

.vision-title {
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: clamp(48px, 8vh, 90px);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.pillar {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.pillar-num {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 18px;
}

.pillar p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ---------------- Services ---------------- */

.services {
  padding: 0 var(--pad-x) var(--pad-y);
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(36px, 4vw, 56px);
}

.service h3 {
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.service h3 span { color: var(--accent); font-size: 0.72em; }

.service ul { list-style: none; }

.service li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.service li:hover { color: var(--ink); padding-left: 8px; }

/* ---------------- Clients marquee ---------------- */

.clients {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.clients-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------------- CTA ---------------- */

.cta {
  padding: var(--pad-y) var(--pad-x);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.cta-text {
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: -0.015em;
  max-width: 1050px;
}

.cta-link {
  display: inline-block;
  margin-top: clamp(40px, 7vh, 72px);
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  transition: border-color 0.3s ease;
}

.cta-link em { font-style: normal; color: var(--accent); }

.cta-link i {
  font-style: normal;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-link:hover { border-color: var(--accent); }
.cta-link:hover i { transform: translateX(10px); }

/* ---------------- Footer ---------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 8vh, 80px) var(--pad-x) 36px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 32px;
}

.f-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.f-col p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.f-col a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}

.f-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  margin-top: clamp(48px, 8vh, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-faint);
}

.footer-bottom a { color: var(--ink-faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span, .beetle, .bwing, .clients-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Subpages (projects / case studies / services / about /
   contact / terms)
   ============================================================ */

/* dark pages: nav is solid from the start */
.nav.on-dark {
  mix-blend-mode: normal;
  background: rgba(14, 14, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(241, 241, 239, 0.08);
  padding: 16px var(--pad-x);
}

.nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: scaleX(1); }

/* page header */
.page-head {
  padding: calc(clamp(60px, 10vh, 120px) + 60px) var(--pad-x) clamp(40px, 7vh, 80px);
}

.page-head .section-label { border-top: 0; padding-top: 0; margin-bottom: 26px; }

.page-title {
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 1100px;
}

.page-lede {
  margin-top: 28px;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 760px;
}

/* case study */
.case-hero {
  padding: 0 var(--pad-x);
}

.case-hero figure {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}

.case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: clamp(36px, 6vh, 60px) var(--pad-x);
  border-bottom: 1px solid var(--line);
}

.case-meta div span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.case-meta div p { font-size: 14px; color: var(--ink); line-height: 1.6; }

.case-body {
  padding: clamp(60px, 10vh, 110px) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 90px);
}

@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; } }

.case-body h2 {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.case-body .prose p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 680px;
}

.case-body .prose p strong { color: var(--ink); font-weight: 500; }

.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 40px);
  padding: 0 var(--pad-x) clamp(60px, 10vh, 110px);
}

@media (max-width: 700px) { .case-images { grid-template-columns: 1fr; } }

.case-images figure { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.case-images img { width: 100%; height: 100%; object-fit: cover; display: block; }

.case-outcome {
  margin: 0 var(--pad-x);
  padding: clamp(36px, 6vh, 60px) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.case-outcome .o span {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-outcome .o p { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

.next-project {
  display: block;
  margin: clamp(50px, 9vh, 100px) var(--pad-x) clamp(70px, 11vh, 120px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.next-project span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.next-project strong {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 400;
  letter-spacing: -0.015em;
  transition: color 0.3s ease;
}

.next-project:hover strong { color: var(--accent); }

/* services page */
.svc-block {
  padding: clamp(50px, 8vh, 90px) var(--pad-x);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 90px);
}

@media (max-width: 860px) { .svc-block { grid-template-columns: 1fr; } }

.svc-block h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.svc-block h2 span { color: var(--accent); font-size: 0.7em; }

.svc-block .svc-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 640px;
}

.svc-block ul { list-style: none; max-width: 640px; }

.svc-block li {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  transition: color 0.25s ease;
}

.svc-block li:hover { color: var(--ink); }

.svc-block li em { font-style: normal; color: var(--ink-faint); font-size: 12px; white-space: nowrap; }

.process {
  padding: clamp(60px, 10vh, 110px) var(--pad-x);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(36px, 6vh, 60px);
}

.step { border-top: 1px solid var(--line); padding-top: 22px; }

.step span { display: block; font-size: 13px; color: var(--accent); margin-bottom: 14px; }

.step h3 { font-size: 19px; font-weight: 400; margin-bottom: 12px; }

.step p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); }

/* about page */
.team {
  padding: clamp(50px, 8vh, 90px) var(--pad-x);
}

.team-list { list-style: none; margin-top: clamp(30px, 5vh, 50px); border-top: 1px solid var(--line); }

.team-list li {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: clamp(12px, 3vw, 40px);
  align-items: baseline;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.team-list li:hover { background: rgba(18, 181, 134, 0.06); padding-left: 20px; }

.team-list .t-num { font-size: 12px; color: var(--accent); }
.team-list .t-name { font-size: clamp(17px, 1.8vw, 24px); font-weight: 400; }
.team-list .t-role { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 700px) {
  .team-list li { grid-template-columns: 40px 1fr; }
  .team-list .t-role { grid-column: 2; }
}

.about-figure {
  padding: clamp(40px, 7vh, 80px) var(--pad-x) 0;
}

.about-figure figure { overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-2); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

/* contact page */
.contact-grid {
  padding: 0 var(--pad-x) var(--pad-y);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.cform label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 26px 0 10px;
}

.cform input, .cform textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  padding: 10px 0 14px;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.cform input:focus, .cform textarea:focus { border-color: var(--accent); }

.cform button {
  margin-top: 36px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding: 0 0 10px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cform button:hover { color: var(--accent); border-color: var(--accent); }

.contact-aside .ca-block { margin-bottom: 36px; }

.contact-aside .f-label { margin-bottom: 12px; }

.contact-aside p, .contact-aside a {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-decoration: none;
}

.contact-aside a:hover { color: var(--accent); }

/* terms page */
.legal {
  padding: 0 var(--pad-x) var(--pad-y);
  max-width: 820px;
}

.legal h2 { font-size: 19px; font-weight: 500; margin: 40px 0 14px; }

.legal p { font-size: 15px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 14px; }
