:root {
  color-scheme: light;
  --yellow: #f8c116;
  --yellow-deep: #efaa00;
  --orange: #ff4b0b;
  --orange-dark: #dc3900;
  --ink: #15191d;
  --muted: #59616a;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 22px 48px rgb(63 46 0 / 18%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--yellow);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--yellow);
  font-size: 16px;
  line-height: 1.5;
}

button, input, textarea { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 7px;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 54px);
  place-items: center;
}

.business-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  grid-template-rows: 1fr auto;
  width: min(1380px, 100%);
  min-height: min(820px, calc(100vh - clamp(36px, 8vw, 108px)));
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-intro, .contact-panel {
  position: relative;
  min-width: 0;
  padding: clamp(44px, 5.5vw, 82px);
}

.company-intro {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.brand {
  align-self: flex-start;
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-decoration: none;
}

.brand span {
  display: inline-block;
  color: var(--yellow-deep);
  transform: scaleX(0.86);
  transform-origin: center;
}

.company-intro__content {
  width: min(650px, 100%);
  margin: auto 0;
  padding: 58px 0 54px;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 670px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 5.4vw, 5.65rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.accent-line {
  width: 100%;
  height: 4px;
  margin-bottom: 34px;
  background: linear-gradient(90deg, var(--yellow-deep) 0 72%, var(--orange) 72% 100%);
}

.lead {
  max-width: 630px;
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 650;
}

.services span { display: inline-flex; align-items: center; }

.services span:not(:last-child)::after {
  margin: 0 12px;
  color: var(--orange);
  content: "•";
}

.line-motif {
  position: absolute;
  bottom: -58px;
  left: -36px;
  width: 285px;
  height: 160px;
  pointer-events: none;
}

.line-motif i {
  position: absolute;
  inset: 38px auto auto 0;
  width: 155px;
  height: 155px;
  border: 4px solid var(--orange);
  transform: rotate(45deg);
}

.line-motif i + i {
  inset: 38px auto auto 94px;
  border-color: var(--yellow-deep);
}

.contact-panel {
  align-self: center;
  border-left: 2px solid var(--ink);
}

.contact-panel h2 {
  margin-bottom: 30px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 650;
}

.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input { min-height: 50px; }

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgb(255 75 11 / 15%);
}

.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; }

.contact-form button {
  min-width: 190px;
  margin-top: 3px;
  padding: 14px 22px;
  color: var(--white);
  font-weight: 750;
  background: var(--orange);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.contact-form button:hover { background: var(--orange-dark); transform: translateY(-1px); }

.contact-form button:focus-visible, .email-link:focus-visible, .brand:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.form-status {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status.is-error { color: #8f1d14; }

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
  font-size: 1.02rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-footer {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 70px;
  padding: 16px clamp(28px, 4vw, 58px);
  border-top: 2px solid var(--ink);
  text-align: center;
}

.card-footer p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.card-footer p:first-child { text-align: left; }
.card-footer p:last-child { text-align: right; }
.legal-details span { margin: 0 4px; color: var(--orange); }

@media (max-width: 1080px) {
  .business-card { grid-template-columns: 1fr 0.9fr; }
  .company-intro, .contact-panel { padding: 46px; }
  .card-footer { grid-template-columns: 1fr auto; }
  .legal-details { display: none; }
}

@media (max-width: 820px) {
  .page-shell { display: block; padding: 16px; }
  .business-card { display: block; min-height: auto; }
  .company-intro, .contact-panel { padding: 38px 30px; }
  .company-intro__content { margin: 0; padding: 62px 0 48px; }
  h1 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .line-motif { display: none; }
  .contact-panel { border-top: 2px solid var(--ink); border-left: 0; }
  .card-footer { grid-template-columns: 1fr; gap: 9px; padding: 22px 28px; }
  .card-footer p:first-child, .card-footer p:last-child { text-align: center; }
  .legal-details { display: block; }
}

@media (max-width: 480px) {
  .page-shell { padding: 0; }
  .business-card { border-width: 0; border-radius: 0; box-shadow: none; }
  .company-intro, .contact-panel { padding: 34px 22px; }
  .company-intro__content { padding: 56px 0 12px; }
  .brand { font-size: 2.45rem; }
  h1 { font-size: clamp(2.7rem, 14vw, 3.7rem); }
  .services { display: grid; }
  .services span:not(:last-child)::after { display: none; }
  .contact-form button { width: 100%; }
}

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