/* HACOTONE — site styles. Class-based recreation of the HACOTONE Design
 * System (tokens.css) components and the one-page studio layout. */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Offset anchor targets so section tops aren't hidden under the sticky header. */
:target, .hc-section, [id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-jp);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.hc-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hc-section { padding: clamp(var(--space-8), 9vw, var(--space-10)) 0; }
.hc-section--warm { background: var(--bg-subtle); }
.hc-section--ink { background: var(--bg-inverse); color: var(--text-on-ink); }
/* On the dark (ink) section the accent eyebrow would be near-black on black —
 * force eyebrows light so the "Contact" label is readable. */
.hc-section--ink .hc-eyebrow,
.hc-section--ink .hc-eyebrow--accent { color: rgba(255, 255, 255, 0.85); }
.hc-section--ink .hc-eyebrow--rule::before { background: rgba(255, 255, 255, 0.45); }
.hc-screen-reader-text { position: absolute !important; left: -9999px; }

/* ---------- Eyebrow ---------- */
.hc-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-latin); font-size: 11px; font-weight: var(--fw-medium);
  text-transform: uppercase; letter-spacing: var(--ls-wider); color: var(--text-muted);
}
.hc-eyebrow--accent { color: var(--text-accent); }
.hc-eyebrow--rule::before {
  content: ''; width: 28px; height: 1px; background: var(--clay-400); display: inline-block;
}
.hc-eyebrow--center { justify-content: center; width: 100%; }

/* ---------- Buttons ---------- */
.hc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-latin); font-weight: var(--fw-medium);
  text-transform: uppercase; text-decoration: none; line-height: 1;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; box-sizing: border-box;
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft);
  padding: 13px 26px; font-size: 13px; letter-spacing: var(--ls-wide);
}
.hc-btn--lg { padding: 17px 36px; font-size: 14px; }
.hc-btn--sm { padding: 8px 16px; font-size: 12px; }
.hc-btn--block { display: flex; width: 100%; }
.hc-btn--primary { background: var(--clay-500); color: var(--text-on-clay); border-color: var(--clay-500); }
.hc-btn--primary:hover { background: var(--clay-600); border-color: var(--clay-600); }
.hc-btn--secondary { background: transparent; color: var(--ink-800); border-color: var(--ink-300); }
.hc-btn--secondary:hover { border-color: var(--ink-800); color: var(--ink-900); }
.hc-btn--link { background: transparent; color: var(--ink-800); border-color: transparent; padding: 0; border-radius: 0; }
.hc-btn--link:hover { color: var(--clay-600); }
.hc-btn--link::after { content: '\2192'; font-family: var(--font-latin); }

/* ---------- Tag ---------- */
.hc-tag {
  display: inline-flex; align-items: center; font-family: var(--font-body);
  font-size: 12px; font-weight: var(--fw-medium); letter-spacing: var(--ls-jp);
  line-height: 1; padding: 6px 11px; border-radius: var(--radius-pill);
  color: var(--ink-700); background: var(--ink-100); border: 1px solid transparent;
}
.hc-tag--clay { color: var(--clay-700); background: var(--clay-100); }

/* ---------- Header / Nav ---------- */
.hc-header {
  position: sticky; top: 0; z-index: 40;
  padding: clamp(16px, 3vw, 26px) var(--gutter);
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: padding var(--dur-base) var(--ease-soft), background var(--dur-base) var(--ease-soft), border-color var(--dur-base) var(--ease-soft);
}
.hc-header.is-solid {
  padding: 14px var(--gutter);
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  backdrop-filter: saturate(120%) blur(10px);
  border-bottom-color: var(--border-hairline);
}
.hc-header__row { display: flex; align-items: center; justify-content: space-between; max-width: var(--container); margin: 0 auto; }
.hc-logo { display: flex; align-items: center; }
.hc-logo img { height: 24px; transition: height var(--dur-base) var(--ease-soft); }
.hc-header.is-solid .hc-logo img { height: 22px; }
.hc-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); }
.hc-nav__link {
  font-family: var(--font-latin); font-size: 12px; letter-spacing: var(--ls-wider);
  text-transform: uppercase; color: var(--ink-700); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft); white-space: nowrap;
}
.hc-nav__link:hover { color: var(--clay-600); }
.hc-nav__divider { width: 1px; height: 18px; background: var(--border-strong); }
.hc-nav__ig { color: var(--ink-500); text-transform: none; }
.hc-nav__ig:hover { color: var(--clay-600); }
.hc-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0; background: none; border: none; cursor: pointer;
}
.hc-burger span { width: 22px; height: 1.5px; background: var(--ink-800); transition: transform var(--dur-fast) var(--ease-soft), opacity var(--dur-fast); }
.hc-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hc-burger.is-open span:nth-child(2) { opacity: 0; }
.hc-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.hc-nav-mobile {
  overflow: hidden; display: none; flex-direction: column; gap: 4px;
  max-height: 0; opacity: 0; max-width: var(--container); margin: 0 auto;
  transition: max-height var(--dur-base) var(--ease-soft), opacity var(--dur-base) var(--ease-soft);
}
.hc-nav-mobile.is-open { max-height: 320px; opacity: 1; padding-top: 18px; }
.hc-nav-mobile .hc-nav__link { font-size: 14px; padding: 12px 2px; border-bottom: 1px solid var(--border-hairline); }

@media (max-width: 720px) {
  .hc-nav { display: none; }
  .hc-burger { display: flex; }
  .hc-nav-mobile { display: flex; }
}

/* ---------- Hero ---------- */
.hc-hero { padding-top: calc(var(--space-9) + 40px); }
.hc-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }
.hc-hero h1 {
  margin: 24px 0 0; font-family: var(--font-display); font-weight: var(--fw-light);
  font-size: clamp(2.6rem, 9vw, var(--text-4xl)); line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight); color: var(--ink-900);
}
.hc-hero p { margin: 26px 0 0; font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--ink-600); }
.hc-hero .hc-hero__text { word-break: keep-all; display: inline-block; }
.hc-hero__actions { display: flex; gap: 14px; margin-top: var(--space-6); flex-wrap: wrap; }
.hc-hero__plates { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.hc-hero__plates .hc-plate:first-child { grid-row: span 2; }
/* Single large hero image / slideshow */
.hc-hero__media { width: 100%; }
.hc-slideshow {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border-hairline);
  background: var(--bg-subtle); box-shadow: var(--shadow-md);
}
.hc-slideshow__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease-soft);
}
.hc-slideshow__img.is-active { opacity: 1; }
.hc-slideshow__img:only-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hc-slideshow__img { transition: none; }
}

@media (max-width: 1000px) {
  .hc-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hc-hero { padding-top: calc(var(--space-8) + 24px); }
  .hc-hero__grid { gap: var(--space-7); }
  .hc-hero__plates { gap: 12px; }
}

/* ---------- Product plate (placeholder panel, CSS-only — no generated images) ---------- */
.hc-plate {
  position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline); background: radial-gradient(120% 100% at 30% 20%, #EFECE6, #D8D2C8);
  aspect-ratio: 4 / 5;
}
.hc-plate--3-4 { aspect-ratio: 3 / 4; }
.hc-plate--4-3 { aspect-ratio: 4 / 3; }
.hc-plate--clay { background: radial-gradient(120% 100% at 30% 20%, #E8E4DD, #CFC9BE); }
.hc-plate--sage { background: radial-gradient(120% 100% at 30% 20%, #ECE9E3, #D2CDC4); }
.hc-plate--ink { background: radial-gradient(120% 100% at 30% 20%, #33312E, #1F1E1C); }
.hc-plate::before {
  content: ''; position: absolute; inset: 0; opacity: 0.10;
  -webkit-mask: url('../images/logo-mark.svg') center/38% no-repeat;
  mask: url('../images/logo-mark.svg') center/38% no-repeat;
  background: var(--ink-900);
}
.hc-plate--ink::before { opacity: 0.16; background: #fff; }
.hc-plate__label {
  position: absolute; left: 16px; bottom: 14px; font-family: var(--font-latin);
  font-size: 11px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--ink-400);
}
.hc-plate--ink .hc-plate__label { color: rgba(255,255,255,0.7); }
.hc-plate img.hc-plate__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Intro ---------- */
.hc-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.hc-intro p {
  margin: 22px 0 0; font-family: var(--font-serif); font-weight: var(--fw-regular);
  font-size: clamp(1.35rem, 4.5vw, var(--text-xl)); line-height: var(--lh-snug);
  letter-spacing: 0.01em; color: var(--ink-800);
}

/* ---------- Section heading ---------- */
.hc-section__head { margin-bottom: var(--space-7); }
.hc-section__head h2 {
  margin: 18px 0 0; font-family: var(--font-body); font-weight: var(--fw-medium);
  font-size: clamp(1.7rem, 6vw, var(--text-2xl)); color: var(--ink-900);
}
.hc-section__head--row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ---------- Strengths ---------- */
.hc-strengths {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border-default); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); overflow: hidden;
}
.hc-strength { background: var(--paper); padding: clamp(var(--space-5), 5vw, var(--space-7)); }
.hc-strength__no { font-family: var(--font-latin); font-size: 13px; letter-spacing: var(--ls-wide); color: var(--clay-500); }
.hc-strength h3 { margin: 14px 0 10px; font-family: var(--font-body); font-weight: var(--fw-medium); font-size: var(--text-lg); color: var(--ink-900); }
.hc-strength p { margin: 0; color: var(--ink-600); }
@media (max-width: 720px) { .hc-strengths { grid-template-columns: 1fr; } }

/* ---------- Works / WorkCard ---------- */
.hc-works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 1000px) { .hc-works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .hc-works-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
.hc-works-note { margin-top: var(--space-5); font-size: var(--text-sm); color: var(--text-faint); }

.hc-workcard { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.hc-workcard__media {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-md); background: var(--bg-panel); border: 1px solid var(--border-hairline);
}
.hc-workcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
a.hc-workcard:hover .hc-workcard__media img { transform: scale(1.03); }
.hc-workcard__tags { display: flex; gap: 7px; flex-wrap: wrap; }
.hc-workcard__tags span {
  font-family: var(--font-body); font-size: 11px; font-weight: var(--fw-medium);
  color: var(--clay-700); background: var(--clay-100); border-radius: var(--radius-pill); padding: 4px 9px; line-height: 1;
}
.hc-workcard h3 { margin: 0; font-family: var(--font-body); font-size: var(--text-md); font-weight: var(--fw-medium); line-height: var(--lh-snug); color: var(--ink-900); transition: color var(--dur-fast) var(--ease-soft); }
a.hc-workcard:hover h3 { color: var(--clay-600); }
.hc-workcard__meta { font-family: var(--font-latin); font-size: 12px; letter-spacing: var(--ls-wide); color: var(--text-muted); }

/* ---------- Profile ---------- */
.hc-profile__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-8); align-items: start; }
.hc-profile__grid .hc-plate { max-width: 360px; }
.hc-profile h2 { margin: 18px 0 4px; font-family: var(--font-serif); font-weight: var(--fw-medium); font-size: clamp(1.7rem, 6vw, var(--text-2xl)); letter-spacing: 0.02em; color: var(--ink-900); }
.hc-profile__role { margin: 0 0 22px; font-family: var(--font-latin); font-size: 12px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--text-muted); }
.hc-profile__bio { margin: 0; max-width: 52ch; color: var(--ink-600); }
.hc-awards__label { font-family: var(--font-latin); font-size: 11px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; display: block; }
.hc-awards { margin-top: var(--space-6); display: flex; flex-direction: column; gap: 2px; }
.hc-award { display: flex; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--border-hairline); }
.hc-award__year { flex: none; width: 46px; font-family: var(--font-latin); font-size: 13px; color: var(--clay-600); letter-spacing: var(--ls-wide); }
.hc-award__text { font-size: var(--text-base); color: var(--ink-700); }
@media (max-width: 1000px) { .hc-profile__grid { grid-template-columns: 1fr; } .hc-profile__grid .hc-plate { max-width: 360px; } }

/* ---------- Contact ---------- */
.hc-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.hc-contact h2 { margin: 18px 0 0; font-family: var(--font-display); font-weight: var(--fw-light); font-size: clamp(2rem, 8vw, var(--text-3xl)); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); color: var(--paper); }
.hc-contact p { margin: 24px 0 0; max-width: 34ch; font-size: var(--text-md); line-height: var(--lh-relaxed); color: rgba(255,255,255,0.6); }
.hc-contact__detail { margin: 28px 0 0; font-family: var(--font-latin); font-size: 13px; letter-spacing: var(--ls-wide); color: rgba(255,255,255,0.85); }
.hc-contact__detail--muted { margin: 6px 0 0; color: rgba(255,255,255,0.5); }
.hc-contact__card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(var(--space-5), 6vw, var(--space-7)); color: var(--ink-700); }
@media (max-width: 720px) { .hc-contact__grid { grid-template-columns: 1fr; } }

/* ---------- Field ---------- */
.hc-field { display: flex; flex-direction: column; gap: 8px; }
.hc-field__label { font-family: var(--font-latin); font-size: 11px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--text-muted); }
.hc-field__label .req { color: var(--clay-500); margin-left: 4px; }
.hc-field input, .hc-field textarea {
  width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: var(--text-base);
  color: var(--ink-800); background: var(--paper); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); padding: 12px 14px; outline: none;
  transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.hc-field textarea { padding: 13px 14px; resize: vertical; line-height: var(--lh-normal); }
.hc-field input:focus, .hc-field textarea:focus { border-color: var(--clay-500); box-shadow: 0 0 0 3px var(--clay-100); }
.hc-contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.hc-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 720px) { .hc-contact-form__row { grid-template-columns: 1fr; } }
.hc-contact-fallback { display: flex; flex-direction: column; gap: 14px; }
.hc-contact-fallback__hint { font-size: var(--text-sm); color: var(--text-faint); margin: 0; }

/* ---------- Footer ---------- */
.hc-footer { background: var(--bg-inverse); color: var(--text-on-ink); padding: var(--space-9) 0 var(--space-7); }
.hc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-7); }
.hc-footer__mark { width: 46px; height: 50px; -webkit-mask: url('../images/logo-mark.svg') center/contain no-repeat; mask: url('../images/logo-mark.svg') center/contain no-repeat; background: var(--paper); margin-bottom: var(--space-5); }
.hc-footer__brand { margin: 0; font-family: var(--font-latin); font-size: 13px; letter-spacing: var(--ls-widest); text-transform: uppercase; color: rgba(255,255,255,0.92); }
.hc-footer__tagline { margin: 12px 0 0; font-size: 13px; line-height: var(--lh-relaxed); color: rgba(255,255,255,0.55); max-width: 32ch; }
.hc-footer__col { display: flex; flex-direction: column; gap: 14px; }
.hc-footer__col-title { font-family: var(--font-latin); font-size: 11px; letter-spacing: var(--ls-wider); text-transform: uppercase; color: rgba(255,255,255,0.45); }
.hc-footer__col span.hc-footer__item, .hc-footer__col a.hc-footer__item { font-size: 13.5px; color: rgba(255,255,255,0.78); text-decoration: none; }
.hc-footer__col a.hc-footer__item:hover { color: rgba(255,255,255,0.95); }
.hc-footer__bottom { max-width: var(--container); margin: var(--space-8) auto 0; padding: var(--space-5) var(--gutter) 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.hc-footer__bottom span { font-family: var(--font-latin); font-size: 11px; letter-spacing: var(--ls-wide); color: rgba(255,255,255,0.4); }
@media (max-width: 1000px) { .hc-footer__grid { grid-template-columns: 1fr 1fr; } .hc-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .hc-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.hc-reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.hc-reveal.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hc-reveal { opacity: 1; transform: none; transition: none; } }
/* The hero is above the fold and holds the LCP image: never hide it before JS
 * runs, otherwise the largest paint is delayed and the PageSpeed score drops. */
.hc-hero .hc-reveal { opacity: 1; transform: none; }

/* ---------- Blog (index/archive/single) ---------- */
.hc-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 1000px) { .hc-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .hc-blog-grid { grid-template-columns: 1fr; } }
.hc-post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.hc-post-card__media { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--bg-panel); border: 1px solid var(--border-hairline); }
.hc-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
a.hc-post-card:hover .hc-post-card__media img { transform: scale(1.03); }
.hc-post-card__date { font-family: var(--font-latin); font-size: 12px; letter-spacing: var(--ls-wide); color: var(--text-muted); }
.hc-post-card h3 { margin: 0; font-family: var(--font-body); font-size: var(--text-md); font-weight: var(--fw-medium); color: var(--ink-900); }
.hc-post-card p { margin: 0; color: var(--ink-600); font-size: var(--text-sm); }
.hc-pagination { display: flex; gap: 10px; justify-content: center; margin-top: var(--space-8); font-family: var(--font-latin); letter-spacing: var(--ls-wide); }
.hc-pagination a, .hc-pagination span { padding: 8px 14px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); text-decoration: none; font-size: 13px; }
.hc-pagination .current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

.hc-single { max-width: var(--container-text); margin: 0 auto; }
.hc-single h1 { font-family: var(--font-serif); font-weight: var(--fw-medium); font-size: clamp(1.8rem, 6vw, var(--text-3xl)); color: var(--ink-900); margin: 0 0 18px; }
.hc-single__meta { font-family: var(--font-latin); font-size: 12px; letter-spacing: var(--ls-wide); color: var(--text-muted); margin-bottom: var(--space-6); }
.hc-single__media { margin: 0 0 var(--space-7); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-hairline); }
.hc-entry-content { color: var(--ink-700); }
.hc-entry-content p { line-height: var(--lh-relaxed); margin: 0 0 1.4em; }
.hc-entry-content img { border-radius: var(--radius-md); margin: 1.4em 0; }
.hc-entry-content h2, .hc-entry-content h3 { font-family: var(--font-body); color: var(--ink-900); }
.hc-back-link { display: inline-flex; margin-bottom: var(--space-6); font-family: var(--font-latin); font-size: 12px; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-500); text-decoration: none; }
.hc-back-link:hover { color: var(--clay-600); }

.hc-404 { text-align: center; padding: var(--space-10) 0; }
.hc-404 h1 { font-family: var(--font-display); font-weight: var(--fw-light); font-size: var(--text-4xl); color: var(--ink-900); margin: 0 0 16px; }

/* ---------- Blog readability (folded in from the Customizer "Additional CSS") ----------
 * Previously these lived in Appearance > Customize > Additional CSS. They are now
 * part of the theme so the blog list / article styling ships with the theme itself. */
/* Blog list: editorial cards */
.hc-blog-grid { gap: var(--space-5); }
@media (max-width: 1000px) { .hc-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .hc-blog-grid { grid-template-columns: 1fr; } }
.hc-post-card {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); padding: var(--space-5); gap: 12px; box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
a.hc-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.hc-post-card__media { border-radius: var(--radius-md); }
.hc-post-card__media:has(.hc-plate) { display: none; }
.hc-post-card__date { color: var(--text-accent); font-weight: var(--fw-medium); }
.hc-post-card h3 { font-size: var(--text-lg); line-height: var(--lh-snug); letter-spacing: var(--ls-jp); }
a.hc-post-card:hover h3 { color: var(--text-accent); }
.hc-post-card p { line-height: var(--lh-normal); color: var(--text-body); }
.hc-post-card::after { content: "Read more \2192"; margin-top: auto; font-family: var(--font-latin); font-size: var(--text-xs); letter-spacing: var(--ls-wide); color: var(--text-muted); }
/* Article page: comfortable long-form reading */
.hc-back-link { display: inline-block; margin-bottom: var(--space-5); font-family: var(--font-latin); font-size: var(--text-sm); letter-spacing: var(--ls-wide); color: var(--text-muted); text-decoration: none; }
.hc-back-link:hover { color: var(--text-accent); }
.hc-single__meta { color: var(--text-accent); }
.hc-entry-content { font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--ink-700); letter-spacing: var(--ls-jp); }
.hc-entry-content > *:first-child { margin-top: 0; }
.hc-entry-content p { margin: 0 0 1.5em; }
.hc-entry-content h2 { font-family: var(--font-body); font-size: var(--text-xl); font-weight: var(--fw-semibold); color: var(--ink-900); line-height: var(--lh-snug); letter-spacing: var(--ls-jp); margin: 2.4em 0 .8em; padding-bottom: .4em; border-bottom: 1px solid var(--border-default); }
.hc-entry-content h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: var(--fw-medium); color: var(--ink-900); line-height: var(--lh-snug); letter-spacing: var(--ls-jp); margin: 2em 0 .6em; padding-left: .6em; border-left: 3px solid var(--ink-300); }
.hc-entry-content h2 + p, .hc-entry-content h3 + p { margin-top: 0; }
.hc-entry-content ul, .hc-entry-content ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.hc-entry-content li { margin: .4em 0; line-height: var(--lh-normal); padding-left: .2em; }
.hc-entry-content ul li::marker { color: var(--text-accent); }
.hc-entry-content ol li::marker { color: var(--text-accent); }
.hc-entry-content strong { font-weight: var(--fw-semibold); color: var(--ink-900); }
.hc-entry-content a { color: var(--text-accent); text-underline-offset: 3px; }
.hc-entry-content blockquote { margin: 1.8em 0; padding: .6em 1.2em; border-left: 3px solid var(--ink-300); background: var(--bg-subtle); color: var(--ink-700); border-radius: var(--radius-sm); }

/* Featured image on single posts/pages must keep its natural aspect ratio
 * (the wrapper has overflow:hidden, so without this the image stretched tall). */
.hc-single__media img { width: 100%; height: auto; display: block; }
.hc-entry-content img { height: auto; }
