:root {
  --ink: #101828;
  --ink-soft: #344054;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --line: #e4e7ec;
  --primary: #f5a623;
  --primary-strong: #d88909;
  --primary-ink: #1a1200;
  --focus: #2e90fa;
  --shadow: 0 20px 60px rgb(16 24 40 / 0.10);
  --radius: 1.25rem;
  --radius-sm: .85rem;
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --max-width: 70rem;
  --font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--surface); color: var(--ink); font: 400 1rem/1.55 var(--font-family); text-rendering: optimizeLegibility; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 10; left: var(--space-3); top: -4rem; padding: .65rem 1rem; background: var(--ink); color: #fff; border-radius: .5rem; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: var(--space-3); }

.site-header, .site-footer, main { min-width: 0; width: min(calc(100% - 2rem), var(--max-width)); margin-inline: auto; }
.site-header { min-height: 5.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: .75rem; }
.identity { min-width: 0; display: flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.2; }
.identity strong, .identity span > span { display: block; }
.identity strong { font-size: .95rem; }
.identity span > span { margin-top: .18rem; color: var(--ink-soft); font-size: .78rem; }
.monogram { display: grid; width: 2.4rem; aspect-ratio: 1; place-items: center; border-radius: .7rem; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.header-link, .site-footer a { color: var(--ink-soft); font-size: .85rem; text-decoration: none; }
.header-link:hover, .site-footer a:hover { color: var(--ink); }

.hero { position: relative; isolation: isolate; overflow: clip; padding: 1.25rem 0 var(--space-5); }
.hero::before { position: absolute; z-index: -1; width: 18rem; height: 18rem; top: -6rem; right: -7rem; border-radius: 50%; background: radial-gradient(circle, rgb(245 166 35 / .14), transparent 68%); content: ""; filter: blur(4px); pointer-events: none; }
.eyebrow, .panel-kicker { margin: 0 0 var(--space-2); color: var(--primary-strong); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.05; }
h1 { max-width: 13ch; margin-bottom: var(--space-3); font-size: clamp(2.6rem, 10vw, 5.25rem); }
h2 { margin-bottom: var(--space-3); font-size: clamp(1.65rem, 5vw, 2.5rem); }
.lede, .section-intro > p:last-child, .save-card p { max-width: 38rem; color: var(--ink-soft); font-size: clamp(1rem, 2vw, 1.15rem); }

.contact-panel { margin-top: var(--space-5); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt); box-shadow: 0 1px 1px rgb(16 24 40 / .02); }
.contact-panel h2 { margin-bottom: var(--space-4); font-size: clamp(1.4rem, 4vw, 1.9rem); }
.action-grid { display: grid; gap: .75rem; }
.action { min-height: 4.75rem; display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.action svg, .button svg { width: 1.3rem; height: 1.3rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action > svg { color: var(--primary-strong); }
.action span { min-width: 0; }
.action strong, .action small { display: block; }
.action strong { font-size: .98rem; }
.action small { display: none; overflow: hidden; color: var(--ink-soft); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.action-primary { border-color: var(--ink); background: var(--ink); color: #fff; }
.action-primary > svg, .action-primary small { color: #fff; }

.section-shell { padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.message-form { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.field { display: grid; gap: .45rem; }
label { color: var(--ink); font-size: .88rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 3rem; padding: .75rem .85rem; border: 1px solid #cfd4dc; border-radius: .65rem; background: #fff; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
textarea { min-height: 6.75rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7c8493; }
.optional { color: var(--ink-soft); font-weight: 500; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px rgb(46 144 250 / .16); }

.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; padding: .75rem 1rem; border: 1px solid transparent; border-radius: .7rem; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button-primary { background: var(--primary); color: var(--primary-ink); }
.button-primary:hover { background: var(--primary-strong); color: #fff; box-shadow: 0 10px 24px rgb(216 137 9 / .25); }
.button-dark { margin-top: .25rem; background: var(--ink); color: #fff; }
.form-note { margin: -.35rem 0 0; color: var(--ink-soft); font-size: .82rem; }

.contact-tools { max-width: 42rem; }
.save-card { display: grid; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius); background: var(--ink); color: #fff; }
.save-card .eyebrow { color: #ffd17a; }
.save-card p { margin-bottom: 0; color: #d0d5dd; }
.save-note { margin: calc(var(--space-3) * -1) 0 0; color: #d0d5dd; font-size: .78rem; }

.resource-grid { display: grid; gap: .75rem; margin-top: var(--space-4); }
.resource-card { min-height: 5.5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.resource-card > span:nth-child(2) { min-width: 0; }
.resource-card strong, .resource-card small { display: block; }
.resource-card small { color: var(--ink-soft); font-size: .8rem; line-height: 1.4; }
.resource-icon { display: grid; width: 2.4rem; aspect-ratio: 1; place-items: center; border-radius: .7rem; background: var(--primary); color: var(--primary-ink); font-weight: 900; }
.resource-icon-outline { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }

.testimonial-section { padding-top: var(--space-5); }
.testimonial-content { max-width: 42rem; }
.testimonial-content h2 { margin-bottom: var(--space-3); font-size: clamp(1.35rem, 3vw, 1.75rem); }
.client-review { margin: 0; padding: .25rem 0 .25rem var(--space-4); border-left: 2px solid var(--primary); }
.client-review p { margin-bottom: .7rem; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }
.client-review footer { color: var(--ink); font-size: .82rem; font-style: normal; font-weight: 700; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding: var(--space-5) 0 var(--space-6); color: var(--ink-soft); font-size: .8rem; }

@media (min-width: 42rem) {
  .site-header, .site-footer, main { width: min(calc(100% - 4rem), var(--max-width)); }
  .hero { padding-top: var(--space-5); }
  .contact-panel { padding: var(--space-5); }
  .action-grid { grid-template-columns: repeat(3, 1fr); }
  .action { min-height: 6.5rem; align-items: flex-start; }
  .action small { display: block; }
  .message-form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .message-form .button { width: fit-content; min-width: 13rem; }
  .save-card { padding: var(--space-5); }
  .resource-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 64rem) {
  .resource-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (hover: hover) {
  .action:hover { transform: translateY(-2px); border-color: #b9bec8; box-shadow: 0 8px 18px rgb(16 24 40 / .08); }
  .button:hover { transform: translateY(-2px); }
  .resource-card:hover { transform: translateY(-2px); border-color: #b9bec8; background: var(--surface-alt); box-shadow: 0 10px 22px rgb(16 24 40 / .07); }
}

.action:active, .button:active, .resource-card:active { transform: translateY(0) scale(.99); }

@media (prefers-reduced-motion: no-preference) {
  .hero > :not(.contact-panel) { animation: rise-in .45s ease both; }
  .contact-panel { animation: rise-in .5s .08s ease both; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #f4f6fa; --ink-soft: #b8c0cc; --surface: #101828; --surface-alt: #182230; --line: #344054; --primary-ink: #1a1200; --shadow: 0 20px 60px rgb(0 0 0 / .25); }
  input, select, textarea { border-color: #475467; background: #101828; color: var(--ink); }
  .monogram { background: var(--primary); color: var(--primary-ink); }
  .action { background: #182230; }
  .action-primary, .button-dark, .save-card { background: #f4f6fa; color: #101828; }
  .action-primary small, .save-card p { color: #475467; }
  .save-card .eyebrow { color: var(--primary-ink); }
}
