@font-face {
  font-family: "Satoshi";
  src: url("/satoshi-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/satoshi-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Satoshi", Arial, sans-serif;
  background: #f2f1ed;
  color: #1a1a1a;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: #f2f1ed;
  text-rendering: optimizeLegibility;
}

.shell {
  min-height: 100svh;
  padding: 12px;
}

.panel {
  position: relative;
  min-height: calc(100svh - 24px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 48px);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(247, 191, 82, .93), rgba(247, 191, 82, .8)),
    url("/house.webp") 74% 52% / cover no-repeat;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 191, 82, .34) 0 48%, transparent 76%);
}

.brand, .content, footer { position: relative; z-index: 1; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
}

.brand strong { font-weight: 700; }

.content {
  width: min(830px, 75%);
  align-self: center;
  padding: 52px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1a1a1a;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 8.4vw, 126px);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .88;
  text-wrap: balance;
}

h1 strong { font-weight: 700; }

.intro {
  max-width: 560px;
  margin: 30px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.25;
  text-wrap: pretty;
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 36px;
}

.contact-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 20px 54px 20px 20px;
  border: 1px solid rgba(26, 26, 26, .18);
  border-radius: 14px;
  color: inherit;
  background: rgba(255, 255, 255, .9);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: #fff;
}

.contact-card:focus-visible {
  outline: 3px solid #0756ff;
  outline-offset: 4px;
}

.contact-label {
  color: #737373;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-value {
  align-self: end;
  overflow-wrap: anywhere;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 700;
  line-height: 1.15;
}

.arrow {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 24px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .panel {
    min-height: calc(100svh - 24px);
    background-position: 64% center;
  }

  .panel::after { background: rgba(247, 191, 82, .47); }
  .content { width: min(100%, 720px); }
}

@media (max-width: 620px) {
  .shell { padding: 8px; }

  .panel {
    min-height: calc(100svh - 16px);
    padding: 20px;
    border-radius: 14px;
    background:
      linear-gradient(rgba(247, 191, 82, .88), rgba(247, 191, 82, .94)),
      url("/house.webp") 60% center / cover no-repeat;
  }

  .content {
    width: 100%;
    padding: 48px 0 36px;
  }

  h1 {
    font-size: clamp(49px, 16vw, 76px);
    line-height: .91;
  }

  .intro {
    max-width: 360px;
    margin-top: 24px;
    font-size: 18px;
  }

  .contact {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .contact-card { min-height: 94px; }

  footer {
    align-items: flex-end;
    font-size: 10px;
  }

  footer span:last-child { text-align: right; }
}

@media (max-width: 360px) {
  .panel { padding: 17px; }
  .brand img { width: 40px; height: 40px; }
  .brand { font-size: 17px; }
  .content { padding-top: 34px; }
  h1 { font-size: 46px; }
}

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