/* Alder & Ash — Project Portal landing page
   Refined, editorial, quiet, premium. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Mill Goudy";
  src: url("assets/fonts/MillGoudy-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mill Goudy";
  src: url("assets/fonts/MillGoudy-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Arboria";
  src: url("assets/fonts/Arboria-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Arboria";
  src: url("assets/fonts/Arboria-Book.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Arboria";
  src: url("assets/fonts/Arboria-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roc Grotesk";
  src: url("assets/fonts/RocGrotesk-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roc Grotesk Wide";
  src: url("assets/fonts/RocGrotesk-WideMedium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --forest-900: #2e302b;
  --forest-700: #3c3f37;
  --forest-600: #464941;
  --cream:      #ebe8e1;
  --cream-muted:#b7bcb4;
  --gold:       #b08d57;
  --clay:       #a86f54;
  --clay-dark:  #965f46;

  --font-serif: "Mill Goudy", Georgia, serif;
  --font-sans:  "Arboria", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Roc Grotesk Wide", "Roc Grotesk", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--cream);
  background: var(--forest-700);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Page shell ---------- */
.page {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #43463d 0%, var(--forest-700) 46%, var(--forest-900) 100%);
}

/* ---------- Botanical ornaments ---------- */
.botanical {
  position: absolute;
  pointer-events: none;
  filter: brightness(0) invert(1);
  opacity: 0.055;
  z-index: 0;
}
.botanical--tl {
  top: -70px;
  left: -80px;
  width: clamp(260px, 32vw, 460px);
  transform: rotate(8deg);
}
.botanical--br {
  bottom: -90px;
  right: -70px;
  width: clamp(280px, 34vw, 500px);
  transform: rotate(-6deg) scaleX(-1);
}

/* ---------- Topbar ---------- */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: clamp(28px, 5vw, 48px) 24px 0;
}
.topbar__mark {
  width: 46px;
  height: auto;
  opacity: 0.9;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) 24px;
}
.hero__inner {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.hero__logo {
  display: block;
  width: min(460px, 82%);
  height: auto;
  margin: 0 auto;
}

.rule {
  width: 56px;
  height: 1px;
  margin: clamp(30px, 5vw, 44px) auto;
  background: var(--gold);
  opacity: 0.7;
}

.lead {
  margin: 0 auto;
  max-width: 30em;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.lead-sub {
  margin: clamp(20px, 3vw, 26px) auto 0;
  max-width: 42ch;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--cream-muted);
}

/* ---------- Guidance panel ---------- */
.panel {
  margin: clamp(44px, 7vw, 64px) auto 0;
  max-width: 480px;
  border: 1px solid rgba(235, 232, 225, 0.18);
  background: rgba(235, 232, 225, 0.03);
  backdrop-filter: blur(1px);
}
.panel__row {
  padding: clamp(24px, 4vw, 32px) clamp(24px, 5vw, 40px);
}
.panel__divider {
  height: 1px;
  margin: 0 clamp(24px, 5vw, 40px);
  background: rgba(235, 232, 225, 0.14);
}
.panel__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--cream);
}
.panel__body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream-muted);
}
.contacts {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
/* Inline, understated contact links */
.link {
  color: #cbb184;
  text-decoration: none;
  transition: color 240ms cubic-bezier(0.22,0.61,0.36,1);
}
.link:hover {
  color: var(--gold);
}
.link:focus-visible {
  outline: 3px solid rgba(176, 141, 87, 0.45);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Contact button */
.btn {
  display: inline-block;
  margin: 18px 0 4px;
  padding: 18px 40px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border: none;
  border-radius: 3px;
  background: var(--clay);
  box-shadow: 0 14px 30px -12px rgba(35, 31, 32, 0.55);
  transition: background-color 260ms cubic-bezier(0.22,0.61,0.36,1),
              box-shadow 260ms cubic-bezier(0.22,0.61,0.36,1);
}
.btn:hover {
  background: var(--clay-dark);
  box-shadow: 0 18px 36px -12px rgba(35, 31, 32, 0.6);
}
.btn:focus-visible {
  outline: 3px solid rgba(176, 141, 87, 0.5);
  outline-offset: 4px;
}
.panel__body--call {
  margin-top: 16px;
  font-size: 0.9375rem;
}
/* Serif number, same size as its call/text line */
.callnum {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(28px, 5vw, 44px) 24px clamp(32px, 5vw, 48px);
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(183, 188, 180, 0.72);
}
.footer__note {
  color: rgba(183, 188, 180, 0.55);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
}
.footer__link {
  margin-top: 4px;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: rgba(183, 188, 180, 0.55);
  text-decoration: none;
  transition: color 240ms cubic-bezier(0.22,0.61,0.36,1);
}
.footer__link:hover { color: var(--gold); }
.footer__link:focus-visible {
  outline: 3px solid rgba(176, 141, 87, 0.45);
  outline-offset: 3px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 720ms cubic-bezier(0.22,0.61,0.36,1),
              transform 720ms cubic-bezier(0.22,0.61,0.36,1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 480px) {
  .lead { font-size: 1.3rem; }
}
