@font-face {
  font-family: bozon;
  font-weight: 400;
  src: url("/faithful/fonts/Bozon-Regular.woff") format("woff");
}

@font-face {
  font-family: bozon;
  font-weight: 500;
  src: url("/faithful/fonts/Bozon-DemiBold.woff") format("woff");
}

@font-face {
  font-family: bozon;
  font-weight: 700;
  src: url("/faithful/fonts/Bozon-Bold.woff") format("woff");
}

@font-face {
  font-family: bozon;
  font-weight: 900;
  src: url("/faithful/fonts/Bozon-ExtraBold.woff") format("woff");
}

@font-face {
  font-family: "predige rounded";
  font-weight: 700;
  src: url("/faithful/fonts/PredigeRounded-Bold.woff") format("woff");
}

:root {
  --font-primary: bozon, sans-serif;
  --font-secondary: "predige rounded", bozon, sans-serif;
  --primary-300: #789da9;
  --primary-600: #003e51;
  --primary-800: #003241;
  --primary-900: #001f28;
  --secondary-800: #059495;
  --tertiary-800: #00a9ce;
  --magenta: #9a258f;
  --orange: #f47d44;
  --pale: #edf5f6;
  --paper: #fff;
  --ink: #003241;
  --container: 1110px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--paper);
  font-size: calc(0.26786vw + 0.75893rem);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-primary);
  font-weight: 500;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.platform-bar {
  height: 34px;
  background: var(--primary-600);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.platform-inner {
  width: min(var(--container), calc(100vw - 48px));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.platform-links,
.platform-contact {
  display: flex;
  gap: 30px;
  align-items: center;
}

.site-header {
  background: var(--primary-900);
  color: var(--paper);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  width: min(var(--container), calc(100vw - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link img {
  width: 225px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.main-nav a {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  transition: color 0.28s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--tertiary-800);
}

.nav-toggle {
  display: none;
  width: 32px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--paper);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--primary-900);
  color: var(--paper);
  z-index: 40;
  padding: 110px 30px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-open .nav-drawer {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer nav {
  display: grid;
  gap: 22px;
}

.nav-drawer a {
  color: var(--paper);
  font: 700 28px/1.1 var(--font-secondary);
}

.page {
  background: var(--paper);
}

.hero {
  position: relative;
  margin-bottom: 105px;
}

.hero-image {
  height: 360px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 901px) {
  .faithful-home .hero-image {
    height: calc(100vh - 114px);
    height: calc(100svh - 114px);
    min-height: 640px;
  }
}

.hero-panel {
  position: relative;
  width: min(610px, calc(100vw - 64px));
  margin: -70px 0 0 calc((100vw - min(var(--container), calc(100vw - 48px))) / 2);
  background: var(--paper);
  padding: 54px 68px 50px 0;
  min-height: 174px;
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: -78px;
  border-style: solid;
  border-width: 0 0 174px 78px;
  border-color: transparent transparent transparent var(--paper);
}

.overline {
  color: var(--primary-300);
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary-800);
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 0.97;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 72px);
  max-width: 520px;
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--tertiary-800);
  z-index: 1;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: -0.38em;
  bottom: 0.02em;
  height: 0.24em;
  background: #cceff4;
  transform: skewX(-11deg);
  z-index: -1;
}

.highlight.magenta {
  color: var(--magenta);
}

.highlight.magenta::after {
  background: #ffd5de;
}

.highlight.orange {
  color: var(--orange);
}

.highlight.orange::after {
  background: #ffdfd0;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 50px 0;
}

.section-pale {
  background: var(--pale);
}

.wrap {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 84px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1fr 0.8fr;
}

.slant-img {
  position: relative;
  transform: skewX(-8deg);
  overflow: hidden;
  min-height: 260px;
}

.slant-img img {
  width: 115%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transform: skewX(8deg) translateX(-7%);
}

.copy h2 {
  font-size: clamp(34px, 3.6vw, 54px);
  margin-bottom: 24px;
}

.copy p,
.card p,
.detail-copy p,
.contact-block p {
  color: var(--primary-800);
  font-size: 17px;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 42px;
  margin-top: 14px;
  padding: 12px 18px 11px 21px;
  background: var(--secondary-800);
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.button::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--primary-900);
}

.button:hover {
  background: var(--magenta);
  transform: translateY(-2px);
}

.button.magenta {
  background: var(--magenta);
}

.button.light {
  background: #e9f0f2;
  color: var(--primary-800);
}

.mini-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.mini-heading h2 {
  font-size: clamp(35px, 3.7vw, 58px);
  margin-bottom: 16px;
}

.mini-heading p {
  font-size: 18px;
  line-height: 1.6;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  display: block;
  color: var(--primary-800);
}

.card-img {
  overflow: hidden;
  height: 230px;
  margin-bottom: 22px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-img img {
  transform: scale(1.045);
}

.card .eyebrow {
  color: var(--secondary-800);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.card h2,
.card h3 {
  font-size: 26px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.portfolio-strip {
  background: var(--pale);
  padding: 76px 0 86px;
}

.strip-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.strip-header h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.feature-card {
  display: block;
  color: var(--primary-800);
}

.feature-card figure {
  position: relative;
  margin: 0 0 20px;
  aspect-ratio: 1 / 1;
}

.feature-card figure::after {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  background: var(--orange);
  z-index: 0;
  transition: transform 0.25s ease;
}

.feature-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.feature-card:hover img {
  transform: translate(-10px, -10px) scale(0.96);
}

.feature-card h3 {
  font-size: 31px;
}

.band-image {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.band-card {
  background: var(--paper);
  width: min(560px, calc(100vw - 48px));
  margin: 0 0 56px calc((100vw - min(var(--container), calc(100vw - 48px))) / 2);
  padding: 45px 55px;
}

.band-card h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--pale);
  padding: 32px;
  min-height: 190px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}

.process-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.process-card p {
  font-size: 15px;
  line-height: 1.65;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 90px;
  row-gap: 56px;
}

.listing-card .card-img {
  height: 280px;
}

.filter-row {
  display: flex;
  justify-content: flex-end;
  margin: -22px 0 44px;
}

.filter-row select {
  border: 0;
  background: #eef4f5;
  color: var(--primary-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 18px;
  border-radius: 0;
}

.detail-hero {
  margin-bottom: 42px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 84px;
  align-items: start;
}

.detail-photo {
  position: sticky;
  top: 120px;
}

.detail-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-copy h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  margin-bottom: 26px;
}

.detail-copy p {
  margin: 0 0 24px;
}

.related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.related a {
  background: var(--pale);
  color: var(--primary-800);
  padding: 22px;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 90px;
  align-items: start;
}

.contact-block h2 {
  font-size: clamp(34px, 3.7vw, 56px);
  margin-bottom: 28px;
}

.contact-actions {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin: 24px 0 12px;
}

.contact-direct a,
.contact-direct span {
  color: var(--primary-800);
  font-size: 18px;
  font-weight: 900;
}

.contact-map {
  margin-top: 42px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.form-card {
  width: 100%;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.field {
  margin-bottom: 19px;
}

.field label {
  display: block;
  color: var(--primary-800);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  background: #edf3f4;
  color: var(--primary-800);
  min-height: 48px;
  padding: 13px;
}

.field textarea {
  min-height: 150px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--primary-900);
  color: var(--paper);
  padding: 82px 0 58px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35%;
  width: 180px;
  background: rgba(0, 62, 81, 0.72);
  transform: skewX(-11deg);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(360px, 1.45fr) minmax(190px, 0.68fr) minmax(250px, 0.9fr);
  gap: 48px;
}

.footer-logo img {
  width: 230px;
  margin-bottom: 30px;
}

.footer-logo p {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-links b,
.footer-contact b {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-cta:hover {
  color: var(--tertiary);
}

.footer-contact p,
.footer-contact a,
.legal {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.legal {
  margin-top: 24px;
}

.footer-cta {
  display: inline-flex;
  margin-top: 10px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(1) contrast(1.08);
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  html {
    font-size: 16px;
  }

  .platform-bar {
    display: none;
  }

  .site-header {
    height: 58px;
  }

  .header-inner {
    width: calc(100vw - 28px);
  }

  .brand-link img {
    width: 158px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    margin-bottom: 60px;
  }

  .hero-image {
    height: 210px;
  }

  .hero-panel {
    width: calc(100vw - 56px);
    margin: -36px 0 0 14px;
    padding: 36px 48px 34px 0;
    min-height: 140px;
  }

  .hero-panel::after {
    right: -48px;
    border-width: 0 0 140px 48px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 46px);
  }

  .wrap {
    width: calc(100vw - 44px);
  }

  .section {
    padding: 58px 0;
  }

  .split,
  .split.reverse,
  .detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .slant-img {
    transform: none;
    min-height: 220px;
  }

  .slant-img img {
    width: 100%;
    min-height: 220px;
    transform: none;
  }

  .service-cards,
  .feature-grid,
  .listing-grid,
  .process-grid,
  .related {
    grid-template-columns: 1fr;
  }

  .strip-header {
    display: block;
  }

  .feature-card figure {
    max-width: 360px;
  }

  .band-image {
    min-height: 360px;
  }

  .band-card {
    margin-left: 22px;
    padding: 34px 28px;
  }

  .detail-photo {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-logo img {
    margin-bottom: 28px;
  }
}

/* === brand-logo sizing (added by brand playbook; guard marker) === */
.brand-link img.brand-logo,
.footer-logo img.brand-logo {
  display: block;
  height: auto;
  opacity: 1;
  visibility: visible;
}
