/* ============================================================
   Axford Auctions — site stylesheet
   ============================================================ */

:root {
  --navy-darkest: #081a30;
  --navy-dark: #0c2647;
  --navy: #123a6b;
  --blue: #1f6fb2;
  --blue-light: #eaf2fa;
  --gold: #c9a227;
  --gold-dark: #a9840f;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --text: #1c2530;
  --text-muted: #5b6774;
  --border: #dfe4ea;
  --shadow: 0 10px 30px rgba(8, 26, 48, 0.12);
  --radius: 10px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", "Georgia", serif;
  color: var(--navy-darkest);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
  text-decoration: none;
}

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

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

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-navy {
  background: linear-gradient(160deg, var(--navy-darkest), var(--navy));
  color: #dbe6f2;
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-navy .eyebrow {
  color: var(--gold);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-head p {
  color: var(--text-muted);
}

.section-navy .section-head p {
  color: #b9cbe0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-darkest);
}

.btn-gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.btn-navy:hover {
  background: var(--navy-darkest);
  box-shadow: 0 8px 20px rgba(12, 38, 71, 0.35);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.brand img {
  height: 46px;
  width: auto;
  border-radius: 6px;
}

.brand-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-darkest);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-darkest);
  background: var(--blue-light);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy-darkest);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-cta {
    margin: 10px 0 0;
  }
}

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

.hero {
  position: relative;
  color: var(--white);
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 15%;
  background-color: var(--navy-darkest);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 48, 0.75), rgba(8, 26, 48, 0.9));
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
  width: 100%;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 720px;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 560px;
  color: #dbe6f2;
}

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

.page-hero {
  background: linear-gradient(160deg, var(--navy-darkest), var(--navy));
  color: var(--white);
  padding: 64px 0;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: #b9cbe0;
  max-width: 620px;
}

/* ---------- Bio / About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-row .stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--navy-darkest);
  font-weight: 700;
}

.stat-row .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---------- Video ---------- */

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-darkest);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-cta {
  text-align: center;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Cards / grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(8, 26, 48, 0.05);
}

.card h3 {
  font-size: 1.15rem;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ---------- Notice / fee banner ---------- */

.notice {
  border: 1px solid #e8d28a;
  background: #fdf7e4;
  color: #6b5100;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.notice strong {
  color: #4a3800;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

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

  .form-card {
    padding: 26px;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy-darkest);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.15);
}

.field {
  margin-bottom: 18px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
}

.checkbox-field label {
  font-weight: 500;
  margin: 0;
  color: var(--text);
}

.form-foot-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
}

.team-photo-link {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--off-white);
}

.team-photo-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.team-photo-link:hover img {
  transform: scale(1.03);
}

.team-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(8, 26, 48, 0.88), rgba(8, 26, 48, 0));
  color: var(--white);
  padding: 40px 16px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.team-photo-link:hover .team-photo-overlay {
  opacity: 1;
}

.team-card h3 {
  margin-top: 20px;
  margin-bottom: 2px;
}

.team-role {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-contact {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.team-contact a {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Resources ---------- */

.doc-list {
  display: grid;
  gap: 16px;
}

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.doc-row:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex: none;
}

.doc-title {
  font-weight: 700;
  color: var(--navy-darkest);
  margin-bottom: 2px;
}

.doc-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.doc-download {
  flex: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.doc-download:hover {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 600px) {
  .doc-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-download {
    align-self: stretch;
    text-align: center;
  }
}

/* ---------- Video list ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.video-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.video-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.video-card .play-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card-title {
  font-weight: 700;
  color: var(--navy-darkest);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.video-card a.watch-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

.video-card a.watch-link:hover {
  color: var(--navy-darkest);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

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

.contact-info .card {
  margin-bottom: 20px;
}

.contact-info .icon {
  margin-bottom: 10px;
}

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

.site-footer {
  background: var(--navy-darkest);
  color: #b9cbe0;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

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

.footer-grid h4 {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid a {
  color: #b9cbe0;
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 40px;
  border-radius: 6px;
}

.footer-brand span {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #e6f6ec;
  color: #16653a;
  border: 1px solid #b6e6c8;
}

.form-status.error {
  background: #fdeaea;
  color: #9c2222;
  border: 1px solid #f3c1c1;
}
