:root {
  --ed-paper: #f7f6f1;
  --ed-ink: #17191e;
  --ed-muted: #50525b;
  --ed-line: #cfcec6;
  --ed-accent: #233ec8;
  --ed-accent-hover: #192d9d;
  --ed-tint: #e8ebfd;
}
.editorial {
  --ink: var(--ed-ink);
  --paper: var(--ed-paper);
  --soft: var(--ed-muted);
  --line: var(--ed-line);
  --gutter: clamp(20px,5vw,76px);
  background: var(--ed-paper);
  color: var(--ed-ink);
}
.editorial :focus-visible { outline: 2px solid var(--ed-accent); outline-offset: 4px; }
.editorial-header.site-header,.editorial-footer.site-footer { background: var(--ed-paper); color: var(--ed-ink); }
.editorial-header .header-row { min-height: 67px; border-color: var(--ed-line); }
.editorial-header nav { gap: clamp(18px,3.8vw,54px); }
.editorial-header nav a:hover { color: var(--ed-accent); }
.editorial-header .brand { font-size: 24px; }
.editorial-header .nav-contact, .editorial .text-action { text-decoration: underline; text-underline-offset: .22em; }
.editorial .button.primary { background: var(--ed-accent); color: #fff; }
.editorial .button.primary:hover,.editorial .button.primary:active { background: var(--ed-accent-hover); }
.editorial .button.primary span { margin-left: 5px; }
.editorial-footer .footer-row { border-color: var(--ed-line); }
.editorial-intro {
  display: grid;
  grid-template-columns: minmax(0,2.1fr) minmax(0,1fr);
  gap: clamp(22px,6.1vw,90px);
  align-items: end;
  padding-block: clamp(31px,5.1vw,72px) clamp(27px,4.6vw,65px);
}
.editorial-intro h1 {
  margin-top: 12px;
  max-width: 13.5em;
  font-size: clamp(42px,5.35vw,83px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.075em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.intro-label { color: var(--ed-accent); }
.intro-side p { max-width: 33ch; font-size: clamp(15px,1.3vw,19px); line-height: 1.53; color: var(--ed-muted); }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 17px; margin-top: 18px; }
.text-action { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; font-size: 13px; font-weight: 800; }
.text-action:hover { color: var(--ed-accent); }

.editorial-work,.services-block,.inquiry { scroll-margin-top: 16px; }
.section-rule { border-top: 1px solid var(--ed-line); padding-top: 11px; }
.section-rule h2 { font-size: clamp(18px,1.6vw,24px); line-height: 1.2; letter-spacing: -.035em; }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px clamp(15px,2.4vw,36px); margin-top: 15px; }
.featured-work { grid-column: 1/-1; }
.work-link { display: grid; grid-template-columns: minmax(0,1fr); height: 100%; }
.featured-work .work-link { grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: end; gap: clamp(16px,3vw,44px); }
.work-image { overflow: hidden; aspect-ratio: 1.65; background: #e4d7d0; border-radius: 4px; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 200ms ease; }
.featured-work .work-image { aspect-ratio: 2; background: #752c34; }
.featured-work .work-image img { object-position: center 43%; }
.miles-cover { background: #b75a31; }
.coffee-cover { background: #2f4d3a; }
.work-meta { display: flex; flex-direction: column; align-items: flex-start; padding-top: 13px; }
.featured-work .work-meta { padding-block: 0 15px; }
.work-meta .eyebrow { color: var(--ed-muted); }
.work-meta h3 { margin-top: 6px; font-size: clamp(23px,3vw,40px); line-height: 1.055; letter-spacing: -.058em; font-weight: 800; }
.featured-work h3 { font-size: clamp(26px,3.6vw,50px); }
.work-meta > p:not(.eyebrow) { margin-top: 10px; max-width: 54ch; color: var(--ed-muted); font-size: 15px; line-height: 1.48; }
.work-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 13px; color: var(--ed-accent); font-size: 14px; font-weight: 800; transition: color 200ms ease; }
.work-more span { transition: transform 200ms ease; }
.work-link:focus-visible .work-more,.work-link:hover .work-more { text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) {
  .work-link:hover img { transform: scale(1.026); }
  .work-link:hover .work-more span { transform: translate(2px,-2px); }
}
.other-work { margin-top: 38px; border-top: 1px solid var(--ed-line); }
.other-work summary { width: fit-content; min-height: 44px; padding-block: 12px; font-size: 14px; font-weight: 800; }
.other-grid,.service-grid,.case-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px clamp(19px,4vw,56px); }
.other-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-bottom: 12px; }
.other-grid h3 { font-size: 16px; }
.other-grid p,.service-grid p { margin-top: 7px; color: var(--ed-muted); line-height: 1.5; font-size: 15px; }
.services-block { padding-block: clamp(43px,6.6vw,96px); }
.service-grid { margin-top: 20px; }
.service-grid h3 { font-size: clamp(21px,2vw,29px); line-height: 1.1; letter-spacing: -.035em; }

.inquiry {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(22px,5.5vw,75px);
  padding: clamp(22px,4.2vw,60px);
  margin-bottom: clamp(34px,6.1vw,89px);
  background: var(--ed-tint);
  border-radius: 5px;
}
.inquiry h2 { margin-top: 7px; font-size: clamp(32px,4.6vw,68px); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.inquiry-copy > p:not(.eyebrow) { max-width: 41ch; margin-top: 12px; color: var(--ed-muted); font-size: 16px; line-height: 1.55; }
.inquiry-email { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; margin-top: 7px; color: var(--ed-accent); font-size: 16px; font-weight: 800; text-decoration: underline; text-underline-offset: .23em; }
.inquiry-form { display: grid; gap: 12px; align-self: start; }
.inquiry-form label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 800; }
.inquiry-form input,.inquiry-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #737581; border-radius: 5px; background: #fff; color: var(--ed-ink); font: inherit; font-size: 16px; line-height: 1.4; }
.inquiry-form input { min-height: 44px; }
.inquiry-form textarea { min-height: 88px; resize: vertical; }
.inquiry-topic { font-weight: 800; color: var(--ed-accent); font-size: 14px; }
.inquiry-note,.inquiry-status { font-size: 13px; line-height: 1.4; color: var(--ed-muted); }
.inquiry-status:empty { margin-top: -12px; }
.inquiry-form [aria-invalid=true] { border-color: #9c2528; }
.field-error,#inquiry-error { color: #97252b; font-size: 13px; margin-top: 3px; }

.editorial-case .case-heading h1 { font-size: clamp(37px,5.1vw,73px); }
.editorial-case .case-contact { background: var(--ed-tint); color: var(--ed-ink); }
.editorial-case .case-facts { margin-block: clamp(32px,5.7vw,72px); }
.case-sequence { margin-top: clamp(25px,4.2vw,55px); }
.case-sequence h2 { font-size: clamp(25px,3.4vw,43px); }
.case-steps { margin: 17px 0 12px; padding-left: 22px; }
.case-steps li { padding: 7px 8px 7px 0; }
.case-steps p,.case-sequence > p { margin-top: 5px; color: var(--ed-muted); font-size: 15px; line-height: 1.5; }
.case-demo { margin-top: 32px; }
.case-demo .demo-stage {
  display: grid;
  align-items: center;
  gap: clamp(15px,3vw,38px);
  padding: clamp(18px,4vw,55px);
  border-radius: 5px;
}
.coffee-demo .demo-stage { background: #e2e8dc; grid-template-columns: minmax(0,1fr) minmax(0,1.47fr) minmax(0,1fr); }
.airline-demo .demo-stage { background: #ede6e1; }
.demo-note,.demo-panel,.fare-choice { border: 1px solid transparent; border-radius: 6px; padding: 14px; transition: border-color 200ms ease, background 200ms ease; }
.demo-note h2,.demo-panel h2 { margin-block: 7px; font-size: clamp(21px,2.6vw,36px); line-height: 1.08; letter-spacing: -.055em; }
.demo-note > p:not(.eyebrow) { color: var(--ed-muted); font-size: 14px; line-height: 1.5; }
.demo-value { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: baseline; margin-top: 14px; border-top: 1px solid #bdc5b7; padding-top: 7px; }
.demo-value strong { color: var(--ed-ink); }
.demo-panel,.fare-ticket { background: #fffdf9; }
.demo-panel { padding: clamp(13px,2vw,25px); }
.demo-panel img { width: 100%; height: auto; aspect-ratio: 2.4; object-fit: cover; object-position: center 32%; margin-top: 9px; border-radius: 4px; }
.demo-choice,.demo-total { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; padding: 9px; background: #e8ebdf; border-radius: 4px; font-size: 13px; }
.demo-options { margin-block: 9px; font-size: 14px; }
.demo-options div { display: flex; justify-content: space-between; border-top: 1px solid #d5dacd; padding-block: 7px; }
.demo-options dd { margin: 0; }
.demo-total { background: #263a30; color: white; font-weight: 800; }
.fare-ticket { width: min(100%,850px); margin-inline: auto; padding: clamp(15px,3.3vw,39px); border-radius: 8px; }
.fare-route { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 7px; margin-bottom: 14px; }
.fare-route h2 { margin-top: 5px; font-size: clamp(24px,3.5vw,47px); }
.fare-route > span { font-size: 15px; font-weight: 800; }
.fare-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fare-choice { background: #f2efea; }
.fare-mixed { background: #f7dfd1; }
.fare-choice h3 { font-size: 16px; }
.fare-choice p:not(.fare-price) { color: var(--ed-muted); font-size: 14px; }
.fare-price { margin-block: 6px; font-size: clamp(27px,3.65vw,49px); line-height: 1.05; letter-spacing: -.055em; font-weight: 800; }
.fare-price span { display: block; font-size: clamp(19px,2.2vw,28px); }
.demo-stage .preview-active { border-color: var(--ed-accent); }
.demo-caption { display: flex; flex-wrap: wrap; gap: 6px 15px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ed-muted); margin-top: 7px; }
.preview-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ed-accent); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }
.editorial .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .editorial-intro { gap: 20px; }
  .editorial-intro h1 { letter-spacing: -.064em; }
  .coffee-demo .demo-stage { gap: 8px; }
  .demo-note { padding: 7px; }
}
@media (max-width: 720px) {
  .editorial-header .header-row { min-height: 55px; }
  .editorial-header .brand { font-size: 22px; }
  .editorial-header nav { gap: 11px; }
  .editorial-header nav a { font-size: 12px; }
  .nav-services { display: none; }
  .editorial-intro { grid-template-columns: 1fr; gap: 12px; padding-block: 24px 18px; }
  .editorial-intro h1 { max-width: 15em; font-size: clamp(33px,7vw,52px); margin-top: 8px; }
  .intro-side p { max-width: 46ch; font-size: 14px; }
  .intro-actions { margin-top: 8px; }
  .intro-actions .button { min-height: 44px; padding-inline: 9px; }
  .work-grid { grid-template-columns: minmax(0,1fr); gap: 25px; margin-top: 10px; }
  .featured-work { grid-column: auto; }
  .featured-work .work-link { grid-template-columns: minmax(0,1fr); gap: 0; }
  .featured-work .work-image { aspect-ratio: 1.72; }
  .featured-work .work-meta { display: contents; }
  .featured-work .work-meta .eyebrow { grid-row: 1; }
  .featured-work .work-meta h3 { grid-row: 2; margin-block: 5px 9px; }
  .featured-work .work-image { grid-row: 3; }
  .featured-work .work-meta > p:not(.eyebrow) { grid-row: 4; }
  .featured-work .work-more { grid-row: 5; }
  .service-grid,.case-steps,.inquiry,.coffee-demo .demo-stage { grid-template-columns: minmax(0,1fr); }
  .demo-panel { grid-row: 1; }
  .coffee-demo .demo-stage { gap: 10px; }
  .case-steps { gap: 3px; }
  .inquiry-form { min-width: 0; }
  .case-demo { margin-top: 19px; }
}
@media(max-width: 370px) {
  .editorial { --gutter: 16px; }
  .editorial-header .brand { font-size: 20px; gap: 5px; }
  .editorial-header nav { gap: 9px; }
  .intro-actions { gap: 6px; }
  .intro-actions .button,.intro-actions .text-action { font-size: 12px; }
  .fare-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .editorial .work-link:hover img,.editorial .work-link:hover .work-more span { transform: none; }
}
