/* GBI Cincinnati — static rebuild of the Wix site.
 *
 * Desktop metrics are taken from the live Wix render at 1280px
 * (980px content grid). Wix's licensed Brandon Grotesque / Avenir LT
 * are substituted with Josefin Sans / Mulish (Google Fonts).
 */

:root {
  --navy-dark: #072136;   /* footer, headings, story panel  (Wix color_20/42) */
  --navy: #0c3c60;        /* header, who-we-are band        (Wix color_19/41) */
  --btn-navy: #0c3b5f;    /* outline-button text/border tint */
  --blue-light: #8cbcdb;  /* active/current links           (Wix color_17)    */
  --gray-band: #f7f7f7;   /* process band, contact card     (Wix color_12)    */
  --font-head: 'Josefin Sans', 'Trebuchet MS', sans-serif;
  --font-body: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: #000;
  background: #fff;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -5000px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* Wix marks the required email field with a CSS asterisk (not label text) */
label.required::after { content: " *"; }

.grid-980 { width: 980px; margin: 0 auto; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  height: 97px;
}

.header-inner {
  position: relative;
  width: calc(100% - 160px);
  min-width: 980px;
  height: 97px;
  margin: 0 auto;
}

.logo img { display: block; width: 284px; height: 97px; }

.site-nav {
  position: absolute;
  top: 20px;
  right: 0;
  white-space: nowrap;
}

.site-nav > a,
.site-nav .has-sub > a {
  display: inline-block;
  padding: 0 17px;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
  transition: color 0.3s ease;
}

.site-nav > a:hover,
.site-nav .has-sub > a:hover { color: var(--blue-light); }
.site-nav a.current { color: var(--blue-light); }

.has-sub { position: relative; display: inline-block; }

.sub-menu {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: #fff;
  min-width: 140px;
  padding: 5px 0;
  z-index: 60;
}

.has-sub:hover .sub-menu,
.has-sub.open .sub-menu { visibility: visible; opacity: 1; }

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  color: #000;
}

.sub-menu li a:hover { color: var(--navy); }

/* ------------------------------------------------------------------ home */

.hero {
  height: 683px;
  padding-top: 36px;        /* padding, not img margin — avoids margin collapse */
  background: #fff;
  text-align: center;
}

.hero-machine { display: block; margin: 0 auto; width: 669px; height: 446px; }

.tagline {
  margin-top: -15px;        /* Wix overlaps the image's white reflection area;
                               content then sums to exactly 683px with the CTA
                               ending 6px above the navy band */
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  line-height: 38px;
  color: #000;
}

.hero h1 {
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 60px;
  line-height: 86px;
  letter-spacing: 0.03em;
  color: var(--navy-dark);
}

.btn-outline {
  display: inline-block;
  margin-top: 19px;
  width: 230px;
  height: 55px;
  line-height: 53px;
  border: 1px solid var(--navy);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  color: var(--btn-navy);
  background: transparent;
  text-align: center;
  transition: border-color 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.band-who {
  background: var(--navy);
  padding: 56px 0 30px;
  text-align: center;
  color: #fff;
}

.band-who h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 38px;
  line-height: 55px;
}

.band-who p {
  max-width: 705px;   /* Wix box is 663px in Avenir; Mulish runs wider — this
                         keeps the same four-line rag as the live site */
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.8;
}

/* ----------------------------------------------------------------- about */

.about-head { padding-top: 84px; text-align: center; }

.about-head h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 60px;
  line-height: 86px;
  letter-spacing: 0.03em;
  color: var(--navy-dark);
}

.mission {
  margin-top: 85px;
  display: grid;
  grid-template-columns: 490px 490px;
}

.mission-text { padding: 101px 92px 40px 12px; }

.mission-text h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 36px;
  line-height: 50px;
  text-align: center;
  color: var(--navy-dark);
}

.mission-text h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  line-height: 36px;
  text-align: center;
  color: #000;
}

.h3-spacer { height: 36px; }

.mission-text p { font-size: 16px; line-height: 22.4px; }

.mission-photo { background: var(--navy); }
.mission-photo img { display: block; width: 100%; height: 636px; object-fit: cover; }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 512px;
}

.story-left { background: var(--navy-dark); }

.story-left .inner {
  width: 488px;
  margin-left: calc((100% - 488px) / 2);
  padding: 90px 0 0 23px;
}

.story-left h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 56px;
  line-height: 81px;
  color: #fff;
}

.story-line { margin-top: 10px; width: 30px; height: 1px; background: #fff; }

.story-right .inner {
  width: 488px;
  margin-left: calc((100% - 488px) / 2 - 2px);
  padding-top: 90px;
}

.story-right h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 36px;
  line-height: 52px;
  color: var(--navy-dark);
}

.story-right p { margin-top: 28px; max-width: 407px; font-size: 18px; line-height: 25.2px; }

.process { background: var(--gray-band); padding: 67px 0 64px; }

.process h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 56px;
  line-height: 78px;
  text-align: center;
  color: var(--navy-dark);
}

.process-sub { margin-top: 27px; font-size: 18px; line-height: 32px; text-align: center; }

.process-cols {
  margin-top: 55px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: repeat(3, 280px);
  column-gap: 61px;
}

.process-icon {
  display: block;
  margin: 0 auto;
  width: 121px;
  height: 121px;
  border-radius: 50%;
  object-fit: cover;
}

.process-col h3 {
  margin-top: 35px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: var(--navy-dark);
}

.process-col p { margin-top: 40px; font-size: 16px; line-height: 28.8px; text-align: center; }

/* --------------------------------------------------------------- contact */

.contact-wrap { padding-bottom: 40px; }

.contact-card {
  margin: 0 40px;
  background: rgba(247, 247, 247, 0.8);
  padding: 80px 0 60px;
}

.contact-card h2 {
  margin-left: 27px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 38px;
  line-height: 53px;
  color: var(--navy-dark);
}

.contact-info {
  margin: 50px 0 0 28px;
  display: grid;
  grid-template-columns: 250px 250px 220px;
  column-gap: 69px;
}

.ci-label { font-weight: 800; font-size: 16px; line-height: 22px; color: var(--navy-dark); }
.ci-value { margin-top: 8px; font-size: 16px; line-height: 29px; }
.ci-value img { display: block; margin-top: 3px; }

.contact-form { margin: 62px 0 0 24px; width: 790px; }

.hp { position: absolute; left: -5000px; opacity: 0; }

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  column-gap: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  line-height: 14px;
  margin-bottom: 9px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  height: 37px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  padding: 0 10px;
}

.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--navy); }

.form-field-msg { margin-top: 10px; }

.form-field textarea { display: block; height: 86px; padding: 9px 10px; resize: vertical; }

.form-actions { margin-top: 15px; text-align: right; }

.form-actions button {
  width: 250px;
  height: 36px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  cursor: pointer;
}

.form-actions button:disabled { opacity: 0.6; cursor: default; }

.form-note { margin-top: 12px; font-size: 14px; text-align: right; min-height: 20px; }
.form-note.err { color: #b00020; }

/* --------------------------------------------------------------- 404 ---- */

.not-found { padding: 120px 20px 140px; text-align: center; }

.not-found h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 48px;
  color: var(--navy-dark);
}

.not-found p { margin-top: 18px; font-size: 18px; }

/* --------------------------------------------------------------- footer */

.site-footer {
  background: var(--navy-dark);
  color: #fff;
}

.footer-inner { position: relative; height: 261px; }

.f-col { position: absolute; }

.f-col-1 { top: 46px; left: calc((100% - 980px) * 0.1667 + 14px); width: 295px; }
.f-col-2 { top: 51px; left: calc((100% - 980px) * 0.5 + 461px); width: 187px; }
.f-col-3 { top: 51px; left: calc((100% - 980px) * 0.8333 + 664px); width: 232px; }

.f-brand { font-size: 20px; line-height: 28px; }

.f-addr { margin-top: 22px; font-size: 16px; line-height: 22.4px; }
.f-addr2 { font-size: 16px; line-height: 22.4px; }

.f-line { font-size: 16px; line-height: 25.6px; }

.f-head { font-size: 20px; line-height: 28px; }

.f-menu { margin-top: 12px; list-style: none; }

.f-menu li { position: relative; }

.f-menu a {
  display: block;
  font-size: 16px;
  line-height: 32px;
  transition: color 0.3s ease;
}

.f-menu a:hover, .f-menu a.current { color: var(--blue-light); }

.f-menu .sub-menu { top: 0; left: 100%; min-width: 187px; }
.f-menu .sub-menu li a { padding: 0 15px; line-height: 32px; }

.f-social { display: inline-block; margin: 10px 0 0 -8px; }
.f-social img { display: block; }

.f-copy { margin-top: 60px; font-size: 14px; line-height: 22px; }

/* ----------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .grid-980 { width: 100%; }

  .site-header { height: auto; }
  .header-inner {
    width: 100%;
    min-width: 0;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }
  .logo img { width: 176px; height: 60px; }
  .site-nav { position: static; white-space: normal; padding: 8px 0; }
  .site-nav > a, .site-nav .has-sub > a { padding: 6px 10px; }

  .hero { height: auto; padding-bottom: 40px; }
  .hero-machine { width: min(669px, 92vw); height: auto; margin-top: 24px; }
  .tagline { margin-top: 16px; }
  .hero h1 { font-size: 40px; line-height: 1.4; margin-top: 8px; padding: 0 16px; }
  .btn-outline { margin-top: 20px; }
  .hero .btn-outline { margin-bottom: 0; }

  .band-who { padding: 48px 20px 40px; }
  .band-who h2 { font-size: 30px; line-height: 1.4; }

  .about-head { padding-top: 48px; }
  .about-head h1 { font-size: 44px; line-height: 1.4; }

  .mission { margin-top: 40px; grid-template-columns: 1fr; }
  .mission-text { padding: 24px 20px 40px; }
  .mission-photo img { height: min(90vw, 480px); }

  .story { grid-template-columns: 1fr; }
  .story-left .inner, .story-right .inner {
    width: auto;
    margin-left: 0;
    padding: 48px 20px;
  }
  .story-left h2 { font-size: 44px; line-height: 1.4; }
  .story-left h2 br { display: none; }
  .story-right .inner { padding-top: 40px; }
  .story-right p { max-width: none; }

  .process { padding: 48px 0; }
  .process h2 { font-size: 40px; line-height: 1.4; padding: 0 16px; }
  .process-cols { grid-template-columns: 1fr; row-gap: 40px; padding: 0 20px; }
  .process-col { max-width: 420px; margin: 0 auto; }
  .process-col p { margin-top: 16px; }
  .process-col h3 { margin-top: 20px; }

  .contact-card { margin: 0 16px; padding: 40px 20px; }
  .contact-card h2 { margin-left: 0; }
  .contact-info { margin: 32px 0 0; grid-template-columns: 1fr; row-gap: 24px; }
  .contact-form { margin: 40px 0 0; width: 100%; }
  .form-row { grid-template-columns: 1fr; row-gap: 16px; }
  .form-field-msg { margin-top: 16px; }
  .form-actions button { width: 100%; }

  .footer-inner { height: auto; padding: 40px 20px; }
  .f-col { position: static; width: auto; }
  .f-col-2, .f-col-3 { margin-top: 32px; }
  .f-menu .sub-menu { position: static; visibility: visible; opacity: 1; background: transparent; padding: 0 0 0 16px; }
  .f-menu .sub-menu li a { color: #fff; padding: 0; }
  .f-menu .sub-menu li a:hover { color: var(--blue-light); }
  .f-copy { margin-top: 32px; }
}
