/* assets/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Playfair+Display:wght@400;600&display=swap');

:root{
  --bg: #f6f0e5;
  --text: #111111;
  --muted: rgba(17,17,17,.66);
  --hairline: rgba(17,17,17,.18);
  --max: 1080px;

  --serif: "Playfair Display", ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.container{
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

@media (max-width: 640px){
  .container{ width: calc(100% - 32px); }
}

/* ---------- Main page layout (Wild Horses) ---------- */
.page{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-left{
  padding-top: clamp(36px, 6vw, 72px);
}

.h1{
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
  margin: 0 0 10px;
}

.sub{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section{
  margin-top: clamp(36px, 5vw, 56px);
}

.kicker{
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.rule{
  height: 1px;
  background: var(--hairline);
  width: min(560px, 100%);
  margin: 0 0 10px;
}

.project-row{
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  column-gap: 14px;
  padding: 14px 0;
}

.project-icon{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #000;
  display: grid;
  place-items: center;
}

.project-title{
  font-weight: 500;
  margin: 0 0 4px;
}

.project-desc{
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.arrow{
  width: 18px;
  height: 18px;
  justify-self: end;
  opacity: .9;
}

.spacer{
  flex: 1;
}

.bottom-left{
  padding: 34px 0 40px;
}

.bottom-left a{
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- Acradabra landing ---------- */
.center-hero{
  padding-top: clamp(40px, 7vw, 110px);
  text-align: center;
}

.h1-center{
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(44px, 7vw, 86px);
  margin: 0 0 10px;
  line-height: 1.02;
}

.tagline{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.store-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset;
}
.store-btn:hover{ text-decoration: none; transform: translateY(-1px); }
.store-btn:active{ transform: translateY(0px); }

.footer-nav{
  padding: 34px 0 40px;
}
.footer-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3.2vw, 28px);
  flex-wrap: wrap;
}
.footer-nav a{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- Legal pages ---------- */
.legal-wrap{
  padding: 34px 0 48px;
}

.legal-title{
  font-family: var(--sans);
  font-weight: 600;
  margin: 0 0 10px;
  font-size: 18px;
}

.legal-meta{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.legal{
  width: min(980px, 100%);
  line-height: 1.55;
  font-size: 13.5px;
  color: rgba(17,17,17,.92);
}

.legal h2{
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.legal p{ margin: 0 0 10px; }
.legal ul{ margin: 8px 0 12px 18px; }
.legal li{ margin: 5px 0; }

.backline{
  margin-top: 18px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(17,17,17,.85);
  font-size: 13px;
}
