/* feldheim.net — static recreation of the GoDaddy Websites + Marketing design.
   Sizes and colors are taken from the original site's own style rules. */

@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/LeagueSpartan.woff2) format('woff2'), url(fonts/LeagueSpartan.woff) format('woff');
}

:root {
  --dark: #161616;
  --light: #f7f7f7;
  --body: #5e5e5e;
  --ink: #1b1b1b;
  --heading: #9c928c;
  --accent: #7d756f;
  --accent-hover: #4d4945;
  --button: #d9d6d4;
  --button-hover: #cbc7c4;
  --grey: #f6f6f6;
  --spartan: 'League Spartan', arial, helvetica, sans-serif;
  --sans: Helvetica, arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { border: 0; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
a { color: inherit; }

.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { width: 984px; } }
@media (min-width: 1280px) { .container { width: 1160px; } }
@media (min-width: 1536px) { .container { width: 1280px; } }

/* ---------- Header ---------- */
.site-header { background: var(--dark); position: relative; z-index: 3; }
.bar { display: flex; align-items: center; padding: 24px; }
.bar-logo { flex: 0 1 auto; padding: 0 8px; }
.logo {
  display: inline-block; max-width: 100%;
  font-family: var(--spartan); font-size: 22px; line-height: 1.2;
  color: var(--light); text-decoration: none;
}
.logo:hover { color: #c9c4c1; }
.bar-nav { display: none; }
.bar-menu { flex: 0 1 136px; margin-left: auto; display: flex; justify-content: flex-end; }
.icon-btn {
  background: none; border: 0; padding: 6px; margin: 0; cursor: pointer;
  color: var(--light); display: inline-flex;
}
.icon-btn:hover { color: var(--button); }
.icon-btn svg { width: 28px; height: 28px; }

@media (min-width: 1024px) {
  .bar { align-items: flex-start; padding: 24px 48px; }
  .bar-logo { padding: 0; }
  .logo { margin-top: 1px; }
  .bar-menu { display: none; }
  .bar-nav { display: flex; margin-left: auto; padding-top: 5px; line-height: 24px; }
  .bar-nav a {
    display: block; margin-left: 32px;
    font-size: 14px; letter-spacing: 0.071em; text-transform: uppercase;
    color: var(--light); text-decoration: none; white-space: nowrap;
  }
  .bar-nav a:first-child { margin-left: 0; }
  .bar-nav a:hover { opacity: .5; }
  .bar-nav a[aria-current="page"] { font-weight: 700; }
}
@media (min-width: 1536px) {
  .logo { font-size: 24px; margin-top: 0; }
  .bar-nav a { font-size: 16px; }
}

/* home page: photo header */
.site-header.hero {
  display: flex; flex-direction: column; min-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)),
    var(--dark) url(img/banner.jpg) 50% 50% / cover no-repeat;
}
@media (min-width: 1024px) { .site-header.hero { min-height: 85vh; } }
.hero .rule { padding: 0 48px; }
.hero .rule hr { margin: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.hero-body { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; }
.hero-text { width: 100%; padding: 24px; text-align: center; color: #fff; }
@media (min-width: 1024px) { .hero-text { width: 984px; max-width: 66%; padding: 56px 24px; } }
@media (min-width: 1280px) { .hero-text { width: 1160px; } }
@media (min-width: 1536px) { .hero-text { width: 1280px; } }
.tagline { font-family: var(--spartan); font-size: 40px; line-height: 1.2; margin-bottom: 8px; color: #fff; }
.subtagline { font-size: 22px; line-height: 1.5; margin-bottom: 8px; color: #fff; }
@media (min-width: 768px) { .tagline { font-size: 48px; } }
@media (min-width: 1280px) { .tagline { font-size: 62px; } }
@media (min-width: 1536px) { .tagline { font-size: 64px; } .subtagline { font-size: 24px; } }

/* slide-out menu (phones and tablets) */
.drawer {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 10002; background: var(--dark);
  padding-top: 56px; overflow-y: auto;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .3s ease-in-out, visibility .3s;
}
.drawer.open { transform: none; visibility: visible; }
.drawer .close { position: absolute; top: 15px; right: 15px; }
.drawer ul { list-style: none; margin: 0 0 24px; padding: 0 24px; }
.drawer li { border-bottom: 1px solid rgba(76, 76, 76, .5); }
.drawer li:last-child { border-bottom: 0; }
.drawer a {
  display: flex; padding: 16px 4px 16px 24px;
  font-size: 22px; color: var(--light); text-decoration: none;
}
.drawer a:hover { color: var(--button); }
.drawer a[aria-current="page"] { font-weight: 700; }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: 40px 0; background: #fff; }
.section.grey { background: var(--grey); }
@media (min-width: 768px) { .section { padding: 56px 0; } }

.section-heading, .featured-heading {
  font-family: var(--spartan); font-size: 32px; color: var(--heading); text-align: center;
}
.section-heading { line-height: 1.4; margin: 0 0 40px; }
.section-heading::after {
  content: ""; display: block; width: 50px; margin: 24px auto 0;
  border-bottom: 2px solid #e2e2e2;
}
.featured-heading { line-height: 1.25; }
.featured-heading.spaced { margin-bottom: 24px; }
@media (min-width: 768px) { .section-heading, .featured-heading { font-size: 38px; } }
@media (min-width: 1280px) { .section-heading, .featured-heading { font-size: 44px; } }
@media (min-width: 1536px) { .section-heading, .featured-heading { font-size: 48px; } }

/* columns */
.row { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -12px; }
.col { flex: 1 1 100%; max-width: 100%; padding: 0 12px; }
@media (min-width: 768px) {
  .row { margin: 0 -24px; }
  .col { padding: 0 24px; }
  .col-half { flex-basis: 50%; max-width: 50%; }
  .col-featured { flex-basis: 83.3333%; max-width: 83.3333%; }
}
@media (min-width: 1024px) {
  .col-featured { flex-basis: 66.6667%; max-width: 66.6667%; }
  .col-half-lg { flex-basis: 50%; max-width: 50%; }
}

/* text */
.rich { font-size: 16px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.rich p { margin: 0; }
.rich ul, .rich ol { display: block; margin: 0 16px; padding-left: 1.3em; text-align: left; }
.rich a { color: var(--accent); text-decoration: underline; }
.rich a:hover { color: var(--accent-hover); }
.rich.centered p { text-align: center; }
@media (min-width: 1536px) { .rich { font-size: 18px; } }

.featured-text { color: #575757; text-align: center; }
.featured-text h4 {
  font: 700 32px/1.25 var(--sans); color: #968d86; text-align: center;
}
@media (min-width: 768px) { .featured-text h4 { font-size: 38px; } }
@media (min-width: 1280px) { .featured-text h4 { font-size: 44px; } }
@media (min-width: 1536px) { .featured-text h4 { font-size: 48px; } }

/* the original adds a little space under these blocks on phones */
@media (max-width: 767px) { .content-row { margin-bottom: 24px; } }
@media (max-width: 1023px) { .welcome.content-row { margin-bottom: 24px; } }

/* Home: portrait beside the welcome text */
.welcome { align-items: center; }
.welcome .col + .col { margin-top: 24px; }
@media (min-width: 768px) { .welcome .col + .col { margin-top: 0; } }
.portrait {
  display: block; width: 100%; height: auto;
  aspect-ratio: 0.75; object-fit: cover; object-position: 50% 50%;
}

/* ---------- Contact ---------- */
.section.contact { padding-bottom: 40px; }
.minor-heading { font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0 0 24px; text-align: center; }
@media (min-width: 768px) { .minor-heading { text-align: left; } }
@media (min-width: 1536px) { .minor-heading { font-size: 24px; } }
.contact-form .field { position: relative; margin-bottom: 24px; }
.contact-form .field-area { margin-bottom: 28px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  width: 100%; display: block;
  font: 400 16px/normal var(--sans); color: #474747;
  background: #fff; border: 1px solid #e2e2e2; border-radius: 4px;
  padding: 23px 16px 7px; margin: 0; -webkit-appearance: none; appearance: none;
}
.contact-form textarea { line-height: 28px; padding: 16px; resize: vertical; }
.contact-form textarea::placeholder { color: #474747; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; box-shadow: inset 0 0 0 1px currentColor; }
.contact-form label {
  position: absolute; left: 16px; top: 50%; transform: translateY(calc(1px - 50%));
  color: #474747; pointer-events: none; transition: all .15s ease; line-height: normal;
}
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label {
  font-size: 12px; top: 6px; transform: none; color: var(--accent);
}
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; padding: 8px 32px;
  font: 700 14px var(--sans); letter-spacing: 0.071em; text-transform: uppercase;
  color: #131313; background: var(--button); border: 0; border-radius: 4px; cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--button-hover); }
.btn:disabled { opacity: .6; cursor: default; }
@media (min-width: 1536px) { .btn { font-size: 16px; } }
.form-status {
  margin: 0; padding: 32px 0 16px; min-height: 66px;
  text-align: center; font-size: 14px; line-height: 18px; color: var(--body);
}
.form-status.error { color: #b00020; }
/* the original's reCAPTCHA note took two lines in narrow columns; keep the same spacing */
@media (max-width: 767px), (min-width: 1024px) and (max-width: 1279px) { .form-status { min-height: 84px; } }
@media (min-width: 1536px) {
  .contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel],
  .contact-form textarea, .contact-form label { font-size: 18px; }
  .contact-form textarea { line-height: 31.5px; }
  .form-status { min-height: 90px; }
}
.contact-info { text-align: center; margin-top: 40px; }
.contact-info p { font-size: 16px; line-height: 1.5; color: var(--body); margin-bottom: 24px; }
.contact-info a { color: var(--accent); text-decoration: none; }
.contact-info a:hover { color: var(--accent-hover); }
@media (min-width: 768px) { .contact-info { margin-top: 0; text-align: left; } }
@media (min-width: 1536px) { .contact-info p { font-size: 18px; } }

.map { position: relative; height: 0; padding-bottom: max(30%, 200px); background: #e5e3df; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); padding: 40px 0; text-align: center; }
.site-footer.black { background: #000; }
@media (min-width: 768px) { .site-footer { padding: 56px 0; } }
.site-footer .copyright { color: #a9a9a9; font-size: 14px; line-height: 1.5; }
.site-footer.black .copyright { color: #969696; }
@media (min-width: 1536px) { .site-footer .copyright { font-size: 16px; } }
