/*
Theme Name: Read Write Connect
Theme URI: https://rwcbg.com
Author: Success Media
Description: Custom theme for Read Write Connect LLC. No page builder, no plugin dependencies.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: rwc
*/

:root {
  --rwc-ink: #1F2421;
  --rwc-body: #5F6360;
  --rwc-cream: #FDE6CB;
  --rwc-cream-soft: #FEF5EA;
  --rwc-accent: #B4531F;
  --rwc-surface: #FFFFFF;
  --rwc-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --rwc-font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rwc-measure: 42rem;
  --rwc-container: 72rem;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--rwc-font-body);
  color: var(--rwc-ink);
  background: var(--rwc-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.rwc-skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1000;
  padding: 0.5rem 0.75rem;
  background: var(--rwc-accent);
  color: #fff;
  font-family: var(--rwc-font-body);
  font-weight: 700;
  text-decoration: none;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.rwc-skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  overflow: visible;
}

.rwc-container {
  max-width: var(--rwc-container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.rwc-band {
  padding-block: 3rem;
}

.rwc-band--cream {
  background: var(--rwc-cream-soft);
}

.rwc-band--accent {
  background: var(--rwc-cream);
}

.rwc-masthead {
  border-bottom: 1px solid rgba(31, 36, 33, 0.12);
  padding-block: 1.25rem;
}

.rwc-masthead__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.rwc-wordmark {
  font-family: var(--rwc-font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--rwc-ink);
  text-decoration: none;
}

.rwc-nav__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rwc-nav__link {
  font-family: var(--rwc-font-body);
  color: var(--rwc-ink);
  text-decoration: none;
}

.rwc-nav__link:hover,
.rwc-nav__link:focus-visible {
  text-decoration: underline;
}

.rwc-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--rwc-accent);
  text-decoration: none;
}

.rwc-social:hover,
.rwc-social:focus-visible {
  text-decoration: underline;
}

.rwc-social__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

.rwc-hero {
  text-align: center;
}

.rwc-hero__title {
  font-family: var(--rwc-font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--rwc-ink);
}

.rwc-hero__tagline {
  font-family: var(--rwc-font-body);
  font-size: 1.125rem;
  color: var(--rwc-body);
  max-width: var(--rwc-measure);
  margin: 0 auto;
}

.rwc-contact-card {
  text-align: center;
  margin-top: 2rem;
}

.rwc-contact-card__name {
  font-family: var(--rwc-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.rwc-contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.rwc-btn {
  display: inline-block;
  background: var(--rwc-accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--rwc-accent);
  border-radius: 0.25rem;
  font-family: var(--rwc-font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.rwc-btn:focus-visible {
  outline: 2px solid var(--rwc-ink);
  outline-offset: 3px;
}

.rwc-btn--secondary {
  background: transparent;
  color: var(--rwc-accent);
  border: 1px solid var(--rwc-accent);
}

.rwc-section__title {
  font-family: var(--rwc-font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1.5rem;
}

.rwc-prose {
  max-width: var(--rwc-measure);
  line-height: 1.7;
}

.rwc-prose p {
  margin: 0 0 1rem;
}

.rwc-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rwc-service__title {
  font-family: var(--rwc-font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.rwc-testimonial {
  max-width: var(--rwc-measure);
  margin: 0 auto;
  text-align: center;
}

.rwc-testimonial__quote {
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

.rwc-testimonial__cite {
  display: block;
  color: var(--rwc-body);
  font-size: 0.95rem;
  font-style: normal;
  margin-top: 1rem;
}

.rwc-footer {
  background: var(--rwc-ink);
  color: var(--rwc-cream-soft);
  padding-block: 3rem;
}

.rwc-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.rwc-footer a {
  color: inherit;
  text-decoration: none;
}

.rwc-footer a:hover,
.rwc-footer a:focus {
  text-decoration: underline;
}

@media (min-width: 48rem) {
  .rwc-band {
    padding-block: 4.5rem;
  }

  .rwc-masthead__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

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