*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

/* Solo su html: overflow su body annulla position:sticky dell'header */
html {
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip-link:focus {
  left: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 12px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sea);
  font-weight: 500;
  margin-bottom: 14px;
}

main > section:nth-of-type(even) .eyebrow {
  color: var(--land);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--sea);
}

main > section:nth-of-type(even) .section-title em {
  color: var(--land);
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy .lead,
.section--navy .eyebrow {
  color: var(--gold-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split__copy p + p {
  margin-top: 16px;
}

.media {
  overflow: hidden;
  background: var(--surface);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .lead {
    font-size: 1rem;
  }

  .section {
    padding: clamp(48px, 10vw, 80px) 0;
  }
}
