
:root {
  --ed-ink: #0a2f42;
  --ed-deep: #092e40;
  --ed-teal: #167287;
  --ed-paper: #f8f8f0;
  --ed-sea: #e4f1ee;
  --ed-sand: #f4e0ad;
  --ed-line: #d2e3e2;
  --ed-muted: #456370;
}
body.editorial-home, body.detail-page { background: var(--ed-paper); color: var(--ed-ink); }
.detail-page .proposal-bar { color: #f8ffff; background: var(--ed-deep); }
.detail-page .site-header { background: var(--ed-paper); }
.detail-page .header-contact {
  min-height: 44px; border: 0; border-radius: 28px; padding: 13px 17px;
  color: white; background: var(--ed-ink); white-space: nowrap; font-weight: 650;
  transition: background .2s;
}
.detail-page .header-contact:hover { background: var(--ed-teal); }
.detail-page .desktop-nav a { font-weight: 650; }
.detail-page .mobile-nav { background: var(--ed-paper); }
.editorial-home a:focus-visible, .editorial-home button:focus-visible,
.detail-page a:focus-visible, .detail-page button:focus-visible {
  outline: 2px solid #146177; outline-offset: 4px;
}
.ed-wrap { width: min(1280px, calc(100% - clamp(40px, 8vw, 152px))); margin-inline: auto; }

.ed-action {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 50px; padding: 7px 8px 7px 21px;
  border: 1px solid transparent; border-radius: 40px; font-size: 14px;
  font-weight: 670; line-height: 1.55; width: fit-content;
  transition: background .25s, border-color .25s, color .25s;
}
.ed-arrow {
  display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px;
  border: 1px solid currentColor; border-radius: 50%; font: 500 17px/1 var(--latin),sans-serif;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.ed-action:hover .ed-arrow, .story-card:hover .ed-arrow,
.ed-quick a:hover .ed-arrow, .editorial-related a:hover .ed-arrow { transform: rotate(12deg); }
.ed-action--sand { background: var(--ed-sand); color: var(--ed-ink); }
.ed-action--sand:hover { background: #fff2ce; }
.ed-action--navy { background: var(--ed-ink); color: white; }
.ed-action--navy:hover { background: #17677b; }
.ed-action--light { color: var(--ed-ink); background: white; }
.ed-action--light:hover { background: var(--ed-sand); }
.ed-action--sand .ed-arrow, .ed-action--light .ed-arrow { background: var(--ed-ink); color: white; border-color: var(--ed-ink); }
.ed-action--navy .ed-arrow { background: #f1f7f3; color: var(--ed-ink); border-color: #f1f7f3; }
.ed-heading { margin-bottom: clamp(24px, 3.5vw, 42px); }
.ed-heading h2, .sea-editorial h2 {
  font: 500 clamp(31px, 4.25vw, 58px)/1.48 var(--serif);
  letter-spacing: .025em; margin: 0 0 10px;
}
.ed-heading p, .social-copy p, .calendar-promo-copy p, .applications-feature p, .sea-story p {
  font-size: 16px; line-height: 1.95; margin: 0; color: var(--ed-muted);
}

.editorial-start {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(18px,3.5vw,46px); align-items: center;
  padding-block: clamp(24px,4vw,45px);
}
.ed-news h2 { margin: 0 0 10px; font: 500 clamp(23px,2.5vw,31px)/1.45 var(--serif); }
.ed-news-story {
  display: grid; grid-template-columns: max-content minmax(0,1fr) auto; gap: 10px; align-items: center;
  padding: 12px 0; border-block: 1px solid var(--ed-line); transition: color .2s;
}
.ed-news-story:hover { color: #116a7e; }
.ed-news-story strong { font-size: 16px; font-weight: 650; }
.ed-notice { background: var(--ed-sea); color: #174b58; padding: 5px 9px; font-size: 12px; font-weight: 650; border-radius: 25px; }
.ed-quick {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  border: 1px solid var(--ed-line); border-radius: 15px; overflow: clip;
}
.ed-quick a {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 10px; padding: 14px 13px; font-size: 14px; font-weight: 650;
  background: white; transition: background .22s;
}
.ed-quick a:hover { background: #e9f4ef; }
.ed-quick a + a { border-left: 1px solid var(--ed-line); }
.editorial-home .ed-quick a:focus-visible { outline-offset: -4px; }
.ed-quick .ed-arrow { width: 28px; height: 28px; flex-basis: 28px; font-size: 14px; }

.social-feature {
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(26px,5vw,74px);
  padding: clamp(22px,4.6vw,63px); background: var(--ed-deep); color: #fff; border-radius: 24px;
}
.social-copy h2, .calendar-promo-copy h2 {
  font: 500 clamp(28px,3.5vw,47px)/1.45 var(--serif); letter-spacing: .03em; margin: 0 0 13px;
}
.social-copy p, .calendar-promo-copy p { color: #d8e8e8; }
.social-copy .ed-action { margin-top: 22px; }
.social-photos { display: grid; grid-template-columns: 1.45fr 1fr; gap: 11px; align-items: stretch; min-width: 0; }
.social-photos img { width: 100%; height: clamp(180px,23vw,310px); display: block; object-fit: cover; }
.social-photo--wide { border-radius: 110px 14px 14px 14px; }
.social-photo--small { border-radius: 14px 14px 88px 14px; }

.editorial-guide { margin-block: clamp(65px,8vw,104px) clamp(46px,6vw,78px); }
.editorial-start + .editorial-guide { margin-top: clamp(29px,5vw,63px); }
.story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.story-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ed-line);
  border-radius: 17px; overflow: clip; box-shadow: 0 12px 28px #08485b0b;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.story-card:hover { transform: translateY(-4px); border-color: #80aab3; box-shadow: 0 16px 38px #08485b1c; }
.story-image { position: relative; aspect-ratio: 1.54; background: var(--ed-sea); overflow: hidden; }
.story-image img, .calendar-promo-image {
  width: 100%; height: 100%; min-height: 0; display: block; object-fit: cover;
}
.story-image img { transition: transform .5s cubic-bezier(.2,.75,.2,1); }
.story-image--market img { position: absolute; inset: auto 0 0; height: 136%; object-position: 54% 95%; }
.story-card:hover img { transform: scale(1.055); }
.story-image figcaption, .story-image .photo-context {
  position: absolute; bottom: 10px; right: 10px; padding: 3px 7px; color: white; background: #0a2f42de;
  border-radius: 6px; font-size: 11px; line-height: 1.4;
}
.story-content { display: flex; flex: 1; flex-direction: column; padding: clamp(18px,2.5vw,33px); }
.story-content h3 { font: 500 clamp(23px,2.6vw,34px)/1.5 var(--serif); margin: 0 0 9px; letter-spacing: .015em; }
.story-content p { color: var(--ed-muted); font-size: 15px; line-height: 1.85; margin: 0 0 17px; }
.story-jump {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 13px; border-top: 1px solid #dbe7e8; font-size: 14px; font-weight: 670;
}
.story-jump .ed-arrow { color: #174b5f; }
.story-card:hover .story-jump .ed-arrow { color: white; background: var(--ed-ink); border-color: var(--ed-ink); }
.calendar-promo {
  display: grid; grid-template-columns: 1.03fr 1fr; min-height: clamp(275px,26vw,372px);
  margin-top: clamp(24px,4vw,43px); border-radius: 20px; overflow: clip; background: var(--ed-deep); color: #fff;
}
.calendar-promo-copy { padding: clamp(28px,4.5vw,60px); align-self: center; }
.calendar-promo-copy .calendar-feature {
  display: inline-flex; background: var(--ed-sand); margin: 22px 0 0;
  padding: 7px 8px 7px 21px; border: 1px solid transparent;
}
.calendar-promo-copy .calendar-feature:hover { background: #fff2ce; }
.calendar-promo-image { object-position: 50% 53%; }
.applications-feature {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  background: #f0ebd9; border: 1px solid #e7ddbf; border-radius: 17px;
  padding: clamp(24px,4vw,47px); margin-bottom: clamp(54px,7vw,89px);
}
.applications-feature h2 { font: 500 clamp(23px,3vw,37px)/1.45 var(--serif); margin: 0 0 7px; }
.applications-feature .ed-action { flex-shrink: 0; }

.sea-section { background: #e4efec; padding-block: clamp(42px,7vw,94px); }
.sea-editorial { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(30px,6vw,92px); align-items: start; }
.sea-story { min-width: 0; padding: clamp(0px,1vw,16px) 0 3px; }
.sea-story .sea-lead { margin-bottom: 26px; }
.sea-point { padding-block: 19px; border-top: 1px solid #bdd4d2; }
.sea-point h3 { font-size: 20px; color: var(--ed-ink); margin: 0 0 6px; }
.sea-story .ed-action { margin-top: 16px; }
.sea-frame {
  position: sticky; top: 28px; margin: 0; align-self: start; isolation: isolate; overflow: hidden;
  border-radius: 17px 70px 17px 17px; background: #27677a;
}
.sea-frame img { width: 100%; height: clamp(275px,31vw,395px); display: block; object-fit: cover; }
.sea-frame figcaption {
  position: absolute; bottom: 16px; left: 17px; padding: 5px 9px;
  background: #0a2f42d4; color: #fff; font-size: 13px; line-height: 1.65; border-radius: 5px;
}

.editorial-gallery { padding-block: clamp(62px,8vw,112px) clamp(25px,3vw,41px); }
.gallery-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.editorial-gallery .gallery-track {
  grid-template-columns: 1.36fr .86fr .86fr;
  grid-template-rows: repeat(2,clamp(145px,16vw,235px));
  gap: 12px;
}
.editorial-gallery .gallery-track figure { position: relative; min-width: 0; }
.editorial-gallery .gallery-track figure:first-child { grid-row: span 2; }
.editorial-gallery .gallery-tile {
  position: relative; height: 100%; width: 100%; min-height: 0; aspect-ratio: auto;
  border-radius: 13px; isolation: isolate;
}
.editorial-gallery .gallery-tile::after {
  content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(0deg,#061f30c9,transparent);
}
.editorial-gallery .gallery-track figcaption {
  position: absolute; bottom: 13px; left: 13px; right: 47px; margin: 0;
  line-height: 1.55; font-size: 14px; font-weight: 650; color: #fff; pointer-events: none;
}
.gallery-zoom {
  position: absolute; z-index: 2; right: 10px; bottom: 10px; display: grid; place-items: center;
  border: 1px solid #ffffffa3; border-radius: 50%; width: 34px; height: 34px; background: #113848d4;
  color: white; font: 500 18px/1 var(--sans); transition: color .2s, background .2s;
}
.gallery-tile:hover .gallery-zoom { background: white; color: #103848; }
.editorial-gallery .photo-attribution {
  margin-top: 19px; border-bottom: 1px solid var(--ed-line); padding: 0 0 19px; max-width: 100%;
}
.editorial-gallery .photo-attribution summary { padding: 5px 0; }
.editorial-related { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-bottom: clamp(52px,7vw,102px); }
.social-feature + .editorial-related { margin-top: clamp(23px,4vw,48px); }
.editorial-related a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 12px; min-height: 53px; border: 1px solid var(--ed-line); border-radius: 10px;
  background: white; font-size: 14px; font-weight: 650; transition: background .22s;
}
.editorial-related a:hover { background: #e1eeec; }
.editorial-related .ed-arrow { flex-basis: 27px; width: 27px; height: 27px; font-size: 13px; }
.editorial-home footer, .detail-page footer { background: var(--ed-deep); }
.editorial-home footer .review-footer-links { font-size: 14px; }
.editorial-home .photo-dialog { border-radius: 18px; background: var(--ed-deep); }

@media (max-width: 1050px) {
  .editorial-start { grid-template-columns: 1.24fr 1fr; }
  .story-content { padding: 19px; }
}
@media (max-width: 880px) {
  .editorial-start { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .gallery-heading { display: block; }
  .editorial-related { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sea-editorial { gap: 27px; }
}
@media (max-width: 660px) {
  .ed-wrap { width: calc(100% - 32px); }
  .ed-heading p, .social-copy p, .calendar-promo-copy p, .applications-feature p, .sea-story p { font-size: 15px; }
  .ed-news-story { grid-template-columns: minmax(0,1fr) auto; gap: 6px 8px; }
  .ed-notice { justify-self: start; grid-column: 1; grid-row: 1; }
  .ed-news-story strong { grid-column: 1; grid-row: 2; font-size: 15px; }
  .ed-news-story .ed-arrow { grid-column: 2; grid-row: 1 / 3; }
  .ed-quick a { font-size: 12px; padding: 10px 8px; }
  .social-feature { grid-template-columns: minmax(0,1fr); gap: 23px; padding: 24px; border-radius: 17px; }
  .social-copy h2 br { display: none; }
  .social-photos img { height: clamp(121px,38vw,215px); }
  .social-photo--wide { border-top-left-radius: 55px; }
  .social-photo--small { border-bottom-right-radius: 55px; }
  .story-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .story-image { aspect-ratio: 1.75; }
  .story-content h3 { margin-bottom: 5px; }
  .story-content p { margin-bottom: 10px; }
  .calendar-promo { grid-template-columns: minmax(0,1fr); }
  .calendar-promo-copy { padding: 25px; grid-row: 2; }
  .calendar-promo-image { grid-row: 1; height: clamp(140px,48vw,258px); }
  .applications-feature { display: grid; gap: 15px; }
  .sea-editorial { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .sea-frame { grid-row: 1; position: relative; top: auto; border-top-right-radius: 54px; }
  .sea-frame img { height: clamp(215px,65vw,360px); }
  .editorial-gallery .gallery-track {
    grid-template-columns: none; grid-template-rows: clamp(202px,65vw,320px); grid-auto-flow: column;
    grid-auto-columns: min(82%, 365px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
  }
  .editorial-gallery .gallery-track figure:first-child { grid-row: auto; }
  .editorial-gallery .gallery-track figure { scroll-snap-align: start; }
  .editorial-related a { font-size: 13px; min-height: 49px; padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-card:hover, .story-card:hover img, .ed-action:hover .ed-arrow,
  .story-card:hover .ed-arrow, .ed-quick a:hover .ed-arrow, .editorial-related a:hover .ed-arrow { transform: none; }
  .sea-frame { position: relative; top: auto; }
}

