:root {
  --bg: #f7f8fb;
  --paper: #ffffff;
  --warm: #eef1f7;
  --ink: #1d233e;
  --ink-2: #022648;
  --ink-mid: #3a4159;
  --ink-mute: #6b7186;
  --rule: #dde1ec;
  --rule-soft: #e8ebf3;
  --blue: #116dff;
  --blue-deep: #022648;
  --teal: #2b5672;
  --navy3: #003048;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(17,109,255,0.35); }
a:hover { color: var(--blue-deep); text-decoration-color: var(--blue); }
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
p { margin: 0 0 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px; }
img { max-width: 100%; }

/* HEADER */
header.site { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 120; }
.head-row { display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 16px 36px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
nav.primary { display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 500; }
.nav-item { position: relative; }
nav.primary a { color: var(--ink); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; display: inline-flex; align-items: center; gap: 5px; }
nav.primary .nav-item > a:hover { border-bottom-color: var(--ink); }
.caret { font-size: 11px; color: var(--ink-mute); transform: translateY(-2px); }
.sub { position: absolute; top: 100%; left: -14px; background: var(--paper); border: 1px solid var(--rule); min-width: 230px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; box-shadow: 0 18px 40px -22px rgba(2,38,72,0.4); z-index: 50; }
.nav-item.has-sub:hover .sub, .nav-item.has-sub.open .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 9px 12px; font-size: 14px; border-bottom: none !important; color: var(--ink-mid); }
.sub a:hover { background: var(--warm); color: var(--ink); }
nav.primary .nav-cta { background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 999px; border: none; font-weight: 600; }
nav.primary .nav-cta:hover { background: var(--blue-deep); border: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); padding: 9px 14px; font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; color: var(--ink); border-radius: 6px; font-weight: 600; }

/* HERO SLIDER */
.hero { position: relative; }
.slider { position: relative; height: 88vh; min-height: 560px; max-height: 820px; overflow: hidden; background: var(--ink-2); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.is-active { opacity: 1; z-index: 2; }
.slide::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,38,72,0.92) 0%, rgba(29,35,62,0.78) 45%, rgba(2,38,72,0.35) 100%); }
.slide-inner { position: relative; z-index: 3; max-width: 1100px; color: #fff; }
.hero-eyebrow { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.18em; color: #a6bbfb; font-weight: 600; margin-bottom: 24px; }
.slide h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.04; margin-bottom: 26px; max-width: 19ch; color: #fff; }
.slide .lead { font-size: 19px; color: #dfe4f3; max-width: 58ch; margin: 0 0 34px; line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; background: var(--blue); color: #fff; text-decoration: none; font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 999px; border: 1px solid var(--blue); transition: all 0.2s ease; cursor: pointer; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
section .btn-ghost:not(.hero-actions .btn-ghost) { }
.sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 26px; cursor: pointer; transition: background .2s; }
.sl-arrow:hover { background: rgba(255,255,255,0.28); }
.sl-arrow.prev { left: 28px; }
.sl-arrow.next { right: 28px; }
.sl-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.sl-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.sl-dots button.on { background: #fff; }

.trustline { background: var(--ink-2); color: #fff; text-align: center; padding: 16px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.22em; }
.trustline span { color: #a6bbfb; }

/* STATS */
.stats { background: var(--ink); color: #fff; padding: 60px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat span { display: block; font-family: 'Lora', serif; font-size: clamp(32px,3.4vw,46px); font-weight: 600; color: #fff; line-height: 1; margin-bottom: 10px; }
.stat small { font-size: 13px; color: #b9c2dc; text-transform: uppercase; letter-spacing: 0.08em; }

/* TILES */
section { padding: 100px 0; }
.tiles { background: var(--paper); border-bottom: 1px solid var(--rule); }
.tiles-head { margin: 0 auto 52px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.tiles-head h2, .lines-head h2 { font-size: clamp(30px, 3.8vw, 48px); max-width: 22ch; }
.tiles-head p, .lines-head p { color: var(--ink-mute); max-width: 38ch; margin: 0; font-size: 16px; }
.tile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.tile { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.tile-img-wrap { overflow: hidden; aspect-ratio: 4/3; background: var(--warm); }
.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-img { transform: scale(1.04); }
.tile-body { padding: 22px 0 4px; }
.tile-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.tile h3 { font-size: 27px; margin-bottom: 12px; }
.tile p { font-size: 15.5px; color: var(--ink-mid); margin: 0 0 14px; line-height: 1.55; }
.tile .read { font-size: 13px; color: var(--ink); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ABOUT */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 72px; align-items: center; }
.fred-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; display: block; background: var(--warm); border: 1px solid var(--rule); }
.fred-meta { margin-top: 18px; display: flex; justify-content: space-between; gap: 24px; font-size: 13.5px; }
.fred-meta b { display: block; font-family: 'Lora', serif; font-size: 18px; color: var(--ink); margin-bottom: 2px; font-weight: 600; }
.fred-meta span { color: var(--ink-mute); font-size: 13px; }
.label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); font-weight: 600; margin-bottom: 22px; }
.label.light { color: #a6bbfb; }
.about-text h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 26px; }
.about-text p { font-size: 17px; color: var(--ink-mid); }
.about-text .signature { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); font-family: 'Lora', serif; font-style: italic; font-size: 18px; color: var(--ink); }

/* MISSION */
.mission { background: var(--ink-2); color: #fff; padding: 96px 0; }
.mission-inner { max-width: 920px; margin: 0 auto; padding: 0 36px; text-align: center; }
.mission .label { color: #a6bbfb; margin-bottom: 26px; }
.mission blockquote { margin: 0; font-family: 'Lora', serif; font-style: italic; font-size: clamp(24px,2.6vw,34px); line-height: 1.35; color: #fff; }
.mission cite { display: block; margin-top: 30px; font-style: normal; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #a6bbfb; }

/* QUOTES */
.quotes { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.quotes-head { text-align: center; margin-bottom: 40px; }
.quotes-head h2 { font-size: clamp(30px,3.8vw,46px); }
.q-slider { max-width: 880px; position: relative; }
.q-track { position: relative; min-height: 220px; }
.q { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; text-align: center; }
.q.is-active { opacity: 1; visibility: visible; position: relative; }
.q blockquote { margin: 0 0 24px; font-family: 'Lora', serif; font-style: italic; font-size: clamp(22px,2.4vw,30px); line-height: 1.4; color: var(--ink); }
.q figcaption { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); font-weight: 600; }
.q-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.q-prev, .q-next { background: transparent; border: 1px solid var(--rule); color: var(--ink); width: 42px; height: 42px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.q-prev:hover, .q-next:hover { border-color: var(--ink); }
.q-dots { display: flex; gap: 9px; }
.q-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-mute); background: transparent; cursor: pointer; padding: 0; }
.q-dots button.on { background: var(--blue); border-color: var(--blue); }

/* PROCESS */
.process { background: var(--bg); }
.lines-head { margin: 0 auto 52px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.step-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.step { padding: 32px 28px; border-top: 2px solid var(--blue); background: var(--paper); border-right: 1px solid var(--rule); }
.step:last-child { border-right: none; }
.step-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); font-weight: 600; margin-bottom: 16px; }
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { font-size: 14.5px; color: var(--ink-mid); margin: 0; line-height: 1.55; }

/* GALLERY */
.gallery { background: var(--paper); border-top: 1px solid var(--rule); }
.g-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.g-item { padding: 0; border: none; background: var(--warm); cursor: pointer; overflow: hidden; aspect-ratio: 4/3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.05); }

/* NEWSLETTER */
.news { background: var(--ink); color: #fff; }
.news-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.news h2 { color: #fff; font-size: clamp(26px,3vw,38px); margin-bottom: 16px; }
.news p { color: #c2cae0; }
.news-form { display: flex; flex-wrap: wrap; gap: 12px; }
.news-form input { flex: 1 1 220px; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); color: #fff; border-radius: 999px; font-family: inherit; font-size: 15px; }
.news-form input::placeholder { color: #9aa3bd; }
.news-ok { flex-basis: 100%; margin: 4px 0 0; color: #a6bbfb; font-size: 14px; }

/* CONTACT */
.contact { background: var(--warm); }
.contact-inner { max-width: 980px; margin: 0 auto; padding: 0 36px; text-align: center; }
.contact h2 { font-size: clamp(34px,5vw,58px); margin-bottom: 20px; max-width: 18ch; margin-left: auto; margin-right: auto; line-height: 1.08; }
.contact p.lead { font-size: 18px; color: var(--ink-mid); max-width: 52ch; margin: 0 auto 40px; }
.contact-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 8px; display: inline-flex; align-items: stretch; flex-wrap: wrap; }
.contact-card .field { padding: 18px 30px; text-align: left; border-right: 1px solid var(--rule); min-width: 220px; }
.contact-card .field:last-of-type { border-right: none; }
.contact-card .k { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); margin-bottom: 6px; font-weight: 600; }
.contact-card .v { font-family: 'Lora', serif; font-size: 21px; color: var(--ink); }
.contact-card .v a { color: var(--ink); text-decoration: none; }
.contact-card .v a:hover { color: var(--blue); }
.contact-cta { margin-top: 32px; }

/* FOOTER */
footer.site { background: var(--ink-2); color: #b9c2dc; padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; max-width: var(--max); margin: 0 auto; padding: 0 36px; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 18px; display: block; filter: brightness(0) invert(1); }
.foot-brand p { font-size: 14px; color: #94a0c0; max-width: 290px; line-height: 1.55; margin: 0 0 16px; }
.foot-brand .small { font-size: 12px; color: #7681a3; margin-bottom: 18px; }
.socials { display: flex; gap: 12px; }
.soc { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.soc:hover { transform: translateY(-2px); }
footer h4 { font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: #fff; font-weight: 700; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; line-height: 1.95; }
footer ul a { color: #b9c2dc; text-decoration: none; }
footer ul a:hover { color: #fff; }
.foot-meta { margin-top: 54px; padding: 22px 36px 0; max-width: var(--max); margin-left: auto; margin-right: auto; border-top: 1px solid #0d3057; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #7681a3; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; background: rgba(2,38,72,0.94); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border: 4px solid #fff; }
.lb-close { position: absolute; top: 24px; right: 30px; background: none; border: none; color: #fff; font-size: 44px; cursor: pointer; line-height: 1; }

/* INNER PAGE HEADER */
.page-hero { background: var(--ink-2); color: #fff; padding: 84px 0 72px; position: relative; }
.page-hero .eyebrow { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.18em; color: #a6bbfb; font-weight: 600; margin-bottom: 20px; }
.page-hero h1 { color: #fff; font-size: clamp(36px,5vw,62px); max-width: 20ch; line-height: 1.05; }
.page-hero p { color: #dfe4f3; font-size: 19px; max-width: 56ch; margin: 22px 0 0; }
.crumbs { font-size: 13px; color: #8794b8; margin-bottom: 24px; }
.crumbs a { color: #a6bbfb; text-decoration: none; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(26px,3vw,38px); margin: 48px 0 18px; }
.prose h3 { font-size: 22px; margin: 34px 0 12px; }
.prose p { font-size: 17px; color: var(--ink-mid); margin-bottom: 18px; }
.prose ul { color: var(--ink-mid); font-size: 17px; line-height: 1.7; padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose .pull { font-family: 'Lora', serif; font-style: italic; font-size: 24px; color: var(--ink); border-left: 3px solid var(--blue); padding-left: 24px; margin: 36px 0; line-height: 1.4; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--rule); }
.section-alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; font-family: 'Lora', serif; font-size: 21px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq-q .sign { color: var(--blue); font-size: 26px; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 0 24px; font-size: 16.5px; color: var(--ink-mid); margin: 0; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-item.open .sign { transform: rotate(45deg); }
.faq-q .sign { transition: transform .25s ease; display: inline-block; }

/* BLOG */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.post-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post-card .pc-img { aspect-ratio: 3/2; overflow: hidden; background: var(--warm); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .pc-img img { transform: scale(1.04); }
.post-card .pc-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); font-weight: 600; margin: 20px 0 10px; }
.post-card h3 { font-size: 22px; margin-bottom: 10px; }
.post-card p { font-size: 15px; color: var(--ink-mid); margin: 0; }

/* FORM */
.form-card { background: var(--paper); border: 1px solid var(--rule); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.fld { display: flex; flex-direction: column; }
.fld.full { grid-column: 1/-1; }
.fld label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.fld input, .fld select, .fld textarea { padding: 13px 15px; border: 1px solid var(--rule); border-radius: 6px; font-family: inherit; font-size: 15px; background: var(--bg); color: var(--ink); }
.fld textarea { min-height: 130px; resize: vertical; }
.form-ok { background: var(--ink-2); color: #fff; padding: 28px; text-align: center; border-radius: 6px; }
.form-ok h3 { color: #fff; margin-bottom: 8px; }
.form-ok p { color: #c2cae0; margin: 0; }

@media (max-width: 980px) {
  section { padding: 64px 0; }
  .tile-grid, .post-grid, .g-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--rule); }
  .step:nth-child(2n) { border-right: none; }
  .about-grid, .two-col, .news-inner { grid-template-columns: 1fr; gap: 40px; }
  .tiles-head, .lines-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  nav.primary { display: none; }
  nav.primary.open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 16px 24px 22px; box-shadow: 0 20px 30px -20px rgba(2,38,72,0.4); }
  nav.primary.open .nav-item { width: 100%; padding: 6px 0; }
  nav.primary.open .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; max-height: 0; overflow: hidden; padding: 0 0 0 14px; transition: max-height .3s; }
  nav.primary.open .nav-item.open .sub { max-height: 260px; }
  nav.primary.open .nav-cta { text-align: center; margin-top: 8px; }
  .menu-btn { display: inline-block; }
  .head-row { position: relative; }
  .contact-card { flex-direction: column; }
  .contact-card .field { border-right: none; border-bottom: 1px solid var(--rule); width: 100%; }
  .contact-card .field:last-of-type { border-bottom: none; }
  .slider { height: auto; min-height: 0; max-height: none; }
  .slide { position: relative; opacity: 1; display: none; min-height: 78vh; }
  .slide.is-active { display: flex; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .step:nth-child(2n) { border-right: none; }
  .wrap, .head-row, .foot-grid, .foot-meta { padding-left: 22px; padding-right: 22px; }
}
