/* The Buyers Corner website: cream, navy and sand · Fraunces + Inter */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&family=Montserrat:wght@500&family=Cormorant+Garamond:wght@600&display=swap');

:root {
  --navy: #14304A;
  --navy-deep: #0D2236;
  --cream: #F5EFE4;
  --cream-deep: #EBE3D3;
  --sand: #D9B77E;
  --sand-ink: #8C6A33;
  --slate: #4A5D70;
  --line: #D9CEB9;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--navy); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.eyebrow { margin: 0 0 18px; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand-ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px;
  border: 1px solid var(--navy); border-radius: 2px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: background .2s, color .2s;
}
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--cream); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(245,239,228,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { height: 54px; width: auto; }
.logo-cream { display: none; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 7px; text-decoration-thickness: 2px; }
.btn-portal { min-height: 42px; padding: 8px 0; border-color: transparent; font-size: .7rem; transition: none; }
.btn-portal:hover { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 7px; text-decoration-thickness: 2px; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; margin: 0 auto; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* Home page: header sits over the photo, then turns solid cream once you scroll */
.site-head.over { position: fixed; left: 0; right: 0; }
.site-head.clear { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.clear .logo-navy { display: none; }
.clear .logo-cream { display: block; }
.clear .site-nav a { color: var(--cream); }
.clear .btn-portal, .clear .btn-portal:hover { color: var(--cream); }
.clear .menu-btn span, .clear .menu-btn span::before, .clear .menu-btn span::after { background: var(--cream); }

/* Hero: full-width photo with the words over it */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(100vh, 900px); color: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(38,29,22,.55), rgba(38,29,22,0) 170px), linear-gradient(90deg, rgba(38,29,22,.74), rgba(38,29,22,.46) 42%, rgba(38,29,22,0) 72%); }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-text { width: 100%; padding-top: 136px; padding-bottom: 72px; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { max-width: 760px; font-size: clamp(2.8rem, 5.2vw, 5rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .hero-cta { margin-top: 36px; }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.btn-cream:hover { background: #fff; border-color: #fff; }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--navy); }

/* At a glance */
.facts { border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.facts b { display: block; font-family: "Montserrat", var(--sans); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.2; letter-spacing: -.01em; }
.facts span { display: block; margin-top: 6px; font-size: .86rem; color: var(--slate); }

/* What I do, over the interior photo */
.how {
  padding: 136px 0; color: var(--cream);
  background: linear-gradient(rgba(38,29,22,.66), rgba(38,29,22,.66)), url('assets/band-interior.jpg') center / cover no-repeat;
}
.how .eyebrow { color: var(--sand); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 40px; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid rgba(245,239,228,.4); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 14px; font-size: .72rem; letter-spacing: .14em; color: var(--sand); }
.steps h3 { font-size: 1.5rem; margin-bottom: 10px; }
.steps p { margin: 0; font-size: .98rem; }

/* Portal */
.portal { padding: 112px 0; background: var(--cream-deep); }
.portal-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.portal-copy p { color: var(--slate); }
.portal-copy .btn { margin-top: 10px; }

/* About, short version on the home page: words over the banner photo */
.about-home {
  display: flex; align-items: center; min-height: 40vw; padding: 112px 0; color: var(--cream);
  background: linear-gradient(90deg, rgba(38,29,22,.62), rgba(38,29,22,.4) 45%, rgba(38,29,22,0) 70%), url('assets/about-banner.jpg') right center / cover no-repeat;
}
.about-home .wrap { width: 100%; }
.about-home-copy { max-width: 560px; }
.about-home .eyebrow { color: var(--sand); }
.about-home-copy h2 { margin-bottom: 22px; }
.about-home-copy p:not(.eyebrow) { font-size: 1.1rem; }
.about-home-copy .hero-cta { margin-top: 28px; }

/* About me page */
.about { padding: 88px 0 112px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; }
.about h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); margin-bottom: 26px; }
.about p:not(.eyebrow) { max-width: 520px; font-size: 1.1rem; color: var(--slate); }
.about .hero-cta { margin-top: 32px; }

/* Book a Call page */
.book { padding: 88px 0 112px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.book h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); margin-bottom: 26px; }
.book-intro p:not(.eyebrow) { max-width: 440px; font-size: 1.1rem; color: var(--slate); }
.book-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.field label small { font-size: inherit; letter-spacing: inherit; color: var(--slate); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; background: #FBF8F2; color: var(--navy); font: inherit; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid var(--sand); outline-offset: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field-trap { position: absolute; left: -9999px; }
.book-form .btn { justify-self: start; cursor: pointer; font-family: inherit; }
.book-form .btn:disabled { opacity: .6; cursor: default; }
.form-note { margin: 0; font-size: .82rem; color: var(--slate); }
.form-error { margin: 0; padding: 12px 14px; border-left: 3px solid #9B4038; background: var(--cream-deep); font-size: .95rem; }
.book-form[hidden], .form-error[hidden], .form-done[hidden] { display: none; }
.form-done { padding: 32px; background: var(--cream-deep); }
.form-done h2 { margin-bottom: 14px; }
.form-done p { margin: 0; color: var(--slate); }

/* Reviews */
.reviews { padding: 112px 0; }
.reviews h2 { max-width: 660px; }
.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.reviews blockquote { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.reviews blockquote p { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.25; margin-bottom: 16px; }
.reviews blockquote footer { font-size: .84rem; color: var(--slate); }
.review-note { margin: 44px 0 0; font-size: .82rem; color: var(--slate); }

/* Contact details on the Book a Call page */
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 32px; font-weight: 500; }
.contact-links a:first-child { font-family: "Cormorant Garamond", var(--serif); font-weight: 600; font-feature-settings: "lnum"; font-size: clamp(2rem, 3.8vw, 2.8rem); text-decoration: none; line-height: 1.2; }
.contact-links a { overflow-wrap: anywhere; text-underline-offset: 4px; }

/* Footer */
.site-foot { background: var(--cream-deep); padding: 44px 0; font-size: .82rem; color: var(--slate); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand img { height: 64px; width: auto; }
.foot-brand span { display: block; margin-top: 8px; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; }
.foot-text { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.foot-text a { color: var(--navy); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--sand); }

@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .head-row > a:first-child { margin-right: auto; }
  .head-row { gap: 10px; min-height: 0; padding-top: 11px; padding-bottom: 11px; flex-wrap: wrap; }
  .logo { height: 46px; }
  .site-nav { display: none; order: 5; flex-basis: 100%; flex-direction: column; gap: 0; margin: 0; padding-bottom: 10px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-top: 1px solid var(--line); font-size: .78rem; }
  .hero { min-height: 700px; }
  .hero::before { background: linear-gradient(rgba(38,29,22,.3), rgba(38,29,22,0) 130px), rgba(38,29,22,.62); }
  .hero-photo { object-position: 38% 60%; }
  .how, .portal, .reviews { padding: 80px 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .portal-head { grid-template-columns: 1fr; gap: 22px; }
  .about-home { min-height: 520px; padding: 80px 0; }
  .about-home-copy { max-width: 52%; }
  .about { padding: 64px 0 80px; }
  .about-grid { gap: 44px; }
  .book { padding: 64px 0 80px; }
  .book-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .btn-portal { min-height: 44px; font-size: .62rem; letter-spacing: .1em; }
  .logo { height: 42px; }
  .hero { min-height: 640px; }
  .hero-text { padding-top: 106px; padding-bottom: 40px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .facts-row { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; padding-bottom: 32px; }
  .steps { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .about-home {
    align-items: flex-end; min-height: 660px; padding: 280px 0 44px;
    background: linear-gradient(rgba(38,29,22,0) 22%, rgba(38,29,22,.85) 50%), url('assets/about-banner.jpg') right top / auto 100% no-repeat;
  }
  .about-home-copy { max-width: none; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .book-form .btn { justify-self: stretch; }
  .review-list { grid-template-columns: 1fr; gap: 30px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .foot-text { align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
