/* Homepage, using the original can images and paintings. */
[data-page="index"] {
  --ed-ink: #183b4d;
  --ed-sea: #12575f;
  --ed-paper: #f7faf7;
  --ed-border: #cbdbd5;
}
.ed-wrap,.ed-hero-inner { width:min(1260px,100%); margin-inline:auto; }
.ed-wrap { padding-inline:clamp(1.25rem,5vw,4.5rem); }
.ed-hero { background:var(--ed-paper); padding:calc(var(--nav-height,96px) + clamp(1rem,3.7vw,4rem)) clamp(1.25rem,4vw,4rem) clamp(2rem,4vw,4rem); }
.ed-hero-inner {display:grid; grid-template-columns:minmax(0, .88fr) minmax(0, 1.12fr); gap:clamp(2rem,5.4vw,6rem); align-items:center;}
.ed-hero h1,.ed-wrap h2 {color:var(--ed-ink);font-family:var(--font-display,Georgia,serif);font-weight:400;line-height:.98;letter-spacing:-.035em;}
.ed-hero h1 {
  font-family: 'Sip Somewhere Beautiful Script', Georgia, serif;
  font-size: clamp(3rem, 16.5cqi, 6rem);
  line-height: 1;
  letter-spacing: normal;
  text-wrap: balance;
  margin: .18em 0 .12em;
}
.ed-tagline {
  color: #dce6f6;
  font: italic 400 clamp(1.35rem, 5.5cqi, 1.85rem)/1.2 var(--font-display, Georgia, serif);
  margin: 0 0 .65em;
}
.ed-hero em,.ed-story h2 em {display:block;font-weight:400;color:var(--ed-sea);}
.ed-eyebrow {font:650 .76rem/1.35 var(--font-body,sans-serif);letter-spacing:.115em;text-transform:uppercase;color:var(--ed-sea);margin:0;}
.ed-intro {container-type:inline-size;padding-left:clamp(0px,1.6vw,1.5rem);}
.ed-intro-text,.ed-story-copy>p:not(.ed-eyebrow):not(.ed-sign),.ed-giving-grid>div>p:not(.ed-eyebrow),.ed-wholesale p:not(.ed-eyebrow),.ed-section-head>p {font:400 clamp(1.04rem,1.2vw,1.22rem)/1.55 var(--font-body,sans-serif);color:#365361;}
.ed-intro-text {max-width:39ch;}
.ed-actions {display:flex;gap:1rem 1.35rem;flex-wrap:wrap;align-items:center;margin-top:1.85rem;}
.ed-button,.ed-link {font-family:var(--font-body,sans-serif);font-weight:600;font-size:1rem;line-height:1.35;}
.ed-button {display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.85rem 1.4rem;color:#fff;background:#124c55;border:1px solid #124c55;border-radius:100px;text-decoration:none;text-align:center;}
.ed-button:hover {background:#183b4d;color:white;}
.ed-link {display:inline-block;color:var(--ed-sea);text-underline-offset:.25em;text-decoration:underline;text-decoration-thickness:1px;}
.ed-link:hover {color:#102c40;text-decoration-thickness:2px;}
.ed-feature {margin:0;min-width:0;}
.ed-picture {isolation:isolate;position:relative;aspect-ratio:1.37;overflow:hidden;border-radius:3px;}
.ed-paint {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:49% 35%;}
.ed-feature figcaption {display:flex;align-items:baseline;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap;color:var(--ed-ink);padding-top:.7rem;}
.ed-feature figcaption strong {font:600 1.03rem/1.35 var(--font-body,sans-serif);}
.ed-feature figcaption strong span {color:#49818a;margin-inline:.14em;font-weight:400;}
.ed-feature figcaption>span,.ed-gallery figcaption {font-size:.86rem;color:#4d626a;line-height:1.45;}
.ed-feature-can {position:absolute;right:7%;bottom:4%;width:14%;transform:rotate(5deg);filter:drop-shadow(3px 7px 5px #12314455);}
.ed-can {display:block;aspect-ratio:375 / 870;}
.ed-can img {display:block;width:100%;height:auto;}
.ed-facts {padding:1rem 1.25rem;display:flex;justify-content:center;gap:.6rem 0;flex-wrap:wrap;color:#fff;background:var(--ed-ink);font-weight:500;font-size:.94rem;line-height:1.3;}
.ed-facts span {padding:0 clamp(.75rem,2.8vw,3.2rem);border-inline-start:1px solid #64808c;}
.ed-facts span:first-child {border:0;}
.ed-collection,.ed-story,.ed-giving,.ed-wholesale {padding-block:clamp(3rem,6vw,6rem);}
.ed-collection {background:#fff;}
.ed-wrap h2 {font-size:clamp(2.9rem,5.1vw,5.5rem);margin:.2em 0 .3em;}
.ed-section-head {display:flex;gap:2rem;align-items:end;justify-content:space-between;margin-bottom:1.35rem;}
.ed-section-head>p {max-width:36ch;font-size:1.04rem;margin-bottom:.6rem;}
.ed-lineup {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(.5rem,1.1vw,1rem);margin:0 0 1.5rem;padding:0;list-style:none;}
.ed-lineup li {min-width:0;list-style:none;}
.ed-card {display:block;text-decoration:none;color:var(--ed-ink);}
.ed-card-can {position:relative;background:var(--ed-wash,#eef5f7);border-radius:3px;aspect-ratio:.76;overflow:hidden;}
/* Center the visible can inside the padded artwork canvas. */
.ed-card-can .ed-can {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 86%;
  width: auto;
  translate: -50% -50%;
  transition: transform .18s ease;
}
.ed-card:hover .ed-can,.ed-card:focus-visible .ed-can {transform:translateY(-3px);}
.ed-card-caption {padding:.75rem 0 .4rem;display:grid;gap:.12rem;}
.ed-card-caption strong {font:400 clamp(1.25rem,1.7vw,1.8rem)/1.08 var(--font-display,Georgia,serif);}
.ed-card-caption span {font-size:.84rem;color:#4b626d;line-height:1.45;}
.ed-card:hover strong,.ed-card:focus-visible strong {text-decoration:underline;text-underline-offset:.16em;}
.ed-card-sandy-beach {--ed-wash:#f4edd1;} .ed-card-nantucket {--ed-wash:#f8e4d8;} .ed-card-cape-cod {--ed-wash:#f2e3e6;} .ed-card-white-mountains {--ed-wash:#f1e4ef;} .ed-card-maine-coast {--ed-wash:#e5e7f3;} .ed-card-minot-light {--ed-wash:#e8eddf;} .ed-card-schroon-lake {--ed-wash:#e2eff3;}
.ed-story {background:#e9f0ed;}
.ed-story-grid {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:clamp(2rem,4vw,4rem);align-items:center;}
.ed-gallery {margin:0;}
.ed-story-paintings {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.6rem,1.2vw,1.1rem);align-items:center;}
.ed-story-paintings img {display:block;width:100%;height:auto;}
.ed-gallery figcaption {padding-top:.5rem;}
.ed-story-copy>p:not(.ed-eyebrow):not(.ed-sign) {margin:.8em 0;max-width:45ch;}
.ed-story-copy .ed-link {margin-top:.5rem;}
.ed-sign {display:grid;gap:.25rem;font:italic 1.65rem var(--font-display,Georgia);color:var(--ed-ink);margin:1.6rem 0 0;}
.ed-sign span {font:400 .9rem var(--font-body,sans-serif);color:#536c73;}
.ed-giving {background:#173e4d;}
.ed-giving-grid {display:grid;grid-template-columns:1fr .88fr;gap:clamp(2rem,7vw,7rem);align-items:center;}
.ed-giving h2,.ed-giving p.ed-eyebrow,.ed-giving a.ed-link,.ed-giving-grid>div>p:not(.ed-eyebrow) {color:white;}
.ed-giving p.ed-eyebrow {color:#bfdcd3;}
.ed-giving .ed-link {margin-top:.85rem;}
.ed-wholesale {background:white;border-bottom:1px solid var(--ed-border);}
.ed-wholesale>.ed-wrap {display:flex;align-items:center;justify-content:space-between;gap:2rem;}
.ed-wholesale h2 {font-size:clamp(2.65rem,4.3vw,4.5rem);}
.ed-wholesale p:not(.ed-eyebrow) {max-width:54ch;}
.ed-wholesale .ed-button {flex:none;}
[data-page="index"] #contact .ed-eyebrow {margin-bottom:.8rem;color:#bfdfda;}
@media(max-width:1000px){
 .ed-lineup {display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:.2rem .2rem .6rem;scrollbar-color:#708e91 #edf2ef;}
 .ed-lineup li {flex:0 0 150px;scroll-snap-align:start;}
 .ed-hero-inner {gap:2rem;}
}
@media(max-width:750px){
 .ed-hero {padding-top:calc(var(--nav-height,86px) + 1.65rem);}
 .ed-hero-inner,.ed-story-grid,.ed-giving-grid {grid-template-columns:1fr;gap:1.6rem;}
 .ed-intro {padding:0;}
 .ed-hero em {display:inline;}
 .ed-actions {margin-top:1.25rem;}
 .ed-picture {aspect-ratio:1.65;}
 .ed-feature-can {width:13%;}
 .ed-section-head,.ed-wholesale>.ed-wrap {display:block;}
 .ed-section-head>p {margin:0;max-width:40ch;}
 .ed-section-head {margin-bottom:1rem;}
 .ed-story-copy {order:-1;}

 .ed-wholesale .ed-button {margin-top:1.2rem;}
 .ed-facts {display:grid;grid-template-columns:auto auto;gap:.55rem 2rem;justify-content:center;}
 .ed-facts span {border:0;padding:0;}
}
@media(prefers-reduced-motion:reduce){.ed-card:hover .ed-can,.ed-card:focus-visible .ed-can{transform:none;}}


/* Sandy Beach opening */
.ed-hero { background: #202848; }
.ed-hero h1, .ed-hero .ed-link, .ed-feature figcaption { color: #fff9ed; }
.ed-hero .ed-eyebrow, .ed-feature figcaption > span,
.ed-feature figcaption strong span { color: #d3dcea; }
.ed-hero .ed-intro-text { color: #edf0f6; }
.ed-hero .ed-button { background: #fcf7e9; color: #202848; border-color: #fcf7e9; }
.ed-hero .ed-button:hover { background: white; }
.ed-hero a:focus-visible { outline: 3px solid #fff9ed; outline-offset: 4px; }
@media (min-width: 751px) {
  .ed-hero-inner { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 3vw; }
  .ed-hero .ed-picture { aspect-ratio: 1.28; }
}
@media (max-width: 750px) {
  .ed-hero .ed-intro-text { line-height: 1.4; }
  .ed-hero-inner { gap: 1.3rem; }
  .ed-hero .ed-actions { margin-top: 1rem; }
  .ed-hero .ed-picture { aspect-ratio: 1.45; }
}
