:root {
  color-scheme: light;
  --ink: #153f36;
  --paper: #f7f6ee;
  --line: #ccd2c4;
  --green: #135346;
  --yellow: #f1d778;
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b88112;
  outline-offset: 4px;
}
.wrap {
  max-width: 1360px;
  margin: auto;
  padding-inline: clamp(22px, 5vw, 84px);
}
header {
  border-bottom: 1px solid var(--line);
}
.bar,
footer,
.links,
.actions,
.wordmark {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.bar {
  min-height: 74px;
  justify-content: space-between;
}
.wordmark {
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.mark {
  width: 28px;
  height: 30px;
  background: repeating-linear-gradient(115deg, #164d47 0 5px, #f4ead3 5px 8px);
  clip-path: polygon(
    0 12%,
    12% 0,
    23% 8%,
    35% 0,
    47% 8%,
    60% 0,
    73% 8%,
    86% 0,
    100% 9%,
    100% 90%,
    88% 100%,
    74% 92%,
    60% 100%,
    47% 92%,
    34% 100%,
    21% 92%,
    9% 100%,
    0 91%
  );
}
.links {
  font-size: 0.92rem;
}
.links > a {
  text-decoration: none;
}
.links details {
  position: relative;
}
.links summary {
  cursor: pointer;
}
.links details div {
  position: absolute;
  z-index: 3;
  right: 0;
  min-width: 10rem;
  padding: 10px 0;
  background: white;
  box-shadow: 0 10px 30px #183f3425;
}
.links details a {
  display: block;
  padding: 5px 15px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
  padding-block: clamp(40px, 6vw, 86px);
}
.kicker,
.tag small,
.micro {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.kicker:before {
  content: "";
  width: 27px;
  height: 3px;
  background: #c49d37;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.058em;
}
h1 {
  font-size: clamp(3.4rem, 5.45vw, 5.85rem);
  line-height: 0.99;
  margin: 0 0 25px;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1.07;
  margin: 0 0 0.6em;
}
.intro {
  max-width: 46ch;
  font-size: 1.12rem;
  color: #435c50;
  margin: 0;
}
.actions {
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 13px 22px;
}
.primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: white;
  border-radius: 5px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 650;
}
.primary:hover {
  background: #0a4035;
}
.secondary {
  font-weight: 600;
}
.photo {
  position: relative;
  margin: 0;
}
.photo > img {
  width: 100%;
  height: clamp(370px, 33vw, 510px);
  display: block;
  object-fit: cover;
  border-radius: 3px;
}
.tag {
  position: absolute;
  right: clamp(12px, 3vw, 40px);
  bottom: 24px;
  transform: rotate(-4deg);
  background: #fffdf1;
  color: #173a30;
  padding: 14px 23px 16px;
  box-shadow: 2px 6px 16px #0d302b36;
  min-width: 180px;
  border-left: 5px solid var(--yellow);
}
.tag small,
.tag span {
  display: block;
}
.tag strong {
  font:
    500 2rem/1.25 Georgia,
    serif;
  letter-spacing: -0.03em;
}
.tag span {
  font:
    12px/1.4 ui-monospace,
    monospace;
  margin-top: 6px;
}
.book {
  background: #174c40;
  color: #f8f6e9;
  padding-block: clamp(42px, 5vw, 76px);
}
.book .wrap {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 7vw, 110px);
  align-items: start;
}
.book h2 {
  max-width: 16ch;
}
.book p {
  max-width: 45ch;
  margin: 0;
  color: #e0e9db;
}
.measure {
  margin: 0;
}
.measure div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #ffffff36;
}
.measure dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.measure div:last-child {
  border: 0;
  color: #f6dd83;
}
.toolbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px, 6vw, 80px);
  padding-block: 50px;
}
.toolbox p {
  margin: 0 0 0.6rem;
}
.toolbox a {
  font-weight: 650;
}
footer {
  justify-content: space-between;
  min-height: 68px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .hero,
  .book .wrap,
  .toolbox {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 28px;
    padding-block: 30px;
  }
  .photo > img {
    height: clamp(240px, 61vw, 400px);
  }
  .bar {
    min-height: 62px;
  }
  .links {
    gap: 12px;
  }
  .wordmark {
    font-size: 1.08rem;
  }
  .intro {
    font-size: 1.03rem;
  }
  .book h2 {
    max-width: 22ch;
  }
  .book .wrap {
    gap: 20px;
  }
  .tag {
    bottom: 15px;
    min-width: 145px;
    padding: 10px 16px;
  }
  .tag strong {
    font-size: 1.6rem;
  }
  h1 {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }
  .actions {
    margin-top: 21px;
  }
  .toolbox {
    padding-block: 32px;
  }
  footer {
    gap: 10px;
  }
}
@media (max-width: 420px) {
  .links > a {
    display: none;
  }
}
.duration {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #53685c;
}
