/* Earthwork page additions; palette and shared layouts come from the approved theme. */
.earthwork-refresh .lt-hero-photo img { object-position: 37% center; }
.ew-service-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 25px; border-bottom: 1px solid var(--hf-line); }
.ew-service-nav a { position: relative; padding: 0 28px; border-left: 1px solid var(--hf-line); color: var(--brand-charcoal); }
.ew-service-nav a:first-child { padding-left: 0; border: 0; }
.ew-service-nav strong { display: block; font-size: 19px; font-weight: 500; padding-right: 20px; }
.ew-service-nav a > span:last-child { position: absolute; right: 22px; bottom: 0; color: var(--brand-blue); font-size: 23px; }
.ew-service-nav a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ew-services-section { padding-block: 66px 55px; }
.ew-service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.ew-service-card { padding: 27px; border: 1px solid var(--hf-line); border-top: 3px solid var(--brand-blue); border-radius: 3px; display: flex; flex-direction: column; align-items: flex-start; }
.ew-card-number { font-size: 12px; color: var(--brand-blue); font-weight: 500; }
.ew-service-card h3 { font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 17px 0; min-height: 65px; }
.ew-service-card > p { font-size: 13px; line-height: 1.85; color: var(--hf-muted); margin: 0 0 20px; }
.ew-service-card ul { font-size: 12px; line-height: 1.9; margin: 0 0 23px; padding-left: 17px; }
.ew-service-card li::marker { color: var(--brand-blue); }
.ew-deliverable { margin-top: auto; background: var(--hf-paper); padding: 16px; width: 100%; }
.ew-deliverable .hf-label { font-size: 9px; color: var(--brand-blue); }
.ew-deliverable p { font-size: 12px; line-height: 1.8; color: var(--hf-muted); margin: 7px 0 0; }
.ew-service-card > a { margin-top: 22px; font-size: 12px; gap: 10px; }
.ew-scope-note { margin: 20px 0 0; font-size: 11px; line-height: 1.8; color: var(--hf-muted); }
.ew-projects { margin-top: 35px; padding-top: 24px; border-top: 1px solid var(--hf-line); display: flex; align-items: baseline; flex-wrap: wrap; gap: 18px 30px; }
.ew-projects ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.ew-field { background: var(--hf-paper); padding-block: 65px; }
.ew-field-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: 55px; align-items: center; }
.ew-field-intro > figure { margin: 0; }
.ew-field-intro > figure img { width: 100%; height: 355px; object-fit: cover; object-position: left center; border-radius: 3px; }
.ew-field-intro h2 { font-size: 38px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 22px; }
.ew-field-intro p:not(.hf-eyebrow) { font-size: 13px; line-height: 1.85; color: var(--hf-muted); margin: 0 0 18px; }
.ew-field-intro .lt-highlights li { background: var(--brand-white); font-size: 10px; }
.ew-field-intro .ew-method-note { font-size: 11px; }
.ew-field-intro .hf-text-link { font-size: 12px; }
.ew-equipment-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin: 45px 0 20px; }
.ew-equipment-heading h3 { font-size: 24px; font-weight: 500; margin: 0; }
.ew-equipment-heading p { font-size: 12px; color: var(--hf-muted); margin: 0; max-width: 420px; }
.ew-equipment { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.ew-equipment figure { margin: 0; background: var(--brand-white); border: 1px solid var(--hf-line); border-radius: 3px; overflow: hidden; }
.ew-equipment img { width: 100%; height: 200px; object-fit: cover; }
.ew-equipment figcaption { padding: 19px 20px; }
.ew-equipment strong { display: block; font-size: 19px; font-weight: 500; }
.ew-equipment figcaption span { display: block; font: 400 12px/1.8 'Libre Franklin',Arial,sans-serif; color: var(--hf-muted); margin-top: 8px; }
.ew-booking { background: var(--brand-white); border-bottom: 1px solid var(--hf-line); }
.ew-booking .lt-delivery { background: var(--hf-paper); }
.ew-booking .lt-delivery strong { font-size: 16px; font-weight: 500; }
.earthwork-refresh .lt-final h2 { font-size: 36px; }
@media (max-width: 1050px) {
  .ew-service-cards { gap: 16px; }
  .ew-service-card { padding: 22px; }
  .ew-service-card h3 { font-size: 25px; }
  .ew-field-intro { gap: 30px; }
  .ew-field-intro h2 { font-size: 32px; }
  .ew-service-nav a { padding-inline: 20px; }
}
@media (max-width: 760px) {
  .ew-service-nav { grid-template-columns: 1fr; padding-block: 8px; }
  .ew-service-nav a, .ew-service-nav a:first-child { padding: 16px 0; border: 0; }
  .ew-service-nav a + a { border-top: 1px solid var(--hf-line); }
  .ew-service-nav a > span:last-child { right: 6px; bottom: 17px; }
  .ew-service-nav strong { font-size: 19px; }
  .ew-services-section { padding-block: 45px; }
  .ew-service-cards { grid-template-columns: 1fr; gap: 22px; }
  .ew-service-card { padding: 25px; }
  .ew-service-card h3 { min-height: 0; font-size: 28px; }
  .ew-projects { display: block; }
  .ew-projects ul { gap: 12px 22px; margin-top: 17px; font-size: 13px; }
  .ew-field { padding-block: 45px; }
  .ew-field-intro { grid-template-columns: 1fr; gap: 29px; }
  .ew-field-intro > figure img { height: 280px; }
  .ew-field-intro h2 { font-size: 32px; }
  .ew-equipment-heading { display: block; margin-top: 36px; }
  .ew-equipment-heading p { margin-top: 12px; }
  .ew-equipment { grid-template-columns: 1fr; gap: 21px; }
  .ew-equipment img { height: 220px; }
  .earthwork-refresh .lt-final h2 { font-size: 33px; }
}
