/* =========================================================
   THE LANGFORD STANDARD — stylesheet
   Palette:  chamomile cream #F7F2E1 · deep forest green #2E4635 · charcoal #2B2B29
             muted sage #8FA089 · warm taupe #A6907A · dusky lavender #9C8CA8
   Type:     Playfair Display (display) / Lato (body)
========================================================= */

:root {
  --linen: #F7F2E1;
  --linen-deep: #EFE6CE;
  --teal: #2E4635;
  --charcoal: #2B2B29;
  --sage: #8FA089;
  --sage-soft: #E4E9DF;
  --gold: #A6907A;
  --gold-soft: #D9CBB8;
  --lavender: #9C8CA8;
  --cream-white: #FBF8F0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1140px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

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

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 14px;
}

.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--teal);
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.section-title.center { text-align: center; }

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--cream-white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--teal);
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 225, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(46, 70, 53, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--teal);
  border: 1px solid var(--gold);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.brand-mark.small {
  margin: 0 auto 12px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--lavender);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border: 1px solid var(--teal);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--teal);
  color: var(--cream-white);
}

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ================= HERO ================= */

.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--linen) 0%, var(--linen-deep) 100%);
}

.hero-field {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  opacity: 0.5;
}

.hedgerow path {
  fill: var(--sage-soft);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  color: var(--teal);
  margin: 0 0 22px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gold);
  margin: 0 0 24px;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--charcoal);
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0.85;
}

/* ================= SERVICES ================= */

.services {
  padding: 110px 0;
  background: var(--cream-white);
}

.services .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
}

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

.service-card {
  padding: 44px 32px;
  background: var(--linen);
  border: 1px solid rgba(46, 70, 53, 0.08);
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -28px rgba(46, 70, 53, 0.35);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.28rem;
  color: var(--teal);
  margin: 0 0 16px;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.96rem;
  margin: 0 0 22px;
  opacity: 0.88;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(46, 70, 53, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: var(--teal);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--lavender);
}

/* ================= ABOUT ================= */

.about {
  padding: 110px 0;
  background: var(--sage-soft);
}

.about-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}

.portrait-frame {
  position: relative;
  border: 1px solid var(--teal);
  padding: 14px;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.15) contrast(1.02);
}

.about-copy p {
  font-size: 1rem;
  margin: 0 0 20px;
  color: var(--charcoal);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(46, 70, 53, 0.18);
}

.credential {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  opacity: 0.85;
}

.credential span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ================= CONTACT ================= */

.contact {
  padding: 110px 0 100px;
  background: var(--teal);
  color: var(--cream-white);
}

.contact .eyebrow { color: var(--gold-soft); }

.contact .section-title { color: var(--cream-white); }

.contact-inner { max-width: 680px; }

.contact-sub {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 50px;
  opacity: 0.82;
  font-size: 0.98rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(251, 249, 244, 0.06);
  border: 1px solid rgba(251, 249, 244, 0.3);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--cream-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
}

.form-field select option {
  color: var(--charcoal);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(251, 249, 244, 0.5);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(251, 249, 244, 0.1);
}

.contact-form .btn-primary {
  align-self: center;
  margin-top: 12px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal);
}

.contact-form .btn-primary:hover {
  background: transparent;
  color: var(--cream-white);
  border-color: var(--cream-white);
}

.confidentiality-note {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
  margin: 6px 0 0;
  font-style: italic;
}

/* ================= FOOTER ================= */

.site-footer {
  background: var(--charcoal);
  color: rgba(251, 249, 244, 0.7);
  padding: 48px 0;
  text-align: center;
}

.footer-inner p {
  margin: 4px 0;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.footer-copy {
  opacity: 0.6;
  font-size: 0.76rem !important;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portrait-frame {
    width: 180px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .wrap { padding: 0 22px; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--linen);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -12px 0 30px -20px rgba(0,0,0,0.3);
  }

  .nav-toggle:checked ~ .site-nav {
    transform: translateX(0);
  }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    cursor: pointer;
    z-index: 200;
  }

  .nav-burger span {
    height: 1px;
    background: var(--teal);
    display: block;
  }

  .hero { padding: 90px 0 70px; }

  .services, .about, .contact {
    padding: 80px 0;
  }

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

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

@media (max-width: 480px) {
  .brand-name { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
