/* Adire: indigo resist-dye quilt. Squares butted edge to edge, tone-on-tone pattern. */
:root {
  --te-radius: 0;
  --p1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Ccircle cx='36' cy='36' r='30'/%3E%3Ccircle cx='36' cy='36' r='20'/%3E%3Ccircle cx='36' cy='36' r='10'/%3E%3C/svg%3E");
  --p2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3C/svg%3E");
  --p3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='30' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M0 26 22 4l22 22' stroke-dasharray='5 4'/%3E%3C/svg%3E");
  --p4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M30 4v52M4 30h52M12 12l36 36M48 12 12 48'/%3E%3C/svg%3E");
  --p5: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M0 10c7-8 13-8 20 0s13 8 20 0M0 30c7-8 13-8 20 0s13 8 20 0'/%3E%3C/svg%3E");
  --p6: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Crect x='8' y='8' width='40' height='40'/%3E%3Crect x='18' y='18' width='20' height='20'/%3E%3C/svg%3E");
}
.te-nav-wrap { padding: 0; position: relative; }
.te-nav { max-width: none; border-radius: 0; box-shadow: none; background: var(--te-bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--te-line); }
.te-nav-link { border-radius: 0; }
.te-btn, .te-btn-outline { border-radius: 0; box-shadow: none; }
.ad-quilt { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(9rem, auto); border-bottom: 1px solid var(--te-line); }
.ad-t { position: relative; min-height: 9rem; box-shadow: 0 0 0 .5px color-mix(in srgb, var(--te-primary) 30%, transparent); display: flex; align-items: center; justify-content: center; }
[class*="ad-p"]::before { content: ""; position: absolute; inset: 0; background: var(--te-primary); opacity: .62; -webkit-mask: var(--pat) center; mask: var(--pat) center; }
.ad-p1 { --pat: var(--p1); } .ad-p2 { --pat: var(--p2); background: var(--te-tint); } .ad-p3 { --pat: var(--p3); } .ad-p4 { --pat: var(--p4); background: var(--te-tint); } .ad-p5 { --pat: var(--p5); } .ad-p6 { --pat: var(--p6); background: var(--te-tint); }
.ad-name { grid-column: 1 / -1; flex-direction: column; text-align: center; padding: 3rem 1.25rem; }
.ad-title { font-size: calc(var(--fit, 1) * clamp(3rem, 10vw, 7.25rem)); line-height: 1; font-weight: 400; color: var(--te-primary-text); overflow-wrap: break-word; }
.ad-label { color: var(--te-accent-text); margin-bottom: .75rem; font-size: 1.0625rem; }
.ad-sub { color: var(--te-muted); margin-top: 1rem; font-size: 1.125rem; }
.ad-photo { grid-column: 1 / -1; min-height: 22rem; }
.ad-photo > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ad-count { grid-column: 1 / -1; padding: 1.5rem 1rem; }
.ad-count > * { width: 100%; }
.ad-rsvp { padding: 1rem; }
@media (min-width: 900px) {
  .ad-quilt { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(10.5rem, 15vw); }
  .ad-p1 { grid-area: 1/1; } .ad-p2 { grid-area: 1/2; } .ad-name { grid-area: 1/3/3/7; }
  .ad-photo { grid-area: 2/1/5/3; min-height: 0; } .ad-p3 { grid-area: 3/3; } .ad-p4 { grid-area: 3/4; }
  .ad-count { grid-area: 3/5/4/7; } .ad-p5 { grid-area: 4/3; } .ad-rsvp { grid-area: 4/4/4/6; } .ad-p6 { grid-area: 4/6; }
}
.te-count-cell { background: none !important; box-shadow: none !important; border-radius: 0; }
.te-facts { padding: 0 !important; }
.te-facts-grid, .te-explore .grid { gap: 0 !important; max-width: none !important; }
.te-explore > div { max-width: none !important; }
.te-explore { padding-inline: 0 !important; }
.te-tile, .te-card { background: none; border: 0; border-radius: 0; box-shadow: 0 0 0 .5px color-mix(in srgb, var(--te-primary) 30%, transparent); }
.te-tile:nth-child(odd) { background: var(--te-tint); }
.te-icon-tile { border-radius: 0; background: none; padding: 0; }
.te-h-section, .te-h-page { font-weight: 400; }
.te-page-head { margin: 0; border-radius: 0; background: var(--te-tint); }
.te-gallery-grid { gap: 0 !important; max-width: none !important; }
.te-gallery { padding-inline: 0 !important; }
.te-gallery-item { border-radius: 0 !important; }
.te-closing { padding-inline: 0 !important; }
.te-closing-panel { max-width: none !important; border-radius: 0; background: var(--te-tint); }
.te-field, .te-choice, .te-chip { border-radius: 0; }
/* Programme: each act gets its own quilt square. */
.te-schedule > div { max-width: none !important; padding: 2rem 0 0 !important; }
.te-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); padding: 0 !important; box-shadow: none; }
.te-timeline li > div:first-child { display: none; }
.te-timeline li { grid-template-columns: 1fr !important; }
.te-timeline li { padding: 2rem 1.5rem !important; box-shadow: 0 0 0 .5px color-mix(in srgb, var(--te-primary) 30%, transparent); }
.te-timeline li:nth-child(odd) { background: var(--te-tint); }
.te-timeline .te-chip { background: none; color: var(--te-accent-text); padding: 0; }
.te-timeline .te-h-card { font-size: 1.5rem; font-weight: 400; font-family: var(--te-heading); }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
