/* ============================================================
   NODI. No, dì. — design tokens
   Matched to Maria Teresa's own business card:
   white paper, hand-marker lettering in pink + orange,
   black ink body copy, hand-drawn twisted rope & knot motif.
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-raised: #fdf9f5;
  --ink: #1a1a18;
  --ink-soft: #4c4a45;
  --ink-faint: #918d84;
  --line: #ece7de;

  --pink: #e2427e;
  --pink-soft: #fbe4ee;
  --orange: #f2871e;
  --orange-soft: #fdead3;

  --accent: var(--pink);
  --accent-soft: var(--pink-soft);
  --accent-bright: #c72e68;

  --hand: "Kalam", cursive;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Kalam", cursive;

  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pink);
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.14;
  margin: 0;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--ink-soft); font-family: var(--body); }
p.lead { font-size: 1.15rem; color: var(--ink); max-width: 40em; line-height: 1.6; }

em.script, .script {
  font-family: var(--script);
  font-style: normal;
}
.script.pink { color: var(--pink); }
.script.orange { color: var(--orange); }

/* ---------------- Rope / knot motif (signature element) ---------------- */

.rope-divider {
  display: block;
  max-width: 420px;
  width: 60%;
  height: auto;
  margin: 0 auto;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease;
}
.whatsapp-link:hover { transform: scale(1.08); }

.rope-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 190px;
  overflow: hidden;
  padding-right: clamp(1.25rem, 6vw, 4rem);
}
.rope-row .rope-knot {
  height: 100%;
  width: auto;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .rope-row { height: 110px; }
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.wordmark img.logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.wordmark img.header-knot {
  height: 38px;
  width: auto;
  display: block;
}
.wordmark .tag {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.main-nav { display: flex; gap: 2rem; align-items: center; }

.main-nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.2rem 0;
}
.main-nav a:hover,
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--pink);
}

.main-nav a.cta {
  border: 1px solid var(--pink);
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  color: var(--pink);
  font-weight: 600;
}
.main-nav a.cta:hover { background: var(--pink); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 780px) {
  .main-nav {
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--pad);
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 60;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.7rem;
  border-radius: 24px;
  border: 1px solid var(--pink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--pink); color: #fff; border-color: var(--pink); }
.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost { color: var(--pink); }
.btn-ghost:hover { background: var(--pink); color: #fff; }

/* ---------------- Hero ---------------- */

.hero {
  padding: clamp(2.6rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}
.hero .wrap { text-align: center; max-width: 760px; }

.hero-kicker {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--orange);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.4;
  max-width: 480px;
  margin: 0 auto 1.8rem;
}

.hero-card {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 0.4rem;
}
.hero-card .name-img {
  height: auto;
  width: clamp(220px, 40vw, 340px);
  margin: 0 auto 0.8rem;
}
.hero-card .role {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  max-width: 30em;
  margin: 0 auto;
}

.logo-explainer {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
}

/* ---------------- Sections ---------------- */

section { padding: clamp(2.8rem, 7vw, 5rem) 0; }
section.section-tight { padding-top: 0.5rem; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head { max-width: 42em; margin: 0 auto 2.6rem; text-align: center; }
.section-head .eyebrow { margin-bottom: 0.9rem; display: block; }

.section-head.left { text-align: left; margin: 0 0 2.6rem; }

/* ---------------- Logo explanation block ---------------- */

.logo-story {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(2rem, 5vw, 3.2rem);
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.logo-story p {
  font-family: var(--body);
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.logo-story p:last-child { margin-bottom: 0; }
.logo-story .tagline {
  font-weight: 700;
  color: var(--pink);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.3;
  margin-bottom: 1.6rem;
}
.logo-story .center-line { text-align: center; }
.inline-logo {
  height: 1.15em;
  width: auto;
  vertical-align: -0.2em;
  display: inline-block;
  margin: 0 0.05em;
}

/* ---------------- Practitioner card ---------------- */

.practitioner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  max-width: 560px;
  margin: 0 auto;
}
.practitioner .name { font-family: var(--hand); font-weight: 700; color: var(--pink); font-size: 2.1rem; }
.practitioner .role { color: var(--ink-soft); font-size: 0.98rem; max-width: 30em; }
.practitioner .offer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.practitioner .offer-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.practitioner .offer-row span {
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  color: var(--pink);
  background: var(--pink-soft);
}
.practitioner .offer-row span:nth-child(even) {
  color: var(--orange);
  background: var(--orange-soft);
}

/* ---------------- Info strip ---------------- */

.info-strip {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 2.4rem;
  margin-top: 2.4rem;
}
.info-strip .item h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0 0 0.5rem;
}
.info-strip .item p { margin: 0; color: var(--ink); }

/* ---------------- Cards / grids ---------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: 3px;
}
.card .eyebrow { margin-bottom: 0.8rem; display: block; }
.card h3 { margin-bottom: 0.7rem; }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------------- Chi sono: institutional / creative split ---------------- */

.chi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.split-col {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  position: relative;
}

.split-institutional {
  background: #ffffff;
}
.split-institutional .split-photo {
  filter: grayscale(100%);
  border-radius: 6px;
}
.split-institutional p {
  color: #333330;
  font-size: 1rem;
}
.split-institutional .split-eyebrow {
  color: #1a1a18;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  display: block;
  margin-bottom: 1.2rem;
}

.split-creative {
  background:
    linear-gradient(rgba(20,15,15,0.32), rgba(20,15,15,0.32)),
    url('../img/chi-sono-bg.jpg');
  background-size: cover;
  background-position: center;
}
.split-creative .split-photo {
  border-radius: 50%;
}
.split-creative .split-eyebrow {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  display: block;
  margin-bottom: 1.2rem;
}

.split-photo-wrap {
  width: 270px;
  max-width: 72%;
  margin: 0 auto 2rem;
}
.split-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 24px rgba(26,26,24,0.12);
}

.pref-line {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 0.35rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 14px rgba(0,0,0,0.4);
}

.pref-credit {
  font-family: var(--body);
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  line-height: 1.25;
  margin: 1.4rem 0 0;
}
.pref-credit-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pref-credit-link:hover { color: rgba(255,255,255,0.8); }

/* Chi name: smaller, balanced heading */
.chi-name {
  margin-top: 1rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

@media (max-width: 860px) {
  .chi-split { grid-template-columns: 1fr; }
}

/* ---------------- Service block (full detail) ---------------- */

.service-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.2rem;
  align-items: start;
  padding: 2.8rem 0;
  border-top: 1px solid var(--line);
}
.service-row:first-of-type { border-top: none; }

.service-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 8px 20px rgba(26,26,24,0.1);
}

.service-content .who {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.service-content .who span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--pink-soft);
  color: var(--pink);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
}
.service-content .who span:nth-child(even) {
  background: var(--orange-soft);
  color: var(--orange);
}

.service-content details summary {
  cursor: pointer;
  list-style: none;
}
.service-content details summary::-webkit-details-marker { display: none; }
.service-content details summary h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.service-content details summary h2 .toggle-icon {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--pink);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.service-content details[open] summary h2 .toggle-icon {
  transform: rotate(45deg);
}
.service-content details summary:hover h2 { color: var(--pink); }

.service-detail { margin-top: 1.2rem; }
.service-detail p { max-width: 62ch; }

.service-links {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pink);
  border-bottom: 1px solid var(--pink-soft);
  width: fit-content;
  padding-bottom: 1px;
}
.service-links a:hover { border-color: var(--pink); }

@media (max-width: 780px) {
  .service-row { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ---------------- Metodo page: generic accordion + lists ---------------- */

.accordion-item {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.accordion-item:first-of-type { border-top: none; padding-top: 0; }

.accordion-item details summary {
  cursor: pointer;
  list-style: none;
}
.accordion-item details summary::-webkit-details-marker { display: none; }
.accordion-item details summary h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 1.15rem;
}
.accordion-item details summary h3 .toggle-icon {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--pink);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.accordion-item details[open] summary h3 .toggle-icon {
  transform: rotate(45deg);
}
.accordion-item details summary:hover h3 { color: var(--pink); }
.accordion-item .accordion-detail {
  margin-top: 0.8rem;
}
.accordion-item .accordion-detail p {
  max-width: 62ch;
  margin: 0;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
  max-width: 62ch;
}
.photo-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 6px 16px rgba(26,26,24,0.12);
}
@media (max-width: 560px) {
  .photo-row { grid-template-columns: 1fr; max-width: 280px; }
}

.perspective-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.perspective-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.perspective-item .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.perspective-item:nth-child(even) .dot { background: var(--orange); }
.perspective-item p { margin: 0; max-width: 62ch; }
.perspective-item strong { color: var(--ink); }

.rules-toggle {
  margin-top: 1.5rem;
}
.rules-toggle summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--pink);
  font-size: 1rem;
}
.rules-toggle summary::-webkit-details-marker { display: none; }
.rules-toggle summary .toggle-icon {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.rules-toggle[open] summary .toggle-icon { transform: rotate(45deg); }

.rules-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.rules-gallery figure { margin: 0; }
.rules-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 8px 20px rgba(26,26,24,0.1);
}
.rules-gallery figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}
@media (max-width: 780px) {
  .rules-gallery { grid-template-columns: 1fr; }
}

/* ---------------- Ritagli: event poster list ---------------- */

.ritaglio-item {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}
.ritaglio-item:first-of-type { border-top: none; padding-top: 0; }

.ritaglio-item details summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.3rem;
  align-items: center;
}
.ritaglio-item details summary::-webkit-details-marker { display: none; }
.ritaglio-item .ritaglio-thumb {
  width: 100%;
  aspect-ratio: 5 / 6.5;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  box-shadow: 0 6px 16px rgba(26,26,24,0.12);
}
.ritaglio-item .ritaglio-meta { min-width: 0; }
.ritaglio-item .ritaglio-date {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 0.35rem;
}
.ritaglio-item h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.ritaglio-item .ritaglio-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.ritaglio-item .toggle-icon {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--pink);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.ritaglio-item details[open] .toggle-icon { transform: rotate(45deg); }

.ritaglio-detail {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
  gap: 1.2rem;
}
.ritaglio-detail img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 8px 20px rgba(26,26,24,0.1);
}

@media (max-width: 600px) {
  .ritaglio-item details summary {
    grid-template-columns: 72px 1fr auto;
    gap: 0.9rem;
  }
  .ritaglio-item h3 { font-size: 1.05rem; }
}

/* ---------------- Pull quote ---------------- */

.pull {
  border-left: 3px solid var(--pink);
  padding-left: 1.6rem;
  margin: 0;
  max-width: 640px;
}
.pull p {
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.4;
}

/* ---------------- Articoli placeholder ---------------- */

.articles-empty {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 1px dashed var(--line);
  border-radius: 3px;
}
.articles-empty h3 { margin-bottom: 0.6rem; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; }
.article-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.5rem;
  background: var(--paper-raised);
  opacity: 0.55;
}
.article-card .eyebrow { margin-bottom: 0.6rem; display:block; }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------------- CTA band ---------------- */

.cta-band {
  background: var(--pink);
  color: #fff;
}
.cta-band .cta-text {
  color: #fff;
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.35;
  max-width: 680px;
  margin: 0 auto 1.6rem;
}
.cta-band .btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.cta-band .btn-primary:hover { background: #fff; color: var(--pink); border-color: #fff; }

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.8rem 0;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.site-footer .foot-col h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0 0 0.8rem;
}
.site-footer a { color: var(--ink-soft); display: block; margin-bottom: 0.45rem; font-size: 0.92rem; }
.site-footer a:hover { color: var(--pink); }
.foot-legal { font-size: 0.8rem; color: var(--ink-faint); max-width: 26em; }

/* ---------------- Forms ---------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.5rem; }
input, textarea, select {
  width: 100%;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--pink);
}
textarea { resize: vertical; min-height: 130px; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------------- utility ---------------- */

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

/* ---------------- Articles empty state ---------------- */
.articles-empty { border-color: var(--line); }
.article-card { opacity: 0.6; }
