/* Βουτσινάς & Συνεργάτες: site styles. Palette comes from the logo (graphite, grey, red). */

@font-face {
  font-family: "Commissioner";
  src: url("/assets/fonts/commissioner-greek-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  src: url("/assets/fonts/commissioner-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif";
  src: url("/assets/fonts/source-serif-4-greek-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Source Serif";
  src: url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #16202b;
  --ink-2: #202c39;
  --text: #2a3440;
  --muted: #5b6673;
  --line: #e3e0da;
  --paper: #ffffff;
  --tint: #f6f4f0;
  --red: #c4262e;
  --red-dark: #a51d25;
  --on-dark: #ffffff;
  --on-dark-muted: #b9c2cc;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
}
h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--red-dark);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--red);
}
address {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sprite {
  position: absolute;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.break {
  overflow-wrap: anywhere;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-200%);
}
.skip-link:focus {
  color: #fff;
  transform: none;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0.7em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-small {
  min-height: 42px;
  padding: 0.45em 1em;
  font-size: 0.95rem;
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: var(--red-dark);
  color: #fff;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

/* Funding strip */
.funding {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.funding-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 32px;
  padding-block: 4px;
}
.funding-espa {
  width: auto;
  height: 38px;
}
.funding-dypa {
  width: auto;
  height: 52px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand img {
  width: 212px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav ul {
  display: flex;
  gap: 24px;
}
.site-nav ul a {
  padding-block: 8px;
  color: #dfe4e9;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav ul a:hover {
  color: #fff;
  box-shadow: 0 2px 0 var(--red);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
}
.nav-toggle-bars {
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before {
  top: -6px;
}
.nav-toggle-bars::after {
  top: 6px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.hero-stripes {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(62%, 860px);
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%);
  mask-image: linear-gradient(to right, transparent, #000 55%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.25rem);
  line-height: 1.06;
}
.lead {
  max-width: 34em;
  margin-bottom: 32px;
  color: #dbe1e7;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.hero-card-title {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}
.hero-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-card-list li:nth-child(2) {
  padding-left: 16px;
}
.hero-card-list li:nth-child(n + 3) {
  grid-column: 1 / -1;
}
.hero-card-list li {
  display: flex;
  gap: 12px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.hero-card-list .icon {
  margin-top: 0.15em;
  color: var(--red);
}
.hero-card-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.hero-card-list a:hover {
  color: var(--red);
}
.hero-card-list a[href^="tel:"] {
  white-space: nowrap;
}
.hero-card-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-card-list li:last-child {
  padding-bottom: 0;
}
.hero-card-list li:last-child a {
  font-size: 0.95rem;
  font-weight: 500;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 8px;
  background: var(--red);
  transform: skewY(-30deg);
}
.eyebrow-light {
  color: #e6eaee;
}

/* Proof strip */
.proof {
  background: var(--ink-2);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  padding-block: 28px;
}
.proof-grid li {
  padding-left: 16px;
  border-left: 2px solid var(--red);
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.proof-grid strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding-block: clamp(64px, 8vw, 104px);
}
.section-compact {
  padding-block: clamp(48px, 6vw, 72px);
}
.section-tint {
  background: var(--tint);
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head h2 + p {
  margin-top: 14px;
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 80px);
}
.prose {
  max-width: 40rem;
}
.prose-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.service-wide {
  grid-column: span 2;
}
.service-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 {
  margin-bottom: 14px;
}
.service li {
  position: relative;
  padding: 0 0 8px 18px;
  font-size: 1rem;
  line-height: 1.45;
}
.service li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--red);
}
.two-col {
  columns: 2;
  column-gap: 32px;
}
.two-col li {
  break-inside: avoid;
}

/* Band */
.band {
  background: var(--ink);
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: clamp(40px, 5vw, 60px);
}
.band p {
  max-width: 40rem;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  line-height: 1.35;
}
.band .btn {
  flex: none;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.person {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.person img {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
}
.person p {
  margin: 4px 0 0;
  color: var(--muted);
}

/* Links */
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.link-grid h3 {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d6d2ca;
  font-size: 1.15rem;
}
.link-grid li {
  padding-block: 5px;
  font-size: 0.98rem;
  line-height: 1.4;
}
.link-grid a {
  color: var(--text);
  text-decoration-color: #b7b2a8;
}
.link-grid a:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}
.articles-head {
  margin-top: clamp(48px, 6vw, 72px);
  margin-bottom: 24px;
}
.articles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.articles.has-news {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.has-news .article-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.news {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.news h3 {
  margin-bottom: 8px;
}
.news li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}
.news li a {
  display: block;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.news li a:hover {
  color: var(--red);
}
.news time {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}
.news-source {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}
.article-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.article-card h3 {
  margin-bottom: 8px;
  max-width: 38em;
}
.article-card p:last-child {
  color: var(--muted);
}
.article-card .btn {
  flex: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
}
.contact-item {
  display: flex;
  gap: 14px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.contact-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.contact-item > .icon {
  margin-top: 0.2em;
  color: var(--red);
  width: 1.3em;
  height: 1.3em;
}
.contact-item h3 {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item p {
  margin: 0;
}
.contact-item p a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.contact-item p a:hover {
  color: var(--red);
}
.text-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.95rem;
}
.contact-form {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.contact-form h3 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}
.field {
  margin-bottom: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.field label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}
.optional {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #b9b5ac;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 0;
}
.field [aria-invalid="true"] {
  border-color: var(--red);
}
.field-error {
  margin: 5px 0 0;
  color: var(--red-dark);
  font-size: 0.92rem;
}
.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}
.form-status:empty {
  display: none;
}
.form-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 500;
}
.form-status.is-ok {
  background: #e4f1e7;
  color: #1c5a2e;
}
.form-status.is-error {
  background: #fae8e8;
  color: #8f1a20;
}
.map {
  margin-top: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint);
}
.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Company data */
.company {
  margin: 0;
}
.company > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 4px 20px;
  padding-block: 11px;
  border-bottom: 1px solid #d6d2ca;
}
.company > div:first-child {
  padding-top: 0;
}
.company dt {
  color: var(--muted);
  font-size: 0.95rem;
}
.company dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.98rem;
}
.site-footer a {
  color: #fff;
}
.site-footer a:hover {
  color: #fff;
  text-decoration-color: var(--red);
}
.site-footer h2 {
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  padding-block: 48px 32px;
}
.footer-links li {
  padding-block: 2px;
}

/* Address links and their confirmation */
a.address-link,
.hero-card-list a.address-link,
.contact-item p a.address-link,
.site-footer a.address-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: pointer;
}
a.address-link:hover,
.hero-card-list a.address-link:hover,
.contact-item p a.address-link:hover {
  color: var(--red);
}
.site-footer a.address-link:hover {
  color: #fff;
}
.confirm {
  width: calc(100% - 32px);
  max-width: 430px;
  padding: 26px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.confirm::backdrop {
  background: rgba(22, 32, 43, 0.65);
}
.confirm-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.confirm-actions .btn {
  flex: 1 1 auto;
}

/* Service pages */
.service-more {
  margin: 10px 0 0;
  font-size: 0.98rem;
  font-weight: 600;
}
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.page-hero .container {
  position: relative;
  padding-block: clamp(28px, 4vw, 44px) clamp(44px, 6vw, 72px);
}
.page-hero h1 {
  max-width: 17em;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem);
  line-height: 1.08;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding: 0;
  list-style: none;
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #77828e;
}
.breadcrumb a {
  color: #fff;
}
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.page-body h2 {
  margin: 1.6em 0 0.5em;
  font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.8rem);
}
.page-body h2:first-child {
  margin-top: 0;
}
.page-body ul {
  margin: 0 0 1em;
}
.page-body li {
  position: relative;
  padding: 0 0 8px 18px;
  line-height: 1.5;
}
.page-body li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--red);
}
.page-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}
.page-aside h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.page-aside .btn {
  width: 100%;
  margin-top: 8px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.related-grid a:hover {
  border-color: var(--red);
  color: var(--red-dark);
}
.related-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.footer-grid img {
  width: 230px;
}
.footer-bottom {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.call-bar {
  display: none;
}
.footer-funding {
  display: none;
}

/* Tablet */
@media (max-width: 1060px) {
  .nav-toggle {
    display: block;
  }
  .js .site-nav {
    display: none;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px var(--gutter) 20px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.3);
  }
  .js .site-nav.is-open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav ul a {
    display: block;
    padding-block: 12px;
    font-size: 1.05rem;
  }
  .site-nav ul a:hover {
    box-shadow: none;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    max-width: 440px;
  }
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
  }
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .articles.has-news {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-aside {
    position: static;
  }
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Phone */
@media (max-width: 640px) {
  body {
    padding-bottom: 60px;
  }
  /* Funding notices move from the top of the page to the footer on phones. */
  .funding {
    display: none;
  }
  .footer-funding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px var(--gutter);
    background: #fff;
  }
  .footer-funding img {
    width: min(100%, 340px);
    height: auto;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-card {
    max-width: none;
    padding: 22px;
  }
  .hero-card-list li {
    gap: 8px;
  }
  .hero-card-list li:nth-child(2) {
    padding-left: 8px;
  }
  .service-grid,
  .link-grid,
  .team-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-wide {
    grid-column: auto;
  }
  .two-col {
    columns: 1;
  }
  .band-inner,
  .article-card {
    flex-direction: column;
    align-items: stretch;
  }
  .map iframe {
    height: 300px;
  }
  .company > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-stripes {
    width: 100%;
    opacity: 0.6;
  }
  .call-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 56px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }
  .call-bar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }
  /* Google Maps blue, so directions read as "maps" at a glance */
  .call-bar a[data-directions] {
    border-left: 0;
    background: #1a73e8;
  }
  .call-bar a[data-directions]:active {
    background: #1765cc;
  }
  /* Shorter header and less space above the headline on phones */
  :root {
    --header-h: 58px;
  }
  .brand img {
    width: 150px;
  }
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
  .hero-grid {
    padding-block: 28px 40px;
  }
  .page-hero .container {
    padding-top: 20px;
  }
  .breadcrumb ol {
    margin-bottom: 18px;
  }
  .call-bar a:first-child {
    background: var(--red);
  }
}

/* Very narrow phones: the two phone columns no longer fit */
@media (max-width: 359px) {
  .hero-card-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card-list li:nth-child(2) {
    padding-left: 0;
  }
}

/* Narrow phones: three bottom-bar buttons need slightly smaller text */
@media (max-width: 380px) {
  .call-bar a {
    gap: 4px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

@media print {
  .funding,
  .site-header,
  .call-bar,
  .map,
  .hero-stripes {
    display: none;
  }
}
