/* Cliphor, Inc. - shared design system
   One stylesheet for the whole house: parent, Talent, Studio, Publishing, Technologies.
   Palette and typography carried from the live cliphor.com and refined. */

:root {
  --ink: #1d1720;
  --ink-soft: #453a4d;
  --paper: #faf7f2;
  --paper-alt: #f1e9df;
  --accent: #7a1f3d;
  --accent-deep: #57152c;
  --accent-bright: #8f2c4e;
  --gold: #b98a2f;
  --gold-deep: #7d5a12;
  --gold-pale: #f0dcc8;
  --line: #ddd2c2;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(29, 23, 32, 0.10);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility helpers */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 18px;
  z-index: 50;
  text-decoration: none;
}

.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Header */

.site-header {
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.wordmark {
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.wordmark-name {
  font-size: 26px;
  letter-spacing: 4px;
  font-weight: bold;
}

.wordmark-sub {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: bold;
}

.site-nav { display: flex; align-items: center; }

.site-nav a {
  color: #e9e2d6;
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover, .site-nav a:focus { color: var(--gold); }

.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero */

.hero {
  background: linear-gradient(155deg, var(--accent-deep), var(--accent) 55%, var(--accent-bright));
  color: #ffffff;
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "C";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-54%);
  font-size: 460px;
  line-height: 1;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--gold-deep);
  margin: 0 0 14px;
  font-weight: bold;
}

.hero .eyebrow { color: var(--gold); }

.hero-rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0 0 26px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 780px;
}

.hero-lead {
  font-size: 22px;
  max-width: 720px;
  margin: 0 0 16px;
}

.hero-note { font-size: 17px; color: var(--gold-pale); margin: 0 0 34px; max-width: 720px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  border: 1px solid #ffffff;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button-solid { background: #ffffff; color: var(--accent-deep); font-weight: bold; }
.button-solid:hover, .button-solid:focus { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--accent-deep); }

.button-outline { color: #ffffff; background: transparent; }
.button-outline:hover, .button-outline:focus { border-color: var(--gold); color: var(--gold); }

.button-plum {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #ffffff;
  font-weight: bold;
}
.button-plum:hover, .button-plum:focus { background: var(--accent); border-color: var(--accent); color: #ffffff; }

/* Sections */

.section { padding: 76px 0; }
.section-alt { background: var(--paper-alt); }

.section h2 { font-size: 37px; line-height: 1.2; margin: 0 0 18px; }

.section-lead { font-size: 19px; color: var(--ink-soft); max-width: 780px; margin: 0 0 28px; }

.section p { max-width: 780px; }

.plain-note { margin-top: 26px; color: var(--ink-soft); font-size: 17px; max-width: 780px; }

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.card-grid-two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.card h3 { margin: 0 0 10px; font-size: 21px; color: var(--accent-deep); }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Division cards on the parent page */

.division-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.division-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.division-card:hover, .division-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.division-index {
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--gold-deep);
  font-weight: bold;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.division-card h3 { margin: 0 0 12px; font-size: 26px; color: var(--accent-deep); }
.division-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 16.5px; }

.division-link {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
}

.division-link:hover, .division-link:focus { color: var(--accent-deep); }

/* Numbered steps (the app stages, the picture gates) */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px 24px 76px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 20px;
  font-size: 30px;
  font-weight: bold;
  color: var(--accent);
  line-height: 1;
}

.steps h3 { margin: 0 0 8px; font-size: 19px; color: var(--accent-deep); }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Status pill (division pages that stand in development) */

.division-status {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: bold;
  color: var(--accent-deep);
  background: var(--paper-alt);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 0 20px;
}

.section-alt .division-status { background: var(--card); }

/* Facts */

.facts {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 38px;
  max-width: 840px;
}

.facts h3 { margin: 0 0 16px; font-size: 22px; color: var(--accent-deep); }

.facts dl { margin: 0; }

.fact-row {
  display: flex;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.fact-row:first-of-type { border-top: none; }

.fact-row dt { flex: 0 0 250px; font-weight: bold; color: var(--ink); }
.fact-row dd { margin: 0; color: var(--ink-soft); }

/* Contact */

.contact-address {
  font-style: normal;
  font-size: 21px;
  line-height: 1.5;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 30px;
  max-width: 540px;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #e9e2d6;
  padding: 52px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand { max-width: 380px; }

.footer-name { font-size: 22px; letter-spacing: 2px; margin: 0 0 8px; color: #ffffff; }
.footer-line { margin: 0 0 6px; font-size: 15px; }

.footer-nav h4 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-nav a {
  display: block;
  color: #e9e2d6;
  text-decoration: none;
  margin-bottom: 9px;
  font-size: 15px;
}

.footer-nav a:hover, .footer-nav a:focus { color: var(--gold); }

.footer-legal {
  font-size: 13px;
  color: #c4b8a6;
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid #3a3040;
}

/* Responsive */

@media (max-width: 900px) {
  .card-grid, .card-grid-two, .division-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
  .hero::after { font-size: 300px; right: -20px; }
  .hero h1 { font-size: 41px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 30px; }
  .fact-row { flex-direction: column; gap: 2px; }
  .fact-row dt { flex: none; }

  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0 6px;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    margin: 0;
    padding: 9px 0;
    font-size: 16px;
  }

  .header-inner { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .division-card, .button { transition: none; }
  .division-card:hover, .division-card:focus-within { transform: none; }
}
