:root{
  --bg: #ffffff;
  --panel: #f3f3f3;
  --text: #111;
  --muted: #666;
  --line: #d8d8d8;
  --input: #ffffff;
  --btn: #111;
  --btnText: #fff;
  --max: 980px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Hero */
.hero{
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.25)),
    url("assets/hero.png");
  background-size: cover;
  background-position: center;
}

.brand{
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  font-family: "Source Sans 3", sans-serif;
  color: #fff;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 40px;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
  user-select: none;
}

.hero h1{
  margin: 0;
  margin-top: 300px;
  padding: 0 16px;
  text-align: center;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(60px, 20.2vw, 60px);
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}

/* Contact section */
.contact-wrap{
  background: var(--panel);
  padding: 56px 0 70px;
  border-top: 1px solid #eee;
}

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

.section-title{
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  margin: 0 0 10px;
  color: #444;
}

.rule{
  width: 50px;
  height: 1.2px;
  background: #cfcfcf;
  margin: 0 auto 28px;
  margin-top: 28px;
}

.subtitle{
  text-align: center;
  margin: 0 0 18px;
  font-size: 24px;
  color: #333;
  font-weight: 400;
}

form{
  width: min(480px, 100%);
  margin: 0 auto;
}

.field{
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--input);
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 14px;
  border-radius: 2px;
  outline: none;
}

.field:focus{
  border-color: #bcbcbc;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

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

.btn-row{
  display: grid;
  place-items: center;
  margin-top: 18px;
}

button{
  border: 0;
  background: var(--btn);
  color: var(--btnText);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
}

button:hover{ filter: brightness(1.08); }
button:active{ transform: translateY(1px); }

.fineprint{
  text-align: center;
  margin-top: 16px;
  font-size: 10px;
  color: #666;
}

.status{
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #1a6b4f;
  min-height: 18px;
}

@media (max-width: 560px){
  .section-title{ font-size: 30px; }
  .brand{ font-size: 14px; letter-spacing: 2px; }
  .contact-wrap{ padding: 46px 0 60px; }
}
