@font-face {
  font-family: 'arimaV';
  src: url('/fonts/Arima-VariableFont_wght.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ralewayv';
  src: url('/fonts/Raleway-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ralewayv';
  src: url('/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-display: "ralewayv", "Segoe UI", Arial, sans-serif;
  --font-body: "arimaV", Georgia, serif;
  --ink: rgba(43,34,0,.9);
  --muted: rgba(91,91,91,1);
  --paper: rgba(243,243,241,1);
  --white: #fff;
  --brand: rgba(208,94,28,1);
  --brand-dark: rgba(168,71,18,1);
  --brand-light: rgba(245,142,64,1);
  --nav-height: 84px;
  --container: 1024px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body), sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

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

.home-page {
  width: 100%;
  overflow-x: clip;
}

/* Typography */

h1,
h2,
h3 {
  font-family: var(--font-display), serif;
  color: var(--ink);
  letter-spacing: .01em;
  margin: 0 0 .75rem;
}

h1 {
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.8rem, 6vw, 2.3rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  line-height: 1.15;
}

p {
  margin-top: 0;
  line-height: 1.55;
}

.muted,
.form-note {
  color: var(--muted);
}

/* Backgrounds */

.grid-paper {
  background:
    linear-gradient(rgba(233,238,242,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,238,242,1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(248,248,246,1), rgba(242,243,240,1));
  background-size: 16px 16px, 16px 16px, auto;
}

.ruled-paper {
  background:
    linear-gradient(180deg, rgba(225,84,84,.28), rgba(225,84,84,.28)) 86px 0 / 1px 100% no-repeat,
    repeating-linear-gradient(
      to bottom,
      rgba(245,245,244,1) 0,
      rgba(245,245,244,1) 34px,
      rgba(228,237,248,1) 34px,
      rgba(228,237,248,1) 35px
    );
}

.contact-section {
  background: linear-gradient(180deg, rgba(242,242,241,1), rgba(236,236,235,1));
}
.contact-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 0;
}

.contact-form textarea,
.captcha-field,
.form-note {
  grid-column: 1 / -1;
}

.contact-submit {
  justify-self: center;
  margin-top: 0.5rem;
}

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

.captcha-field {
  display: grid;
  gap: .5rem;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.captcha-image {
  width: 220px;
  height: 40px;
  border: 1px solid rgba(199,199,199,1);
  border-radius: 4px;
  background: #fff;
}

.captcha-refresh {
  padding: .5rem .75rem;
  border: 1px solid rgba(164,164,164,1);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

.captcha-refresh:hover {
  background: rgba(0,0,0,.05);
}

.form-alert {
  grid-column: 1 / -1;
  margin: 0 0 .5rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(208,94,28,.35);
  border-radius: 8px;
  background: rgba(208,94,28,.08);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}
/* Navigation */

.hero-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 1300px;
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: .8rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: rgba(250,250,250,.5);
}

.hero-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.5);
  z-index: -1;
}

.nav-brand-logo img {
  height: 64px;
  display: block;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,.4));
}

.nav-phone {
  justify-self: center;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  position: absolute;
  top: 85px;
  right: 16px;
  width: 100%;
  max-width: 250px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  background: rgba(0,0,0,.92);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transform: translate(40px,-60px) scale(.9);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease;
}

.nav-links.is-open {
  transform: translate(0,0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  width: 100%;
  padding: 10px;
  color: var(--white);
  text-align: center;
  font-size: 1.1rem;
}

.nav-toggle {
  display: flex;
  justify-self: end;
  width: 40px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.2);
  background: rgba(0,0,0,.2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span,
.nav-close span {
  width: 22px;
  height: 2px;
  background: var(--white);
}

.nav-close {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 34px;
  height: 30px;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-close span {
  position: absolute;
  width: 20px;
}

.nav-close span:first-child {
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

@media (min-width: 1025px) {
  .hero-nav {
    padding: 1rem 1.2rem;
  }

  .nav-brand-logo img {
    height: 80px;
  }

  .nav-phone {
    font-size: 1.2rem;
  }

  .nav-toggle,
  .nav-close {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    max-width: none;
    padding: 0;
    flex-direction: row;
    justify-self: end;
    gap: .6rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 90px;
    padding: 4px;
    color: var(--ink);
  }
}

@media (max-width: 600px) {
  .nav-phone {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), #f07a2f);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 -6px 20px rgba(0,0,0,.3);
    z-index: 9999;
  }

  .nav-phone a {
    width: 100%;
    color: var(--white);
    text-align: center;
  }

  body {
    padding-bottom: 70px;
  }
}

/* Hero */

/* Hero */

.home-hero {
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  color: var(--white);

  background-image: url('/images/background.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.home-hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-height));
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1rem 4rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
}
.hero-inner h1 {
  max-width: var(--container);
  margin-bottom: .85rem;
  color: var(--brand-light);
  text-shadow: 0 3px 14px rgba(0,0,0,.55);
}

.hero-sub {
  max-width: 42ch;
  margin: 0 auto;
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  line-height: 1.05;
  font-weight: 700;
  color: rgba(255,245,245,1);
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

.ichthus {
  height: 15px;
  margin-top: 50px;
  margin-bottom: 25px;
}

/* Sections */

.site-section {
  width: 100%;
  padding: 3rem 1rem;
  background: var(--white);
}

.section-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.6rem;
  text-align: center;
}

.section-header p {
  max-width: 62ch;
  margin: 0 auto;
}

.section-content {
  width: 100%;
}

.media-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: center;
}

.media-block + .media-block,
.media-block + .grid,
.grid + .media-block {
  margin-top: 1.6rem;
}

.media-image img {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,.22);
}

.media-copy {
  text-align: justify;
}

.media-copy p {
  margin-bottom: 1rem;
}

/* Grid + cards */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}

.card {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.service-card p {
  margin-bottom: 1rem;
}

.service-card .btn {
  margin-top: auto;
  margin-bottom: 0.25rem;
  align-self: center;
}



.card,
.login-card {
  background: rgba(250,250,250,1);
  border: 1px solid rgba(197,197,197,1);
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
}

.card {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  text-align: left;
}

.card li {
  margin-bottom: .45rem;
}


/* Buttons + forms */

.btn {
  display: inline-block;
  width: 90%;
  max-width: 300px;
  padding: .62rem 1rem;
  background: var(--brand);
  color: var(--white);
  border: 1px solid var(--brand-dark);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  transition: all .18s ease;
  align-self: center;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn.alt {
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.55);
}

.btn.ghost {
  background: transparent;
  color: rgba(54,54,54,1);
  border-color: rgba(164,164,164,1);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  width: 100%;
  margin-top: 2rem;
}

input,
textarea {
  width: 100%;
  margin-bottom: .8rem;
  padding: .62rem;
  background: var(--white);
  border: 1px solid rgba(199,199,199,1);
  border-radius: 4px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(48,106,147,.25);
  outline-offset: 1px;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}
label {
  display: block;
  margin-bottom: .25rem;
  font-weight: 700;
}

.contact-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

/* Login */

.login-page-shell {
  min-height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(14,28,40,.28), rgba(12,20,28,.62)),
    url('/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-page-panel {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.login-brand img {
  width: min(280px, 72vw);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.24));
}

.login-card {
  padding: 2rem 1.6rem 1.6rem;
  border-radius: 18px;
  text-align: center;
}

.login-eyebrow {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

.login-card h1 {
  margin-bottom: .45rem;
  font-size: 2.2rem;
}

.login-copy {
  max-width: 34ch;
  margin: 0 auto 1.35rem;
  font-size: 1rem;
  line-height: 1.45;
}

.login-form {
  display: grid;
  gap: .2rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: left;
}

.login-form .btn {
  width: 100%;
  max-width: none;
  margin-top: .5rem;
}

/* Footer */

.site-footer {
  padding: 1.4rem 1rem 2.6rem;
  color: rgba(95,95,95,1);
  font-size: .88rem;
  text-align: center;
}

/* Tablet / desktop */

@media (min-width: 768px) {
  .site-section {
    min-height: 100vh;
    padding: 5rem 1.2rem;
    display: flex;
    align-items: center;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .media-block {
    grid-template-columns: .95fr 1.05fr;
    gap: 2rem;
  }

  .media-block.reverse {
    grid-template-columns: 1.05fr .95fr;
  }

  .grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card p {
    min-height: 3.1em;
  }
}

.article-body p,
.blog-article p {
  text-align: justify;
}

.article-cta {
	margin:auto 0px;
	align-self:center;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  width:90%;
}