@font-face {
  font-family: "Permanent Marker";
  src: url(/fonts/permanent-marker.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(/fonts/cormorant.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(/fonts/cormorant-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url(/fonts/dm-sans.woff2) format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #14221e;
  --deep: #0a1512;
  --gold: #ddbd84;
  --ivory: #faf6eb;
  --paper: #f0eee5;
  --muted: #505b52;
  --line: #c9cbbf;
  --serif: Cormorant, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --pad: clamp(1.35rem, 5.8vw, 6.5rem);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--deep);
  color: var(--ivory);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  background: #0a1715 url(/images/resin-study.webp) center center/cover
    no-repeat;
  z-index: -1;
  pointer-events: none;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #ad741f;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
h1 em,
h2 em {
  font-weight: 500;
}
h1 {
  font-size: clamp(4rem, 7.65vw, 7.8rem);
}
h2 {
  font-size: clamp(3rem, 4.8vw, 5rem);
}
h3 {
  font-size: clamp(1.8rem, 2.45vw, 2.6rem);
}
.wrap {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.skip {
  position: fixed;
  left: 1rem;
  top: -6rem;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.7rem;
  z-index: 10;
}
.skip:focus {
  top: 0.5rem;
}
.eyebrow,
.category,
.study-caption small {
  font: 600 0.76rem/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.17em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #d8bd8a;
  margin-bottom: 1.1rem;
}
.eyebrow > span {
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
}
.header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid #c5ac751e;
  background: #0c1713;
  color: #faf5e9;
}
.header-inner {
  width: min(100%, 1720px);
  margin: auto;
  min-height: 78px;
  padding: 0 clamp(1.1rem, 4.5vw, 5.5rem);
  display: flex;
  align-items: center;
  gap: 2.2rem;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.63rem;
  white-space: nowrap;
}
.brand span {
  font: 600 clamp(1.07rem, 1.6vw, 1.55rem)/1 var(--serif);
  letter-spacing: 0.1em;
}
.brand img {
  object-fit: contain;
}
.desktop-nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1.05rem, 2.2vw, 2.4rem);
}
.desktop-nav a,
.footer nav a {
  font-size: 0.92rem;
  white-space: nowrap;
  color: #e1e6dc;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current],
.footer nav a:hover {
  color: var(--gold);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #a8956c;
  color: #e2c795;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  white-space: nowrap;
}
.header-cta:hover {
  background: #d9c18c;
  color: var(--deep);
}
.menu-toggle,
#mobile-menu {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(526px, 37vw, 650px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid #8a7762;
  background: #081710 url(/images/resin-study.webp) center center/cover
    no-repeat;
}
.hero:before,
.inner-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #06120ef0 0%,
      #071411aa 25%,
      #09140f1a 56%,
      transparent 80%
    ),
    linear-gradient(0deg, #08120b69, transparent 24%);
}
.hero-content {
  padding-block: clamp(3rem, 5.15vw, 6.3rem);
}
.hero h1 {
  font-size: clamp(5.2rem, 7.7vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: -0.048em;
}
.hero h1 em {
  color: #e8c793;
}
.hero .eyebrow {
  margin-bottom: 1.55rem;
}
.hero-content > p:not(.eyebrow) {
  color: #f0f1e7;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.55;
  margin: 1.5rem 0 1.7rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0.83rem 1.75rem;
  background: var(--gold);
  font: 650 0.9rem/1.3 var(--sans);
  color: #19221a;
  cursor: pointer;
  text-align: center;
  transition:
    background-color 0.18s,
    color 0.18s;
}
.button:hover {
  background: #f2d9aa;
}
.hero .button {
  min-width: 133px;
}
.study-caption {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  right: var(--pad);
  bottom: 1.6rem;
  padding: 0.75rem 0.95rem;
  background: #091912b8;
  border-left: 1px solid #d0b7808c;
  backdrop-filter: blur(9px);
}
.study-caption small,
.study-caption span {
  display: block;
}
.study-caption small {
  font-size: 0.73rem;
  color: #e6d2af;
  letter-spacing: 0.12em;
}
.study-caption > div > span {
  font: 500 1rem/1.3 var(--serif);
  margin-top: 0.13rem;
}
.study-caption .swatches {
  display: flex;
  padding-right: 0.1rem;
}
.swatches i {
  display: block;
  width: 15px;
  height: 15px;
  border: 1px solid #f9efd755;
  border-radius: 50%;
  background: #146567;
}
.swatches i + i {
  margin-left: -4px;
  background: #83603e;
}
.swatches i:last-child {
  background: #c59c50;
}
.paper {
  color: var(--ink);
  background: linear-gradient(
    130deg,
    rgba(246, 244, 236, 0.987),
    rgba(239, 237, 226, 0.976)
  );
}
.paper .eyebrow,
.newsletter-band .eyebrow {
  color: #74603b;
}
.feature-section,
.section-pad {
  padding-block: clamp(3.1rem, 5.2vw, 6rem);
}
.feature-section h2 {
  margin-bottom: 1.8rem;
}
.feature-section .eyebrow {
  margin-bottom: 0.65rem;
}
.paper h2 em {
  color: #395749;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.1vw, 2.2rem);
  margin-top: 1.9rem;
}
.product-card {
  display: block;
  min-width: 0;
}
.card-image {
  aspect-ratio: 1.55;
  background: #c8c4ac;
  overflow: hidden;
}
.card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s;
}
.product-card:hover img {
  transform: scale(1.035);
}
.product-card h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.65rem);
  letter-spacing: -0.035em;
}
.category {
  margin: 1.25rem 0 0.43rem;
  color: #76603b;
  letter-spacing: 0.14em;
}
.card-link,
.text-link,
.back-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}
.card-link {
  margin: 0.9rem 0;
  color: #46564a;
}
.product-card:hover .card-link,
.text-link:hover,
.back-link:hover {
  color: #967033;
}
.center {
  text-align: center;
}
.feature-section .center {
  padding-top: 2.25rem;
}
.outline {
  background: transparent;
  border-color: #667363;
  color: var(--ink);
}
.outline:hover {
  background: #dce2d5;
}
.dark-button {
  background: #193c32;
  color: #f7f4e9;
}
.dark-button:hover {
  background: #2d5549;
}
.newsletter-band {
  background: #dfdfd2f5;
  color: var(--ink);
  padding-block: clamp(3.5rem, 5.5vw, 6rem);
  border-block: 1px solid #b8c3af80;
}
.newsletter-layout,
.apply-grid,
.split,
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 8vw, 9rem);
  align-items: center;
}
.newsletter-layout h2,
.subscribe-box h2 {
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
}
.newsletter-layout > div > p:not(.eyebrow),
.apply-grid aside > p:not(.eyebrow) {
  max-width: 48ch;
  margin: 1rem 0;
}
.newsletter-form,
.application {
  position: relative;
}
label {
  font-size: 0.94rem;
  font-weight: 600;
}
label span,
.muted,
.form-hint,
.form-mode,
.result {
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fcfcf4;
  border: 1px solid #9ca699;
  border-radius: 1px;
  padding: 0.8rem 0.95rem;
  min-height: 46px;
  font-size: 1rem;
  outline-offset: 1px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #5b785f;
}
input::placeholder,
textarea::placeholder {
  color: #627064;
}
.subscribe-row {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.subscribe-row > .button {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.subscribe-row > .button:hover {
  background: #375448;
}
.form-hint,
.form-mode {
  font-size: 0.84rem;
  line-height: 1.5;
  margin-top: 0.65rem;
}
.form-mode {
  color: #46594e;
}
.result:not(:empty) {
  margin-top: 1rem;
  font-weight: 600;
  line-height: 1.5;
}
.result[data-state="error"] {
  color: #833921;
}
.trap {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.cta-band {
  padding: clamp(2.5rem, 5vw, 5.5rem) var(--pad);
  background: #0b1511e8;
}
.legacy-cta {
  width: min(100%, 1240px);
  min-height: 290px;
  position: relative;
  isolation: isolate;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  padding: clamp(2rem, 4.8vw, 5rem);
  border: 1px solid #b9ab793d;
  border-radius: 16px;
  background: #14332a url(/images/resin-study.webp) 70% 55% / cover;
  overflow: hidden;
}
.legacy-cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #071710ed, #0b2119bd 55%, #0720187d);
  z-index: -1;
}
.legacy-cta h2 {
  font-size: clamp(3.4rem, 5.2vw, 5.3rem);
  line-height: 0.89;
}
.legacy-cta h2 em {
  color: #e7cc98;
}
.legacy-cta p:not(.eyebrow) {
  margin-top: 1rem;
  max-width: 38ch;
}
.cta-action {
  align-self: center;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.marker {
  color: #ff725f;
  text-shadow: 0 1px 4px #101410;
  font:
    400 1.65rem/1 "Permanent Marker",
    cursive;
  transform: rotate(-9deg);
  white-space: nowrap;
}
.marker svg {
  display: block;
  margin-left: auto;
  width: 60px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.footer {
  background: #0b1512;
  border-top: 1px solid #73836a42;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  padding-block: 1.8rem;
}
.footer-inner > span {
  font-size: 0.82rem;
  color: #abb5a8;
}
.inner-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 7vw, 8rem);
  background: linear-gradient(90deg, #0e1a12d6, #07161125);
}
.inner-hero h1 {
  max-width: 18ch;
}
.inner-hero h1 em {
  color: #e8ca94;
}
.inner-hero .wrap > p:last-child {
  max-width: 60ch;
  font-size: 1.12rem;
  line-height: 1.6;
  margin-top: 1.25rem;
  color: #e5eae1;
}
.directory {
  border-top: 1px solid var(--line);
  padding-top: 3.4rem;
  margin-top: 3rem;
}
.directory h2,
.related h2 {
  font-size: clamp(2.45rem, 3.7vw, 3.9rem);
}
.filters,
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.filters {
  max-width: 58rem;
  margin: 1.6rem 0 0;
}
.filters input,
.filters select,
.application input,
.application textarea {
  margin-top: 0.35rem;
}
#match-count {
  font-size: 0.88rem;
  margin-top: 0.8rem;
  color: var(--muted);
}
.directory-group {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.design-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem 2rem;
  margin-top: 0.8rem;
}
.design-list a {
  font-size: 1rem;
  padding: 0.32rem 0;
  text-decoration: underline;
  text-decoration-color: #b5bbae;
  text-underline-offset: 4px;
}
.design-list a:hover {
  color: #71603b;
}
.back-link {
  margin-bottom: 2.25rem;
  color: #4a6153;
}
.detail {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}
.detail-text {
  grid-template-columns: 1fr;
  max-width: 48rem;
}
.detail h1,
.reading h1 {
  font-size: clamp(3.15rem, 5.4vw, 6rem);
}
.detail-image img,
.editorial-img img {
  width: 100%;
  height: auto;
}
figcaption {
  color: #58665b;
  font-size: 0.8rem;
  padding-top: 0.55rem;
}
.lede,
.standfirst {
  font-size: 1.16rem;
  margin-top: 1.05rem;
}
.minor-title,
.sources h2 {
  font: 600 1rem/1.4 var(--sans);
  letter-spacing: 0;
  margin-top: 1.5rem;
}
.brief-list {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}
.detail .button {
  margin-top: 1.4rem;
}
.related {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.related .text-link,
.sources .text-link {
  display: table;
  margin-top: 0.6rem;
}
.split,
.story-grid {
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}
.editorial-img img {
  aspect-ratio: 4/5;
  object-fit: cover;
}
.process {
  margin: 1.4rem 0 1.6rem;
}
.process dt {
  font: 600 1.65rem/1.3 var(--serif);
  margin: 1rem 0 0.2rem;
}
.process dd {
  margin: 0;
}
.story-copy > p:not(.eyebrow) {
  margin: 1.25rem 0;
}
.story-close {
  font: 500 italic 1.8rem/1.3 var(--serif);
}
.apply-grid {
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: clamp(2rem, 7vw, 8rem);
}
.application {
  display: grid;
  gap: 1.3rem;
}
.application > .button {
  justify-self: start;
}
.application label {
  display: block;
}
.application .form-mode {
  margin: 0;
}
textarea {
  resize: vertical;
}
.newsletter-index {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.issue-list article {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.6rem;
}
.issue-list h2 {
  margin-bottom: 1.6rem;
}
.issue-list .category {
  margin: 0 0 0.5rem;
}
.issue-list h3 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}
.issue-list h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.issue-list article > p:last-child {
  margin-top: 0.7rem;
}
.subscribe-box {
  background: #e2e4d6;
  border: 1px solid #c4c9b7;
  padding: clamp(1.4rem, 2.4vw, 3rem);
}
.subscribe-box h2 {
  margin-bottom: 1rem;
}
.reading {
  width: min(100% - 2 * var(--pad), 760px);
  margin-inline: auto;
}
.reading > p:not(.eyebrow) {
  margin: 1.3rem 0;
  font-size: 1.12rem;
  line-height: 1.75;
}
.reading .standfirst {
  color: #506452;
  font-weight: 500;
}
.sources {
  margin-top: 1rem;
}
@media (min-width: 1700px) {
  .hero {
    background-position: center 57%;
  }
}
@media (max-width: 1080px) {
  .header-inner {
    gap: 1rem;
    padding-inline: 1.5rem;
  }
  .desktop-nav {
    gap: 1rem;
  }
  .header-cta {
    font-size: 0.78rem;
    padding-inline: 0.7rem;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .study-caption {
    bottom: 1.2rem;
  }
  .subscribe-box .subscribe-row {
    flex-direction: column;
  }
  .newsletter-index {
    gap: 2rem;
  }
}
@media (max-width: 880px) {
  .header-inner {
    min-height: 66px;
    padding-inline: var(--pad);
  }
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid #8a967b66;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 19px;
    height: 1px;
    background: #ead8ad;
    transition: transform 0.15s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  #mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    background: #101e18;
    padding: 0.4rem var(--pad) 1.5rem;
    border-top: 1px solid #5c695833;
  }
  #mobile-menu > a:not(.button) {
    padding: 0.7rem 0.2rem;
    color: var(--ivory);
    border-bottom: 1px solid #5c695848;
  }
  #mobile-menu .button {
    margin-top: 1rem;
    align-self: start;
  }
  .hero {
    min-height: 480px;
  }
  .footer-inner {
    align-items: flex-start;
  }
  .footer nav {
    flex-wrap: wrap;
  }
  .newsletter-layout,
  .apply-grid,
  .newsletter-index {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .newsletter-form {
    max-width: 38rem;
  }
  .newsletter-index .subscribe-box {
    order: -1;
  }
  .subscribe-box .subscribe-row {
    flex-direction: row;
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .detail-image {
    max-width: 40rem;
  }
}
@media (max-width: 640px) {
  :root {
    --pad: 1.35rem;
  }
  body:before {
    background-image: url(/images/resin-study-small.webp);
  }
  .brand span {
    font-size: 1.15rem;
  }
  .hero {
    min-height: 570px;
    background-image: url(/images/resin-study-small.webp);
    background-position: 60% center;
    align-items: center;
  }
  .hero:before {
    background:
      linear-gradient(95deg, #05110ae0, #06150e85 58%, #05181114),
      linear-gradient(0deg, #09150e87, transparent 45%);
  }
  .hero-content {
    padding-block: 3.4rem 6.2rem;
  }
  .hero .eyebrow {
    margin-bottom: 1.6rem;
  }
  .hero h1 {
    font-size: clamp(4.8rem, 17vw, 7rem);
  }
  .hero-content > p:not(.eyebrow) {
    max-width: 32ch;
    margin-block: 1.4rem 1.55rem;
  }
  .on-desktop {
    display: none;
  }
  .study-caption {
    right: var(--pad);
    bottom: 1.1rem;
    padding: 0.5rem 0.7rem;
  }
  .study-caption > div > span {
    font-size: 0.95rem;
  }
  .featured-grid,
  .split,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    gap: 1.9rem;
    margin-top: 1.4rem;
  }
  .card-image {
    aspect-ratio: 1.52;
  }
  .product-card h3 {
    font-size: 2.05rem;
  }
  .category {
    margin-top: 1rem;
  }
  .legacy-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.7rem;
    padding: 2rem 1.3rem;
  }
  .cta-action {
    align-self: center;
    gap: 0.5rem;
  }
  .marker {
    font-size: 1.3rem;
  }
  .footer-inner {
    display: grid;
    gap: 1.2rem;
  }
  .footer nav {
    gap: 0.65rem 1.2rem;
  }
  .filters,
  .form-pair {
    grid-template-columns: 1fr;
  }
  .design-list {
    grid-template-columns: 1fr;
  }
  .subscribe-row {
    gap: 0.35rem;
  }
  .subscribe-row input {
    min-width: 0;
  }
  .subscribe-row .button {
    padding-inline: 1rem;
  }
  .editorial-img img {
    aspect-ratio: 4/3;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  color: var(--ivory);
  font-size: 0.92rem;
  white-space: nowrap;
}
.header-cart span {
  min-width: 1.4rem;
  border: 1px solid #8d8863;
  border-radius: 50%;
  text-align: center;
  line-height: 1.35rem;
  color: #e2c795;
  font-size: 0.78rem;
}
.header-inner {
  gap: clamp(0.65rem, 1.5vw, 2rem);
}
.card-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.1rem;
}
.card-actions .card-link {
  margin: 0;
}
.card-actions {
  margin-top: 1rem;
}
.card-cart {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid #738778;
  color: var(--ink);
  background: transparent;
  font: 600 0.88rem/1.3 var(--sans);
  cursor: pointer;
}
.card-cart:hover {
  background: #e4e7dc;
}
.detail-actions {
  margin-top: 1.5rem;
}
.detail-actions .button {
  margin-top: 0;
}
.cart-toast {
  position: fixed;
  z-index: 8;
  bottom: 1.25rem;
  right: var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  max-width: min(32rem, calc(100% - 2.5rem));
  padding: 0.85rem 1.1rem;
  background: #12392e;
  color: #fffbec;
  border: 1px solid #cbb989;
  box-shadow: 0 0.3rem 1rem #07140d40;
  font-size: 0.94rem;
}
.cart-toast a {
  color: #ecd094;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.cart-toast button {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}
.commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.commerce-heading,
.order-summary h2,
.cart-empty h2,
.order-receipt h2 {
  font-size: clamp(2.35rem, 3.45vw, 4.1rem);
}
.order-summary {
  background: #e3e6da;
  border: 1px solid #c0c9ba;
  padding: clamp(1.25rem, 2.6vw, 2.75rem);
}
.order-summary h2 {
  font-size: clamp(2.1rem, 2.6vw, 3.15rem);
  margin-bottom: 1.3rem;
}
.order-summary > p,
.cart-empty p,
.order-receipt p {
  margin: 0.9rem 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.order-summary > .text-link {
  display: table;
  margin-block: 0.75rem 0;
}
.summary-row,
.summary-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #c0c9ba;
}
.summary-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}
.summary-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.summary-lines li strong {
  white-space: nowrap;
}
.basket-line {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.basket-thumb {
  width: clamp(4.1rem, 8vw, 7rem);
  aspect-ratio: 1;
  object-fit: cover;
}
.basket-name {
  flex: 1;
  min-width: 0;
}
.basket-name a {
  font: 500 clamp(1.4rem, 2.1vw, 2.15rem)/1.05 var(--serif);
}
.basket-name a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.basket-name p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.line-controls {
  display: grid;
  justify-items: end;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid #929f8e;
}
.quantity button,
.quantity output {
  min-width: 36px;
  color: var(--ink);
  text-align: center;
}
.quantity button {
  min-height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  border: 0;
  background: #e0e4d7;
}
.quantity button:disabled {
  opacity: 0.5;
  cursor: default;
}
.text-button {
  border: none;
  color: #395743;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0.55rem 0.15rem;
  font-size: 0.9rem;
}
@media (max-width: 880px) {
  .header-cart {
    margin-left: auto;
  }
  .commerce-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #checkout-page .order-summary {
    order: -1;
  }
}
@media (max-width: 540px) {
  .header-inner {
    gap: 0.7rem;
  }
  .cart-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  .basket-line {
    flex-wrap: wrap;
  }
  .basket-thumb {
    width: 4rem;
  }
  .line-controls {
    flex-basis: 100%;
    display: flex;
    gap: 1rem;
    align-items: center;
  }
}
.commerce-hero {
  padding-block: clamp(1.65rem, 3.5vw, 3.8rem);
}
.commerce-hero h1 {
  font-size: clamp(3.2rem, 5vw, 5.4rem);
}
.commerce-hero .eyebrow {
  margin-bottom: 0.5rem;
}
.commerce-hero .wrap > p:last-child {
  margin-top: 0.6rem;
  font-size: 1rem;
  max-width: 68ch;
}
@media (max-width: 640px) {
  .commerce-hero {
    padding-block: 1.4rem;
  }
  .commerce-hero + .section-pad {
    padding-block: 1.8rem;
  }
}
