:root {
  --ivory: #fbfcf9;
  --forest: #06492e;
  --forest-deep: #03351f;
  --green-soft: #4f765f;
  --gold: #c79222;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--ivory);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--forest-deep);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.site-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 14%, rgba(199, 146, 34, 0.09), transparent 26rem),
    radial-gradient(circle at 90% 82%, rgba(6, 73, 46, 0.08), transparent 31rem),
    linear-gradient(135deg, #fff 0%, #fbfcf9 52%, #f5f8f4 100%);
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.27;
  background-image: radial-gradient(rgba(6, 73, 46, 0.16) 0.65px, transparent 0.65px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 76%, transparent);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: min(38vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(199, 146, 34, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(199, 146, 34, 0.08);
}

.ambient-one { top: -16rem; left: -13rem; }
.ambient-one::after { right: 13%; bottom: 17%; }

.ambient-two {
  right: -17rem;
  bottom: -17rem;
  border-color: rgba(6, 73, 46, 0.16);
}

.ambient-two::after {
  top: 11%;
  left: 18%;
  background: var(--forest);
  box-shadow: 0 0 0 7px rgba(6, 73, 46, 0.07);
}

.hero {
  display: flex;
  width: min(100% - 2rem, 72rem);
  margin: auto;
  padding: clamp(2rem, 6vh, 4.75rem) 0 clamp(2.5rem, 5vh, 4rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-mark {
  position: relative;
  width: min(47rem, 86vw);
  aspect-ratio: 3 / 1;
  overflow: hidden;
  animation: reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  mix-blend-mode: multiply;
}

.signal {
  display: flex;
  width: min(21rem, 63vw);
  margin: clamp(0.6rem, 1.8vh, 1.25rem) 0 clamp(1.6rem, 3vh, 2.5rem);
  align-items: center;
  gap: 0.85rem;
  animation: fade-up 0.7s 0.25s ease-out both;
}

.signal span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(199, 146, 34, 0.74));
}

.signal span:last-child {
  background: linear-gradient(90deg, rgba(199, 146, 34, 0.74), transparent);
}

.signal i {
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 146, 34, 0.1);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1.1rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--green-soft);
  font-size: clamp(0.69rem, 1.3vw, 0.79rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  animation: fade-up 0.7s 0.33s ease-out both;
}

.eyebrow-dot {
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.6s ease-in-out infinite;
}

h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--forest-deep);
  font-size: clamp(2.65rem, 6.3vw, 5.8rem);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
  animation: fade-up 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 span {
  color: var(--gold);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.signoff {
  margin: clamp(0.9rem, 2vh, 1.45rem) 0 0;
  color: var(--green-soft);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: italic;
  animation: fade-up 0.8s 0.48s ease-out both;
}

.primary-link {
  display: inline-flex;
  min-height: 3.65rem;
  margin-top: clamp(1.65rem, 3.2vh, 2.5rem);
  padding: 0.85rem 1rem 0.85rem 1.5rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(6, 73, 46, 0.19);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.79);
  box-shadow: 0 10px 35px rgba(3, 53, 31, 0.08);
  color: var(--forest);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  animation: fade-up 0.8s 0.56s ease-out both;
}

.primary-link svg {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--forest);
  stroke: #fff;
  stroke-width: 1.8;
  fill: none;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-link:hover {
  border-color: var(--forest);
  background: var(--forest);
  box-shadow: 0 14px 38px rgba(3, 53, 31, 0.16);
  color: #fff;
  transform: translateY(-2px);
}

.primary-link:hover svg { background: var(--gold); transform: rotate(4deg); }

.primary-link:focus-visible {
  outline: 3px solid rgba(199, 146, 34, 0.5);
  outline-offset: 4px;
}

footer {
  display: flex;
  width: min(100% - 2rem, 40rem);
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  align-items: center;
  gap: 1rem;
  color: rgba(6, 73, 46, 0.56);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: fade-up 0.8s 0.72s ease-out both;
}

footer p { margin: 0; white-space: nowrap; }

.footer-line {
  height: 1px;
  flex: 1;
  background: rgba(6, 73, 46, 0.14);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199, 146, 34, 0); }
  45% { box-shadow: 0 0 0 7px rgba(199, 146, 34, 0.12); }
}

@media (max-width: 600px) {
  .site-shell::before { opacity: 0.18; }
  .hero { width: min(100% - 1.5rem, 34rem); padding-top: 2rem; }
  .brand-mark { width: min(95vw, 32rem); }
  .eyebrow { max-width: 22rem; justify-content: center; letter-spacing: 0.14em; }
  h1 { max-width: 10ch; }
  .primary-link { min-height: 3.45rem; max-width: 100%; padding-left: 1.2rem; font-size: 0.84rem; }
  footer { width: min(100% - 2rem, 28rem); padding-bottom: 1.25rem; gap: 0.75rem; font-size: 0.59rem; letter-spacing: 0.1em; }
  .ambient-one { top: -5rem; left: -8rem; }
  .ambient-two { right: -7rem; bottom: -6rem; }
}

@media (max-height: 720px) and (min-width: 601px) {
  .hero { padding-top: 1.4rem; padding-bottom: 1.5rem; }
  .brand-mark { width: min(38rem, 76vw); }
  .signal { margin-top: 0.25rem; margin-bottom: 1.35rem; }
  h1 { font-size: clamp(2.7rem, 5.2vw, 4.35rem); }
  .primary-link { margin-top: 1.4rem; }
}

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