/* Wexhill — site styles */

:root {
  --navy: #0c2338;
  --navy-deep: #081827;
  --bronze: #a8834a;
  --bronze-soft: #c9a86a;
  --ink: #23303c;
  --muted: #5d6b78;
  --line: #e3e0da;
  --paper: #faf9f6;
  --white: #ffffff;
  --max-width: 1100px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

.container.narrow {
  max-width: 780px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

/* ---------- Header ---------- */

.site-header {
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.brand-text {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--bronze);
}

.site-nav .nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(168, 131, 74, 0.22), transparent 60%),
    linear-gradient(165deg, #12314d 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #eef3f8;
  padding: 108px 0 116px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bronze-soft);
  margin-bottom: 26px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 5.6vw, 62px);
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.hero-rule {
  width: 64px;
  height: 3px;
  background: var(--bronze);
  border-radius: 2px;
  margin-bottom: 26px;
}

.hero-lead {
  max-width: 600px;
  font-size: 19px;
  font-weight: 400;
  color: #c3d2e0;
  margin-bottom: 42px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 7px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary:hover {
  background: #eae4d8;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: var(--bronze-soft);
  color: var(--bronze-soft);
}

/* ---------- Sections ---------- */

.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  margin-bottom: 26px;
  letter-spacing: -0.005em;
}

.section p + p {
  margin-top: 16px;
}

/* ---------- Services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 18px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 38px 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-soft));
}

.service-card:hover {
  box-shadow: 0 14px 32px rgba(12, 35, 56, 0.09);
  transform: translateY(-2px);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--bronze-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-intro {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  padding: 9px 0 9px 26px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}

.service-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--bronze);
}

/* ---------- Approach ---------- */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 16px;
}

.approach-num {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--bronze);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.approach-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.approach-item p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Contact ---------- */

.section-contact {
  background:
    radial-gradient(900px 420px at 15% 110%, rgba(168, 131, 74, 0.16), transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #dfe8f0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-copy .section-eyebrow {
  color: var(--bronze-soft);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: #c3d2e0;
}

.contact-secondary {
  font-size: 14.5px;
  color: #93a8bb;
}

.contact-address {
  margin-top: 26px;
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.6;
  color: #c3d2e0;
}

.contact-address-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bronze-soft);
  margin-bottom: 8px;
}

.contact-form {
  background: var(--white);
  border-radius: 14px;
  padding: 38px 36px;
  box-shadow: 0 24px 56px rgba(4, 14, 24, 0.35);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 7px;
}

.label-optional {
  font-weight: 400;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(168, 131, 74, 0.18);
}

/* Honeypot — hidden from humans, present for bots */
.form-row-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
}

.btn-submit:hover {
  background: #16385a;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: default;
}

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  min-height: 1.4em;
  color: var(--muted);
}

.form-status.is-success {
  color: #1d7a4f;
}

.form-status.is-error {
  color: #b03a2e;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #8fa3b5;
  padding: 40px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--white);
  margin-bottom: 6px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 72px 0 80px;
  }

  .section {
    padding: 64px 0;
  }

  .contact-form {
    padding: 28px 24px;
  }
}
