/* Areté Apps, static site styles */

@font-face { font-family: "Cinzel"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/cinzel-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/cinzel-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --navy: #1E2A44;
  --navy-deep: #172238;
  --bone: #EDE6D8;
  --paper: #F6F2EA;
  --gold: #C9A45C;      /* on navy */
  --gold-ink: #8A6A2E;  /* on light grounds, passes contrast */
  --ink: #1E2A44;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--bone);
  min-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
}
.hero a:hover { color: var(--gold); }
.hero__top { padding-block: 2rem; display: flex; justify-content: flex-end; gap: 2rem; }
.hero__top a { font-size: 1.05rem; color: var(--bone); }
.hero__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 3rem 6rem; }
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(4.25rem, 15vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}
.wordmark__apps {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  letter-spacing: 0.5em;
  color: var(--gold);
}
.wordmark__apps::before {
  content: "";
  width: 4.5rem;
  height: 2px;
  background: var(--gold);
  transform-origin: left center;
  animation: draw 900ms 750ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hero entrance: letters settle into place one by one, then the rule draws, then the line of text appears */
.wordmark__letters span {
  display: inline-block;
  animation: settle 1100ms calc(var(--i) * 110ms) cubic-bezier(.16,.8,.24,1) both;
}
@keyframes settle {
  from { opacity: 0; transform: translateY(0.28em); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.wordmark__apps { animation: fade-in 800ms 1150ms ease-out both; }
.tagline { animation: fade-in 1000ms 1450ms ease-out both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tagline {
  margin: 3rem 0 0;
  max-width: 22ch;
  font-style: italic;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.2;
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section + .section { border-top: 1px solid rgba(30, 42, 68, 0.12); }
.split {
  display: grid;
  gap: 2rem 4rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 52rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}
h2 {
  margin: 0;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  line-height: 1.12;
}
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.quiet { color: var(--gold-ink); }

.app-name {
  margin: 0;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 1;
}
.status { margin-top: 0.75rem; color: var(--gold-ink); font-style: italic; }

.contact-link {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-style: italic;
}

/* Footer */
.footer { background: var(--navy); color: var(--bone); padding-block: 2.5rem; font-size: 1.05rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 1.75rem; }
.footer a:hover { color: var(--gold); }

/* Legal pages */
.legal-head { background: var(--navy); color: var(--bone); padding-block: 2rem; }
.legal-head a { text-decoration: none; font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; font-size: 1.4rem; }
.legal-head a:hover { color: var(--gold); }
.legal { padding-block: 4rem 6rem; }
.legal h1 { margin: 0 0 2rem; font-weight: 500; font-style: italic; font-size: clamp(2.2rem, 5vw, 3.25rem); line-height: 1.1; }
.legal h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem 2rem; margin: 0; }
@media (min-width: 40rem) { .legal dl { grid-template-columns: 14rem minmax(0, 1fr); } }
.legal dt { color: var(--gold-ink); }
.legal dd { margin: 0 0 0.75rem; }

/* Lining figures so registration, tax and phone numbers read unambiguously */
.legal dd, .contact-link { font-variant-numeric: lining-nums; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
