/* Gweddnewid: the open ring */
:root {
  --ink: #141e24;
  --ink-2: #1c2930;
  --cyan: #17ced7;
  --cyan-soft: #6fe2e8;
  --cyan-hover: #12b8c0;
  --deep: #0b737a;
  --paper: #f2f7f7;
  --mist: #d5ecee;
  --slate: #4a5a63;
  --white: #ffffff;
  --on-ink: #e8f0f2;
  --on-ink-2: #a9bcc2;
  --head: "Sora", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(4rem, 8vw, 7rem);
  /* Line icons: 24px grid, 2.2 stroke, round ends. Used as masks so they take the text colour. */
  --i-tick: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 12.5l5 5L19.5 7'/></svg>");
  --i-chevron: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5.5 9l6.5 6.5L18.5 9'/></svg>");
  --i-pin: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21.5s-7-6.2-7-11.5a7 7 0 0 1 14 0c0 5.3-7 11.5-7 11.5z'/><circle cx='12' cy='10' r='2.5'/></svg>");
  --i-tag: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 3.5h8l9 9-8 8-9-9z'/><circle cx='8' cy='8' r='1.6'/></svg>");
  --i-speech: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3.5h11.5v8.5H8.5L3 16z'/><path d='M17.5 8h3.5v12l-4-3.5h-6.5V15'/></svg>");
  --i-quote: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2.2' stroke-linecap='round'><path d='M10.5 5C7 6.3 4.8 9.3 4.8 14.5' fill='none'/><circle cx='7.6' cy='15.4' r='3'/><path d='M20.5 5c-3.5 1.3-5.7 4.3-5.7 9.5' fill='none'/><circle cx='17.6' cy='15.4' r='3'/></svg>");
  --i-dash: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><path d='M7 12h10'/></svg>");
}

.icon-mask, .ticks li::before, .hero-facts li::before, .towns li::before, .more summary::after, .faq summary::after, .quote-main::before, .cf-btn::before {
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.45rem + 2.9vw, 3.6rem); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
/* Plain links get a little vertical padding, so even a short standalone link is at least 24px to tap.
   :where() keeps this weaker than any component's own padding. */
a:where(:not([class])) { padding-block: 0.15em; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible { outline-color: var(--cyan); }

.skip {
  position: absolute; left: 1rem; top: -200px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.header-inner { display: flex; align-items: center; gap: 0.75rem; min-height: 76px; position: relative; }
.brand { flex: none; display: block; border-radius: 6px; }
.brand img { width: 132px; height: auto; }
.site-nav { margin-left: auto; order: 1; }
.lang { order: 2; }
.header-cta { order: 3; }
.menu-toggle { order: 4; }
/* Below the full menu, Contact stays in the header beside Menu: one tap away on every page */
.header-cta {
  display: none; align-items: center; flex: none; min-height: 44px; padding: 0 1.1rem;
  border-radius: 999px; background: var(--cyan); color: var(--ink); font-weight: 600; text-decoration: none;
}
.header-cta:hover { background: var(--cyan-hover); }
.header-cta:focus-visible { outline-color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
  color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 999px;
}
.site-nav a:hover { background: var(--paper); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--cyan); border-radius: 0; }
.site-nav .nav-cta a { background: var(--cyan); color: var(--ink); font-weight: 600; padding: 0 1.2rem; margin-left: 0.4rem; }
.site-nav .nav-cta a:hover { background: var(--cyan-hover); }
.site-nav .nav-cta a[aria-current="page"] { box-shadow: none; border-radius: 999px; }
.lang {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  border: 1.5px solid var(--mist); border-radius: 999px; color: var(--ink);
  text-decoration: none; font-weight: 500; font-size: 1rem; flex: none;
}
.lang:hover { border-color: var(--deep); }
.menu-toggle {
  display: none; align-items: center; gap: 0.55rem; min-height: 44px; min-width: 44px;
  padding: 0 0.9rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--white);
  font: 600 1rem var(--body); cursor: pointer;
}
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon::before, .menu-icon::after, .menu-icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.menu-icon::before { top: 0; } .menu-icon span { top: 5px; } .menu-icon::after { bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .menu-icon::before, .menu-icon::after, .menu-icon span { transition: transform 0.25s ease, opacity 0.2s ease; }
}
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span { opacity: 0; }

@media (max-width: 1199px) {
  .header-inner { flex-wrap: wrap; }
  .lang { margin-left: auto; }
  .header-cta { display: inline-flex; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav .nav-cta { display: none; }
  .site-nav { order: 5; width: 100%; margin: 0; }
  .site-nav ul { flex-wrap: wrap; padding-bottom: 0.75rem; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto;
    background: var(--white); border-bottom: 1px solid var(--mist);
    padding: 0.5rem var(--gutter) 1.5rem; box-shadow: 0 18px 30px -24px rgba(20, 30, 36, 0.5);
  }
  .js .menu-open .site-nav { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--mist); }
  .js .site-nav a { min-height: 54px; font-size: 1.15rem; padding: 0 0.25rem; border-radius: 0; width: 100%; }
  .js .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--cyan); padding-left: 0.9rem; }
  .js .site-nav .nav-cta { border: 0; margin-top: 1rem; }
  .js .site-nav .nav-cta a { justify-content: center; margin: 0; border-radius: 999px; }
  @media (prefers-reduced-motion: no-preference) {
    .js .menu-open .site-nav { animation: drop 0.22s ease-out; }
  }
}
/* Narrow screens: Menu becomes an icon button (its name stays for screen readers) to make room for Contact */
@media (max-width: 519px) {
  .header-inner { gap: 0.5rem; }
  .brand img { width: 112px; }
  .lang { padding: 0 0.75rem; }
  .header-cta { padding: 0 0.95rem; }
  .menu-toggle { width: 44px; padding: 0; justify-content: center; }
  .menu-label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (max-width: 400px) {
  .header-inner { gap: 0.4rem; }
  .brand img { width: 88px; }
  .lang { padding: 0 0.6rem; font-size: 0.95rem; }
  .header-cta { padding: 0 0.8rem; font-size: 0.95rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 0.75rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1.05rem/1.2 var(--body); text-decoration: none; cursor: pointer;
}
/* Main calls to action: brand cyan with charcoal text (8.6:1). White on cyan fails, so never use it. */
.btn-primary, .on-ink .btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: var(--cyan-hover); }
.on-ink .btn-primary:hover { background: var(--cyan-soft); }
.btn-primary:focus-visible, .site-nav .nav-cta a:focus-visible { outline-color: var(--ink); }
.on-ink .btn-primary:focus-visible { outline-color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.on-ink .btn-ghost { border-color: var(--on-ink-2); color: var(--on-ink); }
.on-ink .btn-ghost:hover { background: var(--on-ink); color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section:not(.paper):not(.ink) + .section:not(.paper):not(.ink) { padding-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.paper { background: var(--paper); }
.ink { background: var(--ink); color: var(--on-ink); }
.ink a { color: var(--cyan); }
.ink .muted, .ink .lead { color: var(--on-ink-2); }
.muted { color: var(--slate); }
.lead { font-size: clamp(1.15rem, 1.02rem + 0.45vw, 1.35rem); line-height: 1.5; color: var(--slate); max-width: 38em; }
.prose { max-width: 40em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.small { font-size: 1rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > .split-head { position: sticky; top: 110px; }
.split-head p { color: var(--slate); }
.ink .split-head p { color: var(--on-ink-2); }
.split-head .statement { color: var(--ink); margin-top: 1.5rem; margin-bottom: 1rem; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split > .split-head { position: static; }
}
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Tick bullets: things that are included */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.65rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 1.15em; height: 1.15em;
  --icon: var(--i-tick); color: var(--deep);
}
.ink .ticks li::before { color: var(--cyan); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 1.3rem + 3vw, 3.7rem); line-height: 1.04; margin-bottom: 0.45em; }
.hero-facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; }
.hero-facts li { position: relative; padding-left: 2.1rem; margin: 0; }
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: 0.18em; width: 1.25em; height: 1.25em;
  --icon: var(--i-tick); color: var(--deep);
}
.hero-facts .f-pin::before { --icon: var(--i-pin); }
.hero-facts .f-price::before { --icon: var(--i-tag); }
.hero-facts .f-lang::before { --icon: var(--i-speech); }
.portrait { margin: 0; }
.portrait-frame { position: relative; aspect-ratio: 1; max-width: 500px; margin-inline: auto; }
.portrait-frame img {
  position: absolute; inset: 8.5%; width: 83%; height: 83%; border-radius: 50%;
  object-fit: cover; object-position: 54% 30%;
}
.portrait-ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
.portrait figcaption { text-align: center; margin-top: 0.75rem; font-size: 1rem; color: var(--slate); }
.portrait figcaption strong { color: var(--ink); }
.hero-side { max-width: 500px; width: 100%; justify-self: center; }
.hero-quote { margin: 1.75rem 0 0; padding: 1.25rem 1.4rem; background: var(--paper); border-left: 4px solid var(--cyan); border-radius: 0 14px 14px 0; }
.hero-quote blockquote { margin: 0 0 0.5rem; font: 500 1.08rem/1.5 var(--head); letter-spacing: -0.01em; }
.hero-quote figcaption { font-size: 1rem; color: var(--slate); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { justify-self: start; }
  .portrait-frame { max-width: 300px; margin: 0; }
  .portrait figcaption { text-align: left; }
}

/* ---------- Inner page head ---------- */
.page-head { position: relative; overflow: hidden; background: var(--paper); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 16em; }
.page-head .lead { margin-bottom: 0; }
.crumbs { font-size: 1rem; margin-bottom: 1.25rem; color: var(--slate); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--slate); }
.crumbs a { color: var(--slate); }

/* ---------- Service rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.paper .rows, .paper .row { border-color: #c4dfe2; }
.row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.5rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--mist); margin: 0; }
.row h3 { margin: 0; font-size: 1.25rem; }
.row h3 a { color: var(--ink); text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.row h3 a:hover { color: var(--deep); }
.row p { margin: 0; color: var(--slate); }
.row .on { display: block; margin-top: 0.4rem; font-size: 1rem; color: var(--deep); font-weight: 500; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

/* ---------- Cycle ring ---------- */
.cycle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cycle-figure { margin: 0; position: relative; max-width: 540px; width: 100%; justify-self: center; view-timeline-name: --ring; }
.cycle-ring { width: 100%; height: auto; overflow: visible; }
.cycle-ring .track { stroke: rgba(255, 255, 255, 0.16); }
.cycle-ring .arc { stroke: var(--cyan); stroke-dasharray: 100; stroke-dashoffset: 0; }
.cycle-ring .arrow { fill: var(--cyan); }
.cycle-ring .stop circle { fill: var(--ink); stroke: var(--cyan); stroke-width: 3; }
.cycle-ring .stop text { fill: var(--on-ink); font: 600 22px var(--head); text-anchor: middle; dominant-baseline: central; }
.paper-ring .cycle-ring .track { stroke: var(--mist); }
.cycle-centre {
  position: absolute; inset: 27%; display: grid; place-content: center; text-align: center;
  font-family: var(--head); font-weight: 600; font-size: clamp(1.05rem, 0.8rem + 1vw, 1.5rem); line-height: 1.2; letter-spacing: -0.02em;
}
.cycle-centre p, .hero-quote blockquote p { margin: 0; }
.related { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related li { margin: 0; }
.related a {
  display: inline-block; min-height: 44px; padding: 0.4rem 1.05rem; border-radius: 999px;
  border: 1.5px solid #c4dfe2; color: var(--ink); text-decoration: none; font-weight: 500; background: var(--white);
}
.related a:hover { border-color: var(--deep); color: var(--deep); }
.cycle-centre span { display: block; font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--on-ink-2); margin-top: 0.5rem; letter-spacing: 0; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.15rem 3.4rem; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 2.3rem; height: 2.3rem;
  display: grid; place-items: center; border: 2px solid var(--cyan); border-radius: 50%;
  font: 600 1rem var(--head); color: var(--on-ink);
}
.steps h3 { font-size: 1.15rem; margin: 0 0 0.2rem; }
.steps p { margin: 0; color: var(--on-ink-2); }
.light-steps li::before { border-color: var(--deep); color: var(--ink); }
.light-steps p { color: var(--slate); }
@media (max-width: 900px) {
  .cycle { grid-template-columns: 1fr; }
  .cycle-figure { max-width: 380px; }
}

/* Draw the ring once as it arrives */
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
.cycle-ring .arrow { transform: translate(var(--ax), var(--ay)) rotate(var(--ar)); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .cycle-ring .arc { animation: draw linear both; animation-timeline: --ring; animation-range: entry 10% cover 50%; }
  }
  .cycle-figure.is-waiting .arc { stroke-dashoffset: 100; }
  .cycle-figure.is-in .arc { animation: draw 1.8s cubic-bezier(0.65, 0, 0.25, 1) both; }
}

/* ---------- Dashboard illustration ---------- */
.dash { margin: 0; }
.dash-screen {
  background: var(--white); border: 1px solid var(--mist); border-radius: 18px; padding: clamp(1rem, 3vw, 1.75rem);
  box-shadow: 0 30px 60px -40px rgba(20, 30, 36, 0.45);
}
.dash-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 1.25rem; font-size: 1rem; }
.dash-top strong { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.dash-range { color: var(--slate); }
.dash-tag { margin-left: auto; font-size: 0.9rem; font-weight: 600; color: var(--ink); background: var(--mist); padding: 0.2rem 0.7rem; border-radius: 999px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.dash-stats div { background: var(--paper); border-radius: 12px; padding: 0.8rem 0.9rem; }
.dash-stats .k { display: block; font-size: 0.95rem; color: var(--slate); }
.dash-stats .v { display: block; font: 600 clamp(1.3rem, 1rem + 1.2vw, 1.85rem)/1.15 var(--head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-chart { width: 100%; height: auto; margin-bottom: 1.25rem; }
.dash-chart .line { fill: none; stroke: var(--deep); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.dash-chart .area { fill: var(--mist); opacity: 0.6; }
.dash-chart .grid { stroke: var(--mist); stroke-width: 1; }
.dash-sources p { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; }
.dash-sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.dash-sources li { display: grid; grid-template-columns: 11rem 1fr 3rem; align-items: center; gap: 0.75rem; margin: 0; font-size: 1rem; }
.dash-sources .bar { height: 10px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.dash-sources .bar i { display: block; height: 100%; width: var(--w); background: var(--cyan); border-radius: 999px; transform-origin: left; }
.dash-sources .pc { text-align: right; font-variant-numeric: tabular-nums; color: var(--slate); }
.dash figcaption { margin-top: 0.85rem; font-size: 1rem; color: var(--slate); }
@media (max-width: 520px) {
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-stats div:last-child { grid-column: span 2; }
  .dash-sources li { grid-template-columns: 1fr 3rem; }
  .dash-sources .bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .dash.is-waiting .line { stroke-dashoffset: 100; }
  .dash.is-waiting .area { opacity: 0; }
  .dash.is-waiting .bar i { transform: scaleX(0); }
  .dash.is-in .line { animation: draw 1.6s cubic-bezier(0.65, 0, 0.25, 1) both; }
  .dash.is-in .area { animation: pop 1s 0.9s both; }
  .dash.is-in .bar i { transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s; }
}

/* ---------- Price list: one thing per line, the price on the right ---------- */
.price { font-family: var(--head); font-weight: 600; letter-spacing: -0.03em; margin: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price .from { display: block; font: 500 1rem var(--body); letter-spacing: 0; color: var(--slate); margin-bottom: 0.2rem; }
.price .amount { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); }
.price .amount.word { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.85rem); }
.price .per { font: 500 1.05rem var(--body); letter-spacing: 0; color: var(--slate); }
.price .alt { display: block; font: 500 1rem/1.4 var(--body); letter-spacing: 0; color: var(--slate); margin-top: 0.35rem; }
.ink .price .from, .ink .price .per, .ink .price .alt { color: var(--on-ink-2); }
.split-head .price, .two-col .price { color: var(--ink); margin-top: 1.25rem; }
.two-col .price:first-child { margin-top: 0; }

.pricelist { list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--ink); }
.price-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "body body";
  gap: 0.4rem 2.5rem; padding: 1.6rem 0; margin: 0; border-bottom: 1px solid var(--mist); align-items: start;
}
.paper .price-item { border-color: #c4dfe2; }
.price-item > h3 { grid-area: name; margin: 0; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); }
.price-item > h3 a { color: var(--ink); text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.price-item > h3 a:hover { color: var(--deep); }
.price-item > .price { grid-area: price; text-align: right; max-width: 15rem; }
.price-body { grid-area: body; max-width: 38em; }
.price-body:empty { display: none; }
.price-item > h3 { align-self: center; }
.price-body > p { color: var(--slate); margin: 0; }
.price-body > p + p { margin-top: 0.5rem; }
.price-body .ticks { margin: 1rem 0 0; font-size: 1.05rem; }
.price-body .ticks + p { margin-top: 1rem; }
.price-item.lead-item > h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.price-item.lead-item .price .amount { font-size: clamp(2.4rem, 1.7rem + 2.2vw, 3.3rem); }
.price-item.sub > h3 { font-size: 1.15rem; }
.price-item.sub .price .amount { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.85rem); }
@media (min-width: 761px) { .price-body .ticks.two { columns: 2; column-gap: 2.5rem; } .price-body .ticks.two li { break-inside: avoid; } }
@media (max-width: 640px) {
  .price-item { grid-template-columns: 1fr; grid-template-areas: "name" "price" "body"; gap: 0.5rem; }
  .price-item > .price { text-align: left; max-width: none; }
  .price .from { display: inline; margin-right: 0.3rem; }
}
.price-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; }
.price-foot a { display: inline-block; min-height: 44px; padding: 0.5rem 0; font-weight: 600; }

/* "See what's included": a chevron that turns */
.more { margin-top: 0.6rem; }
.more summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer;
  font-weight: 600; color: var(--deep); list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { color: var(--ink); }
.more .ticks { margin-top: 0.4rem; }
.more summary::after, .faq summary::after {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; margin-left: 1rem;
  --icon: var(--i-chevron); color: var(--deep);
}
.more summary::after { margin-left: 0.5rem; }
.more[open] summary::after, .faq details[open] summary::after { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .more summary::after, .faq summary::after { transition: transform 0.3s ease; }
  .more[open] > :not(summary), .faq details[open] > :not(summary) { animation: reveal 0.3s ease-out; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Worked examples: a running tally with dotted leaders */
.tallies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 5rem); }
@media (max-width: 860px) { .tallies { grid-template-columns: 1fr; } }
.tally h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.tally dl { margin: 0; border-top: 3px solid var(--cyan); }
.tally dl > div { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.8rem 0; }
.tally dt { flex: 1 1 auto; display: flex; align-items: baseline; }
.tally dt::after { content: ""; flex: 1 1 1.5rem; min-width: 1.5rem; margin-left: 0.75rem; border-bottom: 2px dotted var(--on-ink-2); }
.tally dd { margin: 0; flex: 0 1 auto; max-width: 60%; font: 600 1.1rem/1.3 var(--head); font-variant-numeric: tabular-nums; text-align: right; }
.tally .total { border-top: 1px solid rgba(255, 255, 255, 0.25); margin-top: 0.25rem; }
.tally .total dt { font-weight: 600; }
.tally .total dd { color: var(--cyan); font-size: 1.25rem; }
.tally .muted { color: var(--on-ink-2); font-size: 1rem; margin: 0.75rem 0 0; }

/* ---------- Testimonials ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote-main { margin: 0; }
.quote-main blockquote { margin: 0 0 1.25rem; font: 500 clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem)/1.4 var(--head); letter-spacing: -0.02em; }
.quote-main blockquote p { margin: 0; }
.quote-main::before {
  content: ""; display: block; width: 3.25rem; height: 3.25rem; margin: 0 0 1rem -0.3rem;
  --icon: var(--i-quote); color: var(--cyan);
}
.quote-list { list-style: none; margin: 0; padding: 0; }
.quote-list li { margin: 0; padding: 1.25rem 0; border-top: 1px solid var(--mist); }
.quote-list li:last-child { border-bottom: 1px solid var(--mist); }
.quote-list blockquote { margin: 0 0 0.5rem; font-size: 1.1rem; }
.quote-list blockquote p { margin: 0; }
.cite { font-size: 1rem; color: var(--slate); }
.cite a, .hero-quote figcaption a { display: inline-block; padding-block: 0.2rem; }
.cite strong { color: var(--ink); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
.quote-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.quote-pair figure { margin: 0; padding-top: 1.25rem; border-top: 3px solid var(--cyan); }
.quote-pair blockquote { margin: 0 0 0.75rem; font-size: 1.15rem; }
.quote-pair blockquote p { margin: 0; }
@media (max-width: 760px) { .quote-pair { grid-template-columns: 1fr; } }

/* ---------- Person ---------- */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.person-photo { margin: 0; }
.person-photo img { width: 100%; height: auto; border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 54% 30%; }
.person-photo figcaption { font-size: 1rem; color: var(--slate); margin-top: 0.6rem; }
.creds { list-style: none; padding: 0; margin: 1.5rem 0; border-top: 1px solid var(--mist); }
.creds li { margin: 0; padding: 0.85rem 0; border-bottom: 1px solid var(--mist); display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.creds .k { color: var(--slate); font-size: 1rem; padding-top: 0.1rem; }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; } .person-photo { max-width: 420px; } }
@media (max-width: 480px) { .creds li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---------- Towns ---------- */
.towns { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font: 500 1.15rem/1.4 var(--head); color: var(--ink); }
.towns li { position: relative; margin: 0; padding-left: 1.5rem; }
.towns li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.05em; height: 1.05em;
  --icon: var(--i-pin); color: var(--deep);
}
.towns-label { margin: 2rem 0 0; font-weight: 600; }
.towns-label + .towns { margin-top: 0.75rem; }
.area-links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem 2.5rem; }
.area-links li { margin: 0; }
.area-links a { display: inline-block; min-height: 44px; padding: 0.5rem 0; font-weight: 600; }
.town-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; list-style: none; padding: 0; margin: 0; }
.town-grid li { padding: 1.1rem 0; border-top: 1px solid var(--mist); margin: 0; }
.town-grid h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.town-grid p { margin: 0; font-size: 1rem; color: var(--slate); }
@media (max-width: 860px) { .town-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .town-grid { grid-template-columns: 1fr; } }

/* ---------- Feature list (numbered steps on light) & blocks ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.feature-grid > div { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.feature-grid h3 { font-size: 1.15rem; }
.feature-grid p { margin: 0; color: var(--slate); font-size: 1.05rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.callout { border-left: 4px solid var(--cyan); padding: 0.25rem 0 0.25rem 1.25rem; margin: 2rem 0; }
.callout p:last-child { margin: 0; }
.statement { font: 600 clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem)/1.2 var(--head); letter-spacing: -0.03em; max-width: 24em; margin: 0; }

/* Access steps (Google / Meta) */
.access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; list-style: none; padding: 0; margin: 0; }
.access li { margin: 0; border-top: 3px solid var(--cyan); padding-top: 1rem; }
.access h3 { font-size: 1.15rem; }
.access p { margin: 0; color: var(--on-ink-2); }
.paper .access p, .access.light p { color: var(--slate); }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--mist); }
.faq details { border-bottom: 1px solid var(--mist); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0.9rem 0; cursor: pointer;
  font: 600 1.15rem/1.35 var(--head); letter-spacing: -0.015em; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--deep); }
.faq .answer { padding: 0 0 1.25rem; max-width: 40em; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 3rem; }
.topics { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mist); }
.topics li { margin: 0; border-bottom: 1px solid var(--mist); }
.topics a { display: block; min-height: 44px; padding: 0.6rem 0; font-weight: 600; }
@media (max-width: 860px) { .faq-help { display: none; } }
.faq-group h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.35rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field .hint { display: block; font-size: 1rem; color: var(--slate); margin: -0.15rem 0 0.45rem; font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: 400 1.1rem var(--body); color: var(--ink); background: var(--white);
  border: 1.5px solid #9fb3ba; border-radius: 10px; padding: 0.75rem 0.9rem; min-height: 52px;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--deep); outline-offset: 1px; border-color: var(--deep); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1rem; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.field .check { display: flex; align-items: center; gap: 0.65rem; min-height: 44px; font-weight: 400 !important; margin: 0 !important; cursor: pointer; }
.check input { width: 1.3rem; height: 1.3rem; min-height: 0; accent-color: var(--deep); flex: none; }
.req { color: var(--deep); font-weight: 500; font-size: 1rem; }
.aside-box { background: var(--paper); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2rem); }
.aside-box h2 { font-size: 1.35rem; }
.aside-box .steps { margin-top: 1.25rem; }
.aside-box .steps li:last-child { padding-bottom: 0; }
.aside-box + .aside-box { margin-top: 1.25rem; }
.big-link { font: 600 clamp(1.15rem, 1rem + 0.6vw, 1.4rem) var(--head); letter-spacing: -0.02em; word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(4rem, 8vw, 6.5rem); }
.cta-band h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); max-width: 17em; }
.cta-band p { color: var(--on-ink-2); max-width: 36em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--mist); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h2 { font: 600 1rem var(--head); letter-spacing: 0; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.footer-grid li a:hover { color: var(--deep); text-decoration: underline; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--slate); max-width: 22em; }
.footer-areas { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--mist); color: var(--slate); }
.footer-areas p { margin: 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; color: var(--slate); }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 50vh; display: grid; align-content: center; }

/* ---------- Device frames: a slim browser window and a phone ---------- */
.browser {
  margin: 0; background: var(--white); border: 1px solid #c4dfe2; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 50px -30px rgba(20, 30, 36, 0.55);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #e6eef0; border-bottom: 1px solid #c4dfe2; }
.browser-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #9fb3ba; }
.browser-bar span {
  flex: 1; min-width: 0; padding-right: 39px; text-align: center; font: 500 12px/1 var(--body); color: var(--slate);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.phone {
  display: flow-root; margin: 0; background: var(--ink); border-radius: 14% / 6.5%;
  box-shadow: 0 0 0 1.5px #3b4b53, 0 30px 50px -26px rgba(20, 30, 36, 0.6);
}
/* Margins, not padding, so the bezel scales with the phone itself */
.phone img { width: 91%; margin: 8% 4.5%; height: auto; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; border-radius: 10% / 4.6%; }
/* A desktop window with its phone overlapping the lower right corner */
.devices { position: relative; aspect-ratio: 100 / 66; }
.devices .browser { position: absolute; left: 0; top: 0; width: 88%; }
.devices .phone { position: absolute; right: 0; bottom: 0; width: 22%; }
.shot { margin: 0; }
.shot figcaption { margin-top: 0.7rem; font-size: 1rem; color: var(--slate); }
.ink .shot figcaption { color: var(--on-ink-2); }

/* ---------- Showcase: a coverflow of websites we've made ---------- */
.showcase { overflow: hidden; }
.showcase-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.showcase-head h2 { margin: 0; }
.showcase-head p { margin: 0; color: var(--on-ink-2); }
@media (max-width: 760px) { .showcase-head { grid-template-columns: 1fr; } }
.cf-stage { perspective: 1800px; touch-action: pan-y; }
.cf-track { list-style: none; margin: 0; padding: 0; display: grid; transform-style: preserve-3d; }
.cf-slide { grid-area: 1 / 1; justify-self: center; width: min(76%, 700px); margin: 0; transform-origin: 50% 30%; }
.cf-caption { padding-top: 2rem; text-align: center; max-width: 34rem; margin-inline: auto; }
.cf-caption h3 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); margin-bottom: 0.3rem; }
.cf-kind { color: var(--on-ink-2); margin-bottom: 0.6rem; }
.cf-what { margin-bottom: 0.4rem; }
.cf-caption a { display: inline-block; min-height: 44px; padding: 0.5rem 0; font-weight: 600; }
.cf-controls { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.cf-btn {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; cursor: pointer;
  border: 2px solid var(--on-ink-2); border-radius: 50%; background: transparent; color: var(--on-ink);
}
.cf-btn:hover { background: var(--on-ink); border-color: var(--on-ink); color: var(--ink); }
.cf-btn::before { content: ""; width: 1.45rem; height: 1.45rem; --icon: var(--i-chevron); }
.cf-prev::before { transform: rotate(90deg); }
.cf-next::before { transform: rotate(-90deg); }
.cf-dots { list-style: none; display: flex; margin: 0; padding: 0; }
.cf-dots li { margin: 0; }
.cf-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.cf-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--on-ink-2); }
.cf-dot[aria-current="true"]::before { width: 28px; background: var(--cyan); }
.cf-dot:hover::before { background: var(--on-ink); }
.cf-dot[aria-current="true"]:hover::before { background: var(--cyan-soft); }

/* With script: the turning stage. Without it, the websites sit in a row you can scroll. */
.js .cf-slide { transition: transform 0.6s cubic-bezier(0.22, 0.7, 0.2, 1), opacity 0.6s ease, filter 0.6s ease; }
.js .cf-slide[data-pos="0"] { transform: translateX(0) translateZ(0) rotateY(0deg); }
.js .cf-slide[data-pos="-1"], .js .cf-slide[data-pos="1"] { filter: brightness(0.62); cursor: pointer; }
.js .cf-slide[data-pos="-1"] { transform: translateX(-74%) translateZ(-260px) rotateY(40deg); }
.js .cf-slide[data-pos="1"] { transform: translateX(74%) translateZ(-260px) rotateY(-40deg); }
/* Three websites: the one wrapping round fades while it crosses behind the centre */
.js .cf-slide.cf-wrap { animation: cf-wrap 0.6s ease; }
@keyframes cf-wrap { 0%, 100% { opacity: 1; } 18%, 82% { opacity: 0; } }
.js .cf-slide:not([data-pos="0"]) .cf-caption { visibility: hidden; opacity: 0; }
.js .cf-slide[data-pos="0"] .cf-caption { transition: opacity 0.35s ease 0.25s; }
.js .cf-dot::before { transition: width 0.3s ease, background-color 0.3s ease; }
/* Wider screens: only the centre website shows its phone; the side ones would peek out below it */
@media (min-width: 700px) {
  .js .cf .phone { transition: opacity 0.4s ease; }
  .js .cf-slide:not([data-pos="0"]) .phone { opacity: 0; }
}
html:not(.js) .cf-track { grid-auto-flow: column; grid-auto-columns: min(80%, 620px); gap: 2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
html:not(.js) .cf-slide { grid-area: auto; width: auto; scroll-snap-align: center; }
html:not(.js) .cf-controls { display: none; }
@media (prefers-reduced-motion: reduce) {
  .js .cf-slide, .js .cf-slide[data-pos="0"] .cf-caption, .js .cf-dot::before, .js .cf .phone { transition: none; }
  .js .cf-slide.cf-wrap { animation: none; }
}
/* Phones: the centre website's phone leads, its desktop smaller behind, neighbours peeking in */
@media (max-width: 699px) {
  .cf-stage { perspective: 1000px; }
  .cf-slide { width: min(74vw, 340px); }
  .cf .devices { aspect-ratio: 100 / 118; }
  .cf .devices .browser { left: auto; right: 0; width: 84%; }
  .cf .devices .phone { right: auto; left: 0; width: 46%; }
  .cf .browser-bar { height: 20px; gap: 4px; padding: 0 7px; }
  .cf .browser-bar i { width: 6px; height: 6px; }
  .cf .browser-bar span { font-size: 12px; padding-right: 26px; }
  .js .cf-slide[data-pos="-1"] { transform: translateX(-84%) translateZ(-160px) rotateY(40deg); }
  .js .cf-slide[data-pos="1"] { transform: translateX(84%) translateZ(-160px) rotateY(-40deg); }
  .cf-caption { padding-top: 1.5rem; }
}

/* ---------- Our work ---------- */
.work-index { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.5rem; border-top: 1px solid #c4dfe2; }
.work-index li { margin: 0; border-bottom: 1px solid #c4dfe2; }
.work-index a { display: block; min-height: 44px; padding: 0.8rem 1.25rem 0.8rem 0; color: var(--ink); text-decoration: none; }
.work-index a strong { display: block; font: 600 1.1rem/1.3 var(--head); letter-spacing: -0.015em; }
.work-index a > span { display: block; font-size: 1rem; color: var(--slate); }
.work-index a:hover strong { color: var(--deep); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
@media (max-width: 560px) { .work-index { grid-template-columns: 1fr; } }

.project-kind { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); color: var(--slate); margin: -0.2rem 0 0; }
.ink .project-kind { color: var(--on-ink-2); }
.project-story h3 { font-size: 1.15rem; margin: 1.6rem 0 0.35rem; }
.project-story h3:first-child { margin-top: 0; }
.project-story p { margin: 0; }
.ink .project-story p { color: var(--on-ink); }
.project-quote { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 4px solid var(--cyan); }
.project-quote blockquote { margin: 0 0 0.5rem; font: 500 1.15rem/1.5 var(--head); letter-spacing: -0.01em; }
.project-quote blockquote p { margin: 0; }
.ink .cite { color: var(--on-ink-2); }
.ink .cite strong { color: var(--on-ink); }

/* Labelled features */
.feats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.feats > div { border-top: 3px solid var(--cyan); padding-top: 0.75rem; }
.feats dt { font: 600 1.1rem/1.3 var(--head); letter-spacing: -0.015em; margin-bottom: 0.25rem; }
.feats dd { margin: 0; color: var(--slate); font-size: 1.05rem; }
.ink .feats dd { color: var(--on-ink-2); }
.feats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .feats.four, .feats.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats, .feats.four, .feats.three { grid-template-columns: 1fr; } }
/* A project summary table, the way a surveyor would set it out */
.feats.spec { grid-template-columns: 1fr; gap: 0; border: 1.5px solid var(--ink); background: var(--white); }
.feats.spec > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.25rem 1.25rem; border-top: 1px solid #c4dfe2; padding: 0.9rem 1.1rem; }
.feats.spec > div:first-child { border-top: 0; }
.feats.spec dt { margin: 0; font-size: 1.02rem; }
@media (max-width: 520px) { .feats.spec > div { grid-template-columns: 1fr; } }

.project { scroll-margin-top: 80px; }
.project-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.project-head h2 { margin-bottom: 0.35rem; }
.mt-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
/* The Cwtch: the website first, then the story in three parts */
.lay-stage .devices { max-width: 1000px; margin-inline: auto; }
.story-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.story-three > div > h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.story-three p { margin: 0; }
@media (max-width: 860px) { .story-three { grid-template-columns: 1fr; } }
.shots-a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1.35fr) minmax(0, 5fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
@media (max-width: 860px) { .shots-a { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } .shots-a > :last-child { grid-column: 1 / -1; } }
/* Gora: the story beside a column of screens */
.lay-side { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.screens { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.screens-pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1.1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
@media (max-width: 860px) { .lay-side { grid-template-columns: 1fr; } }
/* Bois Bontnewydd: the before-and-after leads */
.lay-lead { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.lay-lead .shot figcaption { font-size: 1.05rem; }
.lay-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .lay-lead, .lay-split { grid-template-columns: 1fr; } }

/* A fitting example on a service page */
.example { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.example h2 { margin-bottom: 0.35rem; }
.example p { color: var(--on-ink-2); }
.example .feats { margin: 1.5rem 0; grid-template-columns: 1fr 1fr; }
.example-link { display: inline-block; min-height: 44px; padding: 0.5rem 0; font-weight: 600; }
@media (max-width: 860px) { .example { grid-template-columns: 1fr; } }
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 5vw, 5rem); }
.examples h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); margin: 1.75rem 0 0.25rem; }
.examples p { color: var(--on-ink-2); margin-bottom: 0.5rem; }
@media (max-width: 860px) { .examples { grid-template-columns: 1fr; } }

/* A quiet next step after each case study */
.project-next { margin: 2.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid #c4dfe2; color: var(--slate); max-width: 46rem; }
.project-next a { font-weight: 600; }
.ink .project-next { border-color: rgba(255, 255, 255, 0.22); color: var(--on-ink-2); }

/* ---------- Home: services as a compact list, a name and one line each ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.svc-list li { margin: 0; padding: 1.05rem 0; border-top: 1px solid #c4dfe2; }
.svc-list h3 { font-size: 1.15rem; margin: 0 0 0.15rem; }
.svc-list h3 a { color: var(--ink); text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.svc-list h3 a:hover { color: var(--deep); }
.svc-list p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--slate); }
@media (max-width: 600px) { .svc-list { grid-template-columns: 1fr; } .svc-list li { padding: 0.8rem 0; } }

/* ---------- Home: the closing band with a short enquiry form ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cta-grid h2 { font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.7rem); }
.cta-more { margin-top: 1.5rem; }
.cta-more li { margin-bottom: 0.4rem; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.form-short { gap: 1.1rem; }
.form-short .field textarea { min-height: 128px; }
.on-ink .field label { color: var(--white); }
.on-ink .field .hint, .on-ink .form .muted { color: var(--on-ink-2); }
.on-ink .req { color: var(--cyan-soft); }
.on-ink .field input, .on-ink .field textarea { border-color: var(--on-ink-2); }
.on-ink .field input:focus-visible, .on-ink .field textarea:focus-visible { outline-color: var(--cyan); border-color: var(--cyan); }

/* ---------- Home on phones: tighter rhythm, so it gets to the point sooner ---------- */
@media (max-width: 600px) {
  .home .section, .home .cta-band { padding-block: 3.25rem; }
  .home .hero { padding-block: 2rem 3rem; }
  .home .portrait-frame { max-width: 220px; }
  .home .cycle-figure { max-width: 260px; }
  .home .steps li { padding-bottom: 0.9rem; }
  .home .steps p { font-size: 1rem; }
  .home .proof { gap: 1.5rem; }
  .home .quote-list li { padding: 1rem 0; }
}

/* ---------- Website care ---------- */
.care-price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.care-price .price .amount { font-size: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (max-width: 760px) { .care-price { grid-template-columns: 1fr; } }

/* ---------- Home: already have a website? The free check ---------- */
.check-band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.check-offer { background: var(--paper); border-top: 4px solid var(--cyan); border-radius: 0 0 18px 18px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.check-offer h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); }
.check-offer .ticks { margin-bottom: 1rem; }
.check-free { font-weight: 600; }
@media (max-width: 860px) { .check-band { grid-template-columns: 1fr; } }

/* ---------- Start your project: one step at a time, the open ring filling as you go ---------- */
.steps-form { position: relative; gap: 0; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step > legend { padding: 0; margin-bottom: 1.25rem; }
.step > legend h2 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.step > legend h2:focus { outline: none; }
.step > legend h2:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }
.step-count { display: block; font-size: 1rem; font-weight: 600; color: var(--deep); margin-bottom: 0.3rem; }
.step-fields { display: grid; gap: 1.35rem; }
.step-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.step-nav .step-next, .step-nav [type="submit"] { margin-left: auto; }
.no-js .js-only { display: none; }
/* Without script every step shows, one after another */
.step + .step { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--mist); }
.js .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
.js .step[hidden] { display: none; }
.step-progress { display: none; }
.js .step-progress { display: grid; place-items: center; position: absolute; right: 0; top: -0.4rem; width: 72px; height: 72px; }
.js .steps-form .step > legend { padding-right: 88px; }
.step-ring { grid-area: 1 / 1; width: 100%; height: 100%; overflow: visible; }
.step-ring .track { stroke: var(--mist); }
.step-ring .arc { stroke: var(--ink); stroke-dasharray: 100; stroke-dashoffset: var(--left, 83.4); }
.step-num { grid-area: 1 / 1; font: 600 1.35rem/1 var(--head); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .step-ring .arc { transition: stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.25, 1); }
}
.field-error { margin: 0.45rem 0 0; font-weight: 600; font-size: 1rem; color: #b42318; }
.field input[aria-invalid="true"] { border-color: #b42318; border-width: 2px; }
@media (max-width: 480px) {
  .step-nav .btn { flex: 1 1 auto; }
  .js .step-progress { width: 56px; height: 56px; top: -0.2rem; }
  .js .steps-form .step > legend { padding-right: 68px; }
}
