/* Homepage presentation. Shared motion, badges, artwork, and typography stay intact. */
body.editorial-home {
  --concept-rule: rgba(206, 226, 216, .16);
  --control-shadow: 0 4px 12px rgba(0, 0, 0, .3), 0 1px 3px rgba(0, 0, 0, .22);
}

/* Navigation still floats on glass, without a line around the whole surface. */
.editorial-home .site-header,
.editorial-home .site-header.is-scrolled { border-color: transparent; box-shadow: 0 14px 44px #0002; }

.editorial-home .site-header .header-contact-link > span { display: none; }

/* Images and descriptions share the page rather than an enclosing panel. */
.editorial-home .project-card,
.editorial-home .project-card:is(:hover, :focus-within) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.editorial-home .project-info,
.editorial-home .project-feature .project-info { background: none; padding-inline: 0; }
.editorial-home .project-info::before { display: none; }
.editorial-home .project-art { border-radius: 0; }
.editorial-home .project-grid { gap: clamp(48px, 6vw, 76px) clamp(24px, 4vw, 48px); }

/* The lead story becomes a caption beneath a print, not a filled text box. */
.editorial-home .personal-work-item:first-child .personal-work-caption {
  max-width: none;
  margin: 0;
  padding: 36px clamp(0px, 2vw, 28px) 0;
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-home .personal-work-item:first-child .personal-work-story {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 18px clamp(32px, 7vw, 100px);
  max-width: 1100px;
  margin-inline: auto;
  columns: auto;
}
.editorial-home .personal-work-story p { break-inside: avoid; }
.editorial-home .personal-work-item:first-child .personal-work-story > p { margin: 0; }
.editorial-home .personal-work-item:first-child .personal-work-story > p:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  max-width: 24ch;
  color: #edf0e7;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.5;
}
.editorial-home .personal-work-item:first-child .personal-work-story > p:not(:first-child) { grid-column: 2; }

/* The portrait blends into the page; the biography has no glass sheet. */
.editorial-home .about-sheet {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-home .about-sheet::before,
.editorial-home .about-sheet::after { display: none; }

/* Physical objects keep their silhouettes, ground shadows, and hover response. */
.editorial-home .personal-preview {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.editorial-home .personal-preview-cutout .personal-preview-image::after { display: none; }
.editorial-home .personal-previews { gap: clamp(28px, 5vw, 72px); }
.editorial-home .personal-preview h3 { padding-inline: 0; }

/* Resume: chapter-like spacing replaces repeated rounded containers. */
.editorial-home .resume-grid { gap: 0 clamp(40px, 7vw, 100px); }
.editorial-home .resume-panel {
  padding: 42px 0 52px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-home .resume-panel::before,
.editorial-home .resume-panel.glass-reactive::after { display: none; }
.editorial-home .resume-panel:not(.resume-experience) { border-top: 1px solid var(--concept-rule); }
.editorial-home .resume-panel > h3,
.editorial-home .resume-panel-title { margin-bottom: 32px; }
.editorial-home .resume-employers { gap: clamp(32px, 6vw, 90px); }
.editorial-home .resume-employers > li { border-left: 0; padding-left: 0; }
.editorial-home .resume-credit-disclosure { border-top: 0; }
.editorial-home .resume-credit-grid { gap: 12px 30px; }
.editorial-home .resume-credit {
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: none;
  transition: transform 250ms ease;
}
.editorial-home .resume-credit:is(:hover, :focus-visible) {
  background: none;
  border: 0;
  transform: translateX(4px);
}
.editorial-home .resume-credit-studio + .resume-credit-studio { border-top-color: var(--concept-rule); }
.editorial-home .resume-honor { border-left: 0; padding-left: 0; }
/* Open icon-and-name list in the resume; artwork software badges stay intact. */
.editorial-home .resume-tools { gap: 14px 26px; }
.editorial-home .resume-tools li {
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* Writing: covers on open space, with copy alongside rather than boxed below. */
.editorial-home .writing-grid { gap: clamp(36px, 6vw, 90px); }
.editorial-home .writing-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
}
.editorial-home .writing-card-cover {
  height: auto;
  padding: 0;
  border: 0;
  background: none;
}
.editorial-home .writing-cover-link { height: auto; }
.editorial-home .writing-card-image { width: 100%; height: auto; }
.editorial-home .writing-card-copy { padding: 0; }
.editorial-home .writing-card .writing-category { font-size: .58rem; }
.editorial-home .writing-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.8rem); }
.editorial-home .writing-card-bottom { align-items: flex-start; gap: 14px; }

/* Contact: retain clear field boundaries, remove the outer card. */
.editorial-home .contact-section > .contact-form {
  margin-top: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-home .contact-form.glass-reactive::after { display: none; }
.editorial-home .contact-field input,
.editorial-home .contact-field textarea {
  border-width: 0 0 1px;
  border-radius: 0;
  background: #061115;
}
.editorial-home .contact-field :is(input, textarea):focus { background: #09191e; }
.editorial-home .contact-submit {
  justify-content: center;
  gap: 0;
  min-width: 160px;
  min-height: 48px;
  width: auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 2px;
  background: #deded0;
  box-shadow: none;
  color: #15201a;
  font-weight: 600;
  transition: background-color 180ms ease;
}
.editorial-home .contact-submit:hover { border: 0; background: #c6d8c7; color: #15201a; }
.editorial-home .contact-submit:active { background: #b2c9b4; }
.editorial-home .contact-submit::before,
.editorial-home .contact-submit::after,
.editorial-home .contact-submit-mark { display: none; }

/* Balance the centered chapter marker and put the form action at its right edge. */
.editorial-home .contact-section > .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.editorial-home .contact-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.editorial-home .contact-form-actions > .contact-submit {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.editorial-home .contact-form-actions > .contact-form-note {
  grid-column: 1;
  grid-row: 1;
}
@media (max-width: 560px) {
  .editorial-home .contact-form-actions { grid-template-columns: minmax(0, 1fr); }
  .editorial-home .contact-form-actions > .contact-submit { grid-column: 1; grid-row: 2; }
}

@media (max-width: 1050px) and (min-width: 701px) {
  .editorial-home .writing-card { grid-template-columns: 1fr; align-content: start; }
  .editorial-home .writing-card-cover { max-width: 230px; }
}
@media (max-width: 700px) {
  .editorial-home .project-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .editorial-home .project-card { margin-bottom: 0; }
  .editorial-home .personal-work-item:first-child .personal-work-story { display: block; columns: auto; }
  .editorial-home .personal-work-item:first-child .personal-work-story > p + p { margin-top: 18px; }
  .editorial-home .personal-work-item:first-child .personal-work-caption { padding-top: 24px; }
  .editorial-home .resume-panel { padding: 32px 0 38px; }
  .editorial-home .writing-grid { gap: 42px; }
  .editorial-home .writing-card { grid-template-columns: minmax(100px, .72fr) minmax(0, 1fr); gap: 20px; }
  .editorial-home .writing-card h3 { font-size: clamp(1.15rem, 4vw, 1.6rem); }
  .editorial-home .writing-card .writing-description { font-size: .77rem; }
}
@media (max-width: 380px) {
  .editorial-home .writing-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .editorial-home .writing-card-cover { max-width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-home .resume-credit:is(:hover, :focus-visible) { transform: none; transition: none; }
}

/* A soft cast shadow separates controls from the image beneath them.
   Keyboard focus keeps its existing visible outline. */
body.editorial-home :is(button, .button, .project-artstation,
  .personal-work-artstation, .project-view, .personal-work-expand,
  .writing-cover-expand, .software-badge) {
  border: 0;
  box-shadow: var(--control-shadow);
}
body.editorial-home .button-light:hover { box-shadow: var(--control-shadow); }
body.editorial-home .image-expand::after {
  border: 0;
  box-shadow: var(--control-shadow);
}
