/* ============================================================
   Old Master Enterprises — Main Stylesheet
   Modern, professional, mobile-first
   ============================================================ */

/* 1. Design tokens
-----------------------------------------------*/
:root {
  /* Brand */
  --navy-900: #131b2f;
  --navy-800: #18223c;
  --navy-700: #1f2b49;
  --navy-600: #2b3a5e;

  --gold-500: #c9a24b;
  --gold-600: #b08a37;
  --gold-100: #f6eeda;

  --olive-500: #646c40;
  --olive-100: #edefe2;

  /* Neutrals */
  --ink-900: #111827;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --ink-400: #9ca3af;

  --paper: #ffffff;
  --paper-soft: #f5f6f8;
  --paper-warm: #fbfaf6;

  --line: #e6e8ed;
  --line-soft: #eff1f5;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1160px;
  --container-narrow: 840px;

  /* Effects */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 8%);
  --shadow-md: 0 8px 20px -6px rgb(16 24 40 / 12%);
  --shadow-lg: 0 24px 48px -16px rgb(16 24 40 / 24%);
  --shadow-gold: 0 12px 28px -10px rgb(201 162 75 / 55%);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.25s;
}

/* 2. Reset & base
-----------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy-700);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(201 162 75 / 55%);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--gold-500);
  color: var(--navy-900);
}

/* 3. Layout utilities
-----------------------------------------------*/
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--container-narrow), calc(100% - 40px));
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--paper-soft);
}

.section--warm {
  background: var(--paper-warm);
}

.section--navy {
  background: var(--navy-800);
  color: #cbd3e4;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

/* Section headers */
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gold-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-500);
  margin: 0;
}

.section-cta {
  margin-top: 40px;
  text-align: center;
}

/* 4. Buttons
-----------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    background var(--speed) var(--ease), color var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.btn i {
  font-size: 1.12em;
  line-height: 1;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-600);
  box-shadow: 0 16px 32px -12px rgb(176 138 55 / 65%);
}

.btn-navy {
  background: var(--navy-700);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-600);
}

.btn-light {
  background: #fff;
  color: var(--navy-700);
}

.btn-light:hover {
  background: var(--paper-soft);
}

.btn-outline-light {
  border-color: rgb(255 255 255 / 55%);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 12%);
  border-color: #fff;
}

/* 5. Reveal animation
-----------------------------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 6. Navigation
-----------------------------------------------*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgb(255 255 255 / 94%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgb(16 24 40 / 5%);
}

.navbar-container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(var(--container), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.navbar-brand img {
  display: block;
  width: auto;
  max-height: 50px;
}

.navbar-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-700);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-toggler-icon {
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.navbar-toggle:focus-visible + .navbar-toggler {
  outline: 3px solid rgb(201 162 75 / 55%);
  outline-offset: 2px;
}

.navbar-toggle:checked + .navbar-toggler .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggle:checked + .navbar-toggler .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggle:checked + .navbar-toggler .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.navbar-collapse {
  display: none;
  grid-column: 1 / -1;
  padding: 8px 0 20px;
}

.navbar-toggle:checked ~ .navbar-collapse {
  display: block;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink-700);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav-link i {
  color: var(--gold-600);
}

.nav-link:hover,
.nav-link.active {
  background: var(--gold-100);
  color: var(--navy-700);
}

.nav-item--cta {
  margin-top: 10px;
}

@media (min-width: 900px) {
  .navbar-container {
    display: flex;
    justify-content: space-between;
  }

  .navbar-toggler {
    display: none;
  }

  .navbar-collapse,
  .navbar-toggle:checked ~ .navbar-collapse {
    display: block;
    padding: 0;
  }

  .navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .nav-link {
    padding: 10px 14px;
  }

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

/* 7. Hero (home)
-----------------------------------------------*/
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 96px 0;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 8%);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__eyebrow i {
  color: var(--gold-500);
}

.hero__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__tagline {
  margin: 0 0 18px;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
}

.hero__lead {
  max-width: 620px;
  margin: 0 auto 32px;
  color: #d6dce9;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #e5e9f1;
  font-size: 0.95rem;
}

.hero__points i {
  margin-right: 6px;
  color: var(--gold-500);
}

/* 8. Page hero (interior pages)
-----------------------------------------------*/
.page-hero {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -80px 0;
  height: 160px;
  background-image: radial-gradient(rgb(201 162 75 / 16%) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
}

.page-hero__lead {
  max-width: 600px;
  margin: 0 auto;
  color: #c9d1e2;
  font-size: 1.1rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: #9aa6bc;
}

.breadcrumb a {
  color: var(--gold-500);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb i {
  font-size: 0.75rem;
}

/* 9. Split (image + text)
-----------------------------------------------*/
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--navy-700);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.split__badge i {
  color: var(--gold-500);
}

.split__body .section-title {
  margin-bottom: 14px;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .split--reverse .split__media {
    order: 2;
  }
}

/* Check list */
.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-700);
  font-weight: 500;
}

.check-list i {
  margin-top: 3px;
  color: var(--olive-500);
  font-size: 1.1rem;
}

/* 10. Grids
-----------------------------------------------*/
.grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 680px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 11. Cards
-----------------------------------------------*/
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.96rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: none;
}

.card__link i {
  transition: transform var(--speed) var(--ease);
}

.card__link:hover {
  color: var(--gold-600);
}

.card__link:hover i {
  transform: translateX(4px);
}

/* Service / value cards use the card base with centered heading */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Feature (icon + text, centered) */
.feature {
  text-align: center;
  padding: 12px 6px;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--gold-500);
  font-size: 1.6rem;
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* 12. Stats
-----------------------------------------------*/
.stats-band {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #cbd3e4;
}

.stats {
  display: grid;
  gap: 28px;
  text-align: center;
}

.stat__num {
  display: block;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
}

@media (min-width: 680px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 13. CTA band
-----------------------------------------------*/
.cta-band {
  position: relative;
  padding: 88px 0;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.cta-band__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.cta-band h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.cta-band p {
  margin: 0 0 30px;
  color: #c9d1e2;
  font-size: 1.1rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* 14. Area pills
-----------------------------------------------*/
.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-weight: 600;
  color: var(--navy-700);
}

.area-pills i {
  color: var(--gold-600);
}

/* 15. Quote cards (trade school)
-----------------------------------------------*/
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.quote-card__mark {
  color: var(--gold-500);
  font-size: 1.8rem;
}

.quote-card p {
  margin: 0;
  font-style: italic;
  color: var(--ink-700);
}

.quote-card footer {
  margin-top: auto;
  color: var(--ink-500);
  font-size: 0.85rem;
  font-weight: 600;
}

.quote-card cite {
  font-style: normal;
}

/* Stat cards (trade school) */
.stat-card {
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.stat-card__num {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
}

.stat-card p {
  margin: 0;
  color: var(--ink-500);
}

/* Trade table */
.trade-table {
  max-width: 760px;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.trade-table__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 8px;
  padding: 16px 22px;
  align-items: center;
}

.trade-table__row + .trade-table__row {
  border-top: 1px solid var(--line-soft);
}

.trade-table__row:not(.trade-table__head) span:nth-child(2),
.trade-table__row:not(.trade-table__head) span:nth-child(3) {
  font-weight: 600;
  color: var(--navy-700);
  text-align: right;
}

.trade-table__row i {
  margin-right: 8px;
  color: var(--gold-600);
}

.trade-table__head {
  background: var(--navy-700);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trade-table__head span:nth-child(2),
.trade-table__head span:nth-child(3) {
  text-align: right;
}

.trade-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink-500);
}

/* Media cards */
.media-card {
  margin: 0;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery__item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.gallery__item a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.3s var(--ease);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(19 27 47 / 5%) 65%, rgb(19 27 47 / 55%));
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  pointer-events: none;
}

.gallery__item:hover img {
  transform: scale(1.07);
}

.gallery__item:hover::after {
  opacity: 1;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 980px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

/* 16. Contact page
-----------------------------------------------*/
.contact-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.contact-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-700);
  color: var(--gold-500);
  font-size: 1.3rem;
}

.contact-info__card h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.contact-info__card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.95rem;
}

.contact-info__card a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: none;
}

.contact-info__card a:hover {
  color: var(--gold-600);
}

.contact-info__image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.contact-field-full,
.contact-form-status {
  grid-column: 1 / -1;
}

.contact-field label {
  font-weight: 600;
  color: var(--navy-700);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cdd3dd;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-900);
  font: inherit;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--gold-500);
  outline: none;
  box-shadow: 0 0 0 3px rgb(201 162 75 / 18%);
}

.contact-submit {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--navy-700);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.contact-submit:hover {
  background: var(--gold-600);
  color: var(--navy-900);
}

.contact-submit:active {
  transform: translateY(1px);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
  }
}

@media (max-width: 899px) {
  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-field-full,
  .contact-form-status,
  .contact-submit {
    grid-column: auto;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .d-block {
  display: block;
}

.php-email-form .error-message {
  display: none;
  background: #b3261e;
  color: #ffffff;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: var(--olive-500);
  text-align: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--navy-700);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  margin: 0 10px -6px 0;
  border: 3px solid rgb(255 255 255 / 30%);
  border-top-color: #fff;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 17. 404 page
-----------------------------------------------*/
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78vh;
  padding: 88px 0;
  background: radial-gradient(circle at 50% 0%, var(--paper-soft), var(--paper));
}

.error-404__content {
  max-width: 620px;
  text-align: center;
}

.error-404__code {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.error-404 h1 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.error-404 p {
  margin: 0 auto 32px;
  color: var(--ink-500);
  font-size: 1.1rem;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.error-404__actions .btn i {
  transition: transform var(--speed) var(--ease);
}

.error-404__actions .btn:hover i {
  transform: translateX(-4px);
}

/* 18. Footer
-----------------------------------------------*/
.site-footer {
  background: var(--navy-900);
  color: #b9c2d4;
}

.site-footer__main {
  padding: 72px 0 56px;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
}

.site-footer__wordmark {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer__wordmark span {
  color: var(--gold-500);
}

.site-footer__blurb {
  max-width: 300px;
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer__heading {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-footer__links,
.site-footer__contact {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.site-footer__links a {
  color: #b9c2d4;
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

.site-footer__links a:hover {
  color: var(--gold-500);
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__contact i {
  margin-top: 3px;
  color: var(--gold-500);
}

.site-footer__contact a {
  color: #b9c2d4;
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

.site-footer__contact a:hover {
  color: var(--gold-500);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.site-footer__social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.site-footer__bottom {
  padding: 20px 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.85rem;
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.site-footer__bottom a {
  color: #d6dce9;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--gold-500);
}

@media (min-width: 680px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 980px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 48px;
  }
}