/* ============================================================
   wandahalpert.net — Domain For Sale Landing Page
   Light theme: warm cream bg, dark charcoal text, forest green accent
   ============================================================ */

:root {
  --cream:       #FAF6F1;
  --cream-mid:   #F2EBE1;
  --cream-dark:  #E8DDD0;
  --charcoal:    #1A1A1A;
  --charcoal-60: rgba(26,26,26,0.60);
  --charcoal-30: rgba(26,26,26,0.30);
  --green:       #2D5A3D;
  --green-light: #3D7A54;
  --green-pale:  #EAF2EC;
  --white:       #FFFFFF;

  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius: 10px;
  --max-w:  1140px;
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---- Top bar ---- */
.bar {
  background: var(--green);
  color: var(--white);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
}
.bar a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav--scrolled {
  background: rgba(250,246,241,0.96);
  box-shadow: 0 1px 0 var(--charcoal-30);
  backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__cta {
  background: var(--green);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition);
}
.nav__cta:hover { background: var(--green-light); }

/* ---- Hero ---- */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__tld {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.hero__h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero__h1 em {
  font-style: italic;
  color: var(--green);
}
.hero__sub {
  font-size: 1.0625rem;
  color: var(--charcoal-60);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(45,90,61,0.25);
}
.btn--primary:hover {
  background: var(--green-light);
  box-shadow: 0 4px 16px rgba(45,90,61,0.3);
}
.btn--ghost {
  border: 1.5px solid var(--charcoal-30);
  color: var(--charcoal);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
}
.hero__image { position: relative; }
.hero__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  box-shadow: 0 8px 40px rgba(26,26,26,0.12);
}
.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__img-tag {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(26,26,26,0.1);
  font-size: 0.8125rem;
}
.hero__img-tag strong { display: block; color: var(--green); font-weight: 700; }

/* ---- Section commons ---- */
section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.0625rem;
  color: var(--charcoal-60);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

/* ---- Value section ---- */
.value { background: var(--white); border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark); }
.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value__card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--cream-dark);
}
.value__icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}
.value__card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.value__card p {
  font-size: 0.9375rem;
  color: var(--charcoal-60);
  line-height: 1.65;
}

/* ---- Who section ---- */
.who__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.who__item {
  border-left: 3px solid var(--green);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.who__item h3 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.who__item p {
  font-size: 0.9rem;
  color: var(--charcoal-60);
  line-height: 1.6;
}

/* ---- Acquire section ---- */
.acquire { background: var(--green); color: var(--white); }
.acquire .section-label { color: rgba(255,255,255,0.6); }
.acquire .section-h2 { color: var(--white); }
.acquire .section-lead { color: rgba(255,255,255,0.75); }
.acquire__form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 2.5rem;
  max-width: 620px;
}
.form__row { margin-bottom: 1.25rem; }
.form__row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.4rem;
}
.form__row input,
.form__row textarea {
  width: 100%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 7px;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form__row input::placeholder,
.form__row textarea::placeholder { color: rgba(255,255,255,0.4); }
.form__row input:focus,
.form__row textarea:focus { border-color: rgba(255,255,255,0.6); }
.form__row textarea { resize: vertical; min-height: 110px; }
.acquire__submit {
  background: var(--white);
  color: var(--green);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity var(--transition);
}
.acquire__submit:hover { opacity: 0.9; }
.acquire__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

/* ---- FAQ ---- */
.faq { background: var(--cream-mid); border-top: 1px solid var(--cream-dark); }
.faq__list { max-width: 720px; margin-top: 2rem; }
.faq__item { border-bottom: 1px solid var(--cream-dark); padding: 1.5rem 0; }
.faq__item:first-child { border-top: 1px solid var(--cream-dark); }
.faq__q {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.faq__a { font-size: 0.9375rem; color: var(--charcoal-60); line-height: 1.7; }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--cream-dark); padding: 1.75rem 2rem; text-align: center; }
.foot__small { font-size: 0.8125rem; color: var(--charcoal-60); }
.foot__small a { color: var(--green); text-decoration: none; }
.foot__small a:hover { text-decoration: underline; }

/* ---- 960px ---- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 3.5rem; }
  .hero__image { order: -1; }
  .hero__img-wrap { aspect-ratio: 16/9; max-height: 340px; }
  .hero__img-tag { bottom: -1rem; left: 1rem; }
  .value__grid { grid-template-columns: 1fr 1fr; }
  .who__list { grid-template-columns: 1fr 1fr; }
}

/* ---- 600px ---- */
@media (max-width: 600px) {
  .hero { padding: 2.5rem 1.25rem 3rem; gap: 2rem; }
  section { padding: 3.5rem 1.25rem; }
  .nav__inner { padding: 0 1.25rem; }
  .value__grid { grid-template-columns: 1fr; }
  .who__list { grid-template-columns: 1fr; }
  .acquire__form { padding: 1.75rem 1.25rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; text-align: center; }
}

/* --- Mobile overflow hardening --- */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  overscroll-behavior-x: none;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

main,
section,
header,
footer,
nav,
form,
fieldset,
[class*="__inner"],
[class*="__grid"],
[class*="__row"],
[class*="__cols"],
[class*="__card"],
[class*="__item"] {
  min-width: 0;
}

input,
textarea,
select,
button {
  max-width: 100%;
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
span {
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .btn,
  .btn-primary,
  .btn-ghost,
  [class*="btn"],
  [class*="button"] {
    max-width: 100%;
    white-space: normal;
  }
}

/* Skip navigation */
.skip-link { position: absolute; top: -100%; left: 1rem; background: #000; color: #fff; padding: .5rem 1rem; z-index: 9999; font-size: .875rem; font-weight: 600; border-radius: 0 0 4px 4px; text-decoration: none; }
.skip-link:focus { top: 0; }
