:root {
  color-scheme: light;
  --ink: var(--site-ink, #1a1a1a);
  --muted: #68625c;
  --paper: var(--site-paper, #fafafa);
  --panel: var(--site-panel, #ffffff);
  --line: rgba(26, 26, 26, 0.1);
  --accent: var(--site-accent, #c5a059);
  --accent-strong: #ff8617;
  --sand: #eaddcf;
  --max: 1180px;
  --content: 820px;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

/* MycroftMall 2026 boutique editorial refresh */
[data-site="mycroftmall"] {
  --mc-ink:#171312;
  --mc-night:#201716;
  --mc-cream:#fff7ec;
  --mc-paper:#f7efe5;
  --mc-gold:#caa45e;
  --mc-wine:#5f2931;
  --mc-olive:#586048;
  --mc-muted:#70665c;
  --mc-line:rgba(32,23,22,.14);
}

[data-site="mycroftmall"] .mycroft-brand-logo {
  display:block;
  width:min(292px, 54vw);
  height:auto;
}

.mycroftmall-home-page .site-header {
  position:fixed;
  inset:0 0 auto;
  z-index:30;
  width:100%;
  max-width:none;
  transform:none;
  left:0;
  padding:1rem max(1rem, calc((100vw - 1180px) / 2));
  background:linear-gradient(180deg, rgba(23,19,18,.78), rgba(23,19,18,.16));
  border-bottom:1px solid rgba(255,247,236,.16);
  color:var(--mc-cream);
  backdrop-filter:blur(12px);
}

.mycroftmall-home-page .site-header nav a,
.mycroftmall-home-page .site-header nav a:first-child,
.mycroftmall-home-page .site-header nav a:last-child {
  background:transparent;
  color:var(--mc-cream);
  min-width:0;
  text-shadow:0 2px 18px rgba(0,0,0,.28);
}

.mycroftmall-home-page .site-header nav a:hover {
  background:transparent;
  color:#dfc383;
}

.mc-home {
  background:linear-gradient(180deg, #f8efe5 0%, #fff7ec 42%, #eee2d3 100%);
  overflow:hidden;
}

.mc-home .mc-hero {
  position:relative;
  width:100%;
  min-height:100svh;
  margin:0;
  display:grid;
  grid-template-columns:minmax(1rem,1fr) minmax(0,1180px) minmax(1rem,1fr);
  align-items:center;
  padding:clamp(7rem,11vh,9rem) 0 clamp(3rem,7vh,5rem);
  color:var(--mc-cream);
  isolation:isolate;
}

.mc-hero__media,
.mc-hero__shade {
  position:absolute;
  inset:0;
}

.mc-hero__media {
  z-index:-3;
  overflow:hidden;
}

.mc-hero__media img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 50%;
  transform:scale(1.035);
  animation:mc-hero-drift 19s ease-in-out infinite alternate;
}

.mc-hero__shade {
  z-index:-2;
  background:
    linear-gradient(90deg, rgba(23,19,18,.9) 0%, rgba(23,19,18,.64) 40%, rgba(23,19,18,.24) 72%, rgba(23,19,18,.48) 100%),
    linear-gradient(0deg, rgba(23,19,18,.68) 0%, rgba(23,19,18,.08) 48%, rgba(23,19,18,.38) 100%);
}

.mc-hero__copy {
  grid-column:2;
  max-width:760px;
  transform:translateY(-3vh);
  animation:mc-rise .9s ease both;
}

.mc-home .mc-kicker {
  margin:0 0 .9rem;
  color:#dfc383;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.mc-home .mc-hero h1 {
  max-width:800px;
  margin:0;
  color:var(--mc-cream);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(3.2rem,6.5vw,6.75rem);
  line-height:.92;
  letter-spacing:0;
  text-shadow:0 24px 70px rgba(0,0,0,.42);
}

.mc-home .mc-hero p:not(.mc-kicker) {
  max-width:600px;
  margin:1.25rem 0 0;
  color:#f5e7d8;
  font-size:clamp(1.02rem,1.3vw,1.2rem);
  line-height:1.65;
}

.mc-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  margin-top:1.85rem;
}

.mc-actions a,
.mc-section-head > a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:3.1rem;
  padding:.9rem 1.25rem;
  border:1px solid rgba(255,247,236,.34);
  border-radius:999px;
  background:var(--mc-cream);
  color:var(--mc-ink);
  font-weight:850;
  text-decoration:none;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}

.mc-actions a + a,
.mc-section-head > a {
  background:rgba(255,247,236,.1);
  color:var(--mc-cream);
  backdrop-filter:blur(12px);
}

.mc-lanes,
.mc-story,
.mc-latest {
  width:min(1180px, calc(100% - 2.4rem));
  margin-inline:auto;
  padding-block:clamp(2.8rem,5.8vw,5rem);
}

.mc-section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.2rem;
}

.mc-section-head h2,
.mc-story h2,
.mc-latest h2 {
  max-width:800px;
  margin:.45rem 0 0;
  color:var(--mc-ink);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(2rem,3.6vw,3.75rem);
  line-height:1.02;
  letter-spacing:0;
}

.mc-lane-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.9rem;
}

.mc-lane-grid a {
  position:relative;
  min-height:390px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:1.15rem;
  color:var(--mc-cream);
  background:var(--mc-night);
  text-decoration:none;
  box-shadow:0 28px 70px rgba(95,41,49,.14);
  animation:mc-rise .9s ease both;
}

.mc-lane-grid a::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(0deg, rgba(23,19,18,.9), rgba(23,19,18,.3) 58%, rgba(23,19,18,.06));
}

.mc-lane-grid img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1s ease, filter 1s ease;
}

.mc-lane-grid a:hover img {
  transform:scale(1.045);
  filter:saturate(1.08) contrast(1.03);
}

.mc-lane-grid span,
.mc-lane-grid h3,
.mc-lane-grid p {
  position:relative;
  z-index:2;
}

.mc-lane-grid span,
.mc-story__steps span {
  color:#dfc383;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.mc-lane-grid h3 {
  margin:.45rem 0;
  color:var(--mc-cream);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(1.22rem,1.7vw,1.62rem);
  line-height:1.04;
}

.mc-lane-grid p {
  margin:0;
  color:#f4e5d3;
  line-height:1.48;
}

.mc-story {
  display:grid;
  grid-template-columns:minmax(320px,.65fr) minmax(430px,1fr);
  gap:clamp(1rem,2.5vw,2rem);
  align-items:center;
}

.mc-story > div:first-child {
  padding:clamp(1.5rem,3vw,2.6rem);
  background:linear-gradient(135deg, #201716, #3a1d22);
  color:var(--mc-cream);
}

.mc-story > div:first-child h2 {
  max-width:500px;
  color:var(--mc-cream);
  font-size:clamp(2rem,3vw,3.15rem);
}

.mc-story__steps {
  display:grid;
  gap:.72rem;
}

.mc-story__steps article {
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:1rem;
  min-height:92px;
  padding:1rem 1.15rem;
  border:1px solid var(--mc-line);
  background:rgba(255,247,236,.78);
}

.mc-story__steps h3 {
  margin:0;
  color:var(--mc-ink);
  font-size:clamp(1.02rem,1.35vw,1.22rem);
}

.mc-latest .mc-section-head {
  margin-bottom:1.4rem;
}

.mc-latest .mc-section-head > a {
  color:var(--mc-ink);
  border-color:var(--mc-line);
  background:#fffaf2;
  box-shadow:0 16px 36px rgba(32,23,22,.08);
}

.mc-latest .article-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding:0;
}

.mc-latest .article-card--compact {
  grid-column:auto;
}

.mc-latest .article-card {
  border:1px solid var(--mc-line);
  border-radius:10px;
  background:#fffaf2;
}

.mc-latest .article-card__image {
  aspect-ratio:16/10;
}

.mc-latest .article-card h2 {
  font-size:clamp(1.16rem,1.55vw,1.5rem);
}

.mc-latest .article-card__dek {
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.site-footer--mycroft {
  position:relative;
  display:grid;
  grid-template-columns:minmax(280px,.9fr) minmax(260px,.7fr) minmax(320px,1fr);
  align-items:start;
  gap:clamp(1.8rem,4.5vw,5rem);
  width:100%;
  max-width:none;
  margin-top:clamp(2.5rem,5vw,4rem);
  padding:clamp(2.7rem,5vw,4.6rem) max(1.2rem, calc((100vw - 1180px) / 2)) clamp(1.7rem,3vw,2.2rem);
  border-top:0;
  background:
    linear-gradient(135deg, rgba(32,23,22,.98), rgba(16,13,12,1)),
    radial-gradient(circle at 24% 0%, rgba(202,164,94,.16), transparent 34%);
  color:var(--mc-cream);
}

.site-footer--mycroft strong {
  display:block;
  color:var(--mc-cream);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(1.9rem,3vw,3rem);
  line-height:1;
}

.site-footer--mycroft p {
  max-width:560px;
  color:#e8d7c2;
}

.site-footer--mycroft .footer-nav {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem 1.8rem;
  justify-content:start;
  max-width:360px;
  padding-top:.2rem;
}

.site-footer--mycroft .footer-nav a,
.home-page .site-footer--mycroft .footer-nav a:first-child,
.home-page .site-footer--mycroft .footer-nav a:last-child {
  background:transparent;
  border:0;
  border-radius:0;
  color:rgba(255,241,221,.78);
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.16em;
  min-width:0;
  padding:0 0 .42rem;
  position:relative;
  text-transform:uppercase;
}

.site-footer--mycroft .footer-nav a::after {
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:1px;
  background:#dfc383;
  transition:right 220ms ease;
}

.site-footer--mycroft .footer-nav a:hover {
  background:transparent;
  color:#dfc383;
  transform:none;
}

.site-footer--mycroft .footer-nav a:hover::after {
  right:0;
}

.site-footer--mycroft .footer-disclosure {
  grid-column:auto;
  max-width:420px;
  margin:0;
  padding-top:1rem;
  border-top:1px solid rgba(255,241,221,.16);
  color:rgba(255,241,221,.5);
  font-size:.72rem;
  line-height:1.6;
}

@keyframes mc-hero-drift {
  from { transform:scale(1.035) translate3d(0,0,0); }
  to { transform:scale(1.095) translate3d(-1.2%, -1%, 0); }
}

@keyframes mc-rise {
  from { opacity:0; transform:translateY(18px); }
  to { opacity:1; transform:translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mc-hero__media img,
  .mc-hero__copy,
  .mc-lane-grid a {
    animation:none;
    transition:none;
  }
}

@media (max-width: 1040px) {
  .mc-lane-grid,
  .mc-latest .article-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .mc-story {
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px) {
  .mycroftmall-home-page .site-header {
    position:absolute;
    align-items:flex-start;
    flex-direction:column;
    padding-inline:1rem;
    background:linear-gradient(180deg, rgba(23,19,18,.84), transparent);
  }

  [data-site="mycroftmall"] .mycroft-brand-logo {
    width:min(286px, 78vw);
  }

  .mycroftmall-home-page .brand {
    display:inline-flex;
  }

  .mycroftmall-home-page .site-header nav {
    width:100%;
    justify-content:flex-start;
    gap:.55rem .8rem;
  }

  .mc-home .mc-hero {
    grid-template-columns:1rem minmax(0,1fr) 1rem;
    min-height:100svh;
    padding-top:8.4rem;
  }

  .mc-hero__copy {
    transform:translateY(-2vh);
  }

  .mc-home .mc-hero h1 {
    font-size:clamp(2.85rem,13.5vw,4.45rem);
  }

  .mc-lanes,
  .mc-story,
  .mc-latest {
    width:min(100% - 2rem,1180px);
  }

  .mc-section-head {
    display:block;
  }

  .mc-section-head > a {
    margin-top:1rem;
  }

  .mc-lane-grid,
  .mc-latest .article-grid {
    grid-template-columns:1fr;
  }

  .mc-lane-grid a {
    min-height:330px;
  }

  .site-footer--mycroft {
    display:grid;
    grid-template-columns:1fr;
    gap:1.8rem;
  }

  .site-footer--mycroft .footer-nav {
    grid-template-columns:1fr 1fr;
    justify-content:flex-start;
    margin-top:0;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 1rem;
  padding: 0.7rem 0.9rem;
  position: absolute;
  top: -4rem;
  z-index: 5;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer,
main {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  padding-top: 1.1rem;
}

.home-page .site-header {
  color: #fff;
  left: 50%;
  max-width: none;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, 1280px);
  z-index: 3;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--serif);
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.home-page .brand-mark {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.home-page .brand small {
  color: rgba(255, 255, 255, 0.72);
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

nav a {
  border-radius: 999px;
  color: rgba(26, 26, 26, 0.72);
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

nav a:hover {
  transform: translateY(-1px);
}

.home-page nav a {
  color: #fff;
}

.home-page nav a:first-child {
  color: var(--accent-strong);
}

.home-page nav a:last-child {
  background: var(--accent-strong);
  color: #fff;
  min-width: 6.5rem;
  text-align: center;
}

main {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.home-page main {
  max-width: none;
  padding: 0;
}

.home-hero {
  align-items: center;
  background:
    linear-gradient(rgba(20, 14, 9, 0.34), rgba(20, 14, 9, 0.46)),
    url("/uploads/mycroftmall-original-boutique-hero.webp") center / cover;
  display: flex;
  justify-content: center;
  min-height: min(760px, 100dvh);
  padding: 7rem clamp(1rem, 4vw, 2rem) 5rem;
}

.home-hero__panel {
  background: rgba(122, 102, 77, 0.48);
  backdrop-filter: blur(12px) saturate(1.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 28px 90px -64px rgba(0, 0, 0, 0.65);
  color: #fff;
  max-width: 766px;
  padding: clamp(2rem, 6vw, 3.8rem) clamp(1.4rem, 6vw, 5rem);
  text-align: center;
}

.home-hero__panel p,
.eyebrow,
.article-card__meta,
.meta {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.home-hero__panel p {
  color: rgba(255, 255, 255, 0.86);
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 700;
  margin: 0;
}

.home-hero__panel span {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.6;
  margin: 1.35rem auto 2.7rem;
  max-width: 55ch;
}

.button {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.16em;
  min-height: 3.85rem;
  padding: 1rem 2.35rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button:active,
.text-link:active,
nav a:active {
  transform: scale(0.98);
}

.button--primary {
  background: #fff;
  color: var(--ink);
}

.button--primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.bq-values,
.bq-story,
.bq-collections,
.bq-latest,
.section-heading,
.article-grid,
.affiliate-disclosure {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.bq-values {
  background: #fff;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.bq-values span {
  color: var(--accent);
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.bq-values h2,
.bq-story h2,
.bq-collections h2,
.bq-latest h2,
.section-heading h2,
.legacy-home h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  margin: 0;
}

.bq-values h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.bq-values p,
.bq-story p,
.article-card__dek,
.affiliate-disclosure {
  color: var(--muted);
  line-height: 1.7;
}

.bq-story {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 2rem);
}

.bq-story__copy {
  max-width: 560px;
}

.bq-story__image {
  background: var(--sand);
  padding: 0 1.25rem 1.25rem 0;
}

.bq-story__image img {
  display: block;
  height: auto;
  object-fit: cover;
  transform: translate(-1.25rem, -1.25rem);
  width: 100%;
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  display: inline-flex;
  font-weight: 500;
  margin-top: 1rem;
  padding-bottom: 0.45rem;
  text-decoration: none;
}

.bq-collections {
  background: #fff;
  padding: clamp(4.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.bq-collection-grid {
  display: grid;
  gap: 1.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 8rem);
}

.bq-collection-grid a {
  align-items: end;
  aspect-ratio: 3.6 / 1;
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  padding: 1.35rem 1.7rem;
  text-align: left;
  text-decoration: none;
}

.bq-quote {
  align-items: center;
  background:
    linear-gradient(rgba(116, 116, 112, 0.78), rgba(116, 116, 112, 0.78)),
    url("/uploads/mycroftmall-original-boutique-hero.png") center / cover;
  color: #050505;
  display: flex;
  justify-content: center;
  min-height: 28rem;
  text-align: center;
}

.bq-quote blockquote {
  margin: 0;
  max-width: 720px;
  padding: 2rem;
}

.bq-quote p {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.22;
  margin: 0;
}

.bq-quote cite {
  color: #fff;
  display: block;
  font-style: italic;
  margin-top: 1.3rem;
}

.affiliate-disclosure {
  background: #fff;
  border-left: 3px solid var(--accent);
  margin-top: 2rem;
  padding: 1rem 1.1rem;
}

.affiliate-disclosure p {
  margin: 0;
}

.bq-latest {
  background: #f4f4f4;
  padding: clamp(4.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.bq-latest h2 {
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.bq-latest .article-grid {
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem) 1.5rem;
}

.article-grid {
  display: grid;
  gap: 1.8rem;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

.article-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid--latest {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  animation: rise 520ms ease both;
  animation-delay: calc(var(--index, 0) * 70ms);
  background: #fff;
  border: 0;
  display: flex;
  flex-direction: column;
  min-height: 33rem;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.article-card:hover {
  box-shadow: 0 22px 60px -48px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.article-card__image {
  aspect-ratio: 16 / 10;
  background: #ddd;
  display: block;
  overflow: hidden;
}

.article-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
  width: 100%;
}

.article-card:hover .article-card__image img {
  transform: scale(1.04);
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.8rem;
}

.article-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  font-weight: 700;
  margin: 0;
}

.article-card h2 a {
  text-decoration: none;
}

.article-card__dek {
  margin-bottom: 2rem;
}

.article-card .text-link {
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-top: auto;
  text-transform: uppercase;
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.site-footer p {
  margin: 0.35rem 0 0;
  max-width: 34rem;
}

.content-page {
  margin: clamp(2rem, 6vw, 4.5rem) auto 0;
  max-width: var(--max);
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.content-page--post {
  max-width: min(1760px, calc(100vw - 6rem));
}

.content-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.content-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 2.15vw, 2.6rem);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  max-width: none;
  text-wrap: balance;
}

.dek {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
  max-width: 760px;
}

.article-hero {
  display: grid;
  gap: clamp(1rem, 2.8vw, 2.5rem);
}

.content-page--post .content-header h1 {
  text-wrap: pretty;
}

.content-page--post .content-header .article-title--long {
  font-size: clamp(1.45rem, 1.55vw, 2rem);
  line-height: 1.12;
}

@media (min-width: 1180px) {
  .content-page--post .content-header .article-title--long {
    white-space: nowrap;
  }
}

.article-hero__deck {
  align-items: end;
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.48fr);
}

.article-hero__copy {
  max-width: 760px;
}

.article-hero__image {
  background: var(--sand);
  padding: 0 1rem 1rem 0;
}

.article-hero__image img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  transform: translate(-1rem, -1rem);
  width: 100%;
}

.article-shell {
  clear: both;
  display: block;
  margin: 0 auto;
  max-width: min(1180px, 100%);
  width: 100%;
}

.article-note {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
  padding: 1rem;
}

.prose {
  display: flow-root;
  font-family: var(--serif);
  font-size: clamp(1.03rem, 1.25vw, 1.14rem);
  line-height: 1.78;
  max-width: none;
}

.prose > * + * {
  margin-top: 1.05rem;
}

.content-page--post .prose > h1:first-child {
  display: none;
}

.prose h2,
.prose h3 {
  font-family: var(--sans);
  line-height: 1.1;
}

.prose h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-top: 2.8rem;
}

.prose h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.prose img {
  height: auto;
  max-width: 100%;
}

.prose table {
  border-collapse: collapse;
  display: block;
  font-family: var(--sans);
  font-size: 0.94rem;
  overflow-x: auto;
  width: 100%;
}

.article-bottom-notes {
  border-top: 1px solid var(--line);
  clear: both;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-left: auto;
  margin-right: auto;
  max-width: min(1180px, 100%);
  padding-top: 1.5rem;
  width: 100%;
}

.article-bottom-notes .affiliate-disclosure {
  margin: 0;
  max-width: none;
}

.article-bottom-notes .article-note {
  min-height: 100%;
}

.related-articles {
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  max-width: var(--max);
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.related-articles h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 1.5rem;
}

.related-articles .article-card {
  min-height: 25rem;
}

.related-articles .article-card__image {
  aspect-ratio: 16 / 9;
}

.related-articles .article-card__body {
  padding: 1.25rem;
}

.related-articles .article-card h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.related-articles .article-card__dek {
  font-size: 0.92rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.72rem;
  vertical-align: top;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-page .site-header {
    position: absolute;
  }

  nav {
    justify-content: flex-start;
  }

  .bq-values,
  .bq-story,
  .bq-collection-grid,
  .article-grid--featured,
  .article-grid--latest,
  .section-heading,
  .article-hero__deck,
  .article-bottom-notes {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 720px;
  }

  .article-card {
    min-height: auto;
  }

}

@media (max-width: 560px) {
  .content-page--post {
    max-width: var(--max);
  }

  .content-page--post .content-header .article-title--long {
    white-space: normal;
  }

  .home-page .brand {
    display: none;
  }

  .home-page nav a:last-child {
    min-width: auto;
  }

  .home-hero {
    min-height: 680px;
    padding-top: 6rem;
  }

  .home-hero__panel {
    padding: 1.6rem 1.2rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .mycroftmall-home-page .brand {
    display:inline-flex;
  }
}

.home-page .site-footer--mycroft .footer-nav a,
.home-page .site-footer--mycroft .footer-nav a:first-child,
.home-page .site-footer--mycroft .footer-nav a:last-child,
.site-footer--mycroft .footer-nav a {
  background:transparent;
  border:0;
  border-radius:0;
  color:rgba(255,241,221,.78);
  min-width:0;
  padding:0 0 .42rem;
}
