@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); }
/* HypaTech — site styles. Brand orange #ffa507 and grey #7f7f7f come from the HypaTech logo. */
:root {
  --orange: #ffa507;
  --orange-dark: #9a5a00;
  --ink-on-orange: #17191c;
  --orange-soft: #fff4e0;
  --slate: #2a2e33;
  --slate-2: #3a4047;
  --paper: #ffffff;
  --mist: #f5f5f3;
  --muted: #5a6168;
  --rule: #dfe1e0;

  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.4vw, 4.6rem);
  --wrap: 70rem;
  --gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--slate); font-family: var(--font); font-size: var(--step-0); line-height: 1.6; }
a { color: var(--orange-dark); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.5rem 1rem; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); color: var(--slate); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 0.9rem; }
.brand { display: block; line-height: 0; }
.brand img { width: clamp(180px, 40vw, 260px); height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--orange-dark); text-decoration: underline; }
.nav .nav-remote { border: 2px solid var(--slate); color: var(--slate); font-weight: 700; padding: 0.35rem 0.9rem; border-radius: 999px; text-decoration: none; }
.nav .nav-remote:hover { background: var(--slate); color: var(--paper); text-decoration: none; }
.nav .nav-call { background: var(--orange); color: var(--ink-on-orange); font-weight: 700; padding: 0.45rem 0.9rem; border-radius: 999px; text-decoration: none; }
.nav .nav-call:hover { background: var(--slate); color: var(--paper); text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-dark { background: var(--slate); color: var(--paper); }
.btn-dark:hover { background: #000; color: var(--paper); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--slate); color: var(--paper); }
.btn-orange { background: var(--orange); color: var(--ink-on-orange); }
.btn-orange:hover { background: var(--paper); color: var(--slate); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Hero: full orange */
.hero { background: var(--orange); color: var(--ink-on-orange); padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.hero .wrap { display: grid; gap: var(--gap); align-items: end; }
.hero h1 { max-width: 13ch; }
.hero .lede { font-size: var(--step-1); max-width: 38ch; font-weight: 500; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.hero-facts li { background: var(--paper); border-radius: 14px; padding: 1rem 1.25rem; }
.hero-facts strong { display: block; font-size: var(--step-1); letter-spacing: -0.01em; }
.hero-facts span { color: var(--muted); font-size: var(--step--1); }
@media (min-width: 58rem) { .hero .wrap { grid-template-columns: 1.7fr 1fr; } }

/* Sections */
.section { padding-block: clamp(3.5rem, 2rem + 4vw, 6rem); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--slate); color: #e6e8ea; }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.intro { margin-bottom: 2.5rem; }
.intro p { color: var(--muted); font-size: var(--step-1); }
.section-dark .intro p { color: #c8ccd0; }

/* Services */
.services { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.services article { background: var(--paper); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.services h3::before { content: ""; display: block; width: 2.25rem; height: 4px; background: var(--orange); border-radius: 2px; margin-bottom: 1rem; }
.services p { color: var(--muted); margin: 0; }
@media (min-width: 48rem) { .services { grid-template-columns: repeat(2, 1fr); } }

/* Fixed price feature */
.promise { display: grid; gap: var(--gap); align-items: center; }
.promise .big { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: var(--orange); margin: 0; }
.promise p.lead { font-size: var(--step-1); }
@media (min-width: 56rem) { .promise { grid-template-columns: 1fr 1.2fr; } }

/* Steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--orange); color: var(--ink-on-orange); font-weight: 800; margin-bottom: 1rem; }
.steps p { margin: 0; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Visit / contact */
.visit { display: grid; gap: var(--gap); }
@media (min-width: 56rem) { .visit { grid-template-columns: 1.1fr 1fr; } }
.details { list-style: none; margin: 0; padding: 0; }
.details li { padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.details li:first-child { border-top: 1px solid var(--rule); }
.details strong { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.details a, .details .val { font-size: var(--step-1); font-weight: 700; color: var(--slate); }
.details a:hover { color: var(--orange-dark); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.closed td { color: var(--muted); }

/* Footer */
.site-footer { background: var(--slate); color: #c8ccd0; font-size: var(--step--1); padding-block: 2rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { color: var(--paper); }
.site-footer p { margin: 0; }
.heart { color: var(--orange); }

.notfound { min-height: 60vh; display: grid; align-items: center; }
.details a.directions { font-size: 1rem; font-weight: 600; color: var(--orange-dark); }
@media (max-width: 40rem) { .site-header { position: static; } }
.promises { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); }
.promises .big { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: var(--orange-dark); margin: 0 0 1.25rem; }
.promises h2 { font-size: var(--step-2); }
.promises .lead { font-size: var(--step-1); margin: 0; }
@media (min-width: 52rem) { .promises { grid-template-columns: 1fr 1fr; } }
body { min-height: 100vh; display: flex; flex-direction: column; } main { flex: 1; }
