:root {
  --charcoal: #27292c;
  --charcoal-soft: #45464a;
  --ink: #303135;
  --muted: #625f58;
  --cream: #fdf7ea;
  --paper: #fffdf8;
  --yellow: #ffd866;
  --yellow-deep: #80580c;
  --line: #ded7c9;
  --shadow: 8px 10px 0 rgba(39, 41, 44, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus { top: 16px; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow-container { width: min(860px, calc(100% - 40px)); }

.site-header {
  position: relative;
  z-index: 2;
  color: var(--charcoal);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--charcoal);
  text-decoration: none;
}

.brand img { display: block; width: 116px; height: auto; }
.brand-footer img { width: 132px; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--charcoal-soft); text-decoration: none; font-size: 0.88rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--charcoal); }
nav .nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 15px; color: var(--charcoal); background: var(--yellow); border-radius: 10px; }
nav .nav-cta:hover, nav .nav-cta:focus-visible { color: var(--charcoal); background: #ffe49a; }

.hero {
  overflow: hidden;
  color: var(--cream);
  background: var(--charcoal);
}

.hero-grid { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 30px; min-height: 555px; }
.hero-copy { position: relative; z-index: 1; padding: 56px 0 72px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; }
.eyebrow-dark { color: var(--yellow-deep); }
.eyebrow-dark .eyebrow-dot { background: var(--yellow-deep); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif; letter-spacing: -0.04em; line-height: 1.12; }
h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(2.55rem, 5.6vw, 4.9rem); font-weight: 800; }
h1 span, h2 em { color: var(--yellow-deep); font-style: normal; }
.hero h1 span { color: var(--yellow); }
.hero-lead { max-width: 515px; margin-bottom: 32px; color: rgba(253, 247, 234, 0.78); font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--charcoal); background: var(--yellow); }
.button-primary:hover { background: #ffe49a; }
.button-light { color: var(--charcoal); background: var(--cream); }
.button-light:hover { background: #fffef8; }
.button-outline { color: var(--charcoal); border-color: rgba(39, 41, 44, 0.32); }
.button-outline:hover { border-color: var(--charcoal); background: var(--paper); }
.text-link { color: rgba(253, 247, 234, 0.82); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--yellow); }

.hero-art { display: flex; align-items: center; justify-content: center; align-self: stretch; min-height: 555px; padding: 52px 0 62px 20px; }
.hero-logo-frame { width: min(100%, 520px); padding: 0; background: var(--cream); border: 3px solid var(--yellow); box-shadow: 12px 12px 0 var(--yellow); transform: rotate(2deg); }
.hero-logo-frame img { display: block; width: 100%; height: auto; }
.hero-art-note { max-width: 220px; margin: 32px 0 0 auto; color: rgba(253, 247, 234, 0.72); font-size: 0.82rem; font-weight: 700; line-height: 1.4; text-align: right; }

.section { padding: 104px 0; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-services { background: var(--cream); border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 44px; }
.split-heading { display: grid; grid-template-columns: 1fr 0.55fr; align-items: end; gap: 50px; }
.section-heading h2, .about-grid h2 { max-width: 590px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.split-heading > p { max-width: 340px; margin-bottom: 2px; color: var(--muted); font-size: 0.96rem; }

.services-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: 96px; }
.service-intro p:last-child { max-width: 360px; margin: 26px 0 0; color: var(--muted); }
.service-list { border-top: 2px solid var(--charcoal); }
.service-item { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 28px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.service-item h3 { margin: 0; color: var(--charcoal); font-size: 1.1rem; }
.service-item p { max-width: 390px; margin: 0; color: var(--muted); font-size: 0.92rem; }

.app-card { display: grid; grid-template-columns: minmax(260px, 0.75fr) 1.25fr; overflow: hidden; background: var(--cream); border: 2px solid var(--charcoal); border-radius: var(--radius); box-shadow: var(--shadow); }
.app-card-art { position: relative; min-height: 355px; overflow: hidden; background: var(--yellow); }
.mini-horizon { position: absolute; right: -20px; bottom: -55px; left: -20px; height: 160px; background: var(--charcoal); border-radius: 50% 50% 0 0; transform: rotate(-6deg); }
.mini-word { position: absolute; top: 105px; left: 0; width: 100%; color: var(--charcoal); font-size: 2rem; font-weight: 400; letter-spacing: -0.08em; line-height: 0.8; text-align: center; transform: rotate(-6deg); }
.mini-word strong { color: var(--cream); font-size: 3.8rem; font-weight: 850; letter-spacing: -0.11em; }
.app-card-stamp { position: absolute; top: 24px; left: 24px; z-index: 1; color: var(--charcoal); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1.1; text-transform: uppercase; }
.app-card-stamp strong { font-size: 0.86rem; letter-spacing: 0.02em; text-transform: none; }
.app-card-content { display: flex; flex-direction: column; justify-content: center; padding: 50px 54px; }
.app-card-title { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.card-kicker { margin-bottom: 8px; color: var(--yellow-deep); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.app-card h3 { margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.status-pill { flex: none; padding: 6px 11px; color: var(--charcoal); background: var(--yellow); border-radius: 7px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.app-card-content > p { max-width: 480px; margin-bottom: 23px; color: var(--muted); }
.app-facts { display: grid; grid-template-columns: 0.7fr 1.3fr; margin-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-facts span { padding: 13px 18px 13px 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.app-facts span + span { padding-right: 0; padding-left: 18px; border-left: 1px solid var(--line); }
.app-facts strong { display: block; margin-bottom: 2px; color: var(--charcoal); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.app-links { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: var(--yellow-deep); font-size: 0.8rem; font-weight: 800; }
.app-links a { text-decoration: none; }
.app-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.play-placeholder { color: var(--muted); font-weight: 600; }
.link-separator { color: #b8ae9f; }

.about-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 76px; }
.about-copy { padding-top: 42px; }
.about-copy p { margin-bottom: 18px; color: var(--muted); }
.about-copy .button { margin-top: 16px; }

.contact-strip { padding: 62px 0; color: var(--cream); background: var(--charcoal); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-strip .eyebrow { margin-bottom: 13px; color: var(--yellow); }
.contact-strip h2 { margin-bottom: 0; font-size: clamp(1.7rem, 4vw, 2.8rem); }

.site-footer { color: var(--charcoal-soft); background: var(--cream); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.7fr 0.9fr; gap: 40px; padding-top: 64px; padding-bottom: 58px; }
.brand-footer { margin-bottom: 18px; }
.footer-note { margin: 0; color: var(--muted); font-size: 0.88rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 0.82rem; }
.footer-column a { color: var(--charcoal-soft); text-decoration: none; }
.footer-column a:hover, .footer-bottom a:hover { color: var(--yellow-deep); }
.footer-label { margin: 0 0 10px; color: var(--yellow-deep); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 0.72rem; }
.footer-bottom a { color: var(--charcoal-soft); text-decoration: none; }
.footer-bottom-single { padding-top: 26px; border-top: 0; }
.footer-lockup { display: block; width: 104px; height: auto; }

.page-hero { padding: 85px 0 76px; background: var(--cream); }
.back-link { display: inline-block; margin-bottom: 62px; color: var(--muted); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--yellow-deep); }
.page-hero h1 { max-width: 760px; margin-bottom: 22px; color: var(--charcoal); font-size: clamp(2.8rem, 7vw, 5.8rem); }
.page-intro { max-width: 650px; margin-bottom: 34px; color: var(--muted); font-size: 1.12rem; }
.document-meta { display: flex; flex-wrap: wrap; gap: 11px 25px; color: var(--yellow-deep); font-size: 0.78rem; font-weight: 800; }
.document-meta span + span { padding-left: 25px; border-left: 1px solid #d6d4ca; }
.document-section { padding: 86px 0 120px; background: var(--paper); }
.document-layout { display: grid; grid-template-columns: 205px minmax(0, 680px); justify-content: space-between; gap: 50px; }
.document-aside { position: sticky; top: 25px; align-self: start; display: flex; flex-direction: column; gap: 10px; padding-top: 5px; }
.document-aside a { color: var(--muted); font-size: 0.78rem; line-height: 1.45; text-decoration: none; }
.document-aside a:hover { color: var(--yellow-deep); }
.legal-copy { min-width: 0; color: #4f4f4b; font-size: 0.98rem; }
.legal-copy > p:first-child { color: var(--charcoal-soft); font-size: 1.08rem; }
.legal-copy h2 { margin: 52px 0 17px; color: var(--charcoal); font-size: 1.55rem; }
.legal-copy h2:first-of-type { margin-top: 50px; }
.legal-copy p { margin-bottom: 19px; }
.legal-copy a { color: var(--yellow-deep); font-weight: 700; text-underline-offset: 3px; }
.legal-copy ul { margin: 0 0 22px; padding-left: 22px; }
.legal-copy li { margin-bottom: 9px; padding-left: 5px; }
.service-table-wrap { overflow-x: auto; margin: 27px 0; }
table { width: 100%; min-width: 540px; border-collapse: collapse; color: var(--ink); font-size: 0.87rem; }
th, td { padding: 15px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--charcoal); background: #f4eee2; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
td:first-child { width: 32%; color: var(--charcoal); font-weight: 800; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin: 24px 0; padding: 21px 23px; background: var(--cream); border-left: 4px solid var(--yellow); border-radius: 3px 12px 12px 3px; }
.contact-card strong { color: var(--charcoal); }
.contact-card span { color: var(--muted); font-size: 0.83rem; }
.legal-note { margin-top: 54px; color: var(--muted); font-size: 0.78rem; font-style: italic; }

@media (max-width: 760px) {
  .container, .narrow-container { width: min(100% - 32px, 620px); }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 100px; }
  nav { gap: 13px; }
  nav a:not(.nav-cta) { display: none; }
  nav .nav-cta { padding: 8px 12px; font-size: 0.76rem; }
  .hero-grid { display: block; min-height: 0; }
  .hero-copy { padding: 72px 0 20px; }
  .hero-art { display: block; min-height: 0; padding: 42px 4px 70px 0; }
  .hero-logo-frame { width: calc(100% - 12px); margin-left: 0; box-shadow: 8px 8px 0 var(--yellow); }
  .hero-art-note { margin-top: 26px; }
  .section { padding: 76px 0; }
  .split-heading, .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .split-heading > p { margin-top: 0; }
  .services-grid { grid-template-columns: 1fr; gap: 42px; }
  .service-item { grid-template-columns: 1fr; gap: 6px; padding: 19px 0; }
  .app-card { grid-template-columns: 1fr; }
  .app-card-art { min-height: 280px; }
  .app-card-content { padding: 34px 26px 38px; }
  .app-facts { grid-template-columns: 1fr; }
  .app-facts span + span { padding-top: 11px; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .app-card-title { display: block; }
  .status-pill { display: inline-block; margin-bottom: 14px; }
  .about-copy { padding-top: 0; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; padding-top: 48px; padding-bottom: 42px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom-single { align-items: flex-start; }
  .page-hero { padding: 54px 0 55px; }
  .back-link { margin-bottom: 46px; }
  .document-section { padding: 55px 0 80px; }
  .document-layout { display: block; }
  .document-aside { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 15px; margin-bottom: 44px; padding: 18px; background: var(--cream); border-radius: 12px; }
  .document-aside .footer-label { grid-column: 1 / -1; margin-bottom: 3px; }
  .document-meta { display: block; }
  .document-meta span { display: block; margin-bottom: 5px; }
  .document-meta span + span { padding-left: 0; border-left: 0; }
  .legal-copy h2 { margin-top: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media print {
  .site-header, .document-aside, .site-footer, .back-link { display: none; }
  .page-hero, .document-section { padding: 24px 0; }
  .document-layout { display: block; }
  .legal-copy { max-width: 100%; color: #000; }
}
