:root {
  --ink: #101010;
  --paper: #ffffff;
  --soft: #f2f3f1;
  --muted: #646967;
  --teal: #42919e;
  --yellow: #ffcc00;
  --line: #d9dcda;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Didact Gothic", "Century Gothic", Avenir, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a { color: inherit; }

a:hover { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 6.5rem;
}

.brand { display: inline-block; max-width: 320px; }

.brand img { width: 100%; height: auto; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a { text-decoration: none; }

.hero {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: stretch;
  min-height: 39rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 6rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; }

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: #eceeed;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--paper);
  color: var(--paper);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

.hero-photo {
  min-height: 39rem;
  background: #050505;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.section { padding: 7rem 0; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(11rem, 0.45fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.section-heading h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -0.04em; }

.section-heading p { max-width: 43rem; margin: 0; color: var(--muted); font-size: 1.2rem; }

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

.service-card {
  min-height: 16rem;
  padding: 1.55rem;
  border-top: 0.5rem solid var(--teal);
  background: var(--soft);
}

.service-card:nth-child(2) { border-top-color: var(--yellow); }
.service-card:nth-child(3) { border-top-color: var(--ink); }
.service-card:nth-child(4) { border-top-color: var(--teal); }

.service-card h3 { font-size: 1.65rem; }
.service-card p { margin: 1.4rem 0 0; color: var(--muted); }

.band {
  color: var(--paper);
  background: var(--teal);
}

.band .section-heading p { color: #f4ffff; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

.about-copy { font-size: 1.17rem; }
.about-copy p { margin: 0 0 1.25rem; }

.advantage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.5);
}

.advantage-list li {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font-size: 1.02rem;
}

.advantage-list li::before { content: "+"; display: inline-block; margin-right: 0.5rem; color: var(--yellow); font-weight: 700; }

.links-section { background: var(--soft); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.link-grid a {
  min-height: 5rem;
  padding: 1.25rem;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.12rem;
  text-decoration: none;
}

.link-grid a::after { content: " ↗"; color: var(--teal); }
.link-grid a:hover { color: var(--paper); background: var(--ink); }

.faq-list { border-top: 1px solid var(--ink); }

details { border-bottom: 1px solid var(--ink); }

summary {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem 0;
  cursor: pointer;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); }
details[open] summary::after { content: "−"; }
details p { max-width: 48rem; margin: 0 0 1.4rem; color: var(--muted); }

.contact-section { color: var(--paper); background: var(--ink); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 5rem;
  align-items: end;
}

.contact-section h2 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.05em; }
.contact-copy { max-width: 37rem; color: #d9dcda; font-size: 1.25rem; }
.contact-copy p { margin: 0 0 1rem; }
.contact-mark { color: var(--yellow); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: var(--paper); }

.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-name { margin: 0; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.95rem; }
.footer-nav a { color: var(--muted); }

.page-hero { padding: 6rem 0 4rem; background: var(--soft); }
.page-hero h1 { max-width: none; font-size: clamp(3.4rem, 8vw, 7rem); }
.page-hero p { max-width: 45rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.25rem; }
.legal-content { padding: 5rem 0 7rem; }
.legal-content h2 { margin: 2.5rem 0 0.75rem; font-size: 2rem; }
.legal-content p { max-width: 48rem; margin: 0 0 1.1rem; color: var(--muted); }
.legal-content ul { max-width: 48rem; color: var(--muted); }
.back-link { display: inline-block; margin-top: 1rem; font-weight: 700; }

.not-found { min-height: calc(100vh - 15rem); display: grid; place-items: center; padding: 5rem 0; }
.not-found h1 { max-width: none; font-size: clamp(5rem, 16vw, 12rem); }
.not-found p { max-width: 35rem; margin: 1rem 0 0; color: var(--muted); font-size: 1.2rem; }
.not-found .button { margin-top: 2rem; color: var(--ink); border-color: var(--ink); }
.not-found .button:hover { color: var(--ink); border-color: var(--yellow); }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(calc(100% - 2rem), 48rem);
  padding: 1rem 1.15rem;
  border: 1px solid var(--paper);
  color: var(--paper);
  background: rgba(16,16,16,.97);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.2);
}

.cookie-banner p { margin: 0; font-size: 0.9rem; }
.cookie-banner a { color: var(--yellow); }
.cookie-banner button { flex: 0 0 auto; padding: 0.65rem 1rem; border: 0; color: var(--ink); background: var(--yellow); font: inherit; font-weight: 700; cursor: pointer; }
.cookie-banner button:hover { background: var(--paper); }
.cookie-banner[hidden] { display: none !important; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1.4rem 0; }
  .site-nav ul { justify-content: flex-start; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { padding: 5rem 0 0; }
  .hero-photo { min-height: 27rem; max-height: 35rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { align-items: start; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .brand { max-width: 270px; }
  .site-nav ul { gap: 0.45rem 0.85rem; font-size: 0.74rem; }
  .hero-copy { padding: 4.5rem 0 0; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .section { padding: 4.5rem 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .service-grid, .link-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .advantage-list { grid-template-columns: 1fr; }
  .cookie-banner { right: 0.5rem; bottom: 0.5rem; flex-direction: column; align-items: stretch; gap: 0.75rem; width: calc(100% - 1rem); }
}

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