*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  background: #F8F8F4;
  color: #19221F;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.wrap {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding:
    max(1.15rem, env(safe-area-inset-top))
    max(1.2rem, env(safe-area-inset-right))
    0
    max(1.2rem, env(safe-area-inset-left));
  min-width: 0;
}
.narrow { width: min(40rem, 100%); }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid #A3B1A2;
}
body.home header { margin-bottom: 0; }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: #19221F;
  text-decoration: none;
}
.brand .name {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.brand .mark {
  color: #303B35;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
nav { display: flex; gap: 0.35rem 1.15rem; }
nav a, header > a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.1rem;
  color: #303B35;
  font-size: 0.95rem;
  text-decoration: none;
}
nav a:hover, header > a:not(.brand):hover, footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #19221F;
  outline-offset: 3px;
}
h1 {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.page h1 {
  font-size: clamp(2.3rem, 5vw, 3.25rem);
  margin-bottom: 0;
}
.rule {
  width: 3rem;
  height: 2px;
  background: #A3B1A2;
  margin: 1.35rem 0 1.35rem;
}
h2 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #303B35;
  margin: 2.6rem 0 0.85rem;
}
p, pre {
  color: #303B35;
  font-size: 1.05rem;
  line-height: 1.65;
}
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; }
.lead { color: #19221F; font-size: 1.15rem; line-height: 1.5; }
.story { padding: 1.5rem 0 2.6rem; }
.story::after { content: ""; display: block; clear: both; }
.story h1 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); }
.story .rule { margin: 0.85rem 0 1.1rem; }
.coast {
  float: right;
  width: 44%;
  margin: 0.1rem 0 0.6rem 1.6rem;
}
.coast img { width: 100%; display: block; }
.coast figcaption {
  margin-top: 0.4rem;
  color: #303B35;
  font-size: 0.75rem;
  line-height: 1.4;
}
.story h2 { margin-top: 1.35rem; }
.band {
  background: #19221F;
  padding: 2.4rem 0 max(2.6rem, env(safe-area-inset-bottom));
}
.band .wrap { padding-top: 0; }
.band h2 { color: #A3B1A2; margin-top: 0; }
.band p { color: #E9E8E0; }
.band p:last-child { margin-bottom: 0; }
.page { padding-bottom: max(3rem, env(safe-area-inset-bottom)); }
.page .rule { margin-left: 0; margin-right: auto; }
pre {
  font: inherit;
  white-space: pre-wrap;
  margin: 0 0 1rem;
}
footer { margin-top: 2rem; font-size: 0.95rem; color: #303B35; }
footer a { color: #19221F; }
label {
  display: block;
  margin: 0 0 0.4rem;
  color: #303B35;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
input, textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: #19221F;
  background: #F8F8F4;
  border: 1px solid #A3B1A2;
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.95rem;
}
textarea { min-height: 8rem; resize: vertical; }
button {
  font: inherit;
  font-size: 1rem;
  min-height: 2.75rem;
  background: #19221F;
  color: #F8F8F4;
  border: 0;
  border-radius: 0;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }
.status { margin-top: 0.9rem; color: #303B35; }
.status.error { color: #991b1b; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 52rem) {
  .coast { float: none; width: auto; margin: 0 0 1rem; }
  button { width: 100%; }
}
