:root {
  --bg: #07090d;
  --bg-soft: #0d1220;
  --navy: #10243f;
  --navy-soft: #16304d;
  --cream: #efe5d2;
  --cream-soft: #d8ccb7;
  --gold: #a9824a;
  --gold-soft: #8a6a3b;
  --gold-line: rgba(169, 130, 74, 0.55);
  --text-main: #efe5d2;
  --text-body: #d8ccb7;
  --text-muted: #b9ab93;
  --panel: rgba(7, 9, 13, 0.72);
  --panel-strong: rgba(7, 9, 13, 0.84);
  --border: rgba(169, 130, 74, 0.45);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text-body);
  font-family: "Source Serif 4", Georgia, serif;
  background:
    radial-gradient(circle at 50% 8%, rgba(22, 48, 77, 0.26), transparent 32rem),
    linear-gradient(rgba(7, 9, 13, 0.57), rgba(7, 9, 13, 0.83)),
    url("assets/bg-mobile.png") center / cover fixed no-repeat,
    var(--bg);
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  position: fixed;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.72), transparent 18%, transparent 82%, rgba(7, 9, 13, 0.72)),
    radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.42) 100%);
}

body::after {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(239, 229, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 229, 210, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-height: 100vh;
  padding: 42px 20px 28px;
  place-items: center;
}

.home-card {
  width: min(100%, 520px);
  max-width: calc(100vw - 40px);
  min-width: 0;
  padding: clamp(18px, 5vw, 34px) 0 18px;
  text-align: center;
}

.shield {
  display: block;
  width: clamp(116px, 32vw, 190px);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.42));
}

h1 {
  max-width: 11ch;
  margin: 0 auto;
  color: var(--text-main);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.1rem, 15vw, 5.8rem);
  font-weight: 600;
  line-height: 0.9;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  width: min(100%, 330px);
  margin: 25px auto 21px;
  color: var(--gold);
}

.divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.divider i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.tagline {
  margin: 0;
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 5.8vw, 2rem);
  font-weight: 600;
  line-height: 1.08;
}

.intro {
  max-width: 29rem;
  margin: 17px auto 0;
  color: var(--text-body);
  font-size: clamp(1rem, 3.8vw, 1.12rem);
  line-height: 1.65;
}

blockquote {
  max-width: 32rem;
  margin: 28px auto 0;
  padding: 21px 20px 22px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(16, 36, 63, 0.34), rgba(7, 9, 13, 0.58)),
    var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(239, 229, 210, 0.04);
}

blockquote p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 6vw, 2rem);
  font-weight: 500;
  line-height: 1.16;
}

.motto {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.24rem, 5vw, 1.75rem);
  font-style: italic;
  line-height: 1.2;
}

.link-list {
  display: grid;
  gap: 12px;
  width: min(100%, 390px);
  margin: 32px auto 0;
}

.cta-row {
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  color: var(--cream);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(16, 36, 63, 0.36), rgba(7, 9, 13, 0.58)),
    var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.cta-row svg {
  width: 23px;
  height: 23px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.cta-row .chevron {
  width: 19px;
  height: 19px;
  justify-self: end;
  color: var(--gold-soft);
  transition: transform 180ms ease, color 180ms ease;
}

.cta-row:hover {
  color: var(--text-main);
  border-color: rgba(169, 130, 74, 0.84);
  background-color: rgba(16, 36, 63, 0.46);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.cta-row:hover .chevron {
  color: var(--gold);
  transform: translateX(3px);
}

.cta-row:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

.contact-card-page {
  background:
    radial-gradient(circle at 50% 8%, rgba(22, 48, 77, 0.27), transparent 32rem),
    linear-gradient(rgba(7, 9, 13, 0.56), rgba(7, 9, 13, 0.84)),
    url("assets/bg-mobile.png") center / cover fixed no-repeat,
    var(--bg);
}

.card-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-height: 100vh;
  padding: 34px 16px 26px;
  place-items: center;
}

.contact-card {
  width: min(100% - 32px, 560px);
  min-width: 0;
  padding: clamp(18px, 5vw, 34px) 0 18px;
  text-align: center;
}

.card-shield {
  display: block;
  width: clamp(104px, 29vw, 164px);
  height: auto;
  margin: 0 auto 19px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.44));
}

.card-divider {
  margin-top: 22px;
  margin-bottom: 18px;
}

.location {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: clamp(0.96rem, 3.5vw, 1.08rem);
  line-height: 1.4;
}

.website-line {
  margin: 8px 0 0;
  color: rgba(216, 204, 183, 0.8);
  font-size: 0.92rem;
  line-height: 1.35;
}

.website-line a {
  text-decoration-color: rgba(169, 130, 74, 0.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.website-line a:hover {
  color: var(--cream);
  text-decoration-color: var(--gold);
}

.website-line a:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

.contact-actions {
  display: grid;
  gap: 12px;
  width: min(100%, 430px);
  margin: 30px auto 0;
}

.contact-action {
  display: grid;
  grid-template-columns: 25px 1fr 20px;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 10px 18px;
  color: var(--cream);
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(16, 36, 63, 0.38), rgba(7, 9, 13, 0.64)),
    var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-action svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-action strong,
.contact-action small {
  display: block;
}

.contact-action strong {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
}

.contact-action small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-action .chevron {
  width: 19px;
  height: 19px;
  justify-self: end;
  color: var(--gold-soft);
  transition: transform 180ms ease, color 180ms ease;
}

.contact-action:hover {
  color: var(--text-main);
  border-color: rgba(169, 130, 74, 0.84);
  background-color: rgba(16, 36, 63, 0.48);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.contact-action:hover .chevron {
  color: var(--gold);
  transform: translateX(3px);
}

.contact-action:focus-visible,
.back-home:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

.back-home {
  display: inline-block;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  text-decoration-color: rgba(169, 130, 74, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.back-home:hover {
  color: var(--cream);
  text-decoration-color: var(--gold);
}

footer {
  margin-top: 29px;
  color: rgba(169, 130, 74, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.035em;
}

@media (min-width: 720px) {
  body {
    background:
      radial-gradient(circle at 50% 10%, rgba(22, 48, 77, 0.22), transparent 34rem),
      linear-gradient(rgba(7, 9, 13, 0.52), rgba(7, 9, 13, 0.8)),
      url("assets/bg-desktop.png") center / cover fixed no-repeat,
      var(--bg);
  }

  .contact-card-page {
    background:
      radial-gradient(circle at 50% 10%, rgba(22, 48, 77, 0.22), transparent 34rem),
      linear-gradient(rgba(7, 9, 13, 0.52), rgba(7, 9, 13, 0.82)),
      url("assets/bg-desktop.png") center / cover fixed no-repeat,
      var(--bg);
  }

  .page-shell {
    padding: 54px 28px 38px;
  }

  .card-shell {
    padding: 50px 28px 38px;
  }
}

@media (max-width: 380px) {
  .home-card {
    max-width: calc(100vw - 30px);
  }

  .cta-row {
    grid-template-columns: 22px 1fr 18px;
    gap: 11px;
    padding: 0 14px;
  }

  .contact-card {
    width: min(100% - 24px, 560px);
  }

  .contact-action {
    grid-template-columns: 22px 1fr 18px;
    gap: 11px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
