:root {
  --ink: #24211f;
  --text: #37312c;
  --muted: #736c64;
  --soft: #f7f5f1;
  --paper: #ffffff;
  --line: #e8e1d9;
  --line-strong: #d7cec3;
  --accent: #0f6872;
  --sage: #667568;
  --craft-header-height: 4.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Calibri, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
strong {
  text-wrap: balance;
}

p {
  overflow-wrap: anywhere;
}

.craft-header {
  min-height: 4.75rem;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff;
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.craft-brand {
  display: grid;
  gap: .2rem;
  text-decoration: none;
}

.craft-brand span,
.kicker,
.craft-index a,
.option-group-heading span,
.option-heading span {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.craft-brand span {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .12em;
}

.craft-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
}

.craft-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.15rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
}

.craft-nav a {
  padding: 0;
  min-width: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  text-transform: none;
}

.craft-nav a:hover,
.craft-nav a.active {
  color: var(--ink);
}

.craft-hero {
  width: min(96rem, 100%);
  margin: 0 auto;
  padding: 5rem 3rem 4rem;
  display: grid;
  grid-template-columns: minmax(14rem, .42fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.kicker {
  color: var(--accent);
}

.craft-hero h1 {
  max-width: 62rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: .98;
  font-weight: 500;
}

.craft-hero p:not(.kicker) {
  grid-column: 2;
  max-width: 45rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.craft-layout {
  width: min(96rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.craft-index {
  position: sticky;
  top: var(--craft-header-height);
  align-self: start;
  min-height: calc(100svh - 4.75rem);
  padding: 1.4rem;
  display: grid;
  align-content: start;
  gap: .45rem;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.craft-index a {
  min-height: 2.8rem;
  padding: .82rem .9rem;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
}

.craft-index a:hover,
.craft-index a:focus-visible,
.craft-index a.active {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--accent);
  outline: 0;
}

.craft-content {
  min-width: 0;
}

.option-group {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5.75rem;
}

.option-group[hidden] {
  display: none;
}

.option-group:last-child {
  border-bottom: 0;
}

.option-group-heading {
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fbfaf7;
}

.option-group-heading span {
  color: var(--accent);
}

.option-group-heading h2 {
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.option-group-heading p {
  max-width: 48rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

.option-row {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5.75rem;
}

.option-row:last-child {
  border-bottom: 0;
}

.option-heading {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  background: #fff;
}

.option-heading span {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
}

.option-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.1vw, 2.35rem);
  line-height: 1.05;
  font-weight: 500;
}

.option-heading p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.option-case-link {
  width: max-content;
  max-width: 100%;
  min-height: 2.65rem;
  margin-top: 1.1rem;
  padding: .78rem .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.option-case-link:hover,
.option-case-link:focus-visible {
  color: #fff;
  background: var(--ink);
  outline: 0;
}

.option-visual {
  min-width: 0;
  padding: 1rem;
  display: flex;
  align-items: stretch;
  background: #fff;
}

.option-image-slot,
.option-image {
  width: 100%;
  display: block;
}

.option-image-slot {
  min-height: clamp(9rem, 17vw, 14rem);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(15, 104, 114, .16) 48% 52%, transparent 53% 100%),
    linear-gradient(45deg, transparent 0 47%, rgba(36, 33, 31, .08) 48% 52%, transparent 53% 100%),
    #faf9f6;
}

.option-image {
  min-height: clamp(9rem, 17vw, 14rem);
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.option-image-contain {
  height: clamp(14rem, 34vw, 26rem);
  object-fit: contain;
  background: #fff;
}

.paper-tone-visual {
  background: #fff;
}

.paper-comparison-image,
.blank-paper-preview {
  width: 100%;
  height: auto;
  align-self: center;
  display: block;
  border: 1px solid var(--line-strong);
  background: #fff;
  object-fit: contain;
}

.craft-footer {
  width: min(96rem, 100%);
  margin: 0 auto;
  padding: 2rem 3rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .craft-layout,
  .option-group-heading,
  .option-row {
    grid-template-columns: 1fr;
  }

  .craft-index {
    position: sticky;
    top: 4.75rem;
    z-index: 10;
    min-height: auto;
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .craft-index a {
    min-width: max-content;
  }

  .option-heading {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 700px) {
  .craft-header {
    min-height: auto;
    padding: 1rem 1.1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .craft-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: .5rem 1rem;
    font-size: .9rem;
  }

  .craft-brand strong {
    font-size: 1.24rem;
  }

  .craft-hero {
    padding: 3.3rem 1.25rem 3rem;
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .craft-hero h1 {
    max-width: 21rem;
    font-size: 2.15rem;
    line-height: 1.04;
    text-wrap: initial;
  }

  .craft-hero p:not(.kicker) {
    grid-column: auto;
    max-width: 22rem;
  }

  .craft-index {
    top: var(--craft-header-height);
    padding: .7rem 1rem;
  }

  .option-group-heading,
  .option-heading,
  .option-visual {
    padding: 1.25rem;
  }

  .option-heading h3 {
    max-width: 21rem;
    font-size: 1.85rem;
    text-wrap: initial;
  }

  .option-group-heading p,
  .option-heading p {
    max-width: 22rem;
  }

  .craft-footer {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 390px) {
  .craft-nav {
    grid-template-columns: repeat(2, max-content);
  }

  .craft-brand span,
  .kicker,
  .craft-index a,
  .option-group-heading span,
  .option-heading span {
    font-size: .68rem;
  }

}
