*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --gutter: 4vw;
  --ink: #000;
  --gray: #dcdcdc;
}

html, body { margin: 0; padding: 0; }
body {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
p { font-size: 1.15rem; line-height: 1.5; margin: 0 0 1em; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.2rem var(--gutter);
  position: relative;
  z-index: 2;
}
.logo { font-size: 1.9rem; letter-spacing: -0.01em; }
.nav { display: flex; gap: 2.2rem; font-size: 1.05rem; }
.nav a { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* Home hero */
.hero {
  margin: 0 var(--gutter);
  height: calc(100vh - 120px);
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111 url("images/hero.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero h1 {
  position: relative;
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 6rem);
  text-align: center;
  padding: 0 1rem;
}

/* Home split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
  padding: 8rem var(--gutter) 0;
}
.split img { width: 100%; aspect-ratio: 848 / 980; object-fit: cover; }
.split-text h2 { font-size: clamp(2.4rem, 4.6vw, 5.2rem); margin-bottom: 1.2rem; }
.split-text p { max-width: 34rem; }

/* About */
.about-hero {
  position: relative;
  background: #bdbdbd url("images/about.jpg") center 35% / cover no-repeat;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(220,220,220,.95) 0%, rgba(220,220,220,.85) 28%, rgba(220,220,220,.35) 45%, rgba(220,220,220,0) 60%);
}
.about-hero .site-header,
.about-intro { position: relative; }
.about-intro {
  padding: 3.5rem var(--gutter) 6rem;
  max-width: calc(640px + 2 * var(--gutter));
}
.about-intro h1 { font-size: clamp(2.6rem, 4.6vw, 5.2rem); margin-bottom: 1.2rem; }

.inquiry {
  background: var(--gray);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 9rem var(--gutter) 14rem;
}
.inquiry h2 { font-size: clamp(2.6rem, 4.6vw, 5.2rem); margin-bottom: 3rem; }
.inquiry p { max-width: 40rem; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 3.5rem var(--gutter) 0;
}
.contact h1 { font-size: clamp(2.6rem, 4.6vw, 5.2rem); margin-bottom: 1.2rem; }
.contact .intro { margin-bottom: 8rem; }
.contact img { width: 100%; height: 100%; max-height: 1050px; object-fit: cover; }

/* Forms */
.form legend,
.form .field-label { font-size: 1.3rem; margin-bottom: .6rem; display: block; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form label { display: block; font-size: 1rem; margin-bottom: .5rem; }
.form .req { color: #555; font-size: .95em; margin-left: .35em; }
.form .field { margin-bottom: 1.2rem; }
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .9rem 1.2rem;
  border: 1px solid #000;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  color: inherit;
}
.form textarea { border-radius: 26px; min-height: 126px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: 2px solid #000; outline-offset: 1px; }
.form .checkbox { display: flex; align-items: center; gap: .7rem; margin: -.4rem 0 1.4rem; font-size: 1rem; }
.form .checkbox input { width: 22px; height: 22px; margin: 0; accent-color: #000; }
.button {
  font: inherit;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 1.05rem 1.9rem;
  cursor: pointer;
  margin-top: .6rem;
}
.button:hover { opacity: .85; }
.hidden { display: none; }

/* Footer */
.site-footer { padding: 9rem var(--gutter) 9rem; }
.site-footer h2 { font-size: clamp(2rem, 3vw, 3.3rem); text-transform: uppercase; margin-bottom: 2.4rem; }
.site-footer p { margin-bottom: .9em; }

/* Thanks */
.thanks { padding: 8rem var(--gutter); min-height: 50vh; }
.thanks h1 { font-size: clamp(2.6rem, 4.6vw, 5.2rem); margin-bottom: 1.2rem; }

/* Mobile */
@media (max-width: 800px) {
  :root { --gutter: 16px; }
  .site-header { padding: 1.4rem var(--gutter); }
  .logo { font-size: 1.4rem; }
  .nav { gap: 1.2rem; }
  .hero { height: 70vh; }
  .split, .inquiry, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .split { padding-top: 4rem; }
  .inquiry { padding: 5rem var(--gutter); }
  .about-hero::before { background: rgba(220,220,220,.85); }
  .contact .intro { margin-bottom: 3rem; }
  .form .row { grid-template-columns: 1fr; }
  .site-footer { padding: 5rem var(--gutter); }
}
