/* A quieter portfolio. Scoped to the homepage and work index. */
.editorial { --editorial-muted: #535d70; --editorial-line: #d6dce7; background: #f8f9fc; color: #151923; }
.editorial .site-header { background: #f8f9fc; }
.editorial .site-header[data-scrolled] { box-shadow: 0 1px 0 var(--editorial-line); }
.editorial .site-nav .nav-contact { border-radius: 3px; }
.editorial .brand img { width: 200px; }
.ed-wrap { width: calc(100% - 96px); max-width: 1320px; margin-inline: auto; }
.ed-hero { padding-block: 64px 68px; }
.ed-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--editorial-muted); margin: 0 0 30px; }
.ed-hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: 7%; }
.ed-hero h1 { font-family: var(--sans); font-size: clamp(70px,8.2vw,118px); font-weight: 550; line-height: .99; letter-spacing: -.07em; margin: 0; }
.ed-hero h1 span { color: #244fea; }
.ed-intro { padding-bottom: 6px; }
.ed-intro p { font-size: clamp(18px,1.65vw,23px); line-height: 1.55; letter-spacing: -.025em; margin: 0 0 24px; max-width: 400px; }
.ed-intro p.ed-note { color: var(--editorial-muted); font-size: 15px; letter-spacing: 0; line-height: 1.7; }
.ed-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; padding-block: 9px; border-bottom: 1px solid currentColor; color: #151923; font-weight: 650; font-size: 14px; text-decoration: none; }
.ed-link span { transition: transform 180ms ease; }
.ed-link:hover { color: #244fea; }
.ed-link:hover span { transform: translate(2px,-2px); }
.ed-work { scroll-margin-top: 100px; }
.ed-section-label { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--editorial-line); padding: 20px 0; font-size: 12px; color: var(--editorial-muted); }
.ed-section-label p { margin: 0; }
.ed-feature { margin: 0; }
.ed-preview-stage { background: #e9e6df; padding: 42px 6%; overflow: hidden; }
.ed-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; font-size: 12px; color: #514c45; }
.ed-view-controls { display: none; gap: 2px; padding: 3px; background: #fff9; border: 1px solid #c6c2ba; border-radius: 4px; }
.ed-preview-ready .ed-view-controls { display: flex; }
.ed-view-controls button { font: inherit; border: 0; border-radius: 2px; min-height: 38px; padding: 7px 17px; background: transparent; color: #454a55; cursor: pointer; }
.ed-view-controls button[aria-pressed="true"] { background: #151923; color: white; }
.ed-preview-screen { display: block; width: 100%; max-width: 1080px; height: 520px; margin: 0 auto; overflow: hidden; background: #fbf5e8; border: 1px solid #29241c24; box-shadow: 0 18px 42px -28px #30292070; transition: max-width 300ms ease; }
.ed-preview-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ed-preview-screen[data-device="mobile"] { max-width: 260px; }
.ed-preview-screen[data-device="mobile"] img { object-fit: cover; }
.ed-project-caption { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding: 27px 0 58px; }
.ed-project-type { display: block; font-size: 12px; color: var(--editorial-muted); margin-bottom: 12px; }
.ed-project-caption h2,.ed-project-copy h2 { font-size: clamp(30px,3vw,43px); letter-spacing: -.05em; line-height: 1.12; margin: 0 0 12px; font-weight: 550; }
.ed-project-caption p,.ed-project-copy p { font-size: 16px; line-height: 1.75; color: var(--editorial-muted); margin: 0 0 14px; max-width: 460px; }
.ed-project-row { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 7%; align-items: center; padding-block: 54px; border-top: 1px solid var(--editorial-line); }
.ed-project-row--reverse { grid-template-columns: minmax(0,1fr) minmax(0,1.65fr); }
.ed-project-row--reverse .ed-project-image { order: 2; }
.ed-project-image { display: block; min-width: 0; overflow: hidden; background: #e7e8e3; padding: 30px; }
.ed-project-image img { display: block; width: 100%; height: auto; aspect-ratio: 1425 / 862; object-fit: contain; object-position: top; border: 1px solid #15192318; transition: transform 350ms ease; }
.ed-project-image:hover img { transform: scale(1.018); }
.ed-project-image--maker { background: #e4e8eb; }
.ed-project-image--razors { background: #e9e6df; }
.ed-project-image--razors img { aspect-ratio: 1410 / 1017; }
.ed-project-copy .ed-link { margin-top: 6px; }
.ed-work-end { border-top: 1px solid var(--editorial-line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0 60px; }
.ed-work-end p { color: var(--editorial-muted); font-size: 13px; line-height: 1.65; max-width: 570px; margin: 0; }
.ed-about { border-top: 1px solid var(--editorial-line); padding-block: 80px; }
.ed-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.ed-about h2 { font-size: clamp(44px,4.8vw,68px); font-weight: 550; line-height: 1.06; letter-spacing: -.06em; margin: 0 0 30px; }
.ed-about h2 span { color: #244fea; }
.ed-about p { font-size: 17px; line-height: 1.8; max-width: 510px; color: var(--editorial-muted); margin: 0 0 22px; }
.ed-services { margin-top: 35px; border-top: 1px solid var(--editorial-line); }
.ed-service { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--editorial-line); }
.ed-service h3 { font-size: 16px; font-weight: 650; margin: 0; }
.ed-service p { font-size: 14px; line-height: 1.7; margin: 0; }
.editorial .contact-section { background: #eef1f8; padding: 70px 0; }
.editorial .contact-overline { display: none; }
.editorial .contact-grid { padding-top: 0; gap: 10%; }
.editorial .contact-grid h2 { font-size: clamp(44px,5vw,68px); line-height: 1.05; font-weight: 550; letter-spacing: -.06em; }
.editorial .contact-grid h2 em { font-family: var(--sans); font-style: normal; font-weight: 550; }
.editorial .contact-form { padding: 0; background: transparent; border: 0; }
.editorial .contact-form input,.editorial .contact-form textarea { background: #fff; border-color: #b9c4d8; border-radius: 3px; }
.editorial .contact-form .form-submit { border-radius: 3px; min-height: 50px; }
.editorial .contact-form .project-choice>span { border-radius: 3px; }
.editorial .email-link { font-size: clamp(17px,2vw,26px); }
.editorial .site-footer { padding-block: 35px; }
.editorial .footer-brand img { width: 180px; mix-blend-mode: normal; }
.ed-work-hero { padding-bottom: 56px; }
.ed-work-hero h1 { font-size: clamp(64px,6.8vw,98px); }
.ed-extra { border-top: 1px solid var(--editorial-line); padding: 35px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ed-extra h2 { font-size: 24px; letter-spacing: -.03em; margin: 8px 0; }
.ed-extra p { font-size: 15px; color: var(--editorial-muted); line-height: 1.7; max-width: 600px; }
.ed-invitation { margin-top: 55px; padding-block: 65px; background: #244fea; color: white; }
.ed-invitation .ed-wrap { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.ed-invitation h2 { font-size: clamp(38px,4.5vw,64px); line-height: 1.08; font-weight: 550; letter-spacing: -.05em; margin: 0; }
.ed-invitation .ed-link,.ed-invitation .ed-link:hover { color: white; }
.editorial :is(a,button):focus-visible { outline: 3px solid #244fea; outline-offset: 5px; }
.ed-invitation a:focus-visible { outline-color: white; }
@media(min-width:1600px) { .ed-preview-screen { height: 570px; } }
@media(max-width:1000px) {
  .ed-wrap { width: calc(100% - 56px); }
  .ed-hero-grid { grid-template-columns: 1.3fr 1fr; gap: 5%; }
  .ed-hero h1 { font-size: clamp(64px,8vw,85px); }
  .ed-preview-screen { height: 410px; }
  .ed-project-row { gap: 5%; }
  .ed-project-image { padding: 20px; }
}
@media(max-width:720px) {
  .ed-wrap { width: calc(100% - 40px); }
  .editorial .brand img { width: 164px; }
  .ed-hero { padding-block: 36px 40px; }
  .ed-eyebrow { font-size: 11px; margin-bottom: 24px; }
  .ed-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .ed-hero h1 { font-size: clamp(58px,12.6vw,88px); }
  .ed-intro { padding: 0; }
  .ed-intro p { font-size: 19px; max-width: 470px; margin-bottom: 16px; }
  .ed-intro p.ed-note { font-size: 15px; }
  .ed-work { scroll-margin-top: 80px; }
  .ed-section-label { font-size: 11px; padding-block: 17px; gap: 12px; }
  .ed-preview-stage { padding: 18px 14px 22px; }
  .ed-preview-toolbar { gap: 8px; margin-bottom: 16px; font-size: 11px; }
  .ed-view-controls button { min-height: 40px; padding-inline: 11px; }
  .ed-preview-screen { height: auto; aspect-ratio: 1425 / 862; }
  .ed-preview-screen img { object-fit: contain; }
  .ed-preview-screen[data-device="mobile"] { height: 400px; max-width: 185px; aspect-ratio: auto; }
  .ed-preview-screen[data-device="mobile"] img { object-fit: cover; }
  .ed-project-caption { grid-template-columns: 1fr; gap: 2px; padding-block: 22px 35px; }
  .ed-project-caption h2,.ed-project-copy h2 { font-size: 33px; }
  .ed-project-row,.ed-project-row--reverse { grid-template-columns: 1fr; padding-block: 32px; gap: 25px; }
  .ed-project-row--reverse .ed-project-image { order: 0; }
  .ed-project-image { padding: 20px; }
  .ed-work-end { display: block; padding-bottom: 42px; }
  .ed-work-end .ed-link { margin-top: 16px; }
  .ed-about { padding-block: 45px; }
  .ed-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .ed-about h2 { font-size: 48px; margin-bottom: 20px; }
  .ed-about p { font-size: 16px; }
  .ed-service { grid-template-columns: 85px 1fr; gap: 14px; }
  .ed-service p { font-size: 14px; }
  .editorial .contact-section { padding-block: 45px; }
  .editorial .contact-grid { gap: 32px; }
  .ed-extra,.ed-invitation .ed-wrap { align-items: flex-start; flex-direction: column; }
  .ed-extra { gap: 10px; }
  .ed-invitation { margin-top: 20px; padding-block: 45px; }
}
@media(max-width:380px) { .ed-wrap { width: calc(100% - 32px); } .ed-hero h1 { font-size: 55px; } .ed-preview-toolbar { flex-wrap: wrap; } }
@media(prefers-reduced-motion:reduce) { .ed-link span,.ed-preview-screen,.ed-project-image img { transition: none; } .ed-project-image:hover img { transform: none; } }
@media print { .ed-view-controls { display:none!important; } .ed-preview-screen { height:auto; } .ed-project-row,.ed-feature { break-inside:avoid; } }
