/* Gull & Kettle: a little candy-house field guide. */
:root {
  --ink: #13293d;
  --ink-soft: #304b56;
  --paper: #f4f1ea;
  --paper-light: #fffdf7;
  --sea-glass: #2a9d8f;
  --sea-deep: #1f6e64;
  --sea-wash: #e4efe9;
  --coral: #e76f51;
  --coral-wash: #f8ddd0;
  --sand: #e7d3bd;
  --line: #d2d8ce;
  --muted: #4c6267;
  --serif: "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
  --mono: "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body,
button {
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

section[id],
article[id] {
  scroll-margin-top: 24px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 15px;
  transform: translateY(-160%);
  background: var(--paper-light);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-width {
  width: min(100% - 72px, 1280px);
  margin-inline: auto;
}

.tide-strip {
  min-height: 35px;
  background: var(--ink);
  color: #f8f5e9;
}

.tide-strip__inside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 35px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tide-strip__inside p {
  margin: 0;
}

.tide-strip__inside span {
  color: #f7bc9b;
}

.masthead {
  position: relative;
  z-index: 10;
  background: var(--paper-light);
  border-bottom: 1px solid #dce2d9;
}

.masthead__inside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 88px;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark img {
  width: 49px;
  height: 49px;
}

.wordmark__words {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.wordmark__sub {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.primary-nav > a,
.house-drawer > summary {
  padding-block: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav > a:hover,
.house-drawer > summary:hover,
.footer-links a:hover {
  color: var(--sea-deep);
}

.house-drawer {
  position: relative;
}

.house-drawer > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.house-drawer > summary::-webkit-details-marker {
  display: none;
}

.house-drawer__chevron {
  display: inline-block;
  font-size: 12px;
}

.house-drawer[open] .house-drawer__chevron {
  transform: rotate(180deg);
}

.house-drawer__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: -24px;
  z-index: 20;
  display: grid;
  width: 230px;
  padding: 10px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px #13293d22;
}

.house-drawer__panel a {
  padding: 10px 12px;
  border-radius: 3px;
  text-decoration: none;
}

.house-drawer__panel a:hover {
  background: var(--sea-wash);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-cta {
  flex: 0 0 auto;
  min-height: 43px;
  padding-inline: 15px;
  font-size: 12px;
}

.nav-cta:hover,
.button:hover {
  background: #245266;
  border-color: #245266;
}

.button--light {
  background: transparent;
  color: var(--ink);
}

.button--light:hover {
  background: var(--ink);
  color: var(--paper-light);
}

.button__arrow,
.text-link__arrow {
  font-size: 19px;
  line-height: 0.8;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--sea-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.serif-italic {
  color: var(--sea-deep);
  font-style: italic;
  font-weight: 400;
}

.lead {
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);
  min-height: 552px;
  background: #e9f1eb;
}

.lead__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 68px clamp(42px, 5.2vw, 90px) 94px max(36px, calc((100vw - 1280px) / 2));
}

.lead__copy::before {
  position: absolute;
  top: 36px;
  right: 46px;
  width: 35px;
  height: 35px;
  border: 1px solid #afcfc0;
  border-radius: 50%;
  content: "";
}

.lead__title {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 4.3vw, 62px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.lead__title span {
  display: block;
}

.lead__body {
  max-width: 480px;
  margin: 24px 0 26px;
  color: #344f55;
  font-size: 17px;
  line-height: 1.75;
}

.lead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.lead__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.lead__note span {
  color: #ba563e;
  font-family: var(--sans);
  font-size: 19px;
  font-style: normal;
}

.lead__visual {
  position: relative;
  min-height: 552px;
  overflow: hidden;
  background: #b7c7be;
}

.lead__photo {
  width: 100%;
  height: 100%;
  min-height: 552px;
  object-fit: cover;
  object-position: 43% center;
}

.postcard-stamp {
  position: absolute;
  right: 30px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 252px;
  padding: 8px;
  background: #fffdf4;
  box-shadow: 0 10px 32px #13293d2b;
  transform: rotate(2deg);
}

.postcard-stamp img {
  flex: 0 0 auto;
  width: 93px;
  height: 70px;
  object-fit: cover;
}

.postcard-stamp p {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.05;
}

.postcard-stamp span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -43px;
  background: var(--paper-light);
  border: 1px solid #e1e4d9;
  box-shadow: 0 12px 38px #13293d12;
}

.feature-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 108px;
  padding: 26px 28px;
}

.feature-note + .feature-note {
  border-left: 1px solid #e1e4d9;
}

.feature-note__icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sea-wash);
  color: var(--sea-deep);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
}

.feature-note:nth-child(2) .feature-note__icon {
  background: #f9e0d2;
  color: #a54d3a;
}

.feature-note:nth-child(3) .feature-note__icon {
  background: #f5e9c7;
  color: #795a24;
}

.feature-note h2 {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.feature-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.counter-words {
  padding-block: 65px 18px;
  text-align: center;
}

.counter-words .eyebrow {
  margin-bottom: 12px;
}

.counter-words h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 41px);
  font-weight: 400;
  line-height: 1.15;
}

.counter-words__copy {
  max-width: 650px;
  margin: 13px auto 21px;
  color: var(--muted);
  font-size: 15px;
}

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.flavor-tags li {
  padding: 7px 12px;
  border: 1px solid #bdcfc3;
  border-radius: 999px;
  background: #f7faf5;
  color: #244e4a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.collection {
  padding-block: 84px 95px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 29px;
}

.section-heading h2,
.story-copy h2,
.memory-copy h2,
.board-heading h2,
.questions h2,
.guide-copy h2,
.paper-page__head h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(39px, 4.3vw, 57px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.section-heading__copy {
  max-width: 410px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
}

.counter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.counter-controls__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.counter-controls__label {
  margin-right: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.filter-button {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #bccdc5;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.filter-button:hover {
  background: var(--sea-wash);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}

.counter-controls__status {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.candy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.candy-card {
  min-width: 0;
  background: #fffdf8;
  border: 1px solid #dce2d9;
}

.candy-card__figure {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: var(--sea-wash);
}

.candy-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.candy-card:hover .candy-card__figure img {
  transform: scale(1.035);
}

.candy-card__figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 65px 28px 24px;
  background: linear-gradient(transparent, #13293de8 48%, #13293d);
  color: #fffdf7;
}

.candy-card__number {
  display: block;
  margin-bottom: 8px;
  color: #f7d1b7;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.candy-card__figure h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.candy-card__figure p {
  margin: 6px 0 0;
  color: #e7f0e9;
  font-size: 13px;
  line-height: 1.4;
}

.candy-card__body {
  padding: 23px 28px 26px;
}

.candy-card__description {
  min-height: 50px;
  margin: 0 0 20px;
  color: #354e53;
  font-size: 15px;
  line-height: 1.65;
}

.candy-card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 20px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #e2e7df;
}

.candy-card__specs div {
  min-width: 0;
}

.candy-card__specs dt {
  margin-bottom: 3px;
  color: var(--sea-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.candy-card__specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.collection__footnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gift-field {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fffdf7;
}

.gift-field::before {
  position: absolute;
  top: -120px;
  left: -130px;
  width: 330px;
  height: 330px;
  border: 1px solid #7ca59c;
  border-radius: 50%;
  content: "";
}

.gift-field__inside {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 95px 100px;
}

.guide-copy .eyebrow {
  color: #bfe4d6;
}

.guide-copy h2 {
  max-width: 650px;
  color: #fffdf7;
}

.guide-copy h2 .serif-italic {
  color: #f4b79e;
}

.guide-copy__intro {
  max-width: 585px;
  margin: 18px 0 30px;
  color: #dbe8e1;
  font-size: 16px;
}

.guide-step {
  padding: 20px 0;
  border-top: 1px solid #668079;
}

.guide-step__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.guide-step__number {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #99c7b8;
  border-radius: 50%;
  color: #cce8da;
  font-family: var(--mono);
  font-size: 11px;
}

.guide-step h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.guide-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 40px;
}

.guide-choices button {
  min-height: 41px;
  padding: 9px 14px;
  border: 1px solid #9cb7ad;
  border-radius: 3px;
  background: transparent;
  color: #f8f8ec;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.guide-choices button:hover {
  background: #29495a;
}

.guide-choices button[aria-pressed="true"] {
  border-color: #f0b49c;
  background: #f0b49c;
  color: var(--ink);
}

.gift-ticket {
  position: relative;
  margin-top: 8px;
  padding: 35px;
  background: #fffdf4;
  border: 1px solid #f3e4cf;
  color: var(--ink);
  box-shadow: 12px 12px 0 #668e81, inset 0 0 0 9px #fffdf4, inset 0 0 0 10px #d7e0d6;
}

.gift-ticket__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 17px;
  border-bottom: 1px solid #d5ddd4;
}

.gift-ticket__top p {
  margin: 0;
  color: var(--sea-deep);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gift-ticket__star {
  color: #bc5d47;
  font-size: 24px;
  line-height: 1;
}

.gift-ticket h3 {
  margin: 22px 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.12;
}

.gift-ticket__explain {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.gift-ticket__details {
  margin: 0;
}

.gift-ticket__details div {
  padding-block: 12px;
  border-top: 1px solid #e2e6de;
}

.gift-ticket__details dt {
  color: var(--sea-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gift-ticket__details dd {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.gift-ticket__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 17px;
}

.gift-ticket__status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--sea-deep);
  font-size: 12px;
  font-weight: 700;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-block: 110px;
}

.story-visual {
  position: relative;
  min-width: 0;
  padding: 0 47px 44px 0;
}

.story-visual__photo {
  width: 100%;
  min-height: 455px;
  aspect-ratio: 1.16;
  object-fit: cover;
  object-position: 48% center;
}

.story-visual__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 37%;
  padding: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 30px #13293d1c;
  transform: rotate(3deg);
}

.story-visual__inset img {
  width: 100%;
  height: auto;
}

.story-visual__caption {
  margin: 8px 4px 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-copy > p:not(.eyebrow),
.memory-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

.story-copy > p:not(.eyebrow) {
  margin: 19px 0 0;
}

.craft-steps {
  display: grid;
  gap: 0;
  margin: 25px 0 25px;
  padding: 0;
  list-style: none;
}

.craft-steps li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.craft-steps span {
  color: var(--sea-deep);
  font-family: var(--mono);
  font-size: 11px;
}

.craft-steps strong {
  min-width: 45px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--sea-deep);
  border-color: var(--sea-deep);
}

.memory {
  background: var(--sea-wash);
}

.memory__inside {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(50px, 7vw, 105px);
  padding-block: 90px;
}

.memory-copy > p:not(.eyebrow) {
  margin: 19px 0 0;
}

.memory-copy .text-link {
  margin-top: 24px;
}

.memory-postcard {
  margin: 0;
  padding: 10px 10px 0;
  background: var(--paper-light);
  box-shadow: 0 12px 35px #13293d15;
  transform: rotate(1.4deg);
}

.memory-postcard img {
  width: 100%;
  height: auto;
}

.memory-postcard figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 5px 13px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sharing-board {
  padding-block: 100px;
}

.board-heading {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}

.board-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.board-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.board-note {
  min-height: 205px;
  padding: 27px 26px;
  background: #f7eee2;
  border: 1px solid #eadbcc;
}

.board-note:nth-child(2) {
  background: #e8f1ea;
  border-color: #d1e3d7;
}

.board-note:nth-child(3) {
  background: #f9e6db;
  border-color: #efd4c3;
}

.board-note__number {
  margin: 0 0 20px;
  color: var(--sea-deep);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.board-note h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
}

.board-note p:last-child {
  margin: 0;
  color: #40585a;
  font-size: 14px;
}

.sharing-board__link {
  margin-top: 24px;
  text-align: center;
}

.questions {
  padding-block: 0 100px;
}

.questions__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.questions__head p:not(.eyebrow) {
  max-width: 340px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 45px;
}

.question-grid article {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.question-grid h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
}

.question-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  background: var(--ink);
  color: #f8f5eb;
}

.footer__inside {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) repeat(3, minmax(140px, 1fr));
  gap: 40px;
  padding-block: 65px 55px;
}

.footer .wordmark img {
  background: #f8f5eb;
  border: 2px solid #f8f5eb;
  border-radius: 50%;
}

.footer__intro {
  max-width: 270px;
  margin: 20px 0 0;
  color: #d1e0d9;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
}

.footer__place {
  margin: 19px 0 0;
  color: #f6c7ae;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-links h2 {
  margin: 3px 0 17px;
  color: #afd8c9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f8f5eb;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: left;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #bfe2d5;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 19px 24px;
  border-top: 1px solid #59706d;
  color: #d2e0d9;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.preference-card {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: min(380px, calc(100vw - 32px));
  padding: 24px;
  background: #fffdf7;
  border: 1px solid #b8cbc0;
  box-shadow: 0 12px 45px #13293d38;
}

.preference-card__label {
  margin: 0 0 9px;
  color: var(--sea-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preference-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.15;
}

.preference-card__copy {
  margin: 10px 0 17px;
  color: #3b5456;
  font-size: 13px;
  line-height: 1.55;
}

.preference-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.preference-card__actions button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper-light);
  font-size: 12px;
  font-weight: 700;
}

.preference-card__actions button + button {
  background: var(--paper-light);
  color: var(--ink);
}

.preference-card__actions button:hover {
  border-color: var(--sea-deep);
  background: var(--sea-deep);
  color: #fffdf7;
}

.paper-page__head {
  background: var(--sea-wash);
}

.paper-page__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: 45px;
  min-height: 300px;
  padding-block: 55px;
}

.paper-page__head h1 {
  max-width: 760px;
}

.paper-page__intro p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: #355255;
  font-size: 16px;
}

.paper-page__illustration {
  width: min(100%, 300px);
  margin-left: auto;
  padding: 8px;
  background: var(--paper-light);
  box-shadow: 0 10px 25px #13293d19;
  transform: rotate(2deg);
}

.paper-page__illustration img {
  width: 100%;
  height: auto;
}

.paper-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 90px;
  padding-block: 65px 100px;
}

.paper-page__body {
  max-width: 760px;
}

.paper-page__updated {
  margin: 0 0 34px;
  color: var(--sea-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.paper-page__body section + section {
  margin-top: 35px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.paper-page__body h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.paper-page__body p,
.paper-page__body li {
  color: #344e53;
  font-size: 16px;
  line-height: 1.8;
}

.paper-page__body p {
  margin: 0 0 13px;
}

.paper-page__body ul {
  margin: 8px 0 18px;
  padding-left: 22px;
}

.paper-page__body a {
  color: #1a655e;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.paper-page__aside {
  padding: 25px;
  background: #f5eee2;
  border: 1px solid #e5d9c8;
}

.paper-page__aside h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.15;
}

.paper-page__aside p {
  margin: 0 0 16px;
  color: #40585a;
  font-size: 14px;
}

.paper-page__aside ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paper-page__aside a {
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (min-width: 1280px) {
  .lead__copy {
    padding-left: max(60px, calc((100vw - 1280px) / 2));
  }

  .lead__visual,
  .lead__photo {
    min-height: 590px;
  }

  .lead {
    min-height: 590px;
  }
}

@media (max-width: 1050px) {
  .masthead__inside {
    gap: 18px;
  }

  .primary-nav {
    gap: 16px;
    font-size: 13px;
  }

  .nav-cta {
    padding-inline: 11px;
  }

  .lead__copy {
    padding-right: 36px;
  }

  .feature-note {
    padding: 24px 18px;
  }

  .footer__inside {
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 860px) {
  .site-width {
    width: min(100% - 40px, 1280px);
  }

  .masthead__inside {
    flex-wrap: wrap;
    gap: 3px 14px;
    padding-block: 14px 10px;
  }

  .primary-nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    padding-top: 5px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .lead {
    grid-template-columns: 1fr 1fr;
  }

  .lead__copy {
    padding: 65px 26px 90px 30px;
  }

  .lead__title {
    font-size: clamp(45px, 5.4vw, 54px);
  }

  .lead__visual,
  .lead__photo {
    min-height: 520px;
  }

  .feature-note {
    flex-direction: column;
    gap: 9px;
  }

  .gift-field__inside {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 38px;
  }

  .gift-ticket {
    padding: 28px;
  }

  .story,
  .memory__inside {
    gap: 38px;
  }

  .story-visual__photo {
    min-height: 390px;
  }

  .footer__inside {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px;
  }

  .paper-page__layout {
    gap: 40px;
  }
}

@media (max-width: 650px) {
  .tide-strip__inside {
    justify-content: center;
    min-height: 33px;
    font-size: 9px;
    text-align: center;
  }

  .tide-strip__inside p + p {
    display: none;
  }

  .wordmark img {
    width: 43px;
    height: 43px;
  }

  .wordmark__name {
    font-size: 16px;
  }

  .wordmark__sub {
    font-size: 8px;
  }

  .masthead__inside {
    gap: 3px 8px;
  }

  .primary-nav {
    flex-wrap: wrap;
    gap: 0 9px;
    font-size: 12px;
  }

  .nav-cta {
    gap: 5px;
    min-height: 39px;
    padding-inline: 7px;
    font-size: 11px;
  }

  .nav-cta .text-link__arrow {
    font-size: 15px;
  }

  .house-drawer__panel {
    right: auto;
    left: 0;
  }

  .lead {
    grid-template-columns: 1fr;
  }

  .lead__copy {
    padding: 58px 24px 48px;
  }

  .lead__copy::before {
    top: 25px;
    right: 26px;
  }

  .lead__title {
    max-width: 520px;
    font-size: clamp(39px, 10vw, 54px);
  }

  .lead__body {
    margin-block: 18px 22px;
    font-size: 16px;
  }

  .lead__visual,
  .lead__photo {
    min-height: 330px;
    max-height: 390px;
  }

  .postcard-stamp {
    right: 20px;
    bottom: 55px;
    width: 220px;
  }

  .postcard-stamp img {
    width: 80px;
    height: 60px;
  }

  .postcard-stamp p {
    font-size: 15px;
  }

  .feature-rail {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .feature-note {
    flex-direction: row;
    min-height: 0;
    padding: 17px;
  }

  .feature-note + .feature-note {
    border-top: 1px solid #e1e4d9;
    border-left: 0;
  }

  .feature-note__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .feature-note h2 {
    font-size: 18px;
  }

  .counter-words {
    padding-top: 54px;
  }

  .collection {
    padding-block: 65px 70px;
  }

  .section-heading,
  .questions__head {
    display: block;
  }

  .section-heading__copy,
  .questions__head p:not(.eyebrow) {
    margin-top: 15px;
  }

  .counter-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .candy-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .candy-card__body {
    padding: 20px 22px 24px;
  }

  .candy-card__description {
    min-height: 0;
  }

  .gift-field__inside {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 70px 75px;
  }

  .guide-choices {
    padding-left: 0;
  }

  .gift-ticket {
    margin-right: 10px;
  }

  .story,
  .memory__inside {
    grid-template-columns: 1fr;
    gap: 39px;
  }

  .story {
    padding-block: 75px;
  }

  .story-visual__photo {
    min-height: 310px;
  }

  .memory__inside {
    padding-block: 70px;
  }

  .sharing-board {
    padding-block: 75px;
  }

  .board-notes,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .board-note {
    min-height: 0;
  }

  .questions {
    padding-bottom: 75px;
  }

  .footer__inside {
    gap: 35px 20px;
    padding-block: 55px 45px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .preference-card {
    right: 16px;
    bottom: 16px;
  }

  .paper-page__intro,
  .paper-page__layout {
    grid-template-columns: 1fr;
  }

  .paper-page__intro {
    gap: 28px;
    padding-block: 50px;
  }

  .paper-page__illustration {
    width: min(70%, 260px);
    margin-left: 0;
  }

  .paper-page__layout {
    gap: 35px;
    padding-block: 50px 70px;
  }
}

@media (max-width: 380px) {
  .site-width {
    width: min(100% - 28px, 1280px);
  }

  .nav-cta {
    padding-inline: 9px;
  }

  .primary-nav {
    gap: 0 8px;
  }

  .lead__actions .button {
    width: 100%;
  }

  .candy-card__specs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
