/* Event design hub (Owner-approved 2026-11-23): quiet luxury. Ivory, sand and travertine, charcoal type,
   brushed brass as the one accent, straight edges and hairlines. Heebo light headlines, Jost uppercase
   labels, Rubik body. Pins and product cards come from hub.css/hub.js; this file sets the page's own look.
   No product row scrolls sideways. */
.cd-ev { --ink: #24211e; --muted: #7c736a; --line: #e7dfd4; --ivory: #faf7f2; --sand: #f2ebe1; --stone: #e6dccd; --brass: #a8854a; --brass-dark: #8a6a35; --brass-grad: linear-gradient(135deg, #b8955a, #94733d); --head: 'Heebo', 'Rubik', sans-serif; --lab: 'Jost', 'Heebo', sans-serif; color: var(--ink); }
.cd-ev__crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.cd-ev__crumbs a { color: inherit; text-decoration: none; }

.cd-ev__label { font-family: var(--lab); font-size: 11.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); direction: ltr; display: inline-block; }
.cd-ev__btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--brass-grad); color: #fff; text-decoration: none; padding: 0 30px; min-height: 48px; font-size: 15px; font-weight: 500; letter-spacing: .02em; border: 0; border-radius: 2px; transition: filter .2s; }
.cd-ev__btn:hover { filter: brightness(1.08); color: #fff; }
.cd-ev__btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cd-ev__btn--line:hover { background: var(--ink); color: #fff; filter: none; }
.cd-ev__h2 { font-family: var(--head); font-weight: 300; font-size: clamp(30px, 2.6vw, 44px); line-height: 1.1; letter-spacing: .01em; margin: 6px 0 0; color: var(--ink); }

.cd-ev__hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); margin: 12px 0 0; background: var(--ivory); }
.cd-ev__hero-txt { min-width: 0; padding: 28px clamp(24px, 3vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cd-ev__hero h1 { font-family: var(--head); font-weight: 200; font-size: clamp(40px, 3.6vw, 62px); line-height: 1; letter-spacing: -.005em; margin: 10px 0 8px; color: var(--ink); }
.cd-ev__lead { font-size: clamp(17px, 1.3vw, 21px); font-weight: 400; margin: 0 0 8px; }
.cd-ev__desc { font-size: 14.5px; font-weight: 300; color: #5a524a; margin: 0 0 18px; max-width: 46ch; }
.cd-ev__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cd-ev__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid #cfc4b4; font-size: 14px; text-decoration: none; color: var(--ink); background: rgba(255,255,255,.55); transition: border-color .2s, background .2s; }
.cd-ev__chips a:hover { border-color: var(--brass); background: #fff; }
.cd-ev__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cd-ev__perks { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.cd-ev__perks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.3; padding-inline-end: 12px; }
.cd-ev__perks li + li { border-right: 1px solid var(--line); padding-right: 14px; }
.cd-ev__perks svg { flex: none; color: var(--brass); }
.cd-ev__hero-media { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.cd-ev__hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.cd-ev__sec { padding-top: 56px; }
.cd-ev__head { display: flex; align-items: flex-end; margin-bottom: 24px; }
.cd-ev__rule { flex: 1; height: 1px; background: var(--line); margin: 0 24px; align-self: center; }
.cd-ev__note { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.cd-ev__link { font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; white-space: nowrap; }
.cd-ev__link:hover { color: var(--brass-dark); }

.cd-ev__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cd-ev__tile { display: block; height: 100%; text-decoration: none; color: var(--ink); background: var(--ivory); border: 1px solid transparent; transition: border-color .25s; }
.cd-ev__tile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.cd-ev__tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cd-ev__tile:hover { border-color: var(--stone); }
.cd-ev__tile:hover img { transform: scale(1.045); }
.cd-ev__tile-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 16px; }
.cd-ev__tile-bar strong { display: block; font-family: var(--head); font-weight: 400; font-size: 19px; line-height: 1.2; }
.cd-ev__tile-bar .cd-ev__label { font-size: 10px; letter-spacing: .26em; margin-top: 3px; }
.cd-ev__tile-arrow { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--brass-dark); transition: background .2s, color .2s, border-color .2s; }
.cd-ev__tile:hover .cd-ev__tile-arrow { background: var(--brass); border-color: var(--brass); color: #fff; }
/* A tile for two categories: each name is its own link, marked by a thin brass line. */
.cd-ev__tile--duo strong a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 1px; }
.cd-ev__tile--duo strong a:hover { color: var(--brass-dark); }

/* Shop the look: the whole wedding entrance across the content width; hub.js maps the pins. */
.cd-ev .cd-ev__look { height: auto; aspect-ratio: 2.45 / 1; border-radius: 0; background: var(--sand); }
.cd-ev .cd-ev__look .cd-hub__look > img { object-position: 50% 40%; }
.cd-ev .cd-hub__pin { width: 30px; height: 46px; transform: translate(50%, -4px); }
.cd-ev .cd-hub__swing { animation-duration: 4s; filter: drop-shadow(0 4px 6px rgba(36,33,30,.28)); }
.cd-ev .cd-ev__tag { fill: #fbf8f2; stroke: var(--brass); transition: fill .25s; }
.cd-ev .cd-ev__tag-mark { stroke: var(--brass); transition: stroke .25s; }
.cd-ev .cd-hub__pin:hover .cd-ev__tag, .cd-ev .cd-hub__pin:focus-visible .cd-ev__tag { fill: var(--brass); }
.cd-ev .cd-hub__pin:hover .cd-ev__tag-mark, .cd-ev .cd-hub__pin:focus-visible .cd-ev__tag-mark { stroke: #fff; }
.cd-ev .cd-hub__pin:hover .cd-hub__swing, .cd-ev .cd-hub__pin:focus-visible .cd-hub__swing { filter: drop-shadow(0 6px 10px rgba(36,33,30,.35)); }
.cd-ev .cd-hub__pin:focus-visible { outline: 1px solid var(--brass); border-radius: 0; }
.cd-ev .cd-hub__card { width: 260px; border-radius: 0; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(36,33,30,.2); padding: 10px; grid-template-columns: 66px 1fr; gap: 12px; }
.cd-ev .cd-hub__card img { width: 66px; height: 66px; border-radius: 0; background: var(--ivory); }
.cd-ev .cd-hub__card b { font-weight: 400; font-size: 13.5px; }
.cd-ev .cd-hub__price { font-family: var(--head); font-size: 16px; font-weight: 500; color: var(--ink); }
.cd-ev .cd-hub__go { color: var(--brass-dark); }
.cd-ev__look-cta { position: absolute; bottom: 22px; left: 24px; z-index: 5; }

.cd-ev__picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cd-ev__prod { display: block; height: 100%; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.cd-ev__prod:hover { border-color: var(--brass); transform: translateY(-2px); }
.cd-ev__prod-img { display: grid; place-items: center; aspect-ratio: 1; background: var(--ivory); padding: 18px; }
.cd-ev__prod-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cd-ev__prod-info { display: block; padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.cd-ev__prod b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; font-size: 14.5px; font-weight: 400; line-height: 1.4; margin: 0 0 8px; }
.cd-ev__prod-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cd-ev__price { font-family: var(--head); font-size: 19px; font-weight: 500; }
.cd-ev__go { font-size: 13px; color: var(--brass-dark); }

.cd-ev__souv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); margin: 64px 0 0; background: var(--sand); min-height: 380px; }
.cd-ev__souv-txt { padding: 48px clamp(28px, 4vw, 72px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cd-ev__souv-txt p { font-size: 17px; font-weight: 300; color: #4d4640; margin: 14px 0 28px; max-width: 38ch; }
.cd-ev__souv-media { position: relative; overflow: hidden; min-width: 0; }
.cd-ev__souv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-ev + .cd-trust, .cd-ev .cd-trust { margin-top: 48px; }

/* Ten tiles (Owner 2026-11-25): two full rows of five instead of 4 + 4 + 2. */
@media (min-width: 1101px) {
  .cd-ev__tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .cd-ev__tiles--5 .cd-ev__tile-bar { padding: 12px 14px 14px; }
  .cd-ev__tiles--5 .cd-ev__tile-bar strong { font-size: 17px; }
}
@media (max-width: 1100px) {
  .cd-ev__tiles, .cd-ev__picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .cd-ev__hero, .cd-ev__souv { grid-template-columns: minmax(0, 1fr); }
  .cd-ev__hero-media, .cd-ev__souv-media { order: -1; aspect-ratio: 16 / 10; }
  .cd-ev__hero-txt, .cd-ev__souv-txt { padding: 26px 22px 28px; }
  .cd-ev .cd-ev__look { aspect-ratio: 2.3337 / 1; }
  .cd-ev .cd-hub__card { left: 12px !important; right: 12px !important; top: 12px !important; bottom: auto; width: auto; }
  .cd-ev .cd-hub__pin { transform: translate(50%, -4px) scale(.8); }
  .cd-ev__look-cta { position: static; margin-top: 14px; }
  .cd-ev__look { overflow: visible; }
  .cd-ev__souv { min-height: 0; }
}
@media (max-width: 640px) {
  .cd-ev__sec { padding-top: 32px; }
  .cd-ev__head { margin-bottom: 14px; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: flex-end; }
  .cd-ev__rule { display: none; }
  .cd-ev__note { white-space: normal; font-size: 12.5px; }
  .cd-ev__h2 { font-size: 28px; }
  .cd-ev__hero-media { aspect-ratio: 16 / 9; }
  .cd-ev__hero-txt { padding: 16px 16px 18px; }
  .cd-ev__hero h1 { font-size: 42px; margin: 6px 0 6px; }
  .cd-ev__lead { font-size: 17px; margin-bottom: 4px; }
  .cd-ev__desc { font-size: 14px; margin-bottom: 14px; }
  .cd-ev__chips { gap: 6px; margin-bottom: 14px; }
  .cd-ev__chips a { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  .cd-ev__actions { width: 100%; gap: 8px; }
  .cd-ev__actions .cd-ev__btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; font-size: 14.5px; }
  .cd-ev__perks { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 16px; padding-top: 12px; }
  .cd-ev__perks li + li { border-right: 0; padding-right: 0; }
  .cd-ev__tiles, .cd-ev__picks { gap: 10px; }
  .cd-ev__tile-bar { padding: 9px 10px 11px; }
  .cd-ev__tile-bar strong { font-size: 15px; }
  .cd-ev__tile-bar .cd-ev__label { font-size: 8.5px; letter-spacing: .18em; }
  .cd-ev__tile-arrow { display: none; }
  .cd-ev .cd-hub__pin { transform: translate(50%, -4px) scale(.62); }
  .cd-ev .cd-hub__card { top: auto !important; bottom: 8px; left: 8px !important; right: 8px !important; }
  .cd-ev__look-cta { display: flex; width: 100%; min-height: 44px; }
  .cd-ev__prod-img { padding: 10px; }
  .cd-ev__prod-info { padding: 10px 12px 12px; }
  .cd-ev__prod b { font-size: 13px; }
  .cd-ev__price { font-size: 17px; }
  .cd-ev__souv { margin-top: 36px; }
  .cd-ev__souv-media { aspect-ratio: 16 / 9; }
  .cd-ev__souv-txt { padding: 20px 18px 22px; }
  .cd-ev__souv-txt p { font-size: 15px; margin: 8px 0 16px; }
  .cd-ev__souv-txt .cd-ev__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-ev__tile-img img { transition: none; }
}

/* The look button sits outside the clipped photo box so it is never cut off; on the photo on desktop,
   under it on smaller screens. Event buttons on phones: two full, even rows (3 + 2). */
.cd-ev__look-wrap { position: relative; }
@media (max-width: 980px) {
  .cd-ev__look-cta { position: static; display: flex; width: max-content; margin: 14px auto 0; }
}
@media (max-width: 640px) {
  .cd-ev__chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
  .cd-ev__chips a { grid-column: span 2; justify-content: center; text-align: center; padding: 0 6px; font-size: 13px; }
  .cd-ev__chips a:nth-child(n+4) { grid-column: span 3; }
  .cd-ev__look-cta { width: 100%; margin-top: 12px; }
}

/* Owner 2026-11-24 phone pass: hero in two halves (words right, picture left), the occasion buttons
   and the two actions under both halves, no perks list, centred section heads, tighter gaps. */
@media (max-width: 640px) {
  .cd-ev .cd-ev__crumbs { padding-top: 10px; }
  .cd-ev .cd-ev__hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; margin-top: 8px; padding: 12px; align-items: start; }
  .cd-ev .cd-ev__hero-txt { display: contents; }
  .cd-ev .cd-ev__hero-txt > .cd-ev__label { grid-column: 1; font-size: 9.5px; letter-spacing: .26em; margin-top: 4px; }
  .cd-ev .cd-ev__hero h1 { grid-column: 1; font-size: 31px; line-height: 1.05; margin: 4px 0 6px; }
  .cd-ev .cd-ev__lead { grid-column: 1; font-size: 14.5px; line-height: 1.3; margin: 0 0 6px; }
  .cd-ev .cd-ev__desc { grid-column: 1; font-size: 12.5px; line-height: 1.5; margin: 0; max-width: none; }
  .cd-ev .cd-ev__hero-media { grid-column: 2; grid-row: 1 / 5; aspect-ratio: auto; height: 100%; min-height: 200px; }
  .cd-ev .cd-ev__chips { grid-column: 1 / -1; margin: 12px 0 8px; }
  .cd-ev .cd-ev__actions { grid-column: 1 / -1; }
  .cd-ev .cd-ev__perks { display: none; }
  .cd-ev .cd-ev__sec { padding-top: 24px; }
  .cd-ev .cd-ev__head { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; margin-bottom: 12px; }
  .cd-ev .cd-ev__h2 { font-size: 25px; margin-top: 3px; }
}

/* Phone hero, second pass: fewer words (the description stays on desktop unless switched on) and the
   picture in an arched brass frame that echoes the arch in the photo; the words are centred beside it. */
@media (max-width: 640px) {
  .cd-ev .cd-ev__hero { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 14px; padding: 18px 14px 14px; }
  .cd-ev .cd-ev__desc.is-desk-only { display: none; }
  .cd-ev .cd-ev__desc { grid-row: 5; text-align: center; margin-top: 6px; }
  .cd-ev .cd-ev__hero-txt > .cd-ev__label { grid-row: 2; justify-self: center; margin: 0; }
  .cd-ev .cd-ev__hero h1 { grid-row: 3; position: relative; text-align: center; font-size: 30px; margin: 8px 0 0; padding-bottom: 12px; }
  .cd-ev .cd-ev__hero h1::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 38px; height: 1px; margin-left: -19px; background: var(--brass); }
  .cd-ev .cd-ev__lead { grid-row: 4; text-align: center; font-size: 14.5px; font-weight: 300; line-height: 1.45; margin: 10px 0 0; }
  .cd-ev .cd-ev__hero-media { grid-column: 2; grid-row: 1 / 6; height: 214px; min-height: 0; margin: 6px; border-radius: 999px 999px 0 0; outline: 1px solid var(--brass); outline-offset: 5px; }
  .cd-ev .cd-ev__hero-media img { object-position: 52% 50%; }
  .cd-ev .cd-ev__chips { grid-row: 6; margin: 18px 0 8px; }
  .cd-ev .cd-ev__actions { grid-row: 7; }
}
