/* LinkGenie — site styles
   Palette taken from the LinkGenie brand (coral wordmark, sage tile, navy ink). */
:root {
  --ink: #1b1e3c;
  --ink-soft: #4a4e6b;
  --coral: #ff4e43;
  --coral-text: #c23b34;   /* coral dark enough for small text on light bg */
  --sage: #cdd9cd;
  --sage-light: #ecf2ea;
  --sage-deep: #3f5a47;
  --paper: #f8faf6;
  --white: #ffffff;
  --line: #c9d6c6;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* modular scale ~1.25 */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4.1rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1180px;
  --radius-lg: 28px;
  --radius-sm: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 62ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--coral); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; }
.logo img { height: 60px; width: auto; }
.site-footer .logo img { height: 72px; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 0; width: 100%; font-size: var(--step-1); }
  .nav .btn { margin-top: .5rem; width: auto; font-size: var(--step-0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); background: var(--ink); color: var(--white);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.nav .btn { padding: .6rem 1.1rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 1.5rem; max-width: 15ch; }
.hero .lede { max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-note { margin-top: 1.75rem; font-size: var(--step--1); color: var(--ink-soft); }
.hero-note a { color: var(--coral-text); font-weight: 600; }

.thread { width: 100%; height: auto; }
.thread .card { fill: var(--white); stroke: var(--line); stroke-width: 1.5; }
.thread .card--sage { fill: var(--sage); stroke: none; }
.thread .t-strong { font: 700 17px var(--font); fill: var(--ink); }
.thread .t-small { font: 500 12.5px var(--font); fill: var(--ink-soft); }
.thread .t-tag { font: 600 12px var(--font); fill: var(--sage-deep); }
.thread .bar { fill: #e3e8e1; }
.thread .bar--ink { fill: #c5cad6; }
.thread .chip { fill: #fde6e4; stroke: var(--coral); stroke-width: 1.5; }
.thread .chip-text { font: 700 13px var(--font); fill: var(--coral-text); }
.thread .link-path {
  fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: draw 2.2s .35s cubic-bezier(.6,.05,.3,1) forwards;
}
.thread .node { fill: var(--coral); opacity: 0; animation: pop .3s forwards; }
.thread .node--1 { animation-delay: .35s; }
.thread .node--2 { animation-delay: 1.35s; }
.thread .node--3 { animation-delay: 2.45s; }
.thread .reveal { opacity: 0; animation: pop .45s forwards; }
.thread .reveal--2 { animation-delay: 1.3s; }
.thread .reveal--3 { animation-delay: 2.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .thread .link-path { animation: none; stroke-dashoffset: 0; }
  .thread .node, .thread .reveal { animation: none; opacity: 1; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-visual { max-width: 520px; }
}

/* ---------- Definition strip ---------- */
.definition { background: var(--ink); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.definition .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.definition h2 { font-size: var(--step-2); color: var(--sage); }
.definition p { font-size: var(--step-1); line-height: 1.55; margin: 0; max-width: 60ch; }
.definition strong { color: var(--white); font-weight: 700; box-shadow: inset 0 -.35em 0 rgba(255, 78, 67, .55); }
@media (max-width: 760px) { .definition .wrap { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 50ch; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Services: ruled list, not a card grid */
.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service {
  display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: .5rem 3rem;
  padding-block: 1.75rem; border-bottom: 1px solid var(--line);
}
.service h3 { font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.15; }
.service p { margin: 0 0 .6rem; color: var(--ink-soft); max-width: 58ch; }
.service .fit { margin: 0; font-size: var(--step--1); color: var(--sage-deep); font-weight: 600; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }

/* Process — a real sequence, so it is numbered */
.process { background: var(--sage); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4rem); }
.process h2 { max-width: 20ch; }
.process > p { max-width: 55ch; margin-top: 1rem; color: var(--sage-deep); font-weight: 500; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 3px;
  background: var(--coral); border-radius: 3px;
}
.step { counter-increment: step; position: relative; padding-right: 1.25rem; }
.step::before {
  content: counter(step); display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-weight: 700; position: relative; margin-bottom: 1.1rem;
  border: 4px solid var(--sage);
}
.step h3 { font-size: var(--step-0); font-weight: 700; margin-bottom: .35rem; }
.step p { margin: 0; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 3px; height: auto; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; padding: 0; }
  .step::before { grid-row: span 2; margin: 0; }
}

/* Case study feature */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.case-quote {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.case-quote .q { font-size: var(--step-2); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.case-quote dl { margin: 0; display: grid; gap: 1rem; }
.case-quote dt { font-weight: 700; font-size: var(--step--1); color: var(--sage-deep); }
.case-quote dd { margin: .15rem 0 0; color: var(--ink-soft); }
.case h2 { margin-bottom: 1rem; }
.case .text-link { color: var(--coral-text); font-weight: 700; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.principle { padding: 1.75rem 1.75rem 1.75rem 0; }
.principle + .principle { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.principle h3 { margin-bottom: .6rem; }
.principle p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-weight: 700; font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 66ch; }
.faq .answer p:last-child { margin: 0; }

/* Contact */
.contact { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact h2 { color: var(--white); margin-bottom: 1rem; }
.contact p { color: #c9cce0; }
.contact a { color: var(--sage); }
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: var(--step--1); color: var(--sage); }
.form input, .form textarea, .form select {
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid transparent; border-radius: var(--radius-sm); padding: .75rem .9rem; width: 100%;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { outline: none; border-color: var(--coral); }
.form .btn { background: var(--coral); border-color: var(--coral); color: var(--ink); justify-self: start; }
.form .btn:hover { background: var(--white); border-color: var(--white); }
.form-status { min-height: 1.5em; margin: 0; font-size: var(--step--1); color: var(--sage); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding-block: 3rem 2.5rem; margin-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: flex-start; }
.site-footer p { margin: .5rem 0 0; color: var(--ink-soft); font-size: var(--step--1); max-width: 40ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.copyright { width: 100%; font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Article (case study page) ---------- */
.breadcrumb { font-size: var(--step--1); color: var(--ink-soft); padding-top: 2rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }
.article-head { padding-block: 2rem 2.5rem; }
.article-head h1 { font-size: var(--step-4); letter-spacing: -0.035em; max-width: 18ch; margin-bottom: 1.25rem; }
.article-meta { font-size: var(--step--1); color: var(--ink-soft); }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin: 2.5rem 0 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4rem; }
.prose blockquote {
  margin: 2rem 0; padding: 1.5rem 1.75rem; background: var(--sage); border-radius: var(--radius-sm);
  font-size: var(--step-1); font-weight: 600; line-height: 1.4;
}
.prose blockquote p { margin: 0; }
.prose .note { font-size: var(--step--1); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }
.flow { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.flow li { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: var(--step--1); margin: 0 !important; }
.flow li:last-child { border-color: var(--coral); color: var(--coral-text); }
.article-cta { margin-top: 3rem; }

/* =========================================================
   Effects & hover states
   ========================================================= */
::selection { background: var(--coral); color: var(--white); }

/* Logo: little wiggle, like a link being tugged */
.logo img { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.logo:hover img { transform: rotate(-6deg) scale(1.06); }

/* Nav links: coral underline draws in */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--coral); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 860px) { .nav a:not(.btn)::after { bottom: .45rem; right: auto; width: 2.5rem; } }

/* Buttons: lift, coral glow, shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate;
  transition: background .2s, color .2s, border-color .2s, transform .2s cubic-bezier(.3,1.4,.5,1), box-shadow .25s; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(255, 78, 67, .65); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--ghost:hover { box-shadow: 0 10px 24px -12px rgba(27, 30, 60, .55); }

/* Inline text links: underline grows from the left */
.hero-note a, .case .text-link, .contact a, .breadcrumb a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: background-size .3s ease, color .2s;
}
.hero-note a:hover, .case .text-link:hover, .contact a:hover, .breadcrumb a:hover {
  background-size: 0% 2px; background-position: 100% 100%;
}
.case .text-link { display: inline-block; padding-bottom: 2px; }
.case .text-link::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .4em;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translateY(-1px);
  transition: transform .25s ease; }
.case .text-link:hover::after { transform: translateX(4px) rotate(45deg) translateY(-1px); }

/* Hero graphic: slow float + cards respond to hover */
.hero-visual { animation: float 7s ease-in-out 3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.thread g { transition: transform .35s cubic-bezier(.3,1.4,.5,1), filter .35s; transform-box: fill-box; transform-origin: center; }
.thread g:hover { transform: translateY(-4px); filter: drop-shadow(0 12px 18px rgba(27,30,60,.14)); }
.thread .link-path { filter: drop-shadow(0 4px 6px rgba(255, 78, 67, .25)); }

/* Definition strip: highlighter sweeps in when visible */
.definition strong { background: linear-gradient(rgba(255,78,67,.55), rgba(255,78,67,.55)) 0 88% / 0% .38em no-repeat;
  box-shadow: none; transition: background-size 1.1s cubic-bezier(.6,.05,.3,1) .2s; }
.definition.is-visible strong, .no-reveal .definition strong { background-size: 100% .38em; }

/* Services: coral rail slides in, title nudges */
.service { position: relative; transition: background .3s, padding-left .35s cubic-bezier(.3,1.2,.5,1); }
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 5px; border-radius: 3px;
  background: var(--coral); transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.service:hover { background: linear-gradient(90deg, var(--sage-light), transparent 85%); padding-left: 1.5rem; }
.service:hover::before { transform: scaleY(1); }
.service h3 { transition: color .25s; }
.service:hover h3 { color: var(--coral-text); }

/* Process steps: number pops, line pulses */
.step::before { transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .25s; }
.step:hover::before { transform: scale(1.15); background: var(--coral); }
.step h3 { transition: color .2s; }
.step:hover h3 { color: var(--coral-text); }
.steps::before { background: linear-gradient(90deg, var(--coral) 0%, var(--coral) 40%, #ff8a82 50%, var(--coral) 60%, var(--coral) 100%);
  background-size: 250% 100%; animation: pulse-line 4s linear infinite; }
@media (max-width: 900px) { .steps::before { background: var(--coral); animation: none; } }
@keyframes pulse-line { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* Case quote card: lift with coral edge */
.case-quote { transition: transform .35s cubic-bezier(.3,1.3,.5,1), box-shadow .35s, border-color .35s; }
.case-quote:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--coral);
  box-shadow: 0 24px 50px -24px rgba(27,30,60,.35), 8px 8px 0 0 var(--sage); }

/* Principles: top bar grows on hover */
.principle { position: relative; transition: background .3s; }
.principle::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--coral); transition: width .45s ease; }
.principle + .principle::before { left: 1.75rem; }
.principle:hover::before { width: calc(100% - 1.75rem); }
.principle:hover h3 { color: var(--coral-text); }
.principle h3 { transition: color .2s; }

/* FAQ: hover tint, answer fades in */
.faq summary { transition: color .2s, padding-left .3s ease; }
.faq summary:hover { color: var(--coral-text); padding-left: .5rem; }
.faq details[open] .answer { animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Contact panel: soft glow follows the cursor */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%;
  left: var(--mx, 85%); top: var(--my, 10%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,78,67,.28), transparent);
  transition: left .25s ease-out, top .25s ease-out; pointer-events: none;
}
.form input, .form textarea, .form select { transition: border-color .2s, box-shadow .2s, transform .2s; }
.form input:hover, .form textarea:hover, .form select:hover { box-shadow: 0 0 0 3px rgba(205,217,205,.35); }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { box-shadow: 0 0 0 4px rgba(255,78,67,.25); }

/* Footer links */
.footer-links a { position: relative; transition: color .2s; }
.footer-links a:hover { text-decoration: none; color: var(--coral-text); }

/* Article flow chips */
.flow li { transition: transform .25s cubic-bezier(.3,1.5,.5,1), border-color .2s; }
.flow li:hover { transform: translateY(-3px); border-color: var(--coral); }

/* Scroll reveal (JS adds .reveal-on-scroll; content stays visible without JS) */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-visual { animation: none; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}
@media (hover: none) {
  .service:hover { padding-left: 0; background: none; }
  .case-quote:hover { transform: none; }
}

/* Footer bottom row + developer credit */
.copyright { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line); }
.copyright p { margin: 0; max-width: none; }
.credit a { color: var(--ink); font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0% 2px no-repeat;
  transition: background-size .3s ease, color .2s; }
.credit a:hover { color: var(--coral-text); background-size: 100% 2px; }
