/*
Theme Name: Next Crochet Child
Theme URI: https://nextcrochet.com/
Description: A fast, editorial Kadence child theme for curated crochet tutorials, project inspiration, and creator-first guides.
Author: Next Crochet
Author URI: https://nextcrochet.com/
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextcrochet
*/

:root {
  --nc-ink: #231f2a;
  --nc-muted: #6f6877;
  --nc-cream: #fffaf3;
  --nc-paper: #ffffff;
  --nc-lilac: #7b5aa6;
  --nc-lilac-dark: #5c3d82;
  --nc-lilac-soft: #eee5f7;
  --nc-terracotta: #ca6b4f;
  --nc-peach: #f4c3a7;
  --nc-sage: #91a889;
  --nc-gold: #d89f43;
  --nc-line: #e9dfd5;
  --nc-shadow: 0 18px 55px rgba(53, 38, 64, 0.11);
  --nc-shadow-soft: 0 10px 28px rgba(53, 38, 64, 0.08);
  --nc-radius-xl: 32px;
  --nc-radius-lg: 22px;
  --nc-radius-md: 15px;
  --nc-container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body.nextcrochet-site {
  background: var(--nc-cream);
  color: var(--nc-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.nextcrochet-site h1,
body.nextcrochet-site h2,
body.nextcrochet-site h3,
body.nextcrochet-site h4,
body.nextcrochet-site .site-title {
  color: var(--nc-ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

body.nextcrochet-site a {
  color: var(--nc-lilac-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.nextcrochet-site a:focus-visible,
body.nextcrochet-site button:focus-visible {
  outline: 3px solid rgba(123, 90, 166, 0.35);
  outline-offset: 3px;
}

.nc-container {
  margin-inline: auto;
  max-width: var(--nc-container);
  padding-inline: 24px;
  width: 100%;
}

.nc-section {
  padding-block: clamp(64px, 8vw, 108px);
}

.nc-section--white {
  background: var(--nc-paper);
}

.nc-section--tinted {
  background: #f6efe8;
}

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

.nc-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  margin: 6px 0 0;
  max-width: 720px;
}

.nc-kicker {
  color: var(--nc-terracotta);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nc-kicker::before {
  background: currentColor;
  border-radius: 99px;
  content: "";
  height: 8px;
  margin-top: 0.35em;
  width: 8px;
}

.nc-text-link {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  gap: 8px;
  text-decoration: none;
}

.nc-text-link::after {
  content: "\2192";
  transition: transform 180ms ease;
}

.nc-text-link:hover::after {
  transform: translateX(4px);
}

/* Announcement and Kadence header integration */
.nc-announcement {
  background: var(--nc-ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  text-align: center;
}

.nc-announcement span {
  color: var(--nc-peach);
}

body.nextcrochet-site .site-header-row-container-inner {
  background: rgba(255, 250, 243, 0.96);
  border-bottom: 1px solid rgba(35, 31, 42, 0.08);
  backdrop-filter: blur(18px);
}

body.nextcrochet-site .site-branding .site-title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
}

body.nextcrochet-site .site-branding .site-title a {
  color: var(--nc-ink);
  text-decoration: none;
}

body.nextcrochet-site .primary-menu-container > ul > li > a {
  color: var(--nc-ink);
  font-size: 0.92rem;
  font-weight: 750;
}

body.nextcrochet-site .primary-menu-container > ul > li > a:hover {
  color: var(--nc-lilac-dark);
}

/* Hero */
.nc-hero {
  overflow: hidden;
  padding: clamp(52px, 7vw, 94px) 0 clamp(74px, 9vw, 120px);
  position: relative;
}

.nc-hero::before {
  background-image: radial-gradient(rgba(123, 90, 166, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  height: 360px;
  opacity: 0.5;
  position: absolute;
  right: -100px;
  top: -75px;
  width: 430px;
}

.nc-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 86px);
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  position: relative;
}

.nc-hero h1 {
  font-size: clamp(3.25rem, 7.2vw, 6.6rem);
  line-height: 0.91;
  margin: 18px 0 26px;
  max-width: 770px;
}

.nc-hero h1 em {
  color: var(--nc-lilac);
  display: block;
  font-style: italic;
  font-weight: 500;
}

.nc-hero__copy > p {
  color: var(--nc-muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  margin: 0 0 30px;
  max-width: 610px;
}

.nc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.nc-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.91rem;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nc-button:hover {
  transform: translateY(-2px);
}

.nc-button--primary {
  background: var(--nc-lilac-dark);
  box-shadow: 0 10px 25px rgba(92, 61, 130, 0.2);
  color: #fff !important;
}

.nc-button--primary:hover {
  background: var(--nc-ink);
}

.nc-button--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--nc-line);
  color: var(--nc-ink) !important;
}

.nc-button--ghost:hover {
  background: #fff;
  box-shadow: var(--nc-shadow-soft);
}

.nc-trust-row {
  align-items: center;
  color: var(--nc-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 16px;
  margin-top: 28px;
}

.nc-trust-row span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.nc-trust-row svg {
  color: var(--nc-terracotta);
  height: 16px;
  width: 16px;
}

.nc-hero-art {
  aspect-ratio: 0.94;
  min-height: 500px;
  position: relative;
}

.nc-project-card {
  background: #fff;
  border: 1px solid rgba(35, 31, 42, 0.08);
  border-radius: 25px;
  box-shadow: var(--nc-shadow);
  overflow: hidden;
  padding: 13px;
  position: absolute;
  transform-origin: center;
}

.nc-project-card__visual {
  align-items: center;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.nc-project-card__visual svg {
  filter: drop-shadow(0 12px 18px rgba(35, 31, 42, 0.13));
  height: 72%;
  max-width: 78%;
  width: auto;
}

.nc-project-card__label {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: space-between;
  padding: 13px 5px 4px;
}

.nc-project-card__label strong {
  color: var(--nc-ink);
  font-size: 0.84rem;
}

.nc-project-card__label span {
  color: var(--nc-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.nc-project-card--one {
  left: 2%;
  top: 8%;
  transform: rotate(-7deg);
  width: 58%;
  z-index: 2;
}

.nc-project-card--one .nc-project-card__visual {
  background: #efe3f6;
}

.nc-project-card--two {
  right: 0;
  top: 0;
  transform: rotate(7deg);
  width: 51%;
  z-index: 1;
}

.nc-project-card--two .nc-project-card__visual {
  background: #f8ddce;
}

.nc-project-card--three {
  bottom: 0;
  right: 10%;
  transform: rotate(2deg);
  width: 56%;
  z-index: 3;
}

.nc-project-card--three .nc-project-card__visual {
  background: #dfe9dc;
}

.nc-yarn-note {
  align-items: center;
  background: var(--nc-gold);
  border-radius: 50%;
  bottom: 21%;
  color: var(--nc-ink);
  display: flex;
  font-family: Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 700;
  height: 105px;
  justify-content: center;
  left: -4%;
  line-height: 1.15;
  padding: 15px;
  position: absolute;
  text-align: center;
  transform: rotate(-9deg);
  width: 105px;
  z-index: 5;
}

/* Category cards */
.nc-category-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.nc-category-card {
  border: 1px solid rgba(35, 31, 42, 0.08);
  border-radius: var(--nc-radius-lg);
  color: var(--nc-ink) !important;
  min-height: 340px;
  overflow: hidden;
  padding: 29px;
  position: relative;
  text-decoration: none !important;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.nc-category-card:hover {
  box-shadow: var(--nc-shadow-soft);
  transform: translateY(-6px);
}

.nc-category-card:nth-child(1) {
  background: var(--nc-lilac-soft);
}

.nc-category-card:nth-child(2) {
  background: #f9dfcf;
}

.nc-category-card:nth-child(3) {
  background: #e1eadf;
}

.nc-category-card__number {
  color: rgba(35, 31, 42, 0.48);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.nc-category-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.03;
  margin: 14px 0 8px;
  max-width: 260px;
}

.nc-category-card p {
  color: var(--nc-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  max-width: 255px;
}

.nc-category-card__icon {
  bottom: -18px;
  height: 175px;
  opacity: 0.98;
  position: absolute;
  right: -6px;
  transform: rotate(8deg);
  width: 175px;
}

.nc-category-card:nth-child(2) .nc-category-card__icon {
  transform: rotate(-5deg);
}

/* Post cards */
.nc-post-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nc-post-card {
  background: #fff;
  border: 1px solid var(--nc-line);
  border-radius: var(--nc-radius-lg);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.nc-post-card:hover {
  box-shadow: var(--nc-shadow-soft);
  transform: translateY(-5px);
}

.nc-post-card__media {
  aspect-ratio: 4 / 3;
  background: #f1e9df;
  display: block;
  overflow: hidden;
  position: relative;
}

.nc-post-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
  width: 100%;
}

.nc-post-card:hover .nc-post-card__media img {
  transform: scale(1.035);
}

.nc-post-card__placeholder {
  align-items: center;
  background: linear-gradient(145deg, #eee5f7, #f8ddce);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.nc-post-card__placeholder svg {
  height: 62%;
  opacity: 0.86;
  width: 62%;
}

.nc-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.nc-post-card__category {
  color: var(--nc-terracotta);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.nc-post-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.68rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.nc-post-card h3 a {
  color: var(--nc-ink);
  text-decoration: none;
}

.nc-post-card__excerpt {
  color: var(--nc-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.nc-post-card__meta {
  align-items: center;
  border-top: 1px solid var(--nc-line);
  color: var(--nc-muted);
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 15px;
}

/* Value section */
.nc-value-grid {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.nc-value-visual {
  background: var(--nc-lilac-dark);
  border-radius: var(--nc-radius-xl);
  color: #fff;
  min-height: 500px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 60px);
  position: relative;
}

.nc-value-visual::before,
.nc-value-visual::after {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
  position: absolute;
}

.nc-value-visual::before {
  height: 360px;
  right: -130px;
  top: -100px;
  width: 360px;
}

.nc-value-visual::after {
  bottom: -120px;
  height: 290px;
  left: -100px;
  width: 290px;
}

.nc-value-visual__quote {
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-style: italic;
  line-height: 1.05;
  max-width: 430px;
  position: relative;
  z-index: 1;
}

.nc-value-visual__stamp {
  align-items: center;
  background: var(--nc-peach);
  border-radius: 50%;
  bottom: 45px;
  color: var(--nc-ink);
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  height: 126px;
  justify-content: center;
  letter-spacing: 0.08em;
  padding: 20px;
  position: absolute;
  right: 44px;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
  width: 126px;
  z-index: 2;
}

.nc-value-copy h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.3rem);
  line-height: 1;
  margin: 8px 0 20px;
}

.nc-value-copy > p {
  color: var(--nc-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 29px;
}

.nc-value-list {
  display: grid;
  gap: 14px;
}

.nc-value-item {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--nc-line);
  border-radius: var(--nc-radius-md);
  display: grid;
  gap: 14px;
  grid-template-columns: 38px 1fr;
  padding: 18px;
}

.nc-value-item__icon {
  align-items: center;
  background: var(--nc-lilac-soft);
  border-radius: 50%;
  color: var(--nc-lilac-dark);
  display: flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nc-value-item__icon svg {
  height: 18px;
  width: 18px;
}

.nc-value-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.nc-value-item span {
  color: var(--nc-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* CTA */
.nc-cta {
  background: var(--nc-ink);
  border-radius: var(--nc-radius-xl);
  color: #fff;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px);
  position: relative;
}

.nc-cta::after {
  background: var(--nc-terracotta);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  height: 310px;
  position: absolute;
  right: -110px;
  top: -130px;
  width: 310px;
}

.nc-cta__inner {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nc-cta h2 {
  color: #fff !important;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin: 6px 0 14px;
  max-width: 720px;
}

.nc-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 600px;
}

.nc-cta .nc-button--primary {
  background: #fff;
  color: var(--nc-ink) !important;
  flex: 0 0 auto;
}

/* Archive */
.nc-archive-hero {
  background: linear-gradient(145deg, var(--nc-lilac-soft), #f8ddce);
  padding: clamp(65px, 9vw, 118px) 0;
  text-align: center;
}

.nc-archive-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.96;
  margin: 13px auto 18px;
  max-width: 900px;
}

.nc-archive-hero p {
  color: var(--nc-muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 680px;
}

.nc-pagination {
  margin-top: 46px;
}

.nc-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nc-pagination .page-numbers {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nc-line);
  border-radius: 50%;
  color: var(--nc-ink);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  text-decoration: none;
  width: 44px;
}

.nc-pagination .current,
.nc-pagination .page-numbers:hover {
  background: var(--nc-lilac-dark);
  border-color: var(--nc-lilac-dark);
  color: #fff;
}

/* Single article */
.nc-article-wrap {
  padding: clamp(46px, 7vw, 90px) 0;
}

.nc-article-header {
  margin: 0 auto 42px;
  max-width: 960px;
  text-align: center;
}

.nc-article-header h1 {
  font-size: clamp(2.75rem, 6vw, 5.65rem);
  line-height: 0.98;
  margin: 14px 0 20px;
}

.nc-article-meta {
  align-items: center;
  color: var(--nc-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 750;
  gap: 10px;
  justify-content: center;
}

.nc-article-meta i {
  background: var(--nc-terracotta);
  border-radius: 50%;
  display: inline-block;
  height: 4px;
  width: 4px;
}

.nc-article-featured {
  border-radius: var(--nc-radius-xl);
  box-shadow: var(--nc-shadow);
  margin: 0 auto clamp(42px, 7vw, 76px);
  max-width: 1120px;
  overflow: hidden;
}

.nc-article-featured img {
  display: block;
  max-height: 760px;
  object-fit: cover;
  width: 100%;
}

.nc-article-layout {
  align-items: start;
  display: grid;
  gap: clamp(34px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) 260px;
  margin: 0 auto;
  max-width: 1010px;
}

.nc-article-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.5vw, 1.16rem);
  line-height: 1.85;
  min-width: 0;
}

.nc-article-content > *:first-child {
  margin-top: 0;
}

.nc-article-content h2,
.nc-article-content h3 {
  margin-top: 1.6em;
}

.nc-article-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.nc-article-content h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.nc-article-content img {
  border-radius: var(--nc-radius-lg);
}

.nc-article-content a {
  color: var(--nc-lilac-dark);
  font-weight: 700;
}

.nc-article-content blockquote {
  background: var(--nc-lilac-soft);
  border: 0;
  border-radius: var(--nc-radius-lg);
  color: var(--nc-ink);
  font-size: 1.2em;
  margin: 2em 0;
  padding: 30px;
}

.nc-credit-note {
  background: #fff;
  border: 1px solid var(--nc-line);
  border-radius: var(--nc-radius-md);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 34px 0;
  padding: 20px;
}

.nc-credit-note strong {
  color: var(--nc-terracotta);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.nc-article-side {
  position: sticky;
  top: 110px;
}

.nc-share-box {
  background: #fff;
  border: 1px solid var(--nc-line);
  border-radius: var(--nc-radius-lg);
  padding: 22px;
}

.nc-share-box h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.nc-share-actions {
  display: grid;
  gap: 9px;
}

.nc-share-action {
  align-items: center;
  background: var(--nc-cream);
  border: 1px solid var(--nc-line);
  border-radius: 999px;
  color: var(--nc-ink) !important;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 10px 13px;
  text-decoration: none !important;
  width: 100%;
}

.nc-share-action:hover {
  background: var(--nc-lilac-soft);
}

.nc-related {
  border-top: 1px solid var(--nc-line);
}

/* Pages, search and 404 */
.nc-page-shell {
  margin-inline: auto;
  max-width: 900px;
  padding: clamp(56px, 8vw, 105px) 24px;
}

.nc-page-shell h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin-bottom: 36px;
}

.nc-page-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.85;
}

.nc-empty-state {
  background: #fff;
  border: 1px dashed #cdbddc;
  border-radius: var(--nc-radius-lg);
  grid-column: 1 / -1;
  padding: 52px 28px;
  text-align: center;
}

.nc-empty-state h3 {
  font-size: 1.8rem;
  margin: 0 0 10px;
}

.nc-empty-state p {
  color: var(--nc-muted);
  margin: 0 auto;
  max-width: 540px;
}

/* Custom footer */
body.nextcrochet-site .site-footer {
  display: none;
}

.nc-footer {
  background: #17141c;
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 26px;
}

.nc-footer__grid {
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(150px, 0.65fr));
}

.nc-footer__brand {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nc-footer__brand span {
  color: var(--nc-peach);
  font-style: italic;
}

.nc-footer__about {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 430px;
}

.nc-footer h3 {
  color: #fff !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  margin: 0 0 17px;
  text-transform: uppercase;
}

.nc-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nc-footer li + li {
  margin-top: 9px;
}

.nc-footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.86rem;
  text-decoration: none;
}

.nc-footer a:hover {
  color: #fff !important;
}

.nc-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  font-size: 0.75rem;
  gap: 20px;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 24px;
}

/* Reveal animation */
.nc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.nc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nc-post-card,
  .nc-category-card,
  .nc-button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .nc-hero__grid,
  .nc-value-grid {
    grid-template-columns: 1fr;
  }

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

  .nc-hero-art {
    margin-inline: auto;
    max-width: 620px;
    width: 100%;
  }

  .nc-category-grid,
  .nc-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nc-category-card:last-child {
    grid-column: 1 / -1;
  }

  .nc-article-layout {
    grid-template-columns: 1fr;
  }

  .nc-article-side {
    position: static;
  }

  .nc-share-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nc-container {
    padding-inline: 18px;
  }

  .nc-section {
    padding-block: 62px;
  }

  .nc-section-heading,
  .nc-cta__inner,
  .nc-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .nc-hero {
    padding-top: 46px;
  }

  .nc-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .nc-hero-art {
    min-height: 440px;
  }

  .nc-project-card__visual {
    min-height: 165px;
  }

  .nc-yarn-note {
    height: 84px;
    width: 84px;
  }

  .nc-category-grid,
  .nc-post-grid,
  .nc-footer__grid {
    grid-template-columns: 1fr;
  }

  .nc-category-card:last-child {
    grid-column: auto;
  }

  .nc-category-card {
    min-height: 300px;
  }

  .nc-value-visual {
    min-height: 410px;
  }

  .nc-value-visual__stamp {
    bottom: 26px;
    height: 100px;
    right: 25px;
    width: 100px;
  }

  .nc-cta__inner {
    align-items: stretch;
  }

  .nc-cta .nc-button {
    width: 100%;
  }

  .nc-article-wrap {
    padding-top: 44px;
  }
}

@media (max-width: 430px) {
  .nc-actions {
    display: grid;
  }

  .nc-button {
    width: 100%;
  }

  .nc-hero-art {
    min-height: 385px;
  }

  .nc-project-card {
    padding: 9px;
  }

  .nc-project-card__visual {
    min-height: 132px;
  }

  .nc-project-card__label span {
    display: none;
  }

  .nc-share-actions {
    grid-template-columns: 1fr;
  }
}
