/*
Theme Name: BrandWell Starter
Theme URI: https://brandwell.local/
Author: BrandWell
Author URI: https://brandwell.local/
Description: A clean starter WordPress theme for BrandWell, built for a brand strategy and content studio.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brandwell
*/

:root {
  --bw-ink: #151a1c;
  --bw-charcoal: #3f484c;
  --bw-muted: #c9c6bd;
  --bw-soft: #20272a;
  --bw-soft-strong: #2c3437;
  --bw-white: #ffffff;
  --bw-gold: #b88924;
  --bw-gold-dark: #8f6a1d;
  --bw-logo-gray: #a9aeac;
  --bw-line: rgba(169, 174, 172, 0.28);
  --bw-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  --bw-radius: 8px;
  --bw-max: 1180px;
  --bw-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bw-serif: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bw-ink);
  color: var(--bw-white);
  font-family: var(--bw-font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--bw-serif);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.brandwell-site {
  min-height: 100vh;
}

.site-header {
  background: rgba(21, 26, 28, 0.94);
  border-bottom: 1px solid var(--bw-line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: var(--bw-max);
  padding: 0 28px;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 78px;
}

.site-branding {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-logo {
  height: auto;
  width: clamp(210px, 22vw, 285px);
}

.custom-logo-link {
  align-items: center;
  display: inline-flex;
}

.custom-logo-link img {
  max-height: 62px;
  width: auto;
}

.main-navigation {
  align-items: center;
  display: flex;
  gap: 26px;
}

.main-navigation ul {
  align-items: center;
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--bw-muted);
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--bw-white);
}

.nav-cta,
.button {
  align-items: center;
  border-radius: var(--bw-radius);
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 14px 18px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--bw-gold);
  color: var(--bw-ink);
}

.main-navigation .nav-cta {
  color: var(--bw-ink);
}

.nav-cta:hover,
.nav-cta:focus,
.button-primary:hover,
.button-primary:focus {
  background: var(--bw-white);
  color: var(--bw-ink);
  transform: translateY(-1px);
}

.main-navigation .nav-cta:hover,
.main-navigation .nav-cta:focus {
  color: var(--bw-ink);
}

.button-secondary {
  border: 1px solid var(--bw-line);
  color: var(--bw-white);
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: var(--bw-gold);
  color: var(--bw-white);
  transform: translateY(-1px);
}

.hero-section {
  padding: 78px 0 84px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.hero-copy h1 {
  font-family: var(--bw-serif);
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 26px;
  max-width: 760px;
}

.hero-copy p {
  color: var(--bw-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin: 0 0 34px;
  max-width: 650px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  aspect-ratio: 1 / 1.08;
  background: var(--bw-soft);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow);
  overflow: hidden;
  position: relative;
}

.hero-media img {
  filter: grayscale(1) contrast(0.94) brightness(0.82);
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  width: 100%;
}

.hero-note {
  background: var(--bw-white);
  border: 1px solid rgba(169, 174, 172, 0.7);
  border-radius: var(--bw-radius);
  bottom: 24px;
  box-shadow: 0 18px 40px rgba(21, 32, 29, 0.16);
  color: var(--bw-muted);
  font-size: 14px;
  left: 24px;
  line-height: 1.45;
  max-width: 235px;
  padding: 16px;
  position: absolute;
}

.hero-note strong {
  color: var(--bw-ink);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--bw-soft);
}

.section-header {
  align-items: end;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  margin-bottom: 38px;
}

.section-title {
  font-family: var(--bw-serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.section-lede {
  color: var(--bw-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.testimonial-card {
  background: var(--bw-ink);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  padding: 24px;
}

.service-card {
  min-height: 245px;
}

.service-number {
  color: var(--bw-gold);
  display: block;
  font-size: 13px;
  font-weight: 820;
  margin-bottom: 48px;
}

.service-card h3,
.process-step h3 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0 0 14px;
}

.service-card p,
.process-step p,
.testimonial-card p {
  color: var(--bw-muted);
  margin: 0;
}

.process-list {
  border-top: 1px solid var(--bw-line);
  display: grid;
  gap: 0;
}

.process-step {
  align-items: start;
  border-bottom: 1px solid var(--bw-line);
  display: grid;
  gap: 28px;
  grid-template-columns: 120px minmax(180px, 0.45fr) minmax(260px, 1fr);
  padding: 30px 0;
}

.step-number {
  color: var(--bw-gold);
  font-family: var(--bw-serif);
  font-size: 34px;
  line-height: 1;
}

.proof-grid {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.quote-card {
  background: var(--bw-gold);
  border-radius: var(--bw-radius);
  color: var(--bw-ink);
  padding: clamp(30px, 5vw, 56px);
}

.quote-card blockquote {
  font-family: var(--bw-serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 28px;
}

.quote-card cite {
  color: var(--bw-charcoal);
  font-style: normal;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-metric {
  color: var(--bw-gold);
  font-family: var(--bw-serif);
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.9;
  margin-bottom: 22px;
}

.cta-section {
  background: var(--bw-gold);
  color: var(--bw-ink);
  padding: 86px 0;
}

.cta-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
}

.cta-section h2 {
  font-family: var(--bw-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.cta-section p {
  color: var(--bw-charcoal);
  font-size: 19px;
  margin: 18px 0 0;
  max-width: 650px;
}

.contact-card {
  background: var(--bw-ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow);
  color: var(--bw-white);
  display: grid;
  gap: 10px;
  min-width: min(100%, 390px);
  padding: 24px;
}

.contact-card a,
.contact-card span,
.contact-card address {
  color: var(--bw-white);
  font-style: normal;
  line-height: 1.45;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus {
  color: var(--bw-muted);
}

.contact-card .contact-email {
  color: var(--bw-gold);
  font-weight: 760;
}

.inquiry-form {
  background: var(--bw-ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow);
  color: var(--bw-white);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 30px);
  scroll-margin-top: 118px;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inquiry-form label {
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  font-size: 13px;
  font-weight: 760;
  gap: 7px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  appearance: none;
  background: var(--bw-soft);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  color: var(--bw-white);
  font: inherit;
  min-height: 46px;
  padding: 12px 13px;
  width: 100%;
}

.inquiry-form textarea {
  min-height: 128px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--bw-gold);
  box-shadow: 0 0 0 3px rgba(184, 137, 36, 0.28);
  outline: none;
}

.inquiry-form button {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.hidden-field {
  left: -9999px;
  position: absolute;
  top: auto;
}

.contact-details {
  border-top: 1px solid var(--bw-line);
  display: grid;
  gap: 5px;
  padding-top: 16px;
}

.contact-details a,
.contact-details span,
.contact-details address {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
  text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus {
  color: var(--bw-white);
}

.contact-details a:first-child {
  color: var(--bw-gold);
  font-weight: 760;
}

.form-status {
  border-radius: var(--bw-radius);
  font-size: 14px;
  font-weight: 760;
  padding: 12px 14px;
}

.form-status-success {
  background: var(--bw-gold);
  color: var(--bw-ink);
}

.form-status-error {
  background: var(--bw-white);
  color: var(--bw-ink);
}

.site-footer {
  background: var(--bw-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 42px 0;
}

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

.footer-logo {
  height: auto;
  margin-bottom: 12px;
  width: min(285px, 72vw);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.footer-contact {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  max-width: 430px;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus,
.footer-links a:hover,
.footer-links a:focus {
  color: var(--bw-white);
}

.page-shell {
  margin: 0 auto;
  max-width: 820px;
  padding: 84px 28px;
}

.page-shell h1 {
  font-family: var(--bw-serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  line-height: 1;
}

.page-shell a {
  color: var(--bw-gold);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-header,
  .proof-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 54px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

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

  .process-step {
    grid-template-columns: 82px 1fr;
  }

  .process-step p {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .admin-bar .site-header {
    top: 0;
  }

  .header-inner,
  .section-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .brand-logo {
    width: min(260px, 82vw);
  }

  .main-navigation {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .main-navigation ul {
    gap: 16px;
    justify-content: space-between;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-section,
  .section {
    padding: 62px 0;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .hero-copy p {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    scroll-margin-top: 230px;
  }

  .service-card {
    min-height: 0;
  }

  .service-number {
    margin-bottom: 26px;
  }

  .process-step {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .process-step p {
    grid-column: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
