/* MyApostolicWebsite.com
   Light theme built from the logo colors: black, white and red. */
:root {
  --red: #c42b20;          /* logo red, deepened for readable text and buttons */
  --red-bright: #df3629;   /* logo red as drawn */
  --red-dark: #9e2118;
  --red-tint: #fbeceb;
  --ink: #141210;
  --text: #3b3632;
  --muted: #6b645d;
  --line: #e7e1d9;
  --bg: #ffffff;
  --cream: #faf7f3;
  --cream-2: #f3ede5;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(20,18,16,.06), 0 2px 8px rgba(20,18,16,.05);
  --shadow: 0 2px 6px rgba(20,18,16,.06), 0 18px 40px -12px rgba(20,18,16,.18);
  --max: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Top bar */
.topbar { background: var(--ink); color: #e9e4de; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #ffb4ad; }
.topbar .tag { display: flex; align-items: center; gap: 8px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); }

/* Header */
.site-header {
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.logo img { width: 170px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none;
}
.nav a:hover { color: var(--red); background: var(--cream); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .nav-cta a { background: var(--red); color: #fff; padding: 10px 20px; margin-left: 10px; border-radius: 999px; }
.nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 14px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid var(--red);
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 17px;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--red); border-color: #fff; }
.btn.light:hover { background: var(--cream-2); border-color: var(--cream-2); color: var(--red-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(223,54,41,.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero h1 { margin-bottom: .3em; }
.hero h1 em { font-style: italic; color: var(--red); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 22px;
}
.badge i { width: 22px; height: 22px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.badge i svg { width: 12px; height: 12px; stroke: #fff; }
.hero p.lead { color: var(--text); font-size: 1.15rem; }
.hero .note { font-size: 15px; color: var(--muted); margin: 18px 0 0; }

/* Browser frame used for screenshots */
.browser {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(20,18,16,.08);
}
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1ede8; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d1c8; }
.browser .bar i:first-child { background: var(--red-bright); }
.browser .bar span {
  margin-left: 10px; flex: 1; background: #fff; border-radius: 6px; padding: 2px 10px;
  font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }

.hero-shots { position: relative; padding: 0 0 130px 40px; }
.hero-shots .browser:first-child { position: relative; z-index: 2; }
.hero-shots .browser.back { position: absolute; z-index: 1; width: 66%; left: 0; bottom: 10px; transform: rotate(-2deg); }
.hero-shots .browser.front { margin-left: auto; width: 88%; }
.hero-shots .browser.mid { position: absolute; z-index: 3; width: 54%; right: -20px; bottom: -20px; }

/* Stats */
.stats { margin-top: -52px; position: relative; z-index: 5; }
.stats ul {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stats li { padding: 26px 24px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { display: block; font: 600 2.4rem/1 var(--serif); color: var(--red); margin-bottom: 8px; }
.stats span { font-weight: 600; color: var(--ink); font-size: 16px; }

/* Sections */
section.block { padding: 96px 0; }
section.block.tight { padding: 72px 0; }
section.block.cream { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-text { grid-template-columns: 1.2fr 1fr; }
.split figure { margin: 0; position: relative; }
.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo-tag {
  position: absolute; left: -24px; bottom: 32px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 22px; max-width: 260px;
}
.photo-tag strong { display: block; font: 600 1.3rem/1.2 var(--serif); color: var(--ink); }
.photo-tag span { font-size: 15px; color: var(--muted); }

.checks { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c42b20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks.two { grid-template-columns: 1fr 1fr; }
.signature { font: italic 600 1.35rem/1.3 var(--serif); color: var(--red); margin: 6px 0 0; }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.aud p { color: var(--muted); margin: 0; font-size: 17px; }
.banner-line {
  margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px;
  padding: 22px 28px; border-radius: var(--radius); background: var(--ink); color: #fff; text-align: center;
}
.banner-line strong { font: 600 1.4rem/1.3 var(--serif); }
.banner-line span { color: #d9d2ca; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; color: inherit; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.svc h3 { margin: 0 0 8px; }
.svc p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.svc .more { margin-top: auto; font-weight: 700; color: var(--red); font-size: 16px; }
a.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
a.svc:hover h3 { color: var(--red); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.steps .n { font: 600 2.2rem/1 var(--serif); color: var(--red); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); font-size: 17px; margin: 0; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 40px; }
.filters button {
  font: 600 15px var(--sans); padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
.work.three { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project { margin: 0; }
.project[hidden] { display: none; }
.project a.shot { display: block; border-radius: 10px; transition: transform .2s; }
.project a.shot:hover { transform: translateY(-4px); }
.project a.shot:hover .browser { box-shadow: 0 4px 10px rgba(20,18,16,.08), 0 28px 50px -14px rgba(20,18,16,.28); }
.project figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 4px 0; }
.project h3 { font-size: 1.25rem; margin: 0 0 2px; }
.project .type { font-size: 15px; color: var(--muted); }
.project .visit { flex: none; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.project .visit::after { content: " \2197"; }

/* Page banner */
.page-banner {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(223,54,41,.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border-bottom: 1px solid var(--line); padding: 72px 0 64px;
}
.page-banner h1 { margin-bottom: .25em; }
.page-banner p { font-size: 1.2rem; color: var(--muted); max-width: 760px; margin: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Service detail sections */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-nav a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none;
}
.svc-nav a:hover { border-color: var(--red); color: var(--red); }
.svc-detail { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:first-child { border-top: 0; padding-top: 24px; }
.svc-detail .side { position: sticky; top: 110px; align-self: start; }
.svc-detail .side h2 { font-size: 1.9rem; }
.svc-detail .side p { color: var(--muted); font-size: 16px; }
.svc-detail .body > p:first-child { font-size: 1.1rem; color: var(--ink); }
.chips { list-style: none; margin: 0 0 1.4em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--cream-2); color: var(--ink); font-size: 15px; font-weight: 600; }

.panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h3 { margin-bottom: 14px; }
.panel.dark { background: var(--ink); color: #e9e4de; border-color: var(--ink); }
.panel.dark h3 { color: #fff; }
.panel.dark a { color: #fff; }
.phone-big { font: 600 1.9rem/1.2 var(--serif); color: var(--ink); text-decoration: none; display: inline-block; margin: 4px 0 6px; }
.panel.dark .phone-big { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.ccard { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ccard h3 { font-size: 1.15rem; margin: 0 0 4px; }
.ccard p { margin: 0; color: var(--muted); font-size: 16px; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); min-width: 0; }
.form-box h2 { font-size: 1.8rem; }
.form-box iframe { width: 100% !important; min-width: 0 !important; border: 0; }
.form-fallback { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* Support */
.support-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.tips { counter-reset: tip; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tips li { display: flex; gap: 14px; align-items: flex-start; }
.tips li::before {
  counter-increment: tip; content: counter(tip); flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px;
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.portrait { margin: 0; position: sticky; top: 110px; }
.portrait img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait figcaption { display: flex; flex-direction: column; padding: 16px 4px 0; }
.portrait figcaption strong { font: 600 1.25rem/1.2 var(--serif); color: var(--ink); }
.portrait figcaption span { color: var(--muted); font-size: 16px; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts li { padding: 22px 18px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; font: 600 2rem/1 var(--serif); color: var(--red); margin-bottom: 6px; }
.facts span { font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 1060px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .portrait { position: static; max-width: 420px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* Legal text (Terms of Service) */
.legal > * { max-width: 820px; }
.legal .intro { font-size: 1.15rem; color: var(--ink); }
.legal h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
.legal ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal li::marker { color: var(--red); }
.legal .panel { margin-top: 48px; }
.legal address { font-style: normal; }

/* CTA */
.cta { background: var(--red); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.14), transparent 60%),
              radial-gradient(500px 260px at 0% 100%, rgba(0,0,0,.18), transparent 60%);
}
.cta .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #ffe4e1; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b9b1a8; font-size: 16px; padding: 64px 0 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb4ad; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.foot-grid h4 { font: 700 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-logo img { width: 190px; margin-bottom: 18px; }
.foot-grid .phone { font: 600 1.4rem var(--serif); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 14px; }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Responsive */
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { display: none; width: 100%; padding-bottom: 10px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 88px; gap: 40px; }
  .hero-shots { max-width: 640px; }
  .services, .audience, .work.three { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .split, .split.wide-text, .support-hero, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split figure { max-width: 560px; }
  .photo-tag { left: 16px; }
  .svc-detail { grid-template-columns: 1fr; gap: 20px; }
  .svc-detail .side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .topbar .tag { display: none; }
  .topbar .wrap { justify-content: center; }
  .logo img { width: 140px; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services, .audience, .work, .work.three, .steps, .checks.two { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
  .hero-shots { padding-left: 16px; }
  .hero-shots .browser.mid { right: -8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 52px 0 44px; }
  .form-box { padding: 22px 16px; }
}
