:root {
  --paper: #f3f1ec;
  --ink: #1a1d23;
  --accent: #c5850a;
}

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

html {
  background-color: var(--paper);
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(
    180deg,
    rgba(197, 133, 10, 0.2) 0,
    rgba(197, 133, 10, 0.12) 220px,
    rgba(197, 133, 10, 0) 640px
  );
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: "Figtree", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

img {
  border: 0;
}

p,
h1,
h2 {
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.site-header {
  background: transparent;
}

.bar,
.mosaic,
.doc,
.close-inner,
.end-inner {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem 1.5rem;
  padding-top: 1.15rem;
  padding-bottom: 0.85rem;
}

.brand,
.site-nav a {
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 2.75rem;
  row-gap: 2.6rem;
  padding-top: 0.35rem;
  padding-bottom: 3.25rem;
  align-items: start;
}

.span-2 {
  grid-column: 1 / -1;
}

.measure,
.note p,
.opening p,
.close-inner p {
  max-width: 65ch;
}

.who {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.opening h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: 2.15rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.35rem;
}

.opening p,
.note p {
  margin: 0 0 1rem;
}

.opening p:last-child,
.note p:last-child {
  margin-bottom: 0;
}

.note h2 {
  margin: 0 0 0.65rem;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.15;
}

.note.half h2 {
  font-style: italic;
  font-size: 1.65rem;
}

.shot {
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: 300px;
  max-height: 420px;
  object-fit: cover;
}

.close-band {
  background: var(--ink);
  color: var(--paper);
}

.close-inner {
  padding-top: 2.6rem;
  padding-bottom: 3rem;
}

.close-inner p {
  margin: 0;
}

.close-inner a {
  color: var(--paper);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.18em;
}

.close-band .shot {
  margin-top: 1.75rem;
}

.close-band .shot img {
  width: auto;
  max-width: min(100%, 36rem);
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.close-band :focus-visible,
.end-band :focus-visible {
  outline-color: var(--paper);
}

.doc {
  padding-top: 0.4rem;
  padding-bottom: 3.25rem;
}

.doc-col {
  max-width: 65ch;
}

.doc h1 {
  margin: 0 0 0.35rem;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.15;
}

.dated {
  margin: 0 0 1.35rem;
  font-weight: 600;
}

.doc-col p {
  margin: 0 0 1.05rem;
}

.doc-shot {
  margin: 0 0 1.35rem;
}

.doc-shot img {
  display: block;
  width: 100%;
  height: 220px;
  max-height: 280px;
  object-fit: cover;
}

.studio-name {
  margin: 1.35rem 0 0.35rem;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.2;
}

.mail-line {
  margin: 0 0 1.15rem;
}

.mail-line a,
.doc-col a {
  text-underline-offset: 0.18em;
}

.form-note {
  margin: 0 0 1rem;
}

form {
  margin: 0;
}

.field {
  margin: 0 0 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: min(100%, 28rem);
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

button {
  font: inherit;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.end-band {
  background: var(--ink);
  color: var(--paper);
}

.end-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.35rem;
  padding-top: 1.1rem;
  padding-bottom: 1.15rem;
}

.end-band a {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.end-band a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
}

@media (min-width: 760px) {
  .opening h1 {
    font-size: 3.1rem;
  }
}

@media (max-width: 720px) {
  .mosaic {
    grid-template-columns: minmax(0, 1fr);
  }

  .span-2 {
    grid-column: auto;
  }

  .opening h1 {
    font-size: 2.15rem;
  }

  .shot img {
    height: 200px;
    max-height: 240px;
  }

  .close-band .shot img,
  .doc-shot img {
    max-height: 240px;
  }

  .doc-shot img {
    height: 180px;
  }
}
