:root {
  font-family: system-ui, sans-serif;
  color: #102c3e;
  background: #faf7ef;
  line-height: 1.5;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
p, h1, h2 { margin: 0; }

.site-header {
  min-height: 86px;
  padding: 9px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e1d8c9;
}

.brand, .phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 760;
}

.brand { text-decoration: none; font-size: 15px; line-height: 1.12; }
.brand img { display: block; width: 64px; height: 64px; }
.phone { font-size: 15px; min-height: 44px; text-underline-offset: 4px; white-space: nowrap; }

.layout { display: grid; grid-template-columns: 1.15fr 1fr; min-height: calc(100svh - 86px); }

.hero {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  color: #fffaf2;
  background: #102c3e;
  overflow: hidden;
}

.hero-photo, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-photo { object-fit: cover; object-position: center 55%; }
.hero::after {
  content: "";
  background: linear-gradient(180deg, transparent 12%, rgb(11 29 43 / 20%) 36%, rgb(11 29 43 / 96%) 100%);
}

.hero-copy { padding: clamp(32px, 5vw, 76px); }
.location { margin-bottom: 14px; font-size: 13px; font-weight: 760; letter-spacing: 0.13em; text-transform: uppercase; }
h1, h2 { font-weight: 840; line-height: 1; letter-spacing: -0.055em; text-wrap: balance; }
h1 { font-size: clamp(45px, 6.05vw, 105px); max-width: 9.6em; }

.contact {
  display: grid;
  align-items: center;
  padding: clamp(32px, 6.25vw, 108px);
}

.contact-inner { width: 100%; max-width: 440px; margin-inline: auto; }
h2 { font-size: clamp(40px, 4.1vw, 64px); }
#contact-intro { margin: 14px 0 26px; max-width: 32ch; font-size: 17px; color: #365161; }

form { display: grid; }
label { font-weight: 740; margin-bottom: 7px; }
input, button {
  font: inherit;
  border-radius: 5px;
  min-height: 54px;
  width: 100%;
}

input {
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #8b959b;
  background: #fffdfa;
  color: inherit;
}

input::placeholder { color: #576872; }
button {
  border: 0;
  background: #ae391b;
  color: white;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 750;
  cursor: pointer;
  transition: background 150ms ease;
}

button:hover { background: #912a13; }
button:disabled { cursor: wait; opacity: 0.75; }
button span { font-size: 20px; }
:focus-visible { outline: 3px solid #136d9c; outline-offset: 4px; }
.privacy, .status { margin-top: 13px; font-size: 14px; }
.privacy { color: #465c67; }
.status { color: #97290d; font-weight: 650; }
.status:empty { margin: 0; }

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding-block: 6px; }
  .brand { gap: 8px; }
  .brand img { width: 52px; height: 52px; }
  .layout { grid-template-columns: 1fr; }
  .hero { min-height: clamp(245px, 46vw, 360px); }
  .hero-photo { object-position: center 47%; }
  .hero-copy { padding: 26px clamp(20px, 5vw, 40px); }
  .location { margin-bottom: 9px; }
  h1 { max-width: 11ch; font-size: clamp(43px, 7.7vw, 64px); }
  .contact { padding: 34px clamp(20px, 5vw, 40px) 42px; }
  .contact-inner { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
}
