/* trentgrzegorczyk.com — shared styles
   Palette locked from the blueprint (navy + sand + warm neutrals). */

:root {
  --navy: #0a1f44;
  --navy-deep: #071633;
  --sand: #c9a875;
  --sand-soft: #e6d3b3;
  --warm-white: #f7f4ef;
  --cream: #fffaf3;
  --charcoal: #1c1c1c;
  --slate: #5c6570;
  --border: #e5dfd4;
  --white: #ffffff;

  --font-head: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --max: 1080px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }

:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 8px 12px; border-radius: 6px; z-index: 100;
}
.skip:focus { left: 8px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 40em; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 14px;
}
.muted { color: var(--slate); }
.small { font-size: 0.92rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--sand); color: var(--white); box-shadow: inset 0 -3px 0 var(--sand); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--sand); }
.btn-secondary:hover { background: var(--sand); color: var(--navy); }
.btn-on-dark { background: var(--sand); color: var(--navy); border-color: var(--sand); }
.btn-on-dark:hover { background: var(--sand-soft); border-color: var(--sand-soft); color: var(--navy); }
.btn-block { display: block; text-align: center; }

.hero-link { margin-top: 26px; }
.hero-link a { font-weight: 600; text-decoration-color: var(--sand); text-decoration-thickness: 2px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 16px;
}
.brand {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  color: var(--navy); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--charcoal); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"]:not(.btn) { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 2px; }
.nav .btn { padding: 10px 18px; font-size: 0.95rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 66px;
    background: var(--cream); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0 var(--gutter); }
  .nav-links a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { padding-top: 12px; }
  .nav-links .btn { display: block; text-align: center; }
  .nav-right { display: flex; align-items: center; gap: 10px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-right > .btn { padding: 10px 14px; }
}
@media (min-width: 641px) { .nav-right > .btn.mobile-only { display: none; } }

/* Sections */
section { padding: 64px 0; scroll-margin-top: 66px; }
@media (min-width: 768px) { section { padding: 88px 0; } }
.alt { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dark { background: var(--navy); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .lead, .dark .muted { color: #c9d0dc; }
.dark a:not(.btn) { color: var(--sand); }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px) { .hero { padding-top: 96px; padding-bottom: 96px; } }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.hero-grid .photo { order: -1; }
@media (min-width: 860px) { .hero-grid .photo { order: 0; } }

.photo {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); aspect-ratio: 4 / 5; max-width: 420px; width: 100%;
  box-shadow: 0 20px 50px -30px rgba(10, 31, 68, .5);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px;
  background: var(--sand); border-radius: 2px;
}
.photo-placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%; color: var(--sand);
  font-family: var(--font-head); font-size: 5rem; font-weight: 600;
  background: linear-gradient(160deg, #0f2a5a 0%, var(--navy) 60%, var(--navy-deep) 100%);
}
.photo-small { aspect-ratio: 1 / 1; max-width: 300px; }
.photo-small .photo-placeholder { font-size: 3.5rem; }

/* Cards */
.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; }
.card p { flex: 1; }
.card .btn { align-self: flex-start; margin-top: 8px; }
.card-tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 10px;
}
.card-link { text-decoration: none; }
.card-link:hover { border-color: var(--sand); }

.doors .card { padding: 36px 32px; }
.doors .card h3 { font-size: 1.5rem; }

/* Proof strip */
.proof { display: grid; gap: 22px; }
@media (min-width: 720px) { .proof { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.proof-item { display: flex; gap: 14px; align-items: flex-start; }
.proof-item svg { width: 26px; height: 26px; flex: none; color: var(--sand); margin-top: 3px; }
.proof-item strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.proof-item p { margin: 0; color: var(--slate); font-size: 0.98rem; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sand);
}
.checklist.x li::before { background: var(--border); }

/* Two-column text blocks */
.cols { display: grid; gap: 28px; }
@media (min-width: 720px) { .cols { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Booking */
.booking { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.booking-head { padding: 26px 28px 8px; }
.calendly-inline-widget { min-width: 320px; height: 700px; }
@media (max-width: 640px) { .calendly-inline-widget { height: 760px; } }
.booking-fallback { padding: 0 28px 28px; }

/* Soft strip */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.strip p { margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d0dc; padding: 48px 0 36px; font-size: 0.92rem; }
.site-footer .brand { color: var(--white); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { color: var(--sand); text-decoration: underline; }
.footer-tag { color: var(--sand); font-family: var(--font-head); margin: 4px 0 0; }
.disclosure { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #a9b3c2; font-size: 0.85rem; line-height: 1.6; max-width: 62em; }
.disclosure a { color: #d9dee6; }
.copyright { margin-top: 16px; color: #8f9aab; font-size: 0.8rem; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.divider { width: 56px; height: 3px; background: var(--sand); border-radius: 2px; margin: 8px 0 24px; }
