:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #242521;
  background: #f8f7f3;
  --red: #a92724;
  --rule: #c8c7bf;
}

* { box-sizing: border-box; }

body {
  --gutter: clamp(1.25rem, 5vw, 5rem);
  width: min(83rem, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-block: clamp(1.25rem, 3.2vh, 2.5rem);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -.025em;
}

.masthead img { display: block; width: clamp(8rem, 16vw, 12.5rem); height: auto; mix-blend-mode: multiply; }
.masthead span { font-size: .95rem; font-weight: 500; }

main {
  margin-block: auto;
}

.intro { display: grid; grid-template-columns: minmax(0, 1fr); margin-inline: calc(-1 * var(--gutter)); }
.hero-photo, .next { grid-area: 1 / 1; }
.hero-photo { position: relative; background: #232925; }
.hero-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 66% 79%; opacity: .38; }
.next { z-index: 1; align-self: center; min-width: 0; padding: clamp(3rem, 7.5vw, 7rem) var(--gutter) clamp(3.75rem, 8vw, 8rem); color: white; text-align: center; }
.next h1 { margin-inline: auto; max-width: 25ch; }
.intro .button { grid-row: 2; justify-self: center; transform: translateY(-50%); max-width: 94%; text-align: center; position: relative; z-index: 2; }
figure { margin: 0; }
figure img { display: block; width: 100%; }
.photos { padding-top: clamp(.5rem, 1.5vw, 1.25rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.photos img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 65%; }
.accent { color: var(--red); }
.guide strong { color: #33342f; font-weight: 700; }

h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.25rem, 1.15rem + 3.4vw, 4.5rem);
  font-weight: 630;
  line-height: 1.07;
  letter-spacing: -.048em;
  text-wrap: balance;
}

h1 .region, h1 .company { display: inline-block; max-width: 100%; }
h1 .company { color: #ffcbc4; font-weight: 750; }

.guide p {
  margin: .65rem 0 1.25rem;
  color: #53544d;
  font-size: clamp(1rem, .9rem + .4vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.button {
  display: inline-block;
  padding: .85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  color: white;
  background: var(--red);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover { background: #84201e; }
main a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.button:focus-visible { outline-color: #242521; }

h2 { margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.13; letter-spacing: -.035em; font-weight: 620; text-wrap: balance; }
.guide { padding-block: clamp(1.75rem, 3vw, 2.75rem); text-align: center; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.1rem 1.35rem;
  color: #55564f;
  font-size: .875rem;
  line-height: 1.6;
}

footer strong { color: #242521; font-weight: 650; }
.company-id { display: inline-block; margin-inline-start: 1rem; }

@media (max-width: 48rem) {
  .photos { grid-template-columns: minmax(0, 1fr); }
  footer { flex-direction: column; }
  .company-id { display: block; margin: 0; }
}
