:root {
  --black: #000000;
  --ink: #000000;
  --white: #ffffff;
  --paper: rgba(255, 255, 255, 0.60);
  --paper-light: rgba(255, 255, 255, 0.91);
  --soft: rgba(255, 255, 255, 0.60);
  --grey: #000000;
  --line: #d8d8d3;
  --line-strong: #b7b7b0;
  --orange: #ff5a00;
  --orange-text: #ff5a00;
  --radius: 1rem;
  --shadow: 0 1.2rem 3.4rem rgba(0, 0, 0, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
  margin: 0;
  background: #ffffff url("../assets/faff-cover-blur.webp") center top / cover fixed no-repeat;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
::selection { background: var(--orange); color: var(--black); }

.site-shell { min-height: 100vh; overflow: clip; }
.site-container { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-160%);
  padding: 0.7rem 0.9rem;
  border-radius: 0.55rem;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }

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

/* Header / brand */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17, 17, 17, 0.11);
  background: rgba(255, 255, 255, 0.91);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  width: min(1240px, calc(100% - 2rem));
  min-height: 5.1rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img {
  display: block;
  width: 4.4rem;
  height: 3.7rem;
  object-fit: contain;
  object-position: left center;
}
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(0.75rem, 2vw, 1.7rem); }
.nav-tab {
  position: relative;
  padding: 0.6rem 0;
  color: #000000;
  font-size: 0.86rem;
  font-weight: 750;
}
.nav-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.28rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform 160ms ease;
}
.nav-tab:hover::after, .nav-tab:focus-visible::after { transform: scaleX(1); }
.nav-contact {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--orange);
  color: var(--black);
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform 150ms ease, background 150ms ease;
}
.nav-contact:hover { transform: translateY(-1px); background: var(--orange); }

/* Shared typography / buttons */
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--orange-text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow-on-dark { color: var(--orange); }
.section-intro { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-intro-narrow { max-width: 44rem; }
.section-intro h2,
.contact-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  font-weight: 900;
  letter-spacing: -0.047em;
  line-height: 0.96;
}
.heading-accent { color: var(--orange-text); }
.heading-accent-line { display: block; color: var(--orange); }
.hero-copy .heading-accent,
.contact-copy .heading-accent { color: var(--orange); }
.section-intro > p:last-child,
.contact-copy > p:last-child {
  max-width: 46rem;
  margin: 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}
.content-section { position: relative; padding-block: clamp(3.6rem, 6.5vw, 5.6rem); }

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}
.primary-button { background: var(--orange); color: var(--black); }
.secondary-button { background: transparent; color: var(--black); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-1px); background: var(--black); color: var(--white); }
.text-link, .small-external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.text-link { font-size: 0.9rem; }
.text-link-on-dark { color: var(--white); }
.external-mark { display: inline-block; flex: 0 0 auto; font-size: 0.82em; }

/* Frog motif */
.frog-layer { position: relative; isolation: isolate; overflow: hidden; }
.frog-layer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(20rem, 40vw, 38rem);
  aspect-ratio: 1;
  background: url("../assets/brand/faff-frog-motif.svg") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}
.frog-layer > .site-container { position: relative; z-index: 1; }
.projects-section::after { right: -10rem; bottom: -8rem; transform: rotate(-8deg); }
.frog-right::after { right: -9rem; top: 2rem; transform: rotate(8deg); opacity: 0.035; }
.clients-section::after { left: -12rem; bottom: -8rem; transform: rotate(13deg); opacity: 0.032; }

/* Hero */
.hero-section {
  position: relative;
  min-height: clamp(33rem, 66vh, 46rem);
  display: grid;
  align-items: center;
  background: var(--black);
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98) 0%, rgba(8, 8, 8, 0.88) 47%, rgba(8, 8, 8, 0.7) 100%),
    url("../assets/faff-cover-blur.webp") center / cover no-repeat;
}
.frog-hero::after {
  right: -4rem;
  bottom: -7rem;
  z-index: -1;
  width: clamp(28rem, 50vw, 47rem);
  opacity: 0.085;
  filter: grayscale(1) brightness(2.4);
  transform: rotate(-8deg);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
  padding-block: clamp(4.4rem, 9vw, 7.6rem);
}
.hero-copy { max-width: 46rem; }
.hero-copy h1 {
  max-width: 10.5ch;
  margin: 0 0 1.35rem;
  font-size: clamp(3.3rem, 7.4vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.052em;
  line-height: 0.87;
}
.hero-lead {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.35rem; align-items: center; margin-top: 1.75rem; }
.hero-proof {
  padding: 1.15rem 1.35rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.proof-kicker { margin: 0 0 0.5rem; color: var(--orange); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.14em; }
.proof-row { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.proof-row strong { display: block; margin-bottom: 0.15rem; font-size: 1rem; }
.proof-row span { display: block; color: rgba(255, 255, 255, 0.67); font-size: 0.81rem; line-height: 1.4; }

/* Projects */
.projects-section { background: var(--paper); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.project-list { border-top: 1px solid var(--black); }
.project-row { border-bottom: 1px solid var(--black); }
.project-row > summary {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr) 1.5rem;
  gap: 1rem;
  align-items: center;
  min-height: 5.4rem;
  padding: 0.85rem 0;
  cursor: pointer;
}
.project-number { color: var(--orange-text); font-size: 0.76rem; font-weight: 900; }
.project-title-block { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.7fr); gap: 1rem; align-items: baseline; }
.project-title-block strong { font-size: clamp(1.12rem, 2vw, 1.52rem); letter-spacing: -0.025em; }
.project-title-block > span { color: var(--grey); font-size: 0.82rem; text-align: right; }
.project-toggle {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  justify-self: end;
}
.project-toggle::before, .project-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}
.project-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.project-row[open] .project-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.project-row > summary:hover .project-title-block strong { color: var(--orange-text); }
.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.83fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: 1.8rem 0 2.7rem 4.1rem;
  border-top: 1px solid var(--line);
}
.project-copy { min-width: 0; }
.project-heading-with-icon { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.app-icon-link { position: relative; display: block; width: 5rem; height: 5rem; }
.app-icon {
  display: block;
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 0.5rem 1.3rem rgba(0, 0, 0, 0.12);
}
.app-icon-link > .external-mark { position: absolute; right: -0.2rem; bottom: -0.2rem; display: grid; width: 1.45rem; height: 1.45rem; place-items: center; border-radius: 50%; background: var(--black); color: var(--white); }
.project-meta { margin: 0 0 0.45rem; color: var(--orange-text); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.project-summary { margin: 0; color: #000000; font-size: clamp(0.98rem, 1.8vw, 1.1rem); line-height: 1.55; }
.store-blurb {
  margin: 1.45rem 0;
  padding: 1rem 1.05rem;
  border-left: 3px solid var(--orange);
  background: rgba(17, 17, 17, 0.04);
}
.store-blurb span { display: block; margin-bottom: 0.28rem; color: var(--orange-text); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.store-blurb p { margin: 0; color: var(--grey); font-size: 0.88rem; line-height: 1.52; }
.project-feature-list { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.project-feature-list li { position: relative; padding-left: 1.15rem; color: #000000; font-size: 0.89rem; }
.project-feature-list li::before { content: ""; position: absolute; top: 0.64em; left: 0; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--orange); }
.project-links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.project-link-pill {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.38rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  font-size: 0.76rem;
  font-weight: 850;
  transition: border-color 150ms ease, background 150ms ease;
}
.project-link-pill:hover { border-color: var(--orange); background: var(--white); }
.project-proof-note { margin-top: 1.55rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.project-proof-label { margin: 0 0 0.35rem; color: var(--black); font-size: 0.84rem; font-weight: 900; }
.project-proof-note > p:not(.project-proof-label) { margin: 0; color: var(--grey); font-size: 0.83rem; line-height: 1.55; }
.proof-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1.1rem; margin-top: 0.7rem; }
.small-external-link { gap: 0.28rem; color: var(--orange-text); font-size: 0.75rem; }
.project-visual-link { align-self: start; min-width: 0; }
.project-visual-link > .external-mark { display: none; }
.project-visual { margin: 0; }
.screen-stage {
  display: grid;
  min-height: 25rem;
  place-items: center;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 90, 0, 0.08), transparent 38%),
    #ecece8;
  box-shadow: var(--shadow);
}
.screen-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 31rem;
  border-radius: 0.7rem;
  object-fit: contain;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.16);
}
.project-visual figcaption { margin-top: 0.55rem; color: var(--grey); font-size: 0.72rem; font-weight: 800; text-align: right; }
.project-visual-link:hover figcaption { color: var(--orange-text); }

.project-row-dark { margin-inline: -1.5rem; padding-inline: 1.5rem; background: var(--black); color: var(--white); border-color: rgba(255,255,255,0.55); }
.project-row-dark > summary { border-color: rgba(255,255,255,0.4); }
.project-row-dark .project-title-block > span,
.project-row-dark .project-summary,
.project-row-dark .store-blurb p,
.project-row-dark .project-feature-list li,
.project-row-dark .project-proof-note > p:not(.project-proof-label),
.project-row-dark .project-visual figcaption { color: rgba(255,255,255,0.72); }
.project-row-dark .project-number,
.project-row-dark .project-meta,
.project-row-dark .store-blurb span,
.project-row-dark .small-external-link { color: var(--orange); }
.project-row-dark .project-proof-label { color: var(--white); }
.project-row-dark .project-panel,
.project-row-dark .project-proof-note { border-color: rgba(255,255,255,0.2); }
.project-row-dark .store-blurb { background: rgba(255,255,255,0.07); }
.project-row-dark .project-link-pill { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); color: var(--white); }
.project-row-dark .project-link-pill:hover { border-color: var(--orange); background: rgba(255,90,0,0.12); }
.project-row-dark .screen-stage { border-color: rgba(255,255,255,0.16); background: #070707; }
.project-row-dark > summary:hover .project-title-block strong { color: var(--orange); }

.portfolio-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.portfolio-more strong { display: block; margin-bottom: 0.2rem; }
.portfolio-more p { max-width: 52rem; margin: 0; color: var(--grey); font-size: 0.85rem; }

/* Services */
.services-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-light); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.service-card { min-height: 17rem; padding: 1.6rem clamp(1rem, 2.5vw, 1.7rem) 1.8rem; }
.service-card + .service-card { border-left: 1px solid var(--line); }
.service-number { color: var(--orange-text); font-size: 0.72rem; font-weight: 900; }
.service-card h3 { margin: 1.4rem 0 0.65rem; font-size: clamp(1.25rem, 2.2vw, 1.65rem); letter-spacing: -0.03em; }
.service-card p { margin: 0; color: var(--grey); font-size: 0.91rem; line-height: 1.58; }
.capabilities-panel { margin-top: 2rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.capabilities-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.2rem; }
.capabilities-heading .eyebrow { margin: 0; }
.capabilities-heading > p:last-child { max-width: 34rem; margin: 0; color: var(--grey); font-size: 0.82rem; text-align: right; }
.capability-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.capability-item { display: grid; min-height: 7.2rem; place-items: center; align-content: center; gap: 0.65rem; padding: 0.8rem 0.5rem; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: rgba(255,255,255,0.54); text-align: center; }
.capability-item svg { width: 1.65rem; height: 1.65rem; stroke-width: 1.7; }
.capability-item span { max-width: 8rem; font-size: 0.75rem; font-weight: 800; line-height: 1.25; }

/* Clients */
.clients-section { background: var(--paper); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.client-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.8rem; }
.client-logo-card { grid-column: span 2; }
.client-logo-card:nth-child(5) { grid-column: 2 / span 2; }
.client-logo-card {
  position: relative;
  display: grid;
  min-height: 10.8rem;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--white);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.client-logo-card:hover { transform: translateY(-2px); border-color: var(--orange); box-shadow: 0 0.75rem 2rem rgba(0,0,0,0.07); }
.client-logo-image { display: grid; min-height: 6.3rem; place-items: center; }
.client-logo-image img { display: block; width: min(100%, 14rem); max-height: 5.5rem; object-fit: contain; object-position: center; }
.client-name { align-self: end; color: var(--grey); font-size: 0.72rem; font-weight: 800; text-align: center; }
.client-logo-card > .external-mark { position: absolute; top: 0.7rem; right: 0.75rem; color: var(--orange-text); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2rem; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.testimonial-grid blockquote { margin: 0; padding: 1.4rem clamp(1rem, 2.5vw, 1.6rem); }
.testimonial-grid blockquote + blockquote { border-left: 1px solid var(--line); }
.testimonial-grid p { margin: 0 0 1rem; font-size: 0.9rem; font-weight: 700; line-height: 1.55; }
.testimonial-grid footer { color: var(--grey); font-size: 0.73rem; line-height: 1.4; }

/* Contact */
.contact-section { position: relative; padding-block: clamp(3.4rem, 6vw, 5.1rem); background: var(--black); color: var(--white); }
.frog-contact::after { right: -7rem; bottom: -10rem; width: clamp(25rem, 44vw, 42rem); opacity: 0.1; filter: grayscale(1) brightness(2.4); transform: rotate(8deg); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.75fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: center; }
.contact-copy h2 { max-width: 11ch; color: var(--white); }
.contact-copy > p:last-child { color: rgba(255,255,255,0.7); }
.contact-details { display: grid; margin: 0; font-style: normal; border-top: 1px solid rgba(255,255,255,0.35); }
.contact-details > div { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.22); }
.contact-details span { color: var(--orange); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; }
.contact-details a, .contact-details strong { font-size: 0.95rem; font-weight: 800; }
.contact-details a:hover { color: var(--orange); }

/* Footer */
.site-footer { background: #080808; color: rgba(255,255,255,0.72); }
.footer-main { display: flex; min-height: 7rem; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer .brand img { filter: none; }
.site-footer .brand { padding: 0.45rem 0.7rem; border-radius: 0.55rem; background: rgba(255,255,255,0.94); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.7rem 1.2rem; font-size: 0.78rem; font-weight: 700; }
.footer-nav a:hover, .legal-footer a:hover { color: var(--orange); }
.legal-footer { display: flex; flex-wrap: wrap; gap: 0.35rem 1.15rem; padding-block: 0.85rem 1.15rem; border-top: 1px solid rgba(255,255,255,0.15); }
.legal-footer p { margin: 0; font-size: 0.68rem; line-height: 1.5; }

/* Privacy */
.policy-main { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--paper); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.policy { max-width: 1020px; }
.policy > header { max-width: 48rem; margin-bottom: 3rem; }
.policy h1 { margin: 0 0 1rem; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.05em; line-height: 0.9; }
.policy-lead { margin: 0; color: var(--grey); font-size: 1.08rem; }
.policy > section { display: grid; grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); padding: 1.6rem 0; border-top: 1px solid var(--line); }
.policy > section:last-child { border-bottom: 1px solid var(--line); }
.policy h2 { margin: 0; font-size: 1.12rem; letter-spacing: -0.02em; }
.policy section p { margin: 0 0 0.8rem; color: #000000; font-size: 0.9rem; }
.policy section p:last-child { margin-bottom: 0; }
.policy-link { color: var(--orange-text); font-weight: 800; text-decoration: underline; text-underline-offset: 0.2em; }
.privacy-choice-button { margin-top: 0.3rem; cursor: pointer; }
.policy-footer { min-height: auto; }

/* Consent */
.consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 160;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.35rem;
  width: min(42rem, calc(100% - 2rem));
  padding: 1.15rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  background: rgba(8,8,8,0.98);
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.28);
  color: var(--white);
}
.consent strong { display: block; margin-bottom: 0.2rem; }
.consent p { margin: 0 0 0.25rem; color: rgba(255,255,255,0.72); font-size: 0.8rem; line-height: 1.45; }
.consent a { color: var(--orange); font-size: 0.75rem; font-weight: 800; text-decoration: underline; text-underline-offset: 0.2em; }
.consent-actions { display: flex; align-items: center; gap: 0.55rem; }
.consent button { min-height: 2.65rem; padding: 0.62rem 0.82rem; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; background: transparent; color: var(--white); cursor: pointer; font-size: 0.76rem; font-weight: 850; }
.consent .consent-allow { border-color: var(--orange); background: var(--orange); color: var(--black); }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-proof { max-width: 38rem; }
  .project-panel { grid-template-columns: 1fr; }
  .project-visual-link { width: min(100%, 40rem); }
  .screen-stage { min-height: 22rem; }
  .capability-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .client-logo-card { grid-column: span 2; }
  .client-logo-card:nth-child(5) { grid-column: auto / span 2; }
}

@media (max-width: 760px) {
  .site-container { width: min(100% - 2rem, 1180px); }
  .header-inner { width: calc(100% - 1rem); gap: 0.7rem; }
  .brand img { width: 3.8rem; height: 3.2rem; }
  .site-nav { gap: 0.7rem; }
  .nav-tab { font-size: 0.75rem; }
  .nav-contact { min-height: 2.35rem; padding: 0.55rem 0.75rem; font-size: 0.75rem; }
  .hero-section { min-height: auto; }
  .hero-layout { padding-block: 4.6rem; }
  .hero-copy h1 { max-width: 10ch; }
  .project-title-block { grid-template-columns: 1fr; gap: 0.15rem; }
  .project-title-block > span { text-align: left; }
  .project-panel { padding-left: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding-block: 1.4rem; }
  .service-card + .service-card { border-top: 1px solid var(--line); border-left: 0; }
  .capabilities-heading { display: block; }
  .capabilities-heading .eyebrow { margin-bottom: 0.4rem; }
  .capabilities-heading > p:last-child { text-align: left; }
  .capability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo-card, .client-logo-card:nth-child(5) { grid-column: auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid blockquote + blockquote { border-top: 1px solid var(--line); border-left: 0; }
  .portfolio-more { grid-template-columns: 1fr; }
  .portfolio-more .secondary-button { justify-self: start; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main { align-items: flex-start; flex-direction: column; padding-block: 1.4rem; }
  .footer-nav { justify-content: flex-start; }
  .policy > section { grid-template-columns: 1fr; gap: 0.6rem; }
  .consent { grid-template-columns: 1fr; }
  .consent-actions { justify-content: flex-start; }
}

@media (max-width: 540px) {
  html { scroll-padding-top: 8rem; }
  .header-inner { flex-wrap: wrap; min-height: auto; padding-block: 0.45rem 0.55rem; }
  .brand img { width: 3.45rem; height: 2.9rem; }
  .site-nav { width: 100%; justify-content: space-between; gap: 0.35rem; }
  .nav-tab { padding: 0.35rem 0; font-size: 0.7rem; }
  .nav-contact { min-height: 2.15rem; padding: 0.45rem 0.62rem; font-size: 0.7rem; }
  .hero-layout { padding-block: 3.7rem; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .project-row > summary { grid-template-columns: 2rem minmax(0, 1fr) 1.2rem; gap: 0.55rem; }
  .project-heading-with-icon { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .app-icon-link, .app-icon { width: 4.2rem; height: 4.2rem; border-radius: 0.85rem; }
  .project-row-dark { margin-inline: -1rem; padding-inline: 1rem; }
  .screen-stage { min-height: 19rem; padding: 1rem; }
  .client-logo-card { min-height: 9.2rem; padding: 0.75rem; }
  .client-logo-image { min-height: 5.4rem; }
  .client-logo-image img { max-height: 4.6rem; }
  .contact-details > div { grid-template-columns: 4.3rem minmax(0, 1fr); gap: 0.7rem; }
  .legal-footer { display: grid; gap: 0.2rem; }
  .consent-actions { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .site-container { width: calc(100% - 1.25rem); }
  .header-inner { width: calc(100% - 0.75rem); }
  .brand img { width: 3.25rem; }
  .nav-tab, .nav-contact { font-size: 0.64rem; }
  .nav-contact { padding-inline: 0.5rem; }
  .project-row-dark { margin-inline: -0.625rem; padding-inline: 0.625rem; }
  .client-grid { grid-template-columns: 1fr; }
  .client-logo-card, .client-logo-card:nth-child(5) { grid-column: auto; }
  .capability-list { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}


/* ===== Review cleanup pass ===== */
/* White translucent surfaces over the original Faff background */
.projects-section,.clients-section,.policy-main{background:var(--paper)}
.services-section{background:var(--paper-light)}
.site-header{background:rgba(255,255,255,.91)}

/* Typography: more deliberate system stack, slightly relaxed display tracking */
.section-intro h2,.contact-copy h2{letter-spacing:-.035em}
.hero-copy h1{font-size:clamp(3.2rem,6.8vw,6.25rem);letter-spacing:-.04em}
.policy h1{font-size:clamp(2.55rem,5vw,4.4rem);letter-spacing:-.035em;line-height:.96}
.content-section{padding-block:clamp(3rem,5.3vw,4.7rem)}
.section-intro{margin-bottom:clamp(1.7rem,3.4vw,2.6rem)}

/* Header: less height, stronger supplied logo */
.header-inner{min-height:4.65rem}
.brand img{width:5rem;height:auto;object-fit:contain}

/* Hero: one background idea (dark field + motif) instead of photo + motif competing */
.hero-bg{background:linear-gradient(115deg,#111 0%,#171717 58%,#0e0e0e 100%)}
.hero-layout{padding-block:clamp(4rem,8vw,6.6rem)}
.hero-proof{padding:0 0 0 1.35rem;border:0;border-left:1px solid rgba(255,255,255,.34);border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.proof-row{padding:.85rem 0;border-top:1px solid rgba(255,255,255,.16)}

/* Motif is intentionally restricted to hero and contact in the HTML */
.frog-hero::after{opacity:.075}
.frog-contact::after{opacity:.08}

/* Project content: keep store-derived blurbs, remove box-within-box treatment */
.app-icon{box-shadow:0 .3rem .9rem rgba(0,0,0,.08)}
.store-blurb{margin:.9rem 0 1.2rem;padding:0;border:0;background:transparent}
.store-blurb span{color:var(--orange)}
.store-blurb p{font-size:.84rem}
.project-links{gap:.55rem 1rem;margin-top:1.2rem}
.project-link-pill{min-height:0;padding:.12rem 0;border:0;border-radius:0;background:transparent;color:var(--ink);font-size:.78rem;text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:1px;text-underline-offset:.22em}
.project-link-pill:hover{border-color:transparent;background:transparent;color:var(--orange)}
.screen-stage{min-height:0;overflow:visible;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.screen-stage img{max-height:31rem;border:1px solid rgba(17,17,17,.10);border-radius:.55rem;box-shadow:0 .45rem 1.25rem rgba(0,0,0,.09)}
.portfolio-more{margin-top:1.8rem;padding:1.2rem 0 0;border:0;border-top:1px solid var(--line-strong);border-radius:0;background:transparent}

/* Services remain a strip; decorative numbering removed from HTML */
.service-card h3{margin:.25rem 0 .65rem}
.service-card{min-height:14.5rem}

/* Capabilities: content stays, dashboard-style nested boxes go */
.capabilities-panel{margin-top:2rem;padding:1.35rem 0 0;border:0;border-top:1px solid var(--line-strong);border-radius:0;background:transparent}
.capabilities-heading{display:block;margin-bottom:1.05rem}
.capability-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem 1rem;border:0}
.capability-item{min-height:6.4rem;padding:.6rem .35rem;border:0;background:transparent}
.capability-item svg{fill:none;stroke:var(--ink)}

/* Clients: linked logos without seven oversized cards, repeated names or arrow badges */
.client-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(.8rem,2vw,1.4rem);align-items:center}
.client-logo-card,.client-logo-card:nth-child(5){grid-column:auto;min-height:7.2rem;display:grid;place-items:center;padding:.75rem .4rem;border:0;border-radius:0;background:transparent;box-shadow:none;transition:opacity 150ms ease}
.client-logo-card:hover{transform:none;border-color:transparent;box-shadow:none;opacity:.72}
.client-logo-image{min-height:5.5rem}
.testimonial-grid p{font-size:1rem;font-weight:600;line-height:1.58;letter-spacing:-.01em}
.testimonial-grid footer{font-size:.72rem;font-weight:700;line-height:1.45}

/* Footer: supplied logo gets a contrast-safe variant rather than a white backing box */
.footer-main{min-height:5.8rem}
.site-footer .brand{padding:0;border-radius:0;background:transparent}
.site-footer .brand img{width:4.9rem;height:auto;filter:none}
.legal-footer{padding-block:.7rem .9rem}

/* All orange typography/actions use the core brand orange */
.eyebrow,.heading-accent,.heading-accent-line,.proof-kicker,.project-number,.store-blurb span,.small-external-link,.contact-details span,.policy-link,.consent a{color:var(--orange)}
.nav-contact:hover{background:var(--orange)}

@media(max-width:980px){
 .brand img{width:4.7rem}
 .client-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
 .brand img{width:4.5rem;height:auto}
 .client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .service-card{min-height:auto}
 .capability-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
 .brand img{width:4.15rem;height:auto}
 .client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .client-logo-card{min-height:6.5rem;padding:.55rem .25rem}
 .client-logo-image{min-height:5rem}
 .client-logo-image img{max-height:4.5rem}
 .hero-copy h1{font-size:clamp(2.85rem,14vw,4.4rem)}
}
@media(max-width:360px){
 .brand img{width:3.9rem}
 .client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ===== Requested refinement pass ===== */
/* 60% white surfaces over original background; Services matches header opacity. */
.projects-section,.clients-section,.policy-main{background:rgba(255,255,255,.60)}
.site-header,.services-section{background:rgba(255,255,255,.91)}
.services-section{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}

/* Capabilities replaced by one expandable, lightweight service list. */
.more-services{
  margin-top:1.6rem;
  border:1px solid rgba(17,17,17,.22);
  border-radius:.8rem;
  background:rgba(255,255,255,.60);
  overflow:hidden;
}
.more-services>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-height:3.65rem;
  padding:.9rem 1.05rem;
  cursor:pointer;
  font-weight:850;
}
.more-services>summary:hover .more-services-title{color:var(--orange)}
.more-services-title{font-size:.94rem;letter-spacing:-.01em}
.more-services-hint{
  display:grid;
  width:1.7rem;
  height:1.7rem;
  place-items:center;
  flex:0 0 auto;
  border:1px solid var(--line-strong);
  border-radius:50%;
  color:var(--orange);
  font-size:1.15rem;
  line-height:1;
  transition:transform 160ms ease;
}
.more-services[open] .more-services-hint{transform:rotate(45deg)}
.more-services-intro{margin:0;padding:0 1.05rem .7rem;color:#000;font-size:.84rem}
.more-services-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.45rem 1.5rem;
  margin:0;
  padding:.25rem 1.05rem 1.15rem 2.15rem;
}
.more-services-list li{padding-left:.15rem;color:#000000;font-size:.83rem;line-height:1.45}
.more-services-list li::marker{color:var(--orange)}
.more-services-outro{margin:0;padding:.1rem 1.05rem 1.15rem;color:#000;font-size:.84rem;line-height:1.55}

/* Ninja project: preserve full logo aspect ratio, use supplied banner, stronger website CTA. */
.project-row-ninja .project-heading-with-icon{grid-template-columns:minmax(7.25rem,9rem) minmax(0,1fr);align-items:center}
.project-row-ninja .ninja-logo-link{width:100%;height:auto;display:flex;align-items:center}
.project-row-ninja .ninja-logo{
  width:100%;
  height:auto;
  max-height:none;
  border-radius:0;
  object-fit:contain;
  box-shadow:none;
}
.project-row-ninja .project-links{margin-top:1.35rem}
.project-row-ninja .ninja-project-cta{
  min-height:3rem;
  padding:.78rem 1.05rem;
  text-decoration:none;
}
.project-row-ninja .project-visual-link{width:100%}
.project-row-ninja .screen-stage img{width:100%;max-height:none;object-fit:contain}

/* One client panel containing the curated linked logos. */
.client-logo-panel{
  padding:1rem 1.2rem;
  border:1px solid rgba(17,17,17,.17);
  border-radius:.8rem;
  background:rgba(255,255,255,.60);
}
.client-logo-panel .client-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:.65rem 1rem;
  align-items:center;
}
.client-logo-panel .client-logo-card{
  min-height:6.2rem;
  padding:.45rem .25rem;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transition:opacity 150ms ease,transform 150ms ease;
}
.client-logo-panel .client-logo-card:hover{opacity:.72;transform:translateY(-1px)}
.client-logo-panel .client-logo-image{min-height:4.8rem}
.client-logo-panel .client-logo-image img{width:min(100%,9.5rem);max-height:4.5rem;object-fit:contain}

/* The hidden attribute must win over .consent { display:grid }. */
.consent[hidden]{display:none!important}
.consent button{touch-action:manipulation}

@media(max-width:1080px){
  .client-logo-panel .client-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
  .more-services-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-row-ninja .project-heading-with-icon{grid-template-columns:6.5rem minmax(0,1fr)}
  .client-logo-panel .client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .more-services-list{grid-template-columns:1fr}
  .project-row-ninja .project-heading-with-icon{grid-template-columns:5.75rem minmax(0,1fr)}
  .client-logo-panel{padding:.8rem}
}

/* ===== Header / hero navigation + monochrome action pass ===== */
.company-line{
  margin:0 0 .78rem;
  color:rgba(255,255,255,.78);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.035em;
  line-height:1.45;
}
.company-line a{
  color:var(--orange);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.2em;
}

/* Header section links stay out of the way while the equivalent hero links are visible. */
.homepage-header .site-nav{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-.25rem);
  transition:opacity .26s ease,transform .26s ease,visibility 0s linear .26s;
}
.homepage-header.nav-ready .site-nav{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
  transition:opacity .26s ease,transform .26s ease,visibility 0s linear 0s;
}
/* Contact is deliberately the same simple header text treatment as the other sections. */
.site-nav .nav-tab{white-space:nowrap}

/* Monochrome action buttons: fill matches the surface, then inverts smoothly. */
.primary-button,.secondary-button{
  border-color:#000;
  background:#fff;
  color:#000;
  text-decoration:none;
  transition:background-color .22s ease,color .22s ease,border-color .22s ease,transform .22s ease;
}
.primary-button:hover,.primary-button:focus-visible,
.secondary-button:hover,.secondary-button:focus-visible{
  border-color:#000;
  background:#000;
  color:#fff;
  transform:translateY(-1px);
}
.hero-actions .primary-button.button-on-dark,
.hero-section-links a{
  border:1px solid #fff;
  background:#000;
  color:#fff;
}
.hero-actions .primary-button.button-on-dark:hover,
.hero-actions .primary-button.button-on-dark:focus-visible,
.hero-section-links a:hover,
.hero-section-links a:focus-visible{
  border-color:#fff;
  background:#fff;
  color:#000;
}

.hero-section-links{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.55rem;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.18);
}
.hero-section-links a{
  display:inline-flex;
  min-height:2.55rem;
  align-items:center;
  justify-content:center;
  padding:.58rem .5rem;
  border-radius:999px;
  font-size:.73rem;
  font-weight:850;
  line-height:1;
  transition:background-color .22s ease,color .22s ease,border-color .22s ease,transform .22s ease;
}
.hero-section-links a:hover,.hero-section-links a:focus-visible{transform:translateY(-1px)}

/* Legal company-number links stay understated. */
.legal-footer a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.45);
  text-underline-offset:.18em;
}
.policy-footer .legal-footer a{color:inherit}

/* Mobile: keep the simplified text header on one row; the fade behaviour remains identical. */
@media(max-width:760px){
  .header-inner{flex-wrap:nowrap;min-height:4.35rem;padding-block:0}
  .site-nav{width:auto;justify-content:flex-end;gap:clamp(.48rem,2.3vw,.8rem)}
  .nav-tab{padding:.45rem 0;font-size:.72rem}
  .hero-section-links{max-width:32rem}
}
@media(max-width:540px){
  html{scroll-padding-top:5rem}
  .header-inner{flex-wrap:nowrap;min-height:4.1rem;padding-block:0}
  .brand img{width:3.75rem;height:auto}
  .site-nav{width:auto;gap:clamp(.38rem,2vw,.62rem)}
  .nav-tab{padding:.36rem 0;font-size:.66rem}
  .hero-actions{flex-direction:row;align-items:center;flex-wrap:wrap}
  .hero-section-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
  .hero-section-links a{min-height:2.5rem;font-size:.72rem}
  .company-line{font-size:.69rem;line-height:1.4}
}
@media(max-width:360px){
  .header-inner{width:calc(100% - .7rem);gap:.45rem}
  .brand img{width:3.35rem}
  .site-nav{gap:.32rem}
  .nav-tab{font-size:.61rem}
  .hero-section-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ===== Faff editorial refinement pass =====
   Keeps the current structure and orange final-word treatment, while moving
   the visual language closer to the clean restraint of the original site. */
:root{
  --radius:.45rem;
  --shadow:none;
}

/* Body stays plain and highly readable; display type gets a quieter identity. */
body{
  font-family:"Avenir Next",Avenir,"Segoe UI","Helvetica Neue",Arial,sans-serif;
}
.hero-copy h1,
.section-intro h2,
.contact-copy h2,
.policy h1,
.service-card h3,
.project-title-block strong,
.proof-row strong,
.more-services-title{
  font-family:"Avenir Next",Avenir,"Segoe UI Variable Display","Segoe UI","Helvetica Neue",Arial,sans-serif;
}
.hero-copy h1,
.section-intro h2,
.contact-copy h2,
.policy h1{
  font-weight:700;
  letter-spacing:-.025em;
}
.hero-copy h1{
  max-width:11ch;
  font-size:clamp(3rem,6vw,5.5rem);
  line-height:.93;
}
.section-intro h2,
.contact-copy h2{
  font-size:clamp(2.15rem,4.35vw,3.8rem);
  line-height:.98;
}
.policy h1{
  font-size:clamp(2.25rem,4.35vw,3.65rem);
  line-height:.98;
}
.eyebrow,
.proof-kicker,
.project-number,
.project-meta,
.contact-details span{
  font-weight:700;
  letter-spacing:.11em;
}
.hero-lead{
  max-width:40rem;
  font-size:clamp(1.02rem,1.7vw,1.2rem);
  line-height:1.6;
}
.section-intro>p:last-child,
.contact-copy>p:last-child{
  font-size:clamp(.98rem,1.45vw,1.08rem);
  line-height:1.62;
}

/* A little more air, but without returning to oversized modern-agency spacing. */
.content-section{padding-block:clamp(3.35rem,5.8vw,5.1rem)}
.section-intro{margin-bottom:clamp(1.9rem,3.6vw,2.8rem)}
.hero-layout{padding-block:clamp(4.25rem,7.6vw,6.4rem)}

/* Keep the translucent header but make it calmer and less glass-effect heavy. */
.site-header,
.services-section{
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.site-header{border-bottom-color:rgba(0,0,0,.16)}
.header-inner{min-height:4.45rem}
.nav-tab{font-weight:700}

/* Buttons stay monochrome/inverting as requested, but lose pill/template styling. */
.primary-button,
.secondary-button,
.hero-section-links a{
  border-radius:.38rem;
  font-weight:700;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease;
}
.primary-button:hover,.primary-button:focus-visible,
.secondary-button:hover,.secondary-button:focus-visible,
.hero-section-links a:hover,.hero-section-links a:focus-visible{
  transform:none;
}
.hero-section-links{
  gap:.45rem;
}
.hero-section-links a{
  min-height:2.45rem;
  font-size:.72rem;
}

/* Proof remains integrated; simplify hierarchy rather than treating it as a card. */
.hero-proof{padding-left:1.2rem}
.proof-kicker{margin-bottom:.35rem}
.proof-row{padding:.75rem 0}
.proof-row strong{font-size:.98rem;font-weight:600}
.proof-row span{font-size:.79rem}

/* Motif becomes a watermark rather than a competing graphic. */
.frog-hero::after{opacity:.05}
.frog-contact::after{opacity:.055}

/* Projects: editorial rows and evidence, with almost no decorative depth. */
.project-row>summary{min-height:5rem}
.project-title-block strong{font-weight:600;letter-spacing:-.015em}
.project-row>summary:hover .project-title-block strong{color:inherit}
.project-row>summary:hover .project-toggle{color:var(--orange)}
.project-panel{padding-top:1.55rem;padding-bottom:2.4rem}
.app-icon{box-shadow:none;border-radius:.7rem}
.screen-stage img{
  border-radius:.3rem;
  box-shadow:none;
}
.project-link-pill{
  font-weight:700;
}
.small-external-link,
.text-link{
  font-weight:700;
}
.portfolio-more{
  margin-top:1.6rem;
  padding-top:1rem;
}

/* Services: simple three-column editorial strip, not cards. */
.service-card{
  min-height:13.5rem;
  padding:1.35rem clamp(.85rem,2vw,1.45rem) 1.55rem;
}
.service-card h3{
  font-size:clamp(1.2rem,1.9vw,1.48rem);
  font-weight:600;
  letter-spacing:-.015em;
}
.service-card p{font-size:.9rem;line-height:1.62}
.more-services{
  border-radius:.35rem;
  box-shadow:none;
}
.more-services>summary{
  min-height:3.4rem;
  font-weight:700;
}
.more-services-hint{
  width:1.55rem;
  height:1.55rem;
  border-radius:.25rem;
  font-size:1rem;
}
.more-services-title{font-weight:600}

/* Client evidence stays grouped, but the box reads as a quiet frame rather than a UI card. */
.client-logo-panel{
  padding:.9rem 1rem;
  border-radius:.35rem;
  box-shadow:none;
}
.client-logo-panel .client-logo-card{
  transition:opacity .18s ease;
}
.client-logo-panel .client-logo-card:hover{
  transform:none;
  opacity:.78;
}
.testimonial-grid{margin-top:1.8rem}
.testimonial-grid p{
  font-size:.95rem;
  font-weight:600;
  line-height:1.62;
  letter-spacing:0;
}

/* Contact/footer: preserve the strong black close, but keep typography quieter. */
.contact-section{padding-block:clamp(3.4rem,5.4vw,4.7rem)}
.contact-details a,.contact-details strong{font-weight:700}
.footer-main{min-height:5.5rem}
.footer-nav a{font-weight:600}

@media(max-width:760px){
  .content-section{padding-block:3.25rem}
  .hero-layout{padding-block:3.75rem}
  .section-intro h2,.contact-copy h2{font-size:clamp(2.05rem,8vw,3rem)}
  .hero-copy h1{font-size:clamp(2.8rem,12vw,4rem);line-height:.95}
  .service-card{padding:1.2rem 0 1.35rem}
  .service-card+.service-card{border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:540px){
  .header-inner{min-height:3.95rem}
  .hero-copy h1{font-size:clamp(2.65rem,12.6vw,3.7rem)}
  .hero-section-links a{border-radius:.3rem}
  .project-panel{padding-top:1.35rem;padding-bottom:2.1rem}
  .more-services{border-radius:.3rem}
  .client-logo-panel{border-radius:.3rem}
}

/* ===== September refinement: balanced headings, alternating sections, deeper mobile padding ===== */
.heading-line,
.heading-accent-line{display:block}
.company-line-orange,
.company-line-orange a{color:var(--orange)!important}
.company-line-orange a{text-decoration-color:currentColor}

/* Header: more breathing room around the supplied logo. */
.header-inner{
  width:min(1240px,calc(100% - 3rem));
  min-height:5.75rem;
  padding-block:.55rem;
}
.brand img{width:5rem;height:auto;object-fit:contain}

/* First panel: light-to-silver vertical gradient rather than black. */
.hero-section{
  min-height:clamp(33rem,66vh,46rem);
  background:linear-gradient(180deg,#ffffff 0%,#adadad 100%);
  color:#000;
}
.hero-bg{display:none}
.hero-lead{color:#000}
.frog-hero::after{
  opacity:.055;
  filter:grayscale(1) brightness(.35);
}
.hero-proof{
  border-left-color:rgba(0,0,0,.38);
  color:#000;
}
.proof-kicker{color:var(--orange)}
.proof-row{border-top-color:rgba(0,0,0,.20)}
.proof-row span{color:#000}
.hero-section-links{border-top-color:rgba(0,0,0,.20)}
.hero-section-links a{
  border:1px solid var(--line-strong);
  background:#fff;
  color:#000;
}
.hero-section-links a:hover,
.hero-section-links a:focus-visible{
  border-color:#000;
  background:#000;
  color:#fff;
}

/* Alternating section language. */
.projects-section{background:rgba(255,255,255,.60)}
.services-section{
  background:#000;
  color:#fff;
  border-color:rgba(255,255,255,.38);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.services-section .section-intro>p:last-child,
.services-section .service-card p{color:#fff}
.services-section .service-grid{
  border-top-color:rgba(255,255,255,.72);
  border-bottom-color:rgba(255,255,255,.72);
}
.services-section .service-card+.service-card{border-left-color:rgba(255,255,255,.30)}
.services-section .service-card h3{color:#fff}
.services-section .more-services{
  border-color:#adadad;
  background:rgba(255,255,255,.04);
  color:#fff;
}
.services-section .more-services-intro,
.services-section .more-services-list li,
.services-section .more-services-outro{color:#fff}
.services-section .more-services-hint{border-color:#adadad}

.clients-section{
  background:var(--orange);
  color:#000;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.clients-section .eyebrow{color:#000}
.clients-section .heading-accent-line{color:#000}
.clients-section .section-intro>p:last-child{color:#000}
.clients-section .client-logo-panel{
  border-color:rgba(0,0,0,.34);
  background:rgba(255,255,255,.12);
}
.clients-section .client-logo-image img{
  filter:grayscale(1) brightness(0);
}
.clients-section .client-logo-fallback{
  display:block;
  color:#000;
  font-size:.82rem;
  font-weight:700;
  line-height:1.15;
  text-align:center;
}
.clients-section .testimonial-grid{
  border-top-color:#000;
  border-bottom-color:#000;
}
.clients-section .testimonial-grid blockquote+blockquote{border-left-color:rgba(0,0,0,.32)}
.clients-section .testimonial-grid footer{color:#000}

.contact-section{
  background:rgba(255,255,255,.60);
  color:#000;
}
.contact-section .contact-copy>p:last-child{color:#000}
.contact-section .eyebrow-on-dark{color:var(--orange)}
.contact-section .contact-details div{border-color:rgba(0,0,0,.28)}
.contact-section .contact-details span{color:var(--orange)}
.contact-section .contact-details a,
.contact-section .contact-details strong{color:#000}
.frog-contact::after{
  opacity:.045;
  filter:grayscale(1) brightness(.35);
}

/* Consistent one-pixel button strokes. Light buttons use the same grey line as More Services. */
.primary-button,
.secondary-button,
.hero-section-links a,
.consent button,
.privacy-choice-button,
.platform-link{
  border-width:1px;
}
.primary-button,
.secondary-button,
.privacy-choice-button,
.platform-link,
.consent button{
  border-color:var(--line-strong);
}
.primary-button,
.secondary-button,
.privacy-choice-button,
.platform-link{
  background:#fff;
  color:#000;
}
.primary-button:hover,.primary-button:focus-visible,
.secondary-button:hover,.secondary-button:focus-visible,
.privacy-choice-button:hover,.privacy-choice-button:focus-visible,
.platform-link:hover,.platform-link:focus-visible{
  border-color:#000;
  background:#000;
  color:#fff;
}

/* More Projects now uses the same expandable language as More Services. */
.more-projects{margin-top:1.6rem}
.more-projects-blurb{padding-top:.15rem}
.platform-links{
  display:flex;
  gap:.7rem;
  padding:.2rem 1.05rem 1.15rem;
}
.platform-link{
  display:grid;
  width:3rem;
  height:3rem;
  place-items:center;
  border-style:solid;
  border-radius:.35rem;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease;
}
.platform-icon-svg{display:block;width:1.35rem;height:1.35rem;fill:currentColor}

/* Six featured client logos; additional organisations live in More Clients. */
.client-logo-panel .client-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.more-clients{
  margin-top:1rem;
  border-color:rgba(0,0,0,.42);
  background:rgba(255,255,255,.12);
  color:#000;
}
.more-clients .more-services-hint{border-color:rgba(0,0,0,.45);color:#000}
.more-clients>summary:hover .more-services-title{color:#000;text-decoration:underline;text-underline-offset:.2em}
.more-clients-body{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.25rem 2.5rem;
  padding:.1rem 1.05rem 1.15rem;
}
.more-clients-group h3{
  margin:0 0 .6rem;
  color:#000;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.more-clients-list{
  display:grid;
  gap:.42rem;
  margin:0;
  padding:0;
  list-style:none;
}
.more-clients-list a{
  color:#000;
  font-size:.84rem;
  line-height:1.4;
  text-decoration:underline;
  text-decoration-color:rgba(0,0,0,.38);
  text-underline-offset:.2em;
}
.more-clients-list a:hover,.more-clients-list a:focus-visible{text-decoration-color:#000}

/* Attached Prevent Suicide screen is tall; let it read clearly without cropping. */
.project-row:first-child .screen-stage{min-height:0;padding:1rem}
.project-row:first-child .screen-stage img{
  width:min(100%,29rem);
  max-height:42rem;
  object-fit:contain;
}

/* Requested compact contact/footer. */
.footer-single{
  display:flex;
  min-height:5.5rem;
  align-items:center;
  justify-content:center;
  gap:1rem;
  padding-block:.75rem;
}
.footer-brand{flex:0 0 auto}
.site-footer .footer-brand img{width:3.85rem;height:auto}
.footer-company-line{
  margin:0;
  color:#fff;
  font-size:.82rem;
  font-weight:600;
  line-height:1.4;
}
.footer-company-line a{
  color:var(--orange);
  text-decoration:underline;
  text-underline-offset:.18em;
}

/* Mobile spacing is intentionally more generous on every content edge. */
@media(max-width:1080px){
  .client-logo-panel .client-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
  .site-container{width:calc(100% - 2.75rem)}
  .header-inner{width:calc(100% - 2.25rem);min-height:5.15rem;padding-block:.65rem}
  .brand img{width:4.25rem}
  .hero-layout{padding-block:3.9rem;gap:2.3rem}
  .hero-proof{padding-left:0;padding-top:1rem;border-left:0;border-top:1px solid rgba(0,0,0,.30)}
  .services-section .service-card+.service-card{border-left:0;border-top-color:rgba(255,255,255,.30)}
  .client-logo-panel .client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .more-clients-body{grid-template-columns:1fr;gap:1rem}
  .contact-layout{gap:2rem}
  .footer-single{justify-content:flex-start}
}
@media(max-width:540px){
  html{scroll-padding-top:5.5rem}
  .site-container{width:calc(100% - 2.5rem)}
  .header-inner{width:calc(100% - 2rem);min-height:4.9rem;padding-block:.65rem}
  .brand img{width:3.95rem}
  .site-nav{gap:clamp(.34rem,1.7vw,.55rem)}
  .nav-tab{font-size:.65rem}
  .hero-layout{padding-block:3.5rem}
  .hero-copy h1{font-size:clamp(2.55rem,12vw,3.55rem)}
  .section-intro h2,.contact-copy h2{font-size:clamp(2rem,9vw,2.8rem)}
  .hero-section-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-panel{padding-left:0}
  .project-row>summary{grid-template-columns:2.3rem minmax(0,1fr) 1.25rem;gap:.7rem}
  .project-title-block{grid-template-columns:1fr;gap:.18rem}
  .project-title-block>span{text-align:left}
  .more-services>summary{padding-inline:.9rem}
  .more-services-intro,.more-services-outro{padding-inline:.9rem}
  .more-services-list{padding-left:1.9rem;padding-right:.9rem}
  .platform-links{padding-inline:.9rem}
  .client-logo-panel{padding:.8rem .7rem}
  .more-clients-body{padding-inline:.9rem}
  .contact-details a{overflow-wrap:anywhere}
  .footer-single{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:.7rem;
    min-height:5.3rem;
    padding-block:.8rem;
  }
  .site-footer .footer-brand img{width:3.35rem}
  .footer-company-line{font-size:.74rem;line-height:1.35}
}
@media(max-width:360px){
  .site-container{width:calc(100% - 2rem)}
  .header-inner{width:calc(100% - 1.5rem)}
  .brand img{width:3.65rem}
  .nav-tab{font-size:.59rem}
  .footer-company-line{font-size:.7rem}
}


/* ===== Colour reversion: restore restrained light/dark palette ===== */
/* Keep the structural/content additions from the previous pass, but undo the experimental
   gradient / black / orange section alternation. */
.hero-section{
  min-height:clamp(33rem,66vh,46rem);
  background:#111;
  color:#fff;
}
.hero-bg{
  display:block;
  background:linear-gradient(115deg,#111 0%,#171717 58%,#0e0e0e 100%);
}
.hero-lead{color:#fff}
.frog-hero::after{opacity:.075;filter:grayscale(1) brightness(2.4)}
.hero-proof{border-left-color:rgba(255,255,255,.34);color:#fff}
.proof-row{border-top-color:rgba(255,255,255,.16)}
.proof-row span{color:#fff}
.hero-section-links{border-top-color:rgba(255,255,255,.18)}
.hero-section-links a{
  border-color:rgba(255,255,255,.72);
  background:#000;
  color:#fff;
}
.hero-section-links a:hover,
.hero-section-links a:focus-visible{
  border-color:#fff;
  background:#fff;
  color:#000;
}

.projects-section,
.clients-section,
.policy-main{
  background:rgba(255,255,255,.60);
  color:#000;
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
}
.services-section{
  background:rgba(255,255,255,.91);
  color:#000;
  border-color:var(--line);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.services-section .section-intro>p:last-child,
.services-section .service-card p,
.services-section .service-card h3,
.services-section .more-services-intro,
.services-section .more-services-list li,
.services-section .more-services-outro{color:#000}
.services-section .service-grid{border-top-color:var(--line-strong);border-bottom-color:var(--line-strong)}
.services-section .service-card+.service-card{border-left-color:var(--line)}
.services-section .more-services{
  border-color:var(--line-strong);
  background:rgba(255,255,255,.60);
  color:#000;
}
.services-section .more-services-hint{border-color:var(--line-strong);color:var(--orange)}

.clients-section .eyebrow{color:var(--orange)}
.clients-section .heading-accent-line{color:var(--orange)}
.clients-section .section-intro>p:last-child{color:#000}
.clients-section .client-logo-panel{
  border-color:rgba(17,17,17,.22);
  background:rgba(255,255,255,.60);
}
.clients-section .client-logo-image img,
.clients-section .client-logo-image img[src*="nhs-scotland-website.png"]{
  filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1;
}
.clients-section .client-logo-fallback{
  color:#000;
  font-size:.82rem;
  font-weight:700;
  line-height:1.15;
  text-align:center;
}
.clients-section .testimonial-grid{border-top-color:var(--line-strong);border-bottom-color:var(--line-strong)}
.clients-section .testimonial-grid blockquote+blockquote{border-left-color:var(--line)}
.clients-section .testimonial-grid p,
.clients-section .testimonial-grid footer{color:#000}
.more-clients{
  border-color:var(--line-strong);
  background:rgba(255,255,255,.60);
  color:#000;
}
.more-clients .more-services-hint{border-color:var(--line-strong);color:var(--orange)}
.more-clients>summary:hover .more-services-title{color:var(--orange);text-decoration:none}
.more-clients-group h3,.more-clients-list a{color:#000}
.more-clients-list a{text-decoration-color:rgba(0,0,0,.32)}
.more-clients-list a:hover,.more-clients-list a:focus-visible{text-decoration-color:var(--orange)}

.contact-section{
  background:#111;
  color:#fff;
}
.contact-section .contact-copy>p:last-child{color:#fff}
.contact-section .eyebrow-on-dark{color:var(--orange)}
.contact-section .contact-details div{border-color:rgba(255,255,255,.24)}
.contact-section .contact-details span{color:var(--orange)}
.contact-section .contact-details a,
.contact-section .contact-details strong{color:#fff}
.contact-section .contact-details a:hover{color:var(--orange)}
.frog-contact::after{opacity:.08;filter:grayscale(1) brightness(2.4)}

/* Light-surface buttons keep the restrained white / grey stroke treatment. */
.primary-button,
.secondary-button,
.privacy-choice-button,
.platform-link{
  border-color:var(--line-strong);
  background:#fff;
  color:#000;
}
.primary-button:hover,.primary-button:focus-visible,
.secondary-button:hover,.secondary-button:focus-visible,
.privacy-choice-button:hover,.privacy-choice-button:focus-visible,
.platform-link:hover,.platform-link:focus-visible{
  border-color:#000;
  background:#000;
  color:#fff;
}

@media(max-width:760px){
  .hero-proof{border-top-color:rgba(255,255,255,.28)}
  .services-section .service-card+.service-card{border-top-color:var(--line)}
}

/* ===== September layout refinement: approved desktop + mobile fixes ===== */
/* Header: modestly tighter than the previous pass, while guaranteeing the logo stays visible. */
.header-inner{
  min-height:5.15rem;
  padding-block:.4rem;
}
.brand,
.brand img{
  opacity:1!important;
  visibility:visible!important;
}
.brand img{width:4.8rem}

/* All app/service screenshots use one portrait treatment. The image itself carries the depth;
   remove the extra stage/card around it so Prevent Suicide is no longer a one-off. */
.project-row-portrait .screen-stage{
  min-height:0;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.project-row-portrait .screen-stage img{
  width:min(100%,29rem);
  max-height:42rem;
  margin-inline:auto;
  border-radius:.65rem;
  object-fit:contain;
  box-shadow:0 .55rem 1.45rem rgba(0,0,0,.14);
}
/* Cancel the earlier first-row special case now that all portrait project screens match. */
.project-row:first-child .screen-stage{min-height:0;padding:0}
.project-row:first-child .screen-stage img{width:min(100%,29rem);max-height:42rem}

/* More Projects: still restrained, but the two store marks now read as a deliberate pair. */
.platform-links{
  align-items:center;
  gap:.9rem;
  padding:.35rem 1.05rem 1.2rem;
}
.platform-link{
  width:3.7rem;
  height:3.7rem;
}
.platform-icon-svg{width:1.75rem;height:1.75rem}

/* More Services: make the requested Apps -> shared -> Web -> support order explicit,
   and combine overlapping bullets rather than repeating them. */
.more-services-groups{
  display:grid;
  grid-template-columns:.8fr 1.35fr 1fr 1.15fr;
  gap:1.25rem 1.8rem;
  padding:.2rem 1.05rem .35rem;
}
.more-services-group h3{
  margin:0 0 .65rem;
  color:#000;
  font-size:.76rem;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.more-services-group ul{
  display:grid;
  gap:.52rem;
  margin:0;
  padding-left:1.05rem;
}
.more-services-group li{
  color:#000;
  font-size:.84rem;
  line-height:1.45;
}

/* Clients: equalise by visual height rather than forcing every artwork file to the same box.
   A restrained drop shadow helps pale/low-contrast marks without reintroducing logo cards. */
.client-logo-panel .client-logo-card{
  min-height:7rem;
  padding:.7rem .55rem;
  background:transparent;
  border:0;
}
.client-logo-image{
  min-height:5.1rem;
  display:flex;
  align-items:center;
  justify-content:center;
}
.client-logo-image img{
  width:auto!important;
  max-width:88%!important;
  max-height:3.15rem!important;
  object-fit:contain;
  filter:none!important;
}
.client-logo-nhs .client-logo-image img{max-height:2.65rem!important}
.client-logo-vaa .client-logo-image img{max-height:2.75rem!important}
.client-logo-samh .client-logo-image img{max-height:2.7rem!important}
.client-logo-pamis .client-logo-image img{max-height:2.55rem!important}
.client-logo-bord .client-logo-image img{max-height:3rem!important}
.client-logo-college .client-logo-image img{max-height:3.05rem!important}
.client-logo-dundee .client-logo-image img{max-height:3rem!important}
.client-logo-angus .client-logo-image img{max-height:3.1rem!important}
.client-logo-fallback{
  display:flex;
  min-height:3rem;
  align-items:center;
  justify-content:center;
  text-shadow:0 .12rem .2rem rgba(0,0,0,.12);
}

/* More Clients: one-third / two-thirds on desktop; the longer organisation list gets two columns. */
.more-clients-body{
  grid-template-columns:minmax(0,.72fr) minmax(0,1.65fr);
  gap:1.25rem 2.6rem;
}
.more-clients-group:last-child .more-clients-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:1.6rem;
}

/* Testimonials: a little more breathing room without making the section taller. */
.testimonial-grid blockquote{
  padding-inline:clamp(1.3rem,2.8vw,2rem);
}

@media(max-width:980px){
  .project-row-portrait .project-visual-link{width:100%}
  .project-row-portrait .screen-stage img{width:min(72vw,26rem);max-height:none}
  .more-services-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .header-inner{min-height:4.75rem;padding-block:.42rem}
  .brand img{width:4.05rem}
  .project-row-portrait .screen-stage img{width:min(72vw,20rem)}
  .more-clients-body{grid-template-columns:1fr;gap:1.1rem}
  .more-clients-group:last-child .more-clients-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:540px){
  .header-inner{min-height:4.5rem;padding-block:.38rem}
  .brand img{width:3.8rem}
  .project-row-portrait .screen-stage img{width:min(74vw,18rem)}
  .more-services-groups{grid-template-columns:1fr;padding-inline:.9rem;gap:1rem}
  .more-services-group h3{margin-bottom:.45rem}
  .platform-link{width:3.5rem;height:3.5rem}
  .platform-icon-svg{width:1.65rem;height:1.65rem}
  .more-clients-group:last-child .more-clients-list{grid-template-columns:1fr}
  .testimonial-grid blockquote{padding-inline:1.15rem}
}

/* Hidden state must win over component display rules (also protects consent/client fallbacks). */
[hidden]{display:none!important}
.client-logo-fallback:not([hidden]){
  display:flex;
  min-height:3rem;
  align-items:center;
  justify-content:center;
}

/* ===== Hero-brand integration + restrained rounding refinement ===== */
/* The homepage opens without a separate header strip. The compact sticky header becomes
   navigation only once the hero has been passed. Privacy/secondary pages keep their header. */
.homepage-header{
  position:fixed;
  inset:0 0 auto 0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-.55rem);
  transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s;
}
.homepage-header.header-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
  transition:opacity .22s ease,transform .22s ease,visibility 0s linear 0s;
}
.homepage-header .site-nav,
.homepage-header.nav-ready .site-nav{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
  transition:none;
}
.homepage-header .header-inner{
  min-height:4.8rem;
  padding-block:.38rem;
}
.homepage-header .brand img{width:4.4rem}

/* Hero: brand/proof occupy the quieter left column; message and section links stay dominant right. */
.hero-layout{
  grid-template-columns:minmax(13rem,.62fr) minmax(0,1.38fr);
  grid-template-areas:
    "brand copy"
    "proof copy";
  grid-template-rows:auto 1fr;
  column-gap:clamp(3rem,7vw,6.5rem);
  row-gap:clamp(1.35rem,2.5vw,2rem);
  align-items:center;
}
.hero-brand{
  grid-area:brand;
  display:block;
  align-self:end;
  width:clamp(9.5rem,15vw,13.25rem);
}
.hero-brand img{
  display:block;
  width:100%;
  height:auto;
}
.hero-copy{
  grid-area:copy;
  align-self:center;
  max-width:47rem;
}
.hero-proof{
  grid-area:proof;
  align-self:start;
  width:100%;
  max-width:19rem;
  margin:0;
  padding:1rem 0 0;
  border:0;
  border-top:1px solid rgba(255,255,255,.30);
  background:transparent;
}
.hero-section-links{
  margin-top:1.45rem;
  padding-top:1.1rem;
}
.frog-hero::after{
  right:-8rem;
  opacity:.04;
}

/* Controlled rounding: interactive/contained elements get a small radius; structural sections stay flat. */
:root{
  --radius:.62rem;
  --control-radius:.4rem;
}
.primary-button,
.secondary-button,
.hero-section-links a,
.platform-link,
.privacy-choice-button,
.consent button{
  border-radius:var(--control-radius)!important;
}
.more-services,
.more-clients,
.client-logo-panel,
.consent{
  border-radius:.62rem!important;
}
.app-icon{border-radius:.62rem}
.project-row-portrait .screen-stage img,
.project-row-ninja .screen-stage img{border-radius:.5rem}
.store-blurb{border-radius:0 .45rem .45rem 0}

@media(max-width:760px){
  .homepage-header .header-inner{min-height:4.45rem;padding-block:.35rem}
  .homepage-header .brand img{width:3.9rem}
  .hero-layout{
    grid-template-columns:1fr;
    grid-template-areas:
      "brand"
      "copy"
      "proof";
    grid-template-rows:auto;
    gap:1.45rem;
    align-items:start;
  }
  .hero-brand{
    width:clamp(7.7rem,27vw,9.4rem);
    align-self:start;
  }
  .hero-copy{max-width:42rem}
  .hero-proof{
    max-width:32rem;
    padding-top:1rem;
    border-top-color:rgba(255,255,255,.28);
  }
  .hero-section-links{margin-top:1.2rem}
}

@media(max-width:540px){
  .homepage-header .header-inner{min-height:4.2rem;padding-block:.32rem}
  .homepage-header .brand img{width:3.65rem}
  .hero-layout{gap:1.25rem;padding-block:3.2rem 3.55rem}
  .hero-brand{width:8rem}
  .hero-copy h1{margin-bottom:1.1rem}
  .hero-section-links{margin-top:1.05rem;padding-top:.9rem}
  .hero-proof{margin-top:.15rem}
}

@media(prefers-reduced-motion:reduce){
  .homepage-header{transition:none;transform:none}
}

/* ===== Requested hero/screenshot/client/services patch only ===== */
/* Swap hero message and brand/proof positions. */
.hero-layout{
  grid-template-columns:minmax(0,1.38fr) minmax(13rem,.62fr);
  grid-template-areas:
    "copy brand"
    "copy proof";
}
.hero-copy{grid-area:copy}
.hero-brand{grid-area:brand}
.hero-proof{grid-area:proof}

/* Make the clickable screenshot area hug the artwork rather than filling the grid column. */
.project-row-portrait .project-visual-link{
  width:fit-content;
  max-width:100%;
  justify-self:center;
}
.project-row-portrait .project-visual,
.project-row-portrait .screen-stage{
  width:fit-content;
  max-width:100%;
}
.project-row-portrait .screen-stage img{
  display:block;
  width:min(100%,29rem);
}

/* Larger, visually consistent client marks with one restrained shadow treatment. */
.client-logo-panel .client-logo-card{
  min-height:8rem;
  padding:.75rem .55rem;
}
.client-logo-panel .client-logo-image{
  min-height:6rem;
}
.clients-section .client-logo-image img,
.client-logo-nhs .client-logo-image img,
.client-logo-vaa .client-logo-image img,
.client-logo-samh .client-logo-image img,
.client-logo-pamis .client-logo-image img,
.client-logo-bord .client-logo-image img,
.client-logo-college .client-logo-image img,
.client-logo-dundee .client-logo-image img,
.client-logo-angus .client-logo-image img{
  width:auto!important;
  max-width:92%!important;
  max-height:4rem!important;
  object-fit:contain;
  filter:none!important;
}

/* Services requested order: Apps, Apps & websites, Web, Additional support. */
.more-services-groups{
  grid-template-columns:1.15fr 1fr 1fr 1fr;
}

@media(max-width:760px){
  .hero-layout{
    grid-template-columns:1fr;
    grid-template-areas:
      "copy"
      "brand"
      "proof";
    grid-template-rows:auto;
  }
  .project-row-portrait .project-visual-link,
  .project-row-portrait .project-visual,
  .project-row-portrait .screen-stage{width:fit-content;max-width:100%}
  .client-logo-panel .client-logo-card{min-height:7.2rem}
  .client-logo-panel .client-logo-image{min-height:5.4rem}
  .clients-section .client-logo-image img,
  .client-logo-nhs .client-logo-image img,
  .client-logo-vaa .client-logo-image img,
  .client-logo-samh .client-logo-image img,
  .client-logo-pamis .client-logo-image img,
  .client-logo-bord .client-logo-image img,
  .client-logo-college .client-logo-image img,
  .client-logo-dundee .client-logo-image img,
  .client-logo-angus .client-logo-image img{max-height:3.6rem!important}
}

/* ===== Final screenshot/service spacing correction ===== */
/* Screenshots are the visual surface: no separate stage/card, border or shadow wrapper. */
.project-visual-link,
.project-visual{
  width:fit-content;
  max-width:100%;
  justify-self:center;
}
.project-screenshot{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  margin:0;
  border:0;
  border-radius:.5rem;
  background:transparent;
  box-shadow:0 .6rem 1.55rem rgba(0,0,0,.16);
  object-fit:contain;
}
.project-row-portrait .project-screenshot{
  width:min(100%,29rem);
  max-height:42rem;
}
.project-row-ninja .project-visual-link,
.project-row-ninja .project-visual{
  width:100%;
}
.project-row-ninja .project-screenshot{
  width:100%;
  max-height:none;
}
/* Give the closing sentence deliberate space before the panel's lower edge. */
.more-services-outro{
  padding:.45rem 1.05rem 1.75rem;
}
@media(max-width:980px){
  .project-row-portrait .project-screenshot{width:min(72vw,26rem);max-height:none}
}
@media(max-width:760px){
  .project-row-portrait .project-screenshot{width:min(72vw,20rem)}
}
@media(max-width:540px){
  .project-row-portrait .project-screenshot{width:min(74vw,18rem)}
  .more-services-outro{padding:.45rem .9rem 1.55rem}
}

/* ===== Low-risk mobile readability pass ===== */
/* Slightly wider phone gutters without materially narrowing content. */
@media(max-width:760px){
  .site-container{width:calc(100% - 3rem)}
  .header-inner{width:calc(100% - 2.75rem)}
  .more-services>summary,
  .more-clients>summary{padding-inline:1.05rem}
  .more-services-intro,
  .more-services-outro,
  .more-clients-body,
  .platform-links{padding-inline:1.05rem}
}
@media(max-width:540px){
  .site-container{width:calc(100% - 3rem)}
  .header-inner{width:calc(100% - 2.5rem)}
  .more-services-list{padding-left:2.05rem;padding-right:1.05rem}
  .more-services-groups{padding-inline:1.05rem}
  .client-logo-panel{padding-inline:.9rem}
  .testimonial-grid blockquote{padding-inline:1.3rem}
  .more-services-outro{padding:.45rem 1.05rem 1.55rem}
}
@media(max-width:360px){
  .site-container{width:calc(100% - 2.5rem)}
  .header-inner{width:calc(100% - 2.25rem)}
}

/* ===== Screenshot/link correction =====
   Project screenshots and app icons are display-only. Store/site links live in project copy. */
.project-visual{
  display:block;
  width:fit-content;
  max-width:100%;
  margin:0;
  justify-self:center;
  align-self:start;
  line-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.project-screenshot{
  display:block;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:0 .6rem 1.55rem rgba(0,0,0,.16);
}
.app-icon-link{
  cursor:default;
}

/* ===== True screenshot-edge fix =====
   Previous portrait rules combined a wide fixed width with max-height + object-fit:contain.
   That created a wider IMG element than its visible bitmap, so the element shadow looked
   like a separate surrounding card. Portraits now size by width only and keep their
   intrinsic aspect ratio; the shadow therefore follows the screenshot itself. */
.project-visual{
  display:flex;
  width:100%;
  max-width:100%;
  justify-self:stretch;
  justify-content:center;
  align-self:start;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  line-height:0;
}
.project-row-portrait .project-screenshot{
  display:block;
  width:min(100%,19rem);
  max-width:100%;
  height:auto;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:.5rem;
  background:transparent;
  box-shadow:0 .6rem 1.55rem rgba(0,0,0,.16);
  object-fit:initial;
}
.project-row-ninja .project-visual{width:100%;justify-content:stretch}
.project-row-ninja .project-screenshot{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:none;
  object-fit:initial;
  box-shadow:0 .6rem 1.55rem rgba(0,0,0,.16);
}
@media(max-width:980px){
  .project-row-portrait .project-screenshot{width:min(100%,19rem)}
}
@media(max-width:760px){
  .project-row-portrait .project-screenshot{width:min(72vw,19rem)}
}
@media(max-width:540px){
  .project-row-portrait .project-screenshot{width:min(74vw,18rem)}
}

/* Project copy/button refinement — 2026-09-10 */
.hero-lead-follow{margin-top:.7rem}
.project-list-intro{margin:.9rem 0 .25rem;font-size:.92rem;line-height:1.55;color:var(--ink)}
.project-cta-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.62rem;
  width:min(100%,18.5rem);
  margin-top:1.45rem;
}
.project-cta-stack .project-cta{
  width:100%;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
}
.project-proof-simple{margin-top:1.45rem}
.project-proof-simple + .project-cta-stack{margin-top:1.25rem}
@media (min-width: 861px){
  .project-copy{display:flex;flex-direction:column;min-height:100%}
  .project-cta-stack{margin-top:1.45rem}
}
@media (max-width: 860px){
  .project-cta-stack{width:min(100%,20rem)}
}
@media (max-width: 520px){
  .project-cta-stack{width:100%}
}

/* ===== Client curation + heading balance + requested footer/services polish — 2026-09-18 ===== */
/* Keep intended heading line breaks explicit; balance any natural wraps inside a line. */
h1,h2,.project-summary-main,.service-card h3,.more-services-group h3{ text-wrap:balance; }
.heading-line,.heading-accent-line{ display:block; }

/* Six featured clients: enough visual weight without becoming a logo wall. */
.client-logo-panel .client-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:clamp(.8rem,1.7vw,1.25rem);
}
.client-logo-panel .client-logo-card{
  min-width:0;
  min-height:7.7rem;
  padding:.72rem;
  display:grid;
  place-items:center;
}
.client-logo-panel .client-logo-image{
  width:100%;
  min-height:5.5rem;
  display:grid;
  place-items:center;
  padding:.45rem .55rem;
  border-radius:.65rem;
  background:#fff;
  box-sizing:border-box;
}
.clients-section .client-logo-image img,
.client-logo-nhs .client-logo-image img,
.client-logo-vaa .client-logo-image img,
.client-logo-samh .client-logo-image img,
.client-logo-pamis .client-logo-image img,
.client-logo-bord .client-logo-image img,
.client-logo-angus .client-logo-image img{
  width:auto!important;
  max-width:92%!important;
  max-height:3.7rem!important;
  object-fit:contain;
  filter:none!important;
}
/* VAA supplies a white mark; present it on a restrained brand-compatible dark tile. */
.client-logo-vaa .client-logo-image{
  background:transparent;
  padding:0;
}
.client-logo-vaa .client-logo-image img{max-height:3.45rem!important;filter:none!important}
.client-logo-vaa .client-logo-fallback{color:#fff}
.client-logo-nhs .client-logo-image img{max-height:3.6rem!important}
.client-logo-samh .client-logo-image img{max-height:3.4rem!important}
.client-logo-pamis .client-logo-image img{max-height:3.15rem!important}
.client-logo-bord .client-logo-image img{max-height:3.7rem!important}
.client-logo-angus .client-logo-image img{max-height:3.75rem!important}

/* Entire compact legal line uses the core orange. */
.footer-company-line,
.footer-company-line a{color:var(--orange)!important}

@media(max-width:980px){
  .client-logo-panel .client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  .client-logo-panel .client-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
  .client-logo-panel .client-logo-card{min-height:6.8rem;padding:.5rem}
  .client-logo-panel .client-logo-image{min-height:5rem;padding:.4rem .5rem}
  .clients-section .client-logo-image img,
  .client-logo-nhs .client-logo-image img,
  .client-logo-vaa .client-logo-image img,
  .client-logo-samh .client-logo-image img,
  .client-logo-pamis .client-logo-image img,
  .client-logo-bord .client-logo-image img,
  .client-logo-angus .client-logo-image img{max-height:3.25rem!important}
}


/* Project store-review feedback — 2026-09-18 */
.project-user-feedback{
  margin-top:1.3rem;
  padding-top:1rem;
  border-top:1px solid var(--line);
}
.project-feedback-label{
  margin:0 0 .45rem;
  color:var(--black);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.project-user-feedback blockquote{margin:0;padding:0;border:0}
.project-user-feedback blockquote p{
  margin:0;
  color:#000;
  font-size:.9rem;
  line-height:1.55;
  font-style:italic;
}
.project-user-feedback blockquote footer{margin-top:.35rem;font-size:.73rem;line-height:1.35}
.project-user-feedback blockquote footer a{color:var(--orange-text);font-weight:800;text-decoration:underline;text-underline-offset:.14em}
.project-proof-simple{margin-top:1.3rem}


/* --- client/logo + review polish override --- */
.client-logo-panel{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important}
.client-logo-panel .client-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:.9rem!important;align-items:stretch!important}
.client-logo-panel .client-logo-card{background:#111!important;border:1px solid rgba(255,255,255,.06)!important;box-shadow:0 .4rem 1rem rgba(0,0,0,.18)!important;border-radius:.65rem!important;min-height:7rem!important;padding:.65rem!important;display:flex!important;align-items:center!important;justify-content:center!important}
.client-logo-panel .client-logo-card:hover{opacity:1!important;transform:translateY(-1px)!important;box-shadow:0 .55rem 1.2rem rgba(0,0,0,.24)!important}
.client-logo-panel .client-logo-image{background:transparent!important;min-height:auto!important;padding:0!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}
.client-logo-panel .client-logo-image img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:3.1rem!important;object-fit:contain!important;filter:none!important;background:transparent!important;box-shadow:none!important;border:none!important}
.client-logo-nhs .client-logo-image img,.client-logo-samh .client-logo-image img,.client-logo-pamis .client-logo-image img,.client-logo-bord .client-logo-image img,.client-logo-angus .client-logo-image img{max-height:3.1rem!important}
.client-logo-vaa .client-logo-image img{max-height:3.45rem!important;max-width:92%!important}
.client-logo-vaa .client-logo-image{justify-content:center!important}
.client-logo-fallback{color:#fff!important}
.review-stars{display:inline-block;color:var(--orange,#ff5a00);letter-spacing:.08em;font-size:1rem;line-height:1;vertical-align:baseline;margin-right:.4rem}
.project-user-feedback footer{display:flex;align-items:center;gap:.2rem;flex-wrap:wrap}
@media (max-width: 980px){.client-logo-panel .client-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width: 640px){.client-logo-panel .client-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important}.client-logo-panel .client-logo-card{min-height:6.6rem!important;padding:.55rem!important}.client-logo-panel .client-logo-image img{max-height:2.85rem!important}.client-logo-vaa .client-logo-image img{max-height:3.05rem!important}}

/* --- FINAL featured client logo correction: white panel, no individual dark cards, full-height logos --- */
.clients-section .client-logo-panel{
  background:#fff!important;
  border:1px solid rgba(0,0,0,.10)!important;
  border-radius:.65rem!important;
  box-shadow:none!important;
  padding:1rem!important;
}
.client-logo-panel .client-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:clamp(.75rem,1.5vw,1rem)!important;
  align-items:stretch!important;
}
.client-logo-panel .client-logo-card{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  min-height:7rem!important;
  padding:.35rem!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.client-logo-panel .client-logo-card:hover{
  opacity:.82!important;
  transform:none!important;
  box-shadow:none!important;
}
.client-logo-panel .client-logo-image,
.client-logo-vaa .client-logo-image{
  width:100%!important;
  height:6rem!important;
  min-height:6rem!important;
  padding:.15rem .2rem!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border-radius:0!important;
  box-sizing:border-box!important;
}
.clients-section .client-logo-image img,
.client-logo-nhs .client-logo-image img,
.client-logo-vaa .client-logo-image img,
.client-logo-samh .client-logo-image img,
.client-logo-pamis .client-logo-image img,
.client-logo-bord .client-logo-image img,
.client-logo-angus .client-logo-image img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:98%!important;
  max-height:5.65rem!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
}
/* The supplied VAA mark is wider than the others: centre it and let width, not a tiny height cap, govern its size. */
.client-logo-vaa .client-logo-image img{
  max-width:100%!important;
  max-height:5.4rem!important;
}
.client-logo-fallback,
.client-logo-vaa .client-logo-fallback{
  color:#111!important;
}
@media (max-width:980px){
  .client-logo-panel .client-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:640px){
  .clients-section .client-logo-panel{padding:.8rem!important}
  .client-logo-panel .client-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.65rem!important}
  .client-logo-panel .client-logo-card{min-height:6.4rem!important;padding:.25rem!important}
  .client-logo-panel .client-logo-image,
  .client-logo-vaa .client-logo-image{height:5.45rem!important;min-height:5.45rem!important}
  .clients-section .client-logo-image img,
  .client-logo-nhs .client-logo-image img,
  .client-logo-vaa .client-logo-image img,
  .client-logo-samh .client-logo-image img,
  .client-logo-pamis .client-logo-image img,
  .client-logo-bord .client-logo-image img,
  .client-logo-angus .client-logo-image img{max-height:5rem!important}
  .client-logo-vaa .client-logo-image img{max-height:4.8rem!important}
}

/* Final client-logo sizing: artwork itself is tightly cropped; cells stay equidistant. */
.client-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.2vw, 1.65rem);
  row-gap: 1rem;
  align-items: center;
}
.client-logo-card,
.client-logo-card:nth-child(5) {
  grid-column: auto;
  width: 100%;
  min-height: 7.2rem;
  padding: .75rem .2rem;
}
.client-logo-image {
  display: grid;
  width: 100%;
  min-height: 0;
  height: 5.75rem;
  place-items: center;
}
.client-logo-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 5.5rem;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 980px) {
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .client-grid { grid-template-columns: 1fr; }
}

/* ===== Mobile project alignment + service spacing — 2026-09-20 ===== */
@media (max-width: 760px) {
  /* Centre project CTAs as a group rather than leaving the fixed-width stack on the left. */
  .project-cta-stack {
    width: min(100%, 20rem);
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }

  /* Centre all project screenshots explicitly, independent of their intrinsic width. */
  .project-panel > .project-visual {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
    justify-content: center;
  }
  .project-panel > .project-visual .project-screenshot {
    margin-left: auto;
    margin-right: auto;
  }

  /* Ninja uses a single CTA rather than the stacked CTA component. */
  .project-row-ninja .project-links {
    justify-content: center;
  }
  .project-row-ninja .ninja-project-cta {
    width: min(100%, 20rem);
  }

  /* Remove the desktop service-card minimum height on phones and use even content-led spacing. */
  .services-section .service-card {
    min-height: 0;
    padding: 1.25rem 0 1.35rem;
  }
  .services-section .service-card h3 {
    margin: 0 0 .55rem;
  }
}

/* Existing <=520px rule makes project CTA stacks full width; retain the centred 20rem cap. */
@media (max-width: 520px) {
  .project-cta-stack {
    width: min(100%, 20rem);
  }
}

/* ===== Mobile hero + project flow patch — 2026-09-20 ===== */
@media (max-width: 760px) {
  /* Centre the large Faff Digital mark in the hero. */
  .hero-brand {
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Flatten the copy wrapper visually so the screenshot can sit before the CTA buttons. */
  .project-panel {
    display: flex;
    flex-direction: column;
  }
  .project-panel > .project-copy {
    display: contents;
  }
  .project-panel > .project-copy > * {
    order: 1;
  }
  .project-panel > .project-visual,
  .project-panel > .project-visual-link {
    order: 2;
    margin-top: 1.35rem;
  }
  .project-panel > .project-copy > .project-links {
    order: 3;
    margin-top: 1rem;
  }

  /* Leave room for the fixed header when JS scrolls an opened project into view. */
  .project-row > summary {
    scroll-margin-top: 5rem;
  }
}


/* ===== Mobile More Services overflow fix — 2026-09-20 ===== */
@media (max-width: 760px) {
  .more-services {
    max-width: 100%;
    overflow: hidden;
  }
  .more-services-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    width: 100%;
    min-width: 0;
    padding-inline: 1.05rem;
    box-sizing: border-box;
  }
  .more-services-group {
    min-width: 0;
    width: 100%;
  }
  .more-services-group ul {
    min-width: 0;
    padding-left: 1.25rem;
  }
  .more-services-group li {
    overflow-wrap: anywhere;
  }
}


/* Centre More Projects store icons on desktop and mobile */
.more-projects .store-links,
.more-projects .store-icons {
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* More Projects: centre the actual Google Play / App Store icon container */
.more-projects .platform-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
