/* ==========================================================================
   gailsiskind.com
   Static rebuild of the 2016 WordPress site. Design preserved, code rewritten.
   ========================================================================== */

:root {
  --teal: #17aaa1;
  --teal-dark: #128f88;
  --ink: #404040;
  --muted: #666;
  --band: #e8e8e8;
  --rule: #d8d8d8;
  --white: #fff;

  --serif: "Scope One", Georgia, serif;
  --slab: "Roboto Slab", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --alt: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1170px;
  --header-h: 133px;
}

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

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

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover, a:focus { color: var(--teal-dark); text-decoration: underline; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 30px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: #fff; padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--white);
  position: relative;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding-top: 20px;
  padding-bottom: 10px;
}

.brand { flex: 0 0 auto; line-height: 0; }
.brand img { width: 200px; }

.site-nav { flex: 1 1 auto; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.site-nav a {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus { color: var(--teal); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }

.header-contact {
  flex: 0 0 auto;
  text-align: right;
  line-height: 1.25;
}
.header-contact .eyebrow {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--teal);
  display: block;
  margin-bottom: 2px;
}
.header-contact .tel {
  font-family: var(--alt);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  display: block;
}
.header-contact .tel:hover { color: var(--teal); text-decoration: none; }
.header-contact .mail {
  font-family: var(--alt);
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { content: ""; position: absolute; top: -7px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 667px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #2a2a2a;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 40px 30px;
}

.hero-mark {
  width: 60px;
  margin: 0 auto 14px;
  display: block;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 62px;
  line-height: 1.15;
  letter-spacing: 0;
  color: #fff;
  margin: 0 0 6px;
}

.hero .tagline {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Bands
   -------------------------------------------------------------------------- */

.band { padding: 64px 0; }
.band-teal { background: var(--teal); }
.band-grey { background: var(--band); }

.band-teal .band-copy {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 14px;
}
.pull-quote cite {
  font-family: var(--alt);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .9;
}

/* --------------------------------------------------------------------------
   Four-column skills block
   -------------------------------------------------------------------------- */

.skills { padding: 60px 0; background: var(--white); }

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

.skill { text-align: center; }

.skill .icon {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  color: #9b9b9b;
  display: block;
}
.skill .icon svg { width: 100%; height: 100%; display: block; fill: currentColor; }

.skill h2 {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px;
}

.skill p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Bio (About) — 9/3 split
   -------------------------------------------------------------------------- */

.bio { padding: 70px 0; }

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.bio-section { display: flex; gap: 22px; margin-bottom: 42px; }
.bio-section:last-child { margin-bottom: 0; }

.bio-section .icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  color: var(--teal);
  margin-top: 4px;
}
.bio-section .icon svg { width: 100%; height: 100%; display: block; fill: currentColor; }

.bio-section h2 {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}

.bio-section p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}

.bio-section ul {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}
.bio-section ul li { margin-bottom: 8px; }

.bio-aside {
  border-left: 3px solid var(--teal);
  padding-left: 24px;
}
.bio-aside h3 {
  font-family: var(--alt);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--teal);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.bio-aside ul {
  font-family: var(--alt);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.bio-aside ul:last-child { margin-bottom: 0; }
.bio-aside li { margin-bottom: 10px; padding-left: 14px; position: relative; }
.bio-aside li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.section-head {
  padding: 62px 0 8px;
  text-align: center;
}
.section-head .icon {
  width: 46px; height: 46px;
  margin: 0 auto 18px;
  color: var(--teal);
}
.section-head .icon svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.section-head h2 {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.section-head h2 span { display: block; }

.concerns { padding: 34px 0 62px; }

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

.concern h3 {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.concern p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.method { padding: 0 0 70px; }
.method h2 {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  text-align: center;
  margin: 0 0 28px;
}
.method ul {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.method li {
  position: relative;
  padding: 0 0 14px 32px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eee;
}
.method li:last-child { border-bottom: 0; }
.method li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonials {
  padding: 66px 0;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.slider { max-width: 860px; margin: 0 auto; text-align: center; }

.slides { position: relative; }

.slide {
  display: none;
  animation: fade .35s ease;
}
.slide.is-active { display: block; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.slide blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.55;
  color: var(--teal);
  margin: 0 0 18px;
}
.slide cite {
  font-family: var(--alt);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease, border-color .15s ease;
}
.slider-btn:hover { color: var(--teal); border-color: var(--teal); }

.slider-dots { display: flex; gap: 6px; margin: 0 10px; }
.slider-dots button {
  width: 22px; height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.slider-dots button::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: background .15s ease, transform .15s ease;
}
.slider-dots button[aria-current="true"]::before { background: var(--teal); transform: scale(1.25); }

/* --------------------------------------------------------------------------
   Contact / CTA band
   -------------------------------------------------------------------------- */

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.cta-copy h2 {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px;
}
.cta-copy p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.cta-copy p a { font-weight: 700; }

.contact-form { display: grid; gap: 12px; }

.contact-form label { display: block; }
.contact-form .lbl {
  display: block;
  font-family: var(--alt);
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.contact-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
}
.contact-form input:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(23, 170, 161, .25);
  outline-offset: 0;
}
.contact-form input[aria-invalid="true"] { border-color: #c0392b; }

.field-error {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  min-height: 0;
}

.btn {
  display: inline-block;
  width: 100%;
  min-height: 48px;
  padding: 13px 22px;
  font-family: var(--alt);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover:not(:disabled) { background: var(--teal-dark); }
.btn:disabled { opacity: .6; cursor: default; }

.form-status {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 11px 14px;
  border-radius: 3px;
}
.form-status:empty { display: none; }
.form-status.is-ok { background: #e6f5f4; color: #10635e; border: 1px solid #9ed8d4; }
.form-status.is-err { background: #fbeae8; color: #8e2a1e; border: 1px solid #e6b3ab; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding: 44px 0; background: var(--white); }

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-mark { width: 54px; flex: 0 0 auto; }

.footer-meta {
  font-family: var(--alt);
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--muted);
  text-align: right;
  margin-left: auto;
}
.footer-meta p { margin: 0 0 4px; }
.footer-meta p:last-child { margin-bottom: 0; }
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--teal); }

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

.error-page { padding: 110px 0; text-align: center; }
.error-page h1 { font-family: var(--serif); font-size: 46px; color: var(--ink); margin: 0 0 14px; }
.error-page p { font-family: var(--sans); font-size: 17px; color: var(--muted); margin: 0 0 26px; }
.error-page .btn { width: auto; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero h1 { font-size: 50px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .concerns-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-layout { grid-template-columns: 1fr; gap: 44px; }
  .bio-aside { border-left: 0; border-top: 3px solid var(--teal); padding-left: 0; padding-top: 24px; }
}

@media (max-width: 860px) {
  .site-header .wrap {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    row-gap: 0;
  }
  .brand { order: 1; }
  .brand img { width: 165px; }
  .nav-toggle { display: block; order: 2; }
  .header-contact { order: 3; width: 100%; text-align: left; margin-top: 14px; }
  .header-contact .tel { font-size: 20px; }

  .site-nav {
    order: 4;
    flex-basis: 100%;
    display: none;
    border-top: 1px solid var(--rule);
    margin-top: 14px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid #f0f0f0; }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a {
    display: block;
    padding: 14px 2px;
    min-height: 44px;
    border-bottom: 0;
    font-size: 18px;
  }
  .site-nav a[aria-current="page"] { border-bottom: 0; }

  .hero {
    min-height: 78vh;
    background-attachment: scroll;
  }
  .hero h1 { font-size: 40px; }
  .hero .tagline { font-size: 13px; letter-spacing: 1.5px; }
  .hero-mark { width: 52px; }

  .band { padding: 48px 0; }
  .band-teal .band-copy { font-size: 17px; text-align: left; }
  .pull-quote blockquote { font-size: 20px; text-align: left; }
  .pull-quote { text-align: left; }

  .cta-layout { grid-template-columns: 1fr; gap: 28px; }
  .slide blockquote { font-size: 20px; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; margin-left: 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .skills-grid { grid-template-columns: 1fr; }
  .concerns-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .section-head h2, .method h2 { font-size: 23px; }
  .bio-section { gap: 14px; }
  .bio-section .icon { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero { background-attachment: scroll; }
}

@media print {
  .site-nav, .nav-toggle, .slider-controls, .contact-form { display: none; }
  .hero { min-height: 0; padding: 40px 0; background: none; color: #000; }
  .hero::after { display: none; }
  .hero h1, .hero .tagline { color: #000; }
  body { color: #000; }
}
