/* Orandly LLC — site styles */
/* Fonts are self-hosted (SIL Open Font License) so no visitor data is sent to a third-party font service. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --mist: #F1F3EF;
  --paper: #FFFFFF;
  --ink: #1E2B25;
  --ink-soft: #4A5A52;
  --pine: #2F5D4E;
  --lichen: #CCD6CF;
  --ochre: #D9A33A;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;

  --measure: 38rem;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

a { color: var(--pine); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
}
.topbar .mark {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.topbar nav { display: flex; gap: 1.5rem; }
.topbar nav a { color: var(--ink); text-decoration: none; }
.topbar nav a:hover { text-decoration: underline; }

/* Hero: the wordmark on its horizon */
.hero { padding-top: clamp(3rem, 10vw, 7rem); padding-bottom: clamp(3rem, 8vw, 5rem); }
.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  font-size: clamp(4.25rem, 16vw, 12.5rem);
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.horizon {
  display: block;
  height: 4px;
  width: 100%;
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  background: var(--ochre);
  transform-origin: left center;
  animation: draw 1.1s cubic-bezier(.65, 0, .35, 1) .2s both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.lede {
  max-width: var(--measure);
  margin: 0 0 2rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.45;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
}
.button:hover { background: var(--ink); }

/* Sections */
.section {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(var(--lichen), var(--lichen)) center top / calc(100% - 3rem) 1px no-repeat;
}
.section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section p { max-width: var(--measure); margin: 0 0 1rem; }

.pair {
  display: grid;
  gap: 2rem 3.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) {
  .pair { grid-template-columns: 1fr 1fr; }
}
.pair h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}
.pair p { margin: 0; color: var(--ink-soft); }

.commitments {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--measure);
}
.commitments li {
  padding: 1rem 0 1rem 1.75rem;
  border-bottom: 1px solid var(--lichen);
  position: relative;
}
.commitments li:last-child { border-bottom: 0; }
.commitments li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.75rem;
  width: 0.75rem;
  height: 3px;
  background: var(--ochre);
}

.contact-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0;
}
.contact-line a { color: var(--ink); text-decoration-color: var(--ochre); text-decoration-thickness: 3px; }

/* Footer */
.footer {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background: linear-gradient(var(--lichen), var(--lichen)) center top / calc(100% - 3rem) 1px no-repeat;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
.footer nav { display: flex; gap: 1.5rem; }
.footer a { color: var(--ink-soft); }

/* Legal pages */
.legal { padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: 4rem; }
.legal h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.legal .updated { color: var(--ink-soft); margin: 0 0 2.5rem; }
.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.legal p, .legal ul { max-width: var(--measure); }
.legal li { margin-bottom: 0.4rem; }

@media (max-width: 30rem) {
  body { font-size: 1.0625rem; }
  .topbar nav { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .horizon { animation: none; }
}
