/* gogtel.org: one stylesheet for all pages. No external resources. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Colours: warm paper and ink, one copper accent (the wire). */
:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --text: #18212a;
  --muted: #56616c;
  --line: #e0d9cd;
  --accent: #b45309;
  --accent-text: #ffffff;
  --accent-soft: #f5e6d6;
  --ink: #141c24;          /* hero and remote band: dark in both themes */
  --ink-text: #eef1f4;
  --ink-muted: #a5b0bb;
  --ink-line: #2b3743;
  --ink-accent: #f59e3b;
  --max: 1160px;
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f151b;
    --surface: #161e26;
    --text: #e8ecf0;
    --muted: #9aa6b2;
    --line: #26313c;
    --accent: #f59e3b;
    --accent-text: #141c24;
    --accent-soft: #2a2117;
    --ink: #19232d;
    --ink-line: #33414e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f151b;
  --surface: #161e26;
  --text: #e8ecf0;
  --muted: #9aa6b2;
  --line: #26313c;
  --accent: #f59e3b;
  --accent-text: #141c24;
  --accent-soft: #2a2117;
  --ink: #19232d;
  --ink-line: #33414e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; font-weight: 750; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
svg { display: block; }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 80%, transparent); }
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.logo svg { width: 34px; height: 34px; color: var(--accent); }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav a:hover { color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.logo + .header-tools { margin-left: auto; }
.lang, .theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line);
  background: transparent; color: var(--text); font: inherit; font-weight: 700; font-size: 0.85rem;
  text-decoration: none; cursor: pointer;
}
.lang:hover, .theme-toggle:hover { border-color: var(--accent); }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
@media (max-width: 920px) { .nav { display: none; } .header-tools { margin-left: auto; } }
/* Call and Viber: round icon buttons, the size of the language and theme ones. */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 999px; color: #fff; text-decoration: none;
  transition: transform .15s, filter .15s;
}
.icon-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .viber-logo { width: 24px; height: 24px; } /* Viber logo: Simple Icons 13.21.0, CC0 */
/* Light theme: both copper with white icons; dark theme: both orange, the phone
   with its dark icon and Viber with a white logo (--accent switches with the theme). */
.icon-call { background: var(--accent); color: var(--accent-text); }
.icon-viber { background: var(--accent); color: #fff; }

/* Sections */
section { padding: 104px 0; }
@media (max-width: 640px) { section { padding: 72px 0; } }
section + section:not(.band) { border-top: 1px solid var(--line); }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }
/* The wire with a junction above every section heading. */
.node {
  width: 120px; height: 10px; margin: 0 auto 22px; position: relative;
}
.node::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: var(--accent); border-radius: 2px; }
.node::after { content: ""; position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }

/* Hero: a dark panel in both themes; the mark's cable draws itself. */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); /* screen minus header */
  background: var(--ink); color: var(--ink-text); text-align: center; padding: 96px 0; border-bottom: 0;
}
.hero-mark { width: 148px; height: 148px; margin: 0 auto 36px; color: var(--ink-accent); }
.hero-mark .cable { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark .cable { animation: draw 1.6s cubic-bezier(.6, 0, .2, 1) both; }
  .hero-mark .plug { animation: plug-in .5s ease-out .9s both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes plug-in { from { opacity: 0; transform: translateY(-6px); } }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.035em; font-weight: 800; }
.hero .lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--ink-muted); max-width: 640px; margin: 22px auto 0; }
/* One sentence per line where the first one fits; below that the text wraps freely. */
@media (min-width: 820px) { .hero .lead { max-width: none; } .hero .lead span { display: block; } }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero .btn-primary { background: var(--ink-accent); color: var(--ink); }
.hero .btn-primary:hover { background: #f8b468; }
.hero .btn-ghost { color: var(--ink-text); border-color: var(--ink-line); }
.hero .btn-ghost:hover { border-color: var(--ink-accent); }
/* Scroll cue at the bottom of the hero: a short wire, a node sliding down it,
   and a chevron at its end. */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; width: 32px; height: 50px; margin-left: -16px;
  opacity: .7; transition: opacity .2s;
}
.scroll-cue:hover, .scroll-cue:focus-visible { opacity: 1; }
.scroll-cue::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 34px; margin-left: -1px;
  border-radius: 2px; background: linear-gradient(transparent, var(--ink-accent));
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 10px; height: 10px; margin-left: -6px;
  border-right: 2px solid var(--ink-accent); border-bottom: 2px solid var(--ink-accent); transform: rotate(45deg);
}
.scroll-cue > span:first-child {
  position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--ink-accent); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue > span:first-child { animation: cue 2.2s ease-in-out 1.8s infinite; }
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 75%, 100% { opacity: 0; transform: translateY(26px); } }
/* Touch screens and tablet widths: a swipe gesture instead of the wire. A
   fingertip dot presses near the bottom and slides up, leaving a fading trail. */
.cue-touch { display: none; }
@media (pointer: coarse), (hover: none), (max-width: 1024px) {
  .scroll-cue { height: 84px; bottom: 16px; }
  .scroll-cue::before, .scroll-cue::after, .scroll-cue > span:first-child { display: none; }
  .cue-touch { display: block; position: absolute; inset: 0; }
  .cue-touch::before { /* trail from the start point up to the fingertip */
    content: ""; position: absolute; left: 50%; bottom: 34px; width: 4px; height: 36px; margin-left: -2px;
    border-radius: 2px; background: linear-gradient(transparent, color-mix(in srgb, var(--ink-accent) 55%, transparent));
    transform-origin: bottom; transform: scaleY(.6);
  }
  .cue-tip { position: absolute; left: 50%; bottom: 34px; width: 0; height: 0; transform: translateY(-22px); }
  .cue-tip::before { /* the touch point: a solid dot in a soft ring */
    content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
    background: color-mix(in srgb, var(--ink-accent) 55%, transparent); box-shadow: 0 0 0 7px color-mix(in srgb, var(--ink-accent) 25%, transparent);
  }
}
@media ((pointer: coarse) or (hover: none) or (max-width: 1024px)) and (prefers-reduced-motion: no-preference) {
  .cue-touch::before { animation: trail 2.2s ease-in-out 1.8s infinite; }
  .cue-tip { animation: fingertip 2.2s ease-in-out 1.8s infinite; }
}
@keyframes fingertip {
  0% { opacity: 0; transform: translateY(0) scale(1.15); }
  15% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; transform: translateY(-34px); }
  100% { opacity: 0; transform: translateY(-40px); }
}
@keyframes trail {
  0%, 15% { opacity: 0; transform: scaleY(0); }
  70% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}
/* Phones: logo, text and buttons centred between the header and the top of
   the swipe cue (the cue takes the bottom 100 px). */
@media (max-width: 640px) { .hero { padding: 40px 0 132px; } .hero-mark { width: 116px; height: 116px; } }

/* Services: open grid, each icon sits in a wall-plate outline. */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 36px; }
.service { text-align: center; }
.plate {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--accent);
}
.plate svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; } }
@media (max-width: 540px) { .services { grid-template-columns: 1fr; gap: 44px; } }

/* Steps and timeline: nodes on one wire. */
.wire { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; max-width: 1000px; }
.wire::before { content: ""; position: absolute; top: 31px; left: 16.66%; right: 16.66%; height: 2px; background: var(--accent); }
.wire li { text-align: center; position: relative; }
.wire .dot {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  border: 2px solid var(--accent); background: var(--bg); color: var(--accent);
  display: grid; place-items: center; position: relative;
}
.wire .dot svg { width: 26px; height: 26px; }
.wire .yr { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.wire h3 { font-size: 1.15rem; margin-bottom: 8px; }
.wire p { color: var(--muted); max-width: 300px; margin: 0 auto; font-size: 0.98rem; }
@media (max-width: 760px) {
  .wire { grid-template-columns: 1fr; gap: 40px; max-width: 420px; }
  .wire::before { top: 32px; bottom: 32px; left: 50%; right: auto; width: 2px; height: auto; margin-left: -1px; opacity: .35; }
  .wire li { background: var(--bg); }
  .wire p { background: var(--bg); }
}
.about-text { max-width: 720px; margin: 56px auto 0; text-align: center; color: var(--muted); }
.about-text strong { color: var(--text); font-weight: 650; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; } /* all cards as tall as the tallest */
.review {
  margin: 0; padding: 32px 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; text-align: center;
}
.review svg { width: 28px; height: 28px; color: var(--accent); margin: 0 auto 14px; }
.review blockquote { margin: 0 0 22px; font-size: 1.02rem; flex: 1; }
.review figcaption { font-weight: 700; }
.review figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; max-width: 560px; } .review { padding: 26px 22px 22px; } }
.review.is-clone { display: none; } /* copies for the endless phone slider (js/slider.js) */

/* Phones: the reviews become an endless, self-moving row (js/slider.js adds the
   copies and the dots). Each card snaps to the middle with its neighbours
   peeking in on both sides. Same as the sliders on kaoro.com. */
@media (max-width: 640px) {
  .reviews {
    --card: min(82vw, 340px);
    display: flex; gap: 14px; max-width: none;
    margin: 0 -16px; padding: 10px calc(50vw - var(--card) / 2) 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review, .review.is-clone { flex: 0 0 var(--card); display: flex; scroll-snap-align: center; scroll-snap-stop: always; }
  .is-slider > * { transition: transform .3s ease, opacity .3s ease; }
  .is-slider > :not(.is-current) { transform: scale(.93); opacity: .6; }
}
.slider-dots { display: none; }
@media (max-width: 640px) {
  .slider-dots { display: flex; justify-content: center; margin-top: 6px; }
  .slider-dots button {
    display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
    border: 0; background: none; cursor: pointer;
  }
  .slider-dots button::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line);
    transition: background .3s ease;
  }
  .slider-dots button[aria-current="true"]::before { background: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { .is-slider > *, .slider-dots button::before { transition: none; } }

/* Remote help band */
.band { background: var(--ink); color: var(--ink-text); text-align: center; }
.band .node::after { background: var(--ink); border-color: var(--ink-accent); }
.band .node::before { background: var(--ink-accent); }
.band .section-head { margin-bottom: 36px; }
.band .section-head p { color: var(--ink-muted); }
.band .btn-primary { background: var(--ink-accent); color: var(--ink); }
.band .btn-primary:hover { background: #f8b468; }
.band .btn-ghost { color: var(--ink-text); border-color: var(--ink-line); }
.band .btn-ghost:hover { border-color: var(--ink-accent); }
.band .small { margin-top: 28px; color: var(--ink-muted); font-size: 0.95rem; }
.band a:not(.btn) { color: var(--ink-accent); }

/* Contact */
/* Contact: the four cards as a 2 x 2 grid, the form below at the same width. */
.contact { display: grid; gap: 24px; max-width: 760px; margin: 0 auto; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none;
}
.contact-list a:hover { border-color: var(--accent); }
.contact-list .plate { width: 48px; height: 48px; margin: 0; border-radius: 12px; flex: none; background: var(--accent-soft); border-color: transparent; }
.contact-list .plate svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 0.88rem; }
.contact-list strong { font-weight: 700; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.contact-form .opt { color: var(--muted); font-weight: 500; }
.contact-form input:not([type="checkbox"]), .contact-form textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.contact-form .check input { margin-top: 5px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.contact-form .btn { justify-self: center; min-width: 200px; margin-top: 14px; } /* air under the consent line */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { text-align: center; min-height: 1.5em; font-weight: 600; font-size: 0.95rem; }
.form-status.ok { color: #1f8a4c; }
.form-status.err { color: #c0392b; }
@media (max-width: 820px) { .contact-form { padding: 22px 18px; } }
@media (max-width: 560px) { .contact-list { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 0.93rem; text-align: center; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.03em; }
.footer-logo svg { width: 28px; height: 28px; color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* Subpages: privacy, sent, error */
.prose { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 20px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }
.message-page { text-align: center; padding-top: 120px; padding-bottom: 140px; max-width: 640px; }
.message-page svg { width: 84px; height: 84px; margin: 0 auto 28px; color: var(--accent); }
.message-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 14px; }
.message-page p { color: var(--muted); margin-bottom: 32px; }

/* Scroll reveal (js/reveal.js adds .reveal-on to <html>, so nothing is hidden
   without the script). Blocks fade and rise in; the wires draw themselves and
   their junctions pop in. Columns in a row follow each other a little. */
.reveal-on .reveal {
  opacity: 0; translate: 0 24px;
  transition: opacity .7s cubic-bezier(.2, 0, 0, 1), translate .8s cubic-bezier(.2, 0, 0, 1), scale .8s cubic-bezier(.2, 0, 0, 1);
}
.reveal-on .reveal.is-in { opacity: 1; translate: none; scale: none; }
.reveal-on .section-head.reveal .node::before { scale: 0 1; transition: scale .9s cubic-bezier(.2, 0, 0, 1) .1s; }
.reveal-on .section-head.reveal .node::after { scale: 0; transition: scale .5s cubic-bezier(.3, 1.6, .5, 1) .45s; }
.reveal-on .section-head.reveal.is-in .node::before { scale: 1 1; }
.reveal-on .section-head.reveal.is-in .node::after { scale: 1; }
.reveal-on .wire.reveal { opacity: 1; translate: none; } /* the list stays, its line draws */
.reveal-on .wire.reveal::before { scale: 0 1; transition: scale 1.2s cubic-bezier(.2, 0, 0, 1) .1s; }
.reveal-on .wire.reveal.is-in::before { scale: 1 1; }
.reveal-on .wire > li.reveal .dot { scale: .6; transition: scale .6s cubic-bezier(.3, 1.6, .5, 1) .15s; }
.reveal-on .wire > li.reveal.is-in .dot { scale: 1; }
.reveal-on .services > .reveal:nth-child(4n+2), .reveal-on .reviews > .reveal:nth-child(2n),
.reveal-on .contact-list > .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-on .services > .reveal:nth-child(4n+3), .reveal-on .contact-list > .reveal:nth-child(3),
.reveal-on .wire > .reveal:nth-child(2), .reveal-on .band .small.reveal { transition-delay: .16s; }
.reveal-on .services > .reveal:nth-child(4n+4), .reveal-on .contact-list > .reveal:nth-child(4),
.reveal-on .contact-form.reveal { transition-delay: .24s; }
.reveal-on .wire > .reveal:nth-child(3) { transition-delay: .32s; }

/* Phones: Material-style entrances. Cards rise from further down and grow
   from 94 % with the emphasized decelerate curve; one column, so no stagger
   between cards. On the vertical wire the line draws from the top. */
@media (max-width: 760px) {
  .reveal-on .wire.reveal::before { scale: 1 0; transform-origin: top; }
  .reveal-on .wire.reveal.is-in::before { scale: 1 1; }
}
@media (max-width: 640px) {
  .reveal-on .reveal {
    translate: 0 40px; scale: .94;
    transition: opacity .5s cubic-bezier(.05, .7, .1, 1), translate .65s cubic-bezier(.05, .7, .1, 1), scale .65s cubic-bezier(.05, .7, .1, 1);
  }
  .reveal-on .section-head.reveal { scale: none; translate: 0 24px; }
  .reveal-on .services > .reveal, .reveal-on .reviews > .reveal, .reveal-on .contact-list > .reveal,
  .reveal-on .wire > .reveal, .reveal-on .contact-form.reveal { transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal, .reveal-on .reveal::before, .reveal-on .reveal .node::before,
  .reveal-on .reveal .node::after, .reveal-on .reveal .dot { opacity: 1; translate: none; scale: none; transition: none; }
}
