/* Hub Realty | Stylesheet
   Brand: #F06823 (orange), #1C1C1E (charcoal), #FAFAF8 (warm white) */

/* Self-hosted fonts */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Design Tokens */
:root {
  --primary: #1C1C1E;
  --accent: #F06823;
  --accent-hover: #D85A1B;
  --accent-warm: #F2884D;
  --accent-glow: rgba(240, 104, 35, 0.25);
  --surface: #FAFAF8;
  --surface-alt: #F0EDE8;
  --text: #1C1C1E;
  --text-muted: #7A756E;
  --text-light: rgba(253, 250, 245, 0.75);
  --white: #FDFAF5;
  --border: rgba(28, 28, 30, 0.08);
  --border-accent: rgba(240, 104, 35, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(250, 250, 248, 0.55);
  --glass-border: rgba(255, 255, 255, 0.18);
  --radius: 2px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --nav-height: 72px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Utility */
.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: var(--nav-height);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 36px;
  width: auto;
  transition: filter 0.4s ease;
}

.nav:not(.nav--scrolled) .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.85);
  position: relative;
  transition: color 0.3s ease;
}

.nav--scrolled .nav__links a {
  color: var(--text-muted);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent);
}

.nav--scrolled .nav__links a:hover,
.nav--scrolled .nav__links a.active {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav--scrolled .hamburger__line {
  background: var(--primary);
}

.hamburger--open .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger--open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--open .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5vw 2rem;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu--open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.25s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.hero__slide--1 {
  background-image: url('../images/hero-1.jpg');
  opacity: 1;
}

.hero__slide--2 {
  background-image: url('../images/hero-2.jpg');
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(28, 28, 30, 0.78) 0%, rgba(28, 28, 30, 0.48) 55%, rgba(240, 104, 35, 0.12) 100%);
  z-index: 1;
}

.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 65%, var(--surface) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 5vw;
  margin-top: var(--nav-height);
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-warm);
}

.hero__quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero__cta:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.hero__cta svg {
  transition: transform 0.3s;
}

.hero__cta:hover svg {
  transform: translateX(4px);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 5vw;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(253, 250, 245, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(253, 250, 245, 0.35);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollAnim 2s 1.5s infinite;
}

/* Shared Section */
section {
  padding: 7rem 5vw;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2.5rem;
  border-radius: 1px;
}

/* About */
.about {
  background: var(--surface);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.about__img-wrap {
  position: relative;
}

.about__img-frame {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--border-accent);
  pointer-events: none;
}

.about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  display: block;
  background: var(--surface-alt);
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  z-index: 2;
  background: var(--primary);
  color: var(--white);
  padding: 1.4rem 1.6rem;
  text-align: center;
}

.about__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}

.about__badge span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.6);
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}

.credential-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
}

.credential-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
  border-radius: 50%;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-right: 10px;
  margin-top: 0.5rem;
  transition: border-color 0.3s, color 0.3s;
}

.contact-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-pill svg {
  flex-shrink: 0;
}

/* Contact */
.contact {
  background: var(--surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

/* Agent Card - glassmorphism accent */
.agent-card {
  background: var(--primary);
  padding: 2.5rem;
  position: sticky;
  top: 96px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-lg);
}

.agent-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  margin-bottom: 1.5rem;
}

.agent-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.agent-card .role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.88rem;
  transition: color 0.25s;
}

a.contact-detail:hover {
  color: var(--accent);
}

.contact-detail svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-divider {
  height: 1px;
  background: rgba(240, 104, 35, 0.15);
  margin: 2rem 0;
}

/* Accordion */
.accordion-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.45);
  margin-bottom: 1rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(240, 104, 35, 0.12);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  background: none;
  border: none;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  color: rgba(253, 250, 245, 0.7);
  text-align: left;
  transition: color 0.25s;
}

.accordion-trigger:hover,
.accordion-trigger.open {
  color: var(--accent);
}

.accordion-icon {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

.accordion-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.accordion-trigger.open .accordion-icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body.open {
  max-height: 220px;
}

.repair-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.8rem;
}

.repair-contact span:first-child {
  color: rgba(253, 250, 245, 0.55);
}

.repair-contact a {
  color: var(--accent-warm);
  font-weight: 400;
  transition: color 0.25s;
}

.repair-contact a:hover {
  color: var(--accent);
}

/* Contact Form - subtle glass effect */
.contact-form-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border-radius: var(--radius);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #D94040;
}

.form-group input.valid,
.form-group textarea.valid {
  border-color: #3D7A5A;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A756E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Honeypot field */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
  tab-index: -1;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease;
  margin-top: 0.5rem;
  border-radius: var(--radius);
}

.form-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-submit svg {
  transition: transform 0.3s;
}

.form-submit:hover svg {
  transform: translateX(4px);
}

.form-success {
  display: none;
  padding: 1.2rem 1.5rem;
  background: rgba(61, 122, 90, 0.1);
  border: 1px solid rgba(61, 122, 90, 0.25);
  color: #2D5E3F;
  font-size: 0.88rem;
  margin-top: 1.2rem;
  border-radius: var(--radius);
  align-items: center;
  gap: 10px;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
  color: #3D7A5A;
}

/* Footer */
.footer {
  background: var(--primary);
  padding: 4.5rem 5vw 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.footer__brand-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 0.82rem;
  color: rgba(253, 250, 245, 0.4);
  line-height: 1.8;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.82rem;
  color: rgba(253, 250, 245, 0.45);
  margin-bottom: 0.6rem;
  transition: color 0.25s;
  line-height: 1.6;
}

.footer__col a:hover {
  color: var(--accent-warm);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(253, 250, 245, 0.25);
}

.footer__bottom a {
  color: rgba(253, 250, 245, 0.25);
  transition: color 0.25s;
}

.footer__bottom a:hover {
  color: var(--accent);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.3);
  transition: color 0.25s;
}

.back-to-top:hover {
  color: var(--accent);
}

.back-to-top svg {
  transition: transform 0.3s;
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollAnim {
  to {
    left: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive: 1024px */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about__img-wrap {
    max-width: 420px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .agent-card {
    position: static;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Responsive: 768px */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 4.5rem 5vw;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__title {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }
}

/* Responsive: 480px */
@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }

  section {
    padding: 2.5rem 4vw;
  }

  .hero__content {
    margin-top: -30px; /* Pull the content block up slightly over the center line */
  }

  .hero__eyebrow {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .hero__quote {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero__cta {
    padding: 14px 32px;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .about__badge {
    right: 0;
    bottom: -1rem;
  }

  .form-submit {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }

  .repair-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__quote,
  .hero__cta,
  .hero__scroll {
    opacity: 1;
    transform: none;
  }
}

/* Keyboard Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}
