/* Wolff & Bowen: simple one-page site */

:root {
  --ink: #171717;
  --teal: #0b5d5b;
  --yellow: #f6c945;
  --coral: #f26b4f;
  --lilac: #cfc6f2;
  --mint: #bfe5d6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}

a { color: inherit; }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; }

/* Hero */
.hero {
  background: var(--teal);
  color: #fff;
  padding: 36px 48px 88px;
}
.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 96px;
}
.brand { font-weight: 800; font-size: 20px; }
.brand span { font-weight: 400; opacity: 0.85; }
.toplink {
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.toplink:hover { text-decoration: underline; }
.hero h1 {
  margin: 0 0 36px;
  max-width: 1000px;
  font-weight: 800;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.intro {
  margin: 0;
  max-width: 640px;
  font-size: 21px;
  line-height: 1.55;
  color: #e3f2ef;
}

/* Banner */
.banner {
  background: var(--ink);
  color: #fff;
  padding: 20px 48px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Service tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tile {
  min-height: 300px;
  padding: 56px 48px;
}
.tile .num {
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.tile h2 { margin: 0 0 10px; font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.tile p { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.55; }
.yellow { background: var(--yellow); }
.coral  { background: var(--coral); }
.lilac  { background: var(--lilac); }
.mint   { background: var(--mint); }

/* Who we work with */
.who { padding: 88px 48px; }
.who-inner { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.who h2 {
  flex: 1 1 240px;
  margin: 0;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.who p {
  flex: 3 1 560px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Principals */
.people { display: flex; flex-wrap: wrap; border-top: 3px solid var(--ink); }
.person {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 44px 48px;
  text-decoration: none;
}
.person + .person { border-left: 3px solid var(--ink); }
.role { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.name { font-weight: 800; font-size: 44px; line-height: 1.05; letter-spacing: -0.03em; }
.visit { font-weight: 700; font-size: 17px; }
.person:hover .visit { text-decoration: underline; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: 64px 48px 32px; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 48px;
}
.contact h2 {
  margin: 0;
  max-width: 700px;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #fff; }
.copyright { border-top: 1px solid #444; padding-top: 24px; font-size: 14px; color: #bdbdbd; }

/* Contact popup */
.popup {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  overflow: auto;
  background: #fff;
  color: var(--ink);
  overscroll-behavior: contain;
}
.popup::backdrop { background: rgba(23, 23, 23, 0.62); }
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
}
.popup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.popup-bar h2 {
  margin: 0;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.popup-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
.popup-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}
.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.popup-form .button { align-self: flex-start; }

/* Small screens */
@media (max-width: 700px) {
  .tiles { grid-template-columns: 1fr; }
  .hero, .tile, .who, .person, .contact { padding-left: 24px; padding-right: 24px; }
  .banner { padding: 16px 24px; }
  .topbar { margin-bottom: 56px; }
  .person + .person { border-left: 0; border-top: 3px solid var(--ink); }
}
