/* Shared shell for the company pages (about / apps / traditions / contact).
   Palette and type match the landing page (public/index.html): ivory canvas
   washed with the logo's amber, teal and coral; deep-navy ink; Fraunces for
   headings, Inter for body. */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #232a52;
  --text: rgba(35,42,82,0.86);
  --text-2: rgba(35,42,82,0.72);
  --muted: rgba(35,42,82,0.58);
  --line: rgba(35,42,82,0.16);
  --card: rgba(255,255,255,0.58);
  --coral: #e8604f;
  --teal: #3a8894;
  --amber: #ee9442;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  background:
    radial-gradient(1100px 720px at 88% -14%, rgba(238,148,66,0.30), transparent 62%),
    radial-gradient(950px 700px at -12% 14%, rgba(58,136,148,0.22), transparent 58%),
    radial-gradient(900px 620px at 76% 116%, rgba(233,99,80,0.20), transparent 62%),
    linear-gradient(180deg, #fdf8f0 0%, #f6eadd 52%, #f0ddd0 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a { color: var(--ink); }
strong { font-weight: 500; color: var(--ink); }

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 1.1rem 2rem 0.6rem;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 550;
  font-size: 1.05rem;
  letter-spacing: 0.005em;
}

.site-nav .brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.site-nav ul a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav ul a:hover { background: rgba(255,255,255,0.6); color: var(--ink); }
.site-nav ul a[aria-current="page"] {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ---------- Page body ---------- */
main.page {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.page-hero {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-bottom: 3rem;
}

/* Page-header icon: a simple line drawing of what the page is about, in a soft
   disc. The brand mark already sits in the nav, so the header doesn't repeat it. */
.page-icon {
  width: 132px;
  height: 132px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(35,42,82,0.06);
}
.page-icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.7rem;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

h1 { font-size: clamp(2rem, 4.2vw, 2.8rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.8rem 0 0.9rem; }
h3 { font-size: 1.12rem; margin: 0 0 0.35rem; }

.lede { font-size: 1.12rem; line-height: 1.65; color: var(--text); max-width: 60ch; }

p { margin-bottom: 1rem; max-width: 68ch; }
ul.plain { list-style: none; }
ul.bullets { padding-left: 1.2rem; margin-bottom: 1rem; }
ul.bullets li { margin-bottom: 0.45rem; }

.prose { font-size: 1rem; }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
  margin: 1.2rem 0 1.6rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.35rem 1.2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(35,42,82,0.06);
}

.card p { font-size: 0.92rem; margin-bottom: 0.4rem; }
.card .count {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.5rem;
}

.card.figure {
  padding: 0;
  overflow: hidden;
}
.card.figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.card.figure .body { padding: 1.05rem 1.25rem 1.15rem; }

/* Two-column feature (photo + text) */
.split.contact-split { grid-template-columns: 1.5fr 1fr; }
.split {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.6fr;
  gap: 2.4rem;
  align-items: start;
  margin: 1.5rem 0;
}

.split img.portrait {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(35,42,82,0.22), 0 6px 16px rgba(35,42,82,0.12);
  border: 1px solid rgba(255,255,255,0.6);
}

figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.7rem;
  text-align: center;
}

/* Statistic strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 0.6rem;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.stat b {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.1;
}
.stat span { font-size: 0.8rem; color: var(--text-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem;
  border-radius: 13px;
  border: 1px solid rgba(35,42,82,0.3);
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: rgba(255,255,255,0.9); border-color: rgba(35,42,82,0.55); }
.btn.primary { background: #14162b; color: #fff; border-color: #14162b; box-shadow: 0 10px 26px rgba(35,42,82,0.22); }
.btn.primary:hover { background: #232a52; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  color: var(--text-2);
  margin-left: 0.5rem;
  vertical-align: middle;
}
.badge.live { border-color: rgba(58,136,148,0.5); color: var(--teal); }
.badge.soon { border-color: rgba(232,96,79,0.5); color: var(--coral); }

/* Forms */
form.contact { max-width: 620px; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 0.35rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(35,42,82,0.25);
  background: rgba(255,255,255,0.7);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(35,42,82,0.12);
}
.field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status { margin-top: 1rem; font-size: 0.95rem; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--coral); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  text-align: center;
  padding: 1.4rem 2rem 1.7rem;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
footer.site-footer a {
  color: rgba(35,42,82,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(35,42,82,0.25);
  padding-bottom: 1px;
}
footer.site-footer a:hover { color: var(--ink); border-color: rgba(35,42,82,0.6); }
footer.site-footer .sep { margin: 0 0.55rem; opacity: 0.5; }
footer.site-footer .links { margin-top: 0.4rem; }

@media (max-width: 760px) {
  .site-nav { padding: 0.9rem 1rem 0.3rem; flex-wrap: nowrap; }
  .site-nav .brand { font-size: 0; gap: 0; }   /* mark only; the wordmark would force a second row */
  .site-nav .brand img { width: 40px; height: 40px; }
  .site-nav ul { gap: 0; flex-wrap: nowrap; white-space: nowrap; }
  .site-nav ul a { padding: 0.38rem 0.5rem; font-size: 0.78rem; }
  main.page { padding: 1.8rem 1.2rem 3rem; }
  .page-hero { flex-direction: column; align-items: flex-start; gap: 1.4rem; margin-bottom: 2.2rem; }
  .page-icon { width: 96px; height: 96px; }
  .page-icon svg { width: 44px; height: 44px; }
  h1 { font-size: 1.85rem; }
  .lede { font-size: 1.02rem; }
  .split, .split.contact-split { grid-template-columns: 1fr; gap: 1.6rem; }
  .split img.portrait { max-width: 420px; }
}
