/* EBD's shell uses paper, dark ink and one blue spot color.
   Each study owns its internal colors and typography. */
:root {
  --paper: #f5f1e8;
  --ink: #20211d;
  --accent: #2639bc;
  --muted: #5e605a;
  --line: #c8c6bc;
  --focus: #bd4119;
}
.page-header, .section { width: min(1280px, calc(100% - 9vw)); }
.page-header { height: 80px; border-bottom: 1px solid var(--ink); }
.brand { font-family: var(--sans); font-style: italic; font-weight: 800; letter-spacing: -.115em; }
.main-nav { gap: 28px; }
.main-nav a { color: var(--ink); }
.header-cta { border-radius: 2px; background: var(--accent); }
.header-cta:hover, .hero-actions .primary:hover { background: #182577; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(25px, 4vw, 72px);
  padding-block: clamp(38px, 4.5vw, 74px);
}
.cover-byline {
  font: 500 clamp(9px,.85vw,12px)/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #44463f;
  margin-bottom: 25px;
}
.cover-byline span { margin-inline: 6px; color: var(--accent); }
.hero h1 { font-size: clamp(68px,7.9vw,122px); letter-spacing: -.085em; line-height: .9; font-weight: 600; }
.hero h1 em { font-family: Georgia,serif; font-weight: 400; letter-spacing: -.09em; color: var(--accent); }
.hero-description { max-width: 36ch; color: #50524d; font-size: clamp(15px,1.2vw,19px); line-height: 1.55; margin: 24px 0; }
.hero-actions .primary { background: var(--accent); border-radius: 2px; }
.hero-actions .text-button { text-decoration: underline; text-underline-offset: 5px; }
.surf-print { margin: 0; min-width: 0; background: var(--ink); color: var(--paper); }
.print-image { position: relative; aspect-ratio: 1.52; overflow: hidden; }
.print-image img, .print-image canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.print-image canvas { position: absolute; inset: 0; visibility: hidden; }
.print-ready canvas { visibility: visible; }
.styles-band { background: #21231f; color: var(--paper); padding-block: clamp(36px,4vw,66px); }
.styles-toolbar { display: block; padding-bottom: 0; }
.styles-toolbar h2, .section-heading h2, .about-heading h2, .contact-grid h2 {
  font-weight: 500;
  font-size: clamp(40px,4.7vw,72px);
  letter-spacing: -.065em;
}
.styles-toolbar h2 { margin: 0 0 24px; line-height: 1; }
.styles-toolbar h2 span { color: #facc80; }
.style-options { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; }
.style-options button {
  display: flex; gap: 12px; align-items: center; text-align: left;
  padding: 14px 10px; border: 1px solid #575952; border-radius: 0;
  background: #2b2d28; color: #f5f1e8; position: relative;
}
.style-options button:hover { background: #363931; border-color: #d3d4c9; }
.style-options button[aria-pressed=true] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.style-options button[aria-pressed=true]::after { content:''; position:absolute; bottom:0; height:3px; inset-inline:0; background:#f08e4a; }
.style-name { font: 600 14px var(--sans); }
.style-name small { display: block; font: 10px/1.4 var(--mono); margin-top: 3px; }
.style-mark { width: 38px; height: 43px; flex: none; display: grid; place-items: center; font: 28px Georgia,serif; }
[data-style=editorial] .style-mark { color: #423d34; background: #e6dcca; font-style: italic; }
[data-style=bold] .style-mark { background: #ff6345; color: #201915; font: 900 32px Arial; }
[data-style=minimal] .style-mark { color: #626154; background: #e3e4d9; }
[data-style=outdoors] .style-mark { color: #e8e3bc; background: #304b31; }
[data-style=artisan] .style-mark { font-style: italic; color: #7e3731; background: #f9d8b5; }
[data-style=electronic] .style-mark { color: #ccb3ff; background: #21212b; }
.concept-gallery { margin-top: 9px; }
.concept-gallery .concept { border-radius: 0; }
.concept-credit { text-align: left; font: 10px/1.5 var(--mono); color: #c8c9be; }
.live-sites { align-items: center; padding-block: 25px; }
.live-sites h2 { font: italic 25px Georgia,serif; }
.live-sites a, .text-link { color: var(--accent); }
.services-section, .about-section { padding-block: clamp(54px,6vw,96px); }
.service-options { flex-wrap: wrap; }
.service-options button { border-radius: 0; border-color: var(--line); color: var(--ink); }
.service-options button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); }
.price-card { border-radius: 0; border: 1px solid var(--line); border-top: 4px solid var(--ink); background: #fbf8f1; }
.price-card:last-child { background: #e8e9f4; border-color: #c5c6d7; border-top-color: var(--accent); }
.price { font: italic clamp(45px,5vw,78px)/1 Georgia,serif; letter-spacing: -.075em; }
.price-card li, .price-card li strong, .price-top>span, .service-summary { color: #4f5356; }
.price-card .terminal-button, #inquiry-form .terminal-button { border-radius: 0; }
.price-card:last-child .terminal-button, #inquiry-form .terminal-button { background: var(--accent); border-color: var(--accent); }
.about-heading h2 { max-width: 8ch; }
.approach-list article>span { font-size: 14px; }
.contact-band { background: #2538b2; color: #fffaf0; }
.contact-grid h2 { font-size: clamp(58px,6vw,90px); }
.contact-grid h2 span { color: #ffd69d; }
.contact-intro, .contact-phone, .reply-note, .reply-note>span { color: #e3e6ff; }
.contact-email { font-weight: 600; }
#inquiry-form { background: var(--paper); color: var(--ink); border-radius: 0; border: none; }
.page-footer { padding-block: 28px; }
@media(max-width:1050px) {
  .style-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .style-options button { padding-block: 8px; }
  .hero h1 { font-size: clamp(56px,8.4vw,90px); }
}
@media(max-width:680px) {
  .section,.page-header { width: calc(100% - 36px); }
  .hero { grid-template-columns: minmax(0,1fr); gap: 26px; padding-block: 34px; }
  .hero h1 { font-size: clamp(67px,15vw,96px); }
  .cover-byline { margin-bottom: 18px; }
  .hero-description { margin: 17px 0; }
  .hero-actions { flex-wrap: wrap; }
  .print-image { aspect-ratio: 2.25; }
  .styles-toolbar h2 { margin-bottom: 18px; }
  .style-mark { width: 25px; height: 29px; font-size: 18px; }
  [data-style=bold] .style-mark { font-size: 22px; }
  .style-options button { gap: 5px; padding: 8px 4px; }
  .style-name { font-size: 11px; }
  .style-name small { display: none; }
  .main-nav.open { background: var(--paper); }
}

:root:not([data-edition]) .live-sites a { color: var(--ink); text-decoration-color: var(--line); }
:root:not([data-edition]) .live-sites a:hover { color: var(--accent); text-decoration-color: currentColor; }
:root:not([data-edition]) .live-sites .site-arrow { display: none; }
