:root {
  --maxw: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

main h1 { margin-top: 0; }

a { color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding: 24px 0;
}

hr {
  margin: 28px 0;
  opacity: 0.3;
}

.hero {
  padding: 48px 0 32px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.hero img {
  max-width: 960px; /* adjust freely */
  width: 100%;
  height: auto;
}


.contact-form {
  margin-top: 24px;
  max-width: 560px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 4px;
}

.contact-form button {
  margin-top: 8px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
  width: fit-content;
}

.form-note {
  margin: 0;
  font-size: 14px;
  opacity: 0.75;
}

.box {
  border: 1px dashed rgba(0,0,0,0.35);
  padding: 24px;
  margin: 16px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}

.box--float {
  float: left;
  margin: 4px 24px 16px 0;  /* space between image and text */
}

/* Media placeholder variants */
.box--hero {
  max-width: 960px;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 16px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box--portrait {
  max-width: 260px;
  aspect-ratio: 3 / 4;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box--thumb {
  max-width: 420px;
  width: 100%;
  aspect-ratio: 3 / 2;
  /* margin: 16px 0; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear {
  clear: both;
}