/* ==========================================================================
   KatelynHogan.com — Core Stylesheet
   System fonts only. No external requests. No framework.
   Palette + type system defined once here; every page links this file.
   ========================================================================== */

:root {
  /* ---- Palette -----------------------------------------------------------
     Deliberately NOT the generic-AI trio (cream/serif/terracotta), NOT a
     purple-blue gradient stack, and NOT a reuse of any other site in this
     portfolio: distinct from the roofing site's graphite/amber, from the
     Lake Nona cluster's lagoon-teal/brass-gold, and from the bartending
     sites' warm tones. Base is a deep marine blue — professional, coastal,
     trustworthy — paired with a citrus-coral accent that reads as genuine
     Florida sunshine (sunset/citrus, not a beach-postcard cliché) rather
     than a muted terracotta. Sharper 10px radius and rectangular buttons
     (not pills) give this a more confident, agent-forward feel distinct
     from the softer Lake Nona cluster. */
  --ink: #0f2a3d;
  --ink-soft: #48606f;
  --marine: #114b6b;
  --marine-deep: #0a2e40;
  --marine-light: #5c93ac;
  --marine-pale: #e8eef1;
  --paper: #fbf9f5;
  --paper-dim: #f1ece1;
  --line: #ded6c4;
  --line-dark: #1c3d52;
  --coral: #e2632f;
  --coral-dark: #b84b1f;
  --coral-pale: #fbe4d6;
  --white: #ffffff;
  --success: #2e6b46;
  --error: #a33a2e;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Skip link ----------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--coral);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---- Type system ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 4.6vw + 1rem, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.3rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1.1em;
  color: var(--ink-soft);
}

.lede {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 0.85em;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--coral-dark);
  display: inline-block;
}
.eyebrow.on-dark {
  color: var(--coral);
}
.eyebrow.on-dark::before {
  background: var(--coral);
}

/* ---- Buttons ---------------------------------------------------------------*/
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--coral-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--marine);
  color: var(--marine);
}

.btn-outline.on-dark {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline.on-dark:hover {
  border-color: var(--white);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ---- Header ---------------------------------------------------------------*/
.site-header {
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--coral);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--white);
  line-height: 1;
}

.brand-mark {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.brand-mark span {
  color: var(--coral);
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9db0bd;
  margin-top: 5px;
}

.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #d3dde2;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-cta { display: inline-block; }
}

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  padding: 9px 13px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.mobile-nav {
  display: none;
  background: var(--marine-deep);
  border-top: 1px solid var(--line-dark);
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px 18px;
}
.mobile-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav a {
  display: block;
  padding: 13px 2px;
  text-decoration: none;
  color: #e7edf0;
  font-weight: 600;
}
.mobile-nav .btn {
  margin: 14px 2px 4px;
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero {
  background: radial-gradient(120% 140% at 85% 0%, #1a5a7d 0%, var(--marine-deep) 48%, var(--ink) 100%);
  color: var(--white);
  padding: 68px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  top: -22%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,99,47,0.22) 0%, rgba(226,99,47,0) 68%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -22%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255,255,255,0.12);
  transform: rotate(12deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  color: #d9e4e9;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stat {
  background: rgba(10, 30, 43, 0.55);
  padding: 22px 20px;
}
.hero-stat .num {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--coral);
  display: block;
  line-height: 1.15;
}
.hero-stat .label {
  font-size: 0.76rem;
  color: #c3d2d9;
  margin-top: 6px;
}

/* ---- Sections --------------------------------------------------------- */
section {
  padding: 66px 0;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}
.section-dark p {
  color: #c9d4d9;
}

.section-tint {
  background: var(--marine-pale);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 42px;
}

/* ---- Grids / Cards ------------------------------------------------------*/
.grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 26px;
  border-radius: var(--radius);
}

.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-dark);
  padding: 30px 26px;
  border-radius: var(--radius);
}

.card h3 {
  margin-bottom: 0.4em;
}

.card .card-index {
  font-weight: 800;
  color: var(--coral-dark);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

/* ---- Lists -------------------------------------------------------------*/
.check-list {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}
.check-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 13px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid var(--coral-dark);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--coral-dark);
}

.step-list {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 54px;
  border-left: 2px solid var(--line);
  margin-left: 18px;
}
.step-list li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: -20px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--marine);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.step-list h3 {
  margin-bottom: 0.3em;
}

/* ---- CTA band ------------------------------------------------------------*/
.cta-band {
  background: linear-gradient(160deg, var(--marine-deep), var(--ink));
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d9e4e9; }
.cta-band .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---- Breadcrumb ---------------------------------------------------------*/
.breadcrumb {
  font-size: 0.82rem;
  padding: 16px 0;
  color: var(--ink-soft);
}
.breadcrumb a {
  color: var(--marine);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ---- Placeholder callouts -------------------------------------------- */
.placeholder {
  background: var(--coral-pale);
  border: 1px dashed var(--coral-dark);
  color: #7a3313;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  display: inline-block;
}

.placeholder-block {
  background: var(--coral-pale);
  border: 1px dashed var(--coral-dark);
  color: #7a3313;
  padding: 22px 24px;
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.placeholder-block strong { color: #532206; }

/* ---- Photo frame (about page) ------------------------------------------*/
.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--marine) 0%, var(--marine-deep) 100%);
  border: 1px dashed rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.photo-frame::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -20%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
}
.photo-frame-label {
  position: relative;
  color: #eaf1f4;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
}
.photo-frame-label .placeholder {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  color: #ffe9db;
  margin-top: 10px;
}

/* ---- Forms ---------------------------------------------------------------*/
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 15px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--marine-light);
  outline-offset: 1px;
}
.form-hint {
  font-size: 0.78rem;
  color: #7c8a90;
  margin-top: 4px;
}
.form-row {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.form-status {
  margin-top: 18px;
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: #e5f2ea;
  border: 1px solid var(--success);
  color: #1f4a30;
}
.form-status.is-error {
  background: #f8e6e4;
  border: 1px solid var(--error);
  color: #6b241a;
}

/* ---- Credentials list (about page) --------------------------------------*/
.credentials-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.credentials-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.credentials-list li:first-child {
  border-top: none;
}
.credentials-list .cred-label {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.credentials-list .cred-value {
  text-align: right;
}

/* ---- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #b7c4cb;
  padding: 58px 0 26px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 34px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid li {
  margin-bottom: 9px;
}
.footer-grid a {
  color: #b7c4cb;
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--white);
}
.footer-legal {
  border-top: 1px solid var(--line-dark);
  margin-top: 42px;
  padding-top: 22px;
  font-size: 0.78rem;
  color: #869299;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}

/* ---- Utility -------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
