:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-elevated: rgba(14, 14, 14, 0.82);
  --bg-elevated-strong: rgba(20, 20, 20, 0.92);
  --panel-border: rgba(255, 255, 255, 0.1);
  --panel-highlight: rgba(255, 255, 255, 0.07);
  --text: #f2f2ee;
  --text-strong: #ffffff;
  --text-soft: rgba(242, 242, 238, 0.78);
  --text-muted: rgba(242, 242, 238, 0.6);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.14);
  --glow: rgba(255, 255, 255, 0.08);
  --focus-ring: #ffffff;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
  --radius: 32px;
  --content-width: 72rem;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-brand: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.035), transparent 20%),
    linear-gradient(180deg, #020202 0%, #090909 48%, #111111 100%);
  color: var(--text);
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
}

a:not([class]) {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.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;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #050505;
  font-weight: 700;
  text-decoration: none;
  z-index: 20;
  outline: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
  box-shadow: 0 0 0 3px rgba(5, 5, 5, 0.9);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: clip;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.25rem;
  isolation: isolate;
}

.site-header,
.hero,
.site-footer {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.site-header {
  padding: 1.35rem 0 1rem;
  text-align: center;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  justify-content: center;
}

.brand-mark {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0%, #d8d8d8 26%, #767676 66%, #161616 100%);
  box-shadow:
    0 0 18px var(--glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  flex: none;
}

.brand-wordmark {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  color: var(--text-strong);
  font-family: var(--font-brand);
  font-size: clamp(1.1rem, 0.98rem + 0.55vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-tag {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.hero {
  display: grid;
  align-items: center;
  padding: 2rem 0 3rem;
  justify-items: center;
}

.hero-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  width: 100%;
  min-height: clamp(18rem, 46vh, 24rem);
  background:
    linear-gradient(180deg, var(--panel-highlight), rgba(255, 255, 255, 0.012)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    var(--bg-elevated);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero:focus-visible .hero-panel,
.hero:target .hero-panel {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.92),
    var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02), transparent 70%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  color: var(--text-strong);
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.blinking-headline {
  animation: headline-blink 1.8s steps(2, end) infinite;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  max-width: 16ch;
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.98rem + 0.42vw, 1.22rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 10px 28px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #050505;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-align: center;
}

.contact-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-lockup:hover {
  color: var(--text-strong);
}

.skip-link:focus-visible,
.brand-lockup:focus-visible,
.contact-button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.brand-lockup:focus-visible,
.contact-button:focus-visible {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.comments-panel {
  margin-top: 0.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--bg-elevated-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.tabs-panel {
  width: 100%;
  margin-top: 0.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--bg-elevated-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.tabs-header h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tabs-intro {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
}

.tab-button {
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.95rem;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.tab-button.is-active {
  background: #ffffff;
  color: #050505;
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.08);
}

.tab-button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.tab-panel {
  max-width: 48rem;
  margin: 1.75rem auto 0;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.025);
}

.tab-panel h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem);
  font-weight: 700;
}

.tab-panel p {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  text-align: left;
}

.faq-item {
  padding: 0.15rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  padding: 1rem 1.1rem;
  color: var(--text-strong);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  max-width: none;
}

.service-request-form {
  max-width: 48rem;
  margin: 1.75rem auto 0;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.025);
}

.service-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.service-request-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.service-request-note {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.comments-header h2,
.comment-thread h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.comments-intro {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-inline: auto;
}

.comment-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  max-width: 40rem;
  margin-inline: auto;
}

.form-field {
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.form-field label {
  color: var(--text-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
  font: inherit;
  resize: vertical;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(244, 244, 241, 0.46);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible,
.comment-submit:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.form-field select {
  appearance: none;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.checkbox-field input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.2rem 0 0;
  flex: none;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.comment-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
}

.comment-submit {
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.comment-submit:hover {
  background: rgba(255, 255, 255, 0.08);
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.comment-thread {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-inline: auto;
}

.comment-item {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.comment-author {
  color: var(--text-strong);
  font-weight: 700;
}

.comment-time {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.comment-body {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  white-space: pre-wrap;
}

.empty-thread {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  text-align: center;
}

.site-footer {
  padding: 0.5rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.footer-meta [aria-hidden="true"] {
  line-height: 1;
}

.ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.52;
  z-index: -1;
  animation: drift 16s ease-in-out infinite alternate;
}

.ambient-one {
  top: 8%;
  right: -10%;
  width: min(28rem, 45vw);
  height: min(28rem, 45vw);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.ambient-two {
  bottom: 6%;
  left: -8%;
  width: min(22rem, 40vw);
  height: min(22rem, 40vw);
  animation-duration: 22s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}

body.js-ready .hero-panel {
  animation: panel-rise 680ms ease-out both;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, 1.5rem, 0) scale(1.08);
  }
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headline-blink {
  0%,
  48%,
  100% {
    opacity: 1;
  }
  50%,
  82% {
    opacity: 0.28;
  }
}

@media (max-width: 700px) {
  .page-shell {
    padding: 1rem;
  }

  .site-header {
    padding: 0.5rem 0 0.5rem;
  }

  .brand-lockup {
    gap: 0.65rem;
    padding: 0.45rem 0.75rem;
  }

  .brand-name {
    letter-spacing: 0.18em;
  }

  .brand-tag {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .hero {
    padding: 1rem 0 1.75rem;
  }

  .hero-panel {
    padding: 1.5rem;
    min-height: 18rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.7rem);
    line-height: 1.02;
  }

  .blinking-headline {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .lede {
    margin-top: 1.15rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .contact-button {
    width: 100%;
    min-height: 3.75rem;
    padding: 1rem 1.2rem;
  }

  .site-footer {
    padding-bottom: 1rem;
    font-size: 0.92rem;
  }

  .tabs-panel,
  .comments-panel {
    padding: 1.5rem;
  }

  .tab-panel,
  .service-request-form {
    padding: 1.1rem;
  }

  .tab-button {
    flex: 1 1 10rem;
  }

  .service-request-grid {
    grid-template-columns: 1fr;
  }

  .comment-form-actions {
    align-items: stretch;
  }

  .service-request-actions {
    align-items: stretch;
  }

  .comment-submit {
    width: 100%;
  }

  .footer-meta {
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 0.8rem;
  }

  .skip-link {
    left: 0.8rem;
    right: 0.8rem;
    width: auto;
    text-align: center;
  }

  .brand-lockup {
    max-width: 100%;
  }

  .brand-name {
    font-size: 0.98rem;
    letter-spacing: 0.12em;
  }

  .brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .tabs-nav {
    gap: 0.6rem;
  }

  .hero-panel {
    padding: 1.25rem;
    border-radius: 24px;
    min-height: 15rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .blinking-headline {
    font-size: clamp(1.4rem, 8vw, 1.9rem);
  }

  .tabs-panel,
  .comments-panel,
  .tab-panel,
  .service-request-form {
    border-radius: 1.2rem;
  }

  .lede {
    font-size: 0.98rem;
  }

  .comment-item {
    padding: 0.9rem;
  }

  .footer-meta [aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ambient {
    transform: none;
  }

  .brand-lockup:hover,
  .contact-button:hover {
    transform: none;
  }
}
