/* Kurt Hamel / Hamel Consultancy — shared stylesheet (editorial redesign) */
:root {
  --ink: #06203a;
  --ink-2: #0d2e50;
  --paper: #ffffff;
  --paper-2: #f1f4f7;
  --white: #ffffff;
  --text: #1c2a38;
  --muted: #586675;
  --line: rgba(6, 32, 58, 0.16);
  --line-dark: rgba(255, 255, 255, 0.22);
  /* The accent keeps its old variable names so every page picks it up. */
  --brass: #1a4fe0;
  --brass-light: #7db4ff;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 780px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: inherit; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 38em; }

.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  color: var(--brass); margin: 0 0 1.3rem;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 14px; color: var(--ink); }
.brand b, .brand span { white-space: nowrap; }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em; }
.brand span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; text-decoration: none; font-size: 1rem; font-weight: 500; color: var(--ink); }
.nav-links a:not(.btn) { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover, .nav-links a.active { border-bottom-color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle i { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 2px solid var(--brass);
  background: var(--brass); color: #fff !important; font-family: var(--sans);
  font-size: 1rem; font-weight: 600; padding: 14px 28px; border-radius: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.small { padding: 9px 20px; }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }
.btn.light { background: #fff; color: var(--ink) !important; border-color: #fff; }
.btn.light:hover { background: var(--brass-light); border-color: var(--brass-light); }
.section.dark .btn.ghost, .hero .btn.ghost { color: #fff !important; border-color: rgba(255, 255, 255, 0.7); }
.section.dark .btn.ghost:hover, .hero .btn.ghost:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }
.section.dark .btn:not(.ghost):not(.light):hover, .hero .btn:not(.ghost):hover { background: #fff; border-color: #fff; color: var(--ink) !important; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.arrow-link { font-weight: 600; text-decoration: none; color: var(--brass); }
.arrow-link::after { content: " \2192"; white-space: nowrap; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section.dark .arrow-link { color: var(--brass-light); }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: rgba(255, 255, 255, 0.8); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lede { color: rgba(255, 255, 255, 0.76); }
.section.dark .eyebrow { color: var(--brass-light); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + p { margin-top: 1.4rem; }

/* Home hero: a full-width dark band with the photo standing on its bottom edge */
.hero { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: 0; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--brass-light); }
.hero .lede { margin-top: 1.8rem; color: rgba(255, 255, 255, 0.82); }
.hero-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(36px, 5vw, 88px); align-items: end; }
.hero-text { padding: clamp(64px, 8vw, 120px) 0 clamp(64px, 8vw, 112px); }
.hero-grid h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.hero-photo { margin: 0; align-self: end; padding-top: clamp(40px, 5vw, 72px); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.hero-photo figcaption { display: none; }
.fit-line { margin: 1.2rem 0 0; font-size: 1rem; color: rgba(255, 255, 255, 0.62); max-width: 34em; }

.page-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); max-width: 17em; }
.page-hero .lede { margin-top: 1.6rem; }

.photo-slot picture { display: block; width: 100%; height: 100%; }
.prose h3 { margin: 2.2rem 0 0.7rem; }
.prose h3:first-child { margin-top: 0; }
.prose a { color: var(--brass); }

/* Fact strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.facts div { border-top: 3px solid var(--ink); padding-top: 18px; }
.facts b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.facts span { color: var(--muted); font-size: 1rem; }

/* Large opening statement */
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.3vw, 2.9rem); line-height: 1.22; letter-spacing: -0.015em; color: var(--ink); max-width: 24em; margin: 0 0 clamp(36px, 5vw, 64px); text-wrap: balance; }
.statement strong { font-weight: 600; }

/* Two column */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
.big-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.section.dark .big-quote { color: #fff; }

/* Service list: plain rows with a rule between them */
.services { border-top: 3px solid var(--ink); }
.service { display: grid; grid-template-columns: 64px 4fr 6fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
a.service h3::after { content: " \2192"; color: var(--brass); opacity: 0; transition: opacity .15s; }
a.service:hover h3 { color: var(--brass); }
a.service:hover h3::after { opacity: 1; }
.service .num { font-size: 0.95rem; font-weight: 600; color: var(--muted); padding-top: 7px; }
.service p { margin: 0; color: var(--muted); }
.service ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text); }
.service li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; font-size: 1rem; }
.service li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--brass); }

.service-quote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brass); }
.service .service-quote p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: var(--ink); margin: 0 0 10px; }
.service-quote cite { font-style: normal; font-size: 0.9rem; color: var(--muted); }

/* Numbered steps as rows */
.steps { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 64px 4fr 6fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps .num { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.steps p { margin: 0; color: var(--muted); }

/* Columns under a rule (replaces boxed cards) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.card { background: none; padding: 20px 0 0; border-top: 3px solid var(--ink); }
.section.dark .card { border-top-color: rgba(255, 255, 255, 0.55); }
.card .num { font-size: 0.95rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 14px; }
.section.dark .card .num { color: var(--brass-light); }
.card h3 { margin-bottom: 12px; font-size: 1.4rem; }
.card p { margin: 0; font-size: 1rem; color: var(--muted); }
.section.dark .card p { color: rgba(255, 255, 255, 0.72); }
.card .tag { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--brass); display: block; margin-bottom: 14px; }

/* Principles list */
.principles { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--ink); }
.principles li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 28px; }
.principles b { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }
.principles span { color: var(--muted); }

.photo-slot { aspect-ratio: 4 / 5; background: var(--ink-2); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Client quotes: no boxes, a rule and large type */
.quote-card { background: none; border: 0; border-left: 3px solid var(--brass); padding: 4px 0 4px clamp(20px, 3vw, 36px); }
.quote-card p { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.38; color: var(--ink); letter-spacing: -0.01em; }
.quote-card cite { font-style: normal; font-size: 0.95rem; color: var(--muted); }
.section.dark .quote-card { border-left-color: var(--brass-light); }
.section.dark .quote-card p { color: #fff; }
.section.dark .quote-card cite { color: rgba(255, 255, 255, 0.66); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); }
.quotes.two { grid-template-columns: 1fr 1fr; }
.split > .quote-card { align-self: center; }
.result b { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; color: #fff; display: block; margin-bottom: 14px; letter-spacing: -0.02em; }

.offer-line { margin: 1.6rem 0 0; font-size: 1rem; color: var(--muted); }
.offer-line b { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--ink); margin-right: 4px; }
.offer-line span { margin: 0 8px; color: var(--brass); }
.section.dark .offer-line { color: rgba(255, 255, 255, 0.72); }
.section.dark .offer-line b { color: #fff; }
.section.dark .offer-line span { color: var(--brass-light); }
.price { font-family: var(--serif); font-weight: 600; font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; color: var(--ink); margin: 0 0 1rem; letter-spacing: -0.03em; }

/* Closing band */
.cta-band h2 { max-width: 17em; }
.cta-band .lede { margin-top: 1.4rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(36px, 6vw, 96px); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.contact-list a { text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; }
.contact-list a:hover { color: var(--brass); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; margin-top: 8px; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1px solid rgba(6, 32, 58, 0.4); border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.92rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 18px 22px; margin-bottom: 28px; border-left: 3px solid var(--brass); background: var(--paper-2); }
.notice.error { border-color: #b3261e; }
.notice[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 72px 0 36px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand { flex-wrap: wrap; }
.site-footer .brand b { color: #fff; }
.site-footer .brand span { color: rgba(255, 255, 255, 0.6); display: inline; border-left-color: var(--line-dark); }
.site-footer h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1080px) {
  .site-header .brand span { display: none; }
}
@media (max-width: 900px) {
  .split, .split.even, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 22px; }
  .grid-3, .quotes, .quotes.two { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .service, .steps li { grid-template-columns: 44px 1fr; }
  .service > :last-child, .steps li > :last-child { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .principles li { grid-template-columns: 1fr; gap: 8px; }
  .photo-slot { max-width: 420px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding-bottom: 8px; }
  .hero-photo { max-width: 360px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .nav { height: 68px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links .btn { margin-top: 18px; }
  .facts { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
