/* ===================== */
/* VARIABLES             */
/* ===================== */

:root {
  --color-cream: #ead9b7;
  --color-cream-light: #f5ead2;
  --color-cream-dark: #d8c29a;
  --color-brown-900: #2e170c;
  --color-brown-800: #4a2510;
  --color-brown-700: #6b3716;
  --color-brown-600: #8d5524;
  --color-gold-500: #c78a2c;
  --color-gold-400: #d9a94d;
  --color-gold-300: #ebc87d;
  --color-white: #ffffff;
  --color-black: #000000;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-medium: 0 16px 36px rgba(0, 0, 0, 0.24);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --site-width: 1280px;
}

/* ===================== */
/* BASE                  */
/* ===================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--color-brown-900);
  background: linear-gradient(180deg, #f6edd7 0%, #e8d7b1 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  transition: all 0.2s ease;
}

main {
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--site-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--color-cream-light);
  color: var(--color-brown-900);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  white-space: normal;
}

/* ===================== */
/* HERO                  */
/* ===================== */

.hero {
  position: relative;
  min-height: 930px;
  overflow: hidden;
  background: #c98d38;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 244, 216, 0.10) 0%,
      rgba(122, 71, 27, 0.08) 48%,
      rgba(68, 37, 15, 0.22) 78%,
      rgba(35, 18, 9, 0.42) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 4.25rem 1rem 11rem;
  text-align: center;
  color: var(--color-white);
}

.hero h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #2f170d;
  text-shadow:
    0 1px 0 rgba(255, 244, 216, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.08);
}


.tagline {
  margin: 1.2rem 0 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.2;
  font-style: italic;
  color: #4a2611;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.20);
}

.hero-subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #3e210f;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ===================== */
/* NAV (BOTTOM HERO)     */
/* ===================== */

.hero-nav-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2rem;
  z-index: 5;
  padding: 0 1rem;
}

.hero-nav {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0.9rem 1.2rem;
  border-radius: 28px;
  text-align: center;
  background:
    linear-gradient(
      135deg,
      rgba(141, 85, 36, 0.78) 0%,
      rgba(106, 55, 22, 0.84) 45%,
      rgba(63, 31, 12, 0.88) 100%
    );
  border: 1px solid rgba(255, 226, 170, 0.16);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(8px);
}

.hero-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-nav li {
  margin: 0;
}

.hero-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  color: #fff5df;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-nav a:hover,
.hero-nav a:focus-visible,
.hero-nav a.active {
  color: var(--color-white);
  background: linear-gradient(
    180deg,
    rgba(225, 178, 89, 0.34) 0%,
    rgba(140, 81, 31, 0.30) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 225, 167, 0.10);
}

/* ===================== */
/* BUTTONS               */
/* ===================== */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.20);
}

.btn-primary {
  color: #fff8ea;
  background: linear-gradient(180deg, #c78a2c 0%, #7d481c 100%);
  border: 1px solid rgba(94, 47, 16, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24);
  filter: brightness(1.05);
}

.btn-secondary {
  color: #fff8ea;
  background: linear-gradient(180deg, #7f4a20 0%, #4d2812 100%);
  border: 1px solid rgba(255, 214, 143, 0.10);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24);
  filter: brightness(1.05);
}

/* ===================== */
/* PAGE SECTIONS         */
/* ===================== */

.section-shell {
  position: relative;
  padding: 5rem 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.92) 0%, rgba(238, 224, 192, 0.95) 100%);
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left, rgba(199, 138, 44, 0.10) 0%, rgba(199, 138, 44, 0) 30%),
    radial-gradient(circle at right, rgba(199, 138, 44, 0.08) 0%, rgba(199, 138, 44, 0) 26%);
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  color: #4a2510;
}

.section-heading p {
  margin: 1rem auto 0;
  max-width: 900px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #5d3419;
}

/* ===================== */
/* CARD GRID             */
/* ===================== */

.card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 1.4rem 1.2rem 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98) 0%, rgba(231, 211, 173, 0.98) 100%);
  border: 1px solid rgba(131, 86, 34, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.info-card__media {
  position: relative;
  background: linear-gradient(180deg, #cfa86a, #a8743c);
}

.info-card__media::after {
  content: "";
  position: absolute;
  inset: 0;

  background: url('/assets/img/textures/paper-texture.png');
  opacity: 0.15;

  pointer-events: none;
}

.info-card__media img {
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.25));
}

.info-card h3 {
  margin: 0 0 0.85rem;
  font-size: 2rem;
  line-height: 1.05;
  color: #4a2510;
}

.info-card p,
.info-card li {
  color: #5d3419;
  font-size: 1.05rem;
  line-height: 1.65;
}

.info-card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.info-card .btn-primary,
.info-card .btn-secondary {
  margin-top: auto;
  width: 100%;
}

/* ===================== */
/* SPLIT SECTION         */
/* ===================== */

.split-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2rem;
  width: min(100%, 1240px);
  margin: 0 auto;
  align-items: stretch;
}

.split-copy,
.split-cta {
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.split-copy {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.96) 0%, rgba(236, 220, 189, 0.96) 100%);
  border: 1px solid rgba(123, 72, 26, 0.12);
}

.split-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 3.5vw, 3.6rem);
  color: #4a2510;
}

.split-copy p {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  line-height: 1.85;
  color: #5d3419;
}

.split-copy .emphasis-line {
  margin-top: 1.5rem;
  font-style: italic;
  font-weight: 700;
  color: #6e3c19;
}

.split-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: #fff7e8;
  background:
    linear-gradient(180deg, rgba(112, 60, 23, 0.95) 0%, rgba(59, 30, 12, 0.95) 100%);
  border: 1px solid rgba(255, 225, 167, 0.14);
}

.split-cta h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.split-cta p {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  line-height: 1.7;
}

.split-cta .phone-link {
  display: inline-block;
  margin-top: 1rem;
  color: #fff1d1;
  text-decoration: none;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
}

.split-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ===================== */
/* EDUCATION PREVIEW     */
/* ===================== */

.education-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.education-card {
  min-height: 360px;
  padding: 1rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.96) 0%, rgba(236, 220, 189, 0.96) 100%);
  border: 1px solid rgba(123, 72, 26, 0.12);
}

.education-card__media {
  width: 100%;
  aspect-ratio: 5 / 3.2;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.education-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.education-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.9rem;
  color: #4a2510;
}

.education-card p {
  margin: 0 0 1rem;
  color: #5d3419;
  line-height: 1.75;
}

/* ===================== */
/* FOOTER                */
/* ===================== */

.site-footer {
  color: #f9ecd3;
  background:
    linear-gradient(180deg, rgba(78, 39, 18, 0.98) 0%, rgba(44, 21, 10, 1) 100%);
}

.footer-cta {
  padding: 4rem 1rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 221, 163, 0.12);
  border-bottom: 1px solid rgba(255, 221, 163, 0.12);
}

.footer-cta h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.05;
  color: #fff4de;
}

.footer-cta p {
  margin: 1rem auto 0;
  max-width: 900px;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #f0d7a8;
}

.footer-cta h3 {
  margin: 1rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.footer-cta h3 a {
  color: #fff5dd;
  text-decoration: none;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  width: min(calc(100% - 2rem), 1240px);
  margin: 0 auto;
  padding: 3rem 0;
}

.footer-grid h4 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: #fff1d1;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #f0d7a8;
  text-decoration: none;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  padding: 1.4rem 1rem 2.2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 221, 163, 0.10);
}

.footer-bottom p {
  margin: 0.35rem 0;
  color: #f1ddb5;
  line-height: 1.75;
}

/* ===================== */
/* MOBILE                */
/* ===================== */

@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding: 3.5rem 1rem 10rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 9vw, 5rem);
  }

  .tagline {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-nav ul {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 740px;
  }

  .hero-content {
    padding-top: 2.75rem;
    padding-bottom: 9rem;
  }

  .hero-buttons,
  .footer-buttons,
  .split-cta__actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-nav-wrap {
    bottom: 1rem;
  }

  .hero-nav {
    width: min(100%, 96%);
    padding: 0.85rem;
    border-radius: 22px;
  }

  .hero-nav ul {
    gap: 0.4rem;
  }

  .hero-nav a {
    min-height: 46px;
    padding: 0.7rem 0.95rem;
    font-size: 0.85rem;
  }

  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 4rem 0;
  }

  .section-heading p,
  .split-copy p,
  .split-cta p,
  .education-card p,
  .footer-cta p {
    font-size: 1.06rem;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 690px;
  }

  .hero h1 {
    letter-spacing: 0.02em;
  }

  .hero > img {
    object-position: center top;
  }

  .hero-nav a {
    width: 100%;
  }

  .hero-nav ul {
    flex-direction: column;
  }

  .hero-nav__cta {
  background: linear-gradient(180deg, #d3a24d 0%, #8d5524 100%);
  color: #fff8ea !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.hero-nav__cta:hover,
.hero-nav__cta:focus-visible {
  background: linear-gradient(180deg, #e0b15d 0%, #9a602a 100%);
}
}