/* ==========================================================================
   Info pages: How to Rent, Become a Vendor, FAQ, Privacy, Terms, Vendor Terms,
   Thank you, 404. Builds on assets/css/ekdin.css tokens and components.
   ========================================================================== */

/* ---------- compact maroon hero with an interactive collage ---------- */
.ek-ihero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--ek-maroon);
    color: var(--ek-on-dark);
    padding-top: var(--ek-header-h);
}
/* ekdin.css draws a maroon ring on light sections; this hero is maroon, so it keeps the nude ring */
.ek-ihero :focus-visible { outline-color: var(--ek-nude); }
.ek-ihero::before { /* soft light so the flat maroon has depth (no texture) */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 80% at 82% 30%, rgba(246, 239, 227, .07), transparent 70%),
        radial-gradient(50% 60% at 0% 100%, rgba(51, 34, 25, .22), transparent 70%);
    pointer-events: none;
}
.ek-ihero__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(16px, 2.6vw, 36px) clamp(16px, 3.4vw, 40px) clamp(28px, 3.6vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(16px, 3vw, 48px);
    align-items: end;
}
.ek-ihero__copy { position: relative; z-index: 3; padding-bottom: clamp(0px, 1vw, 10px); }
.ek-ihero .ek-display { color: var(--ek-on-dark); }
.ek-ihero .ek-display .italic-text { font-size: clamp(38px, 4.4vw, 62px); color: var(--ek-on-dark); }
.ek-ihero .ek-display .bold-text { font-size: clamp(44px, 4.9vw, 72px); color: var(--ek-on-dark); letter-spacing: .01em; line-height: .98; }
.ek-ihero__eyebrow {
    display: block; margin: 0 0 12px; color: var(--ek-nude);
    font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.ek-ihero__lead { margin: 18px 0 0; max-width: 42ch; font-size: 15.5px; line-height: 1.6; color: var(--ek-on-dark); opacity: .88; }
.ek-ihero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.ek-ihero__link {
    display: inline-flex; align-items: center; min-height: 44px; gap: 8px;
    color: var(--ek-on-dark); text-decoration: none;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ek-ihero__link span { border-bottom: 1px solid rgba(246, 239, 227, .55); padding-bottom: 3px; transition: border-color .25s, color .25s; }
.ek-ihero__link:hover, .ek-ihero__link:focus-visible { color: var(--ek-nude); }
.ek-ihero__link:hover span { border-color: var(--ek-nude); }
.ek-ihero__link svg { transition: transform .3s var(--ek-ease); }
.ek-ihero__link:hover svg { transform: translateY(2px); }

/* collage stage: layers positioned in % so it scales as one piece */
.ek-stage {
    position: relative;
    width: min(100%, 600px);
    aspect-ratio: 16 / 11;
    margin-left: auto;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.ek-stage--short { aspect-ratio: 16 / 9.4; }
.ek-layer {
    position: absolute;
    left: var(--l, 0%);
    top: max(var(--t, 0%), 0%); /* never above the stage, so nothing slides under the fixed header */
    width: var(--w, 30%);
    z-index: var(--z, 1);
    will-change: transform;
}
.ek-layer__float {
    --ek-rot: var(--r, 0deg);
    transform: rotate(var(--r, 0deg));
    animation: ek-float var(--dur, 7s) ease-in-out var(--delay, 0s) infinite;
}
.ek-layer__img {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: 50% 60%;
    transition: transform .7s var(--ek-ease), box-shadow .7s var(--ek-ease);
    user-select: none;
    -webkit-user-drag: none;
}
.ek-layer--photo .ek-layer__img {
    aspect-ratio: var(--ar, 4 / 5);
    object-fit: cover;
    border-radius: 16px;
    border: 0;
    box-shadow: 0 22px 44px rgba(30, 8, 8, .34);
    background: var(--ek-sand);
}
.ek-layer--bare .ek-layer__img { border: 0; }
.ek-layer--cut .ek-layer__img { filter: drop-shadow(0 14px 18px rgba(30, 8, 8, .32)); }
.ek-layer:hover .ek-layer__img { transform: translateY(-8px) rotate(var(--hr, 3deg)) scale(1.04); }
.ek-layer--photo:hover .ek-layer__img { box-shadow: 0 26px 50px rgba(30, 8, 8, .38); }
.ek-layer.is-poked .ek-layer__img { animation: ek-poke .8s var(--ek-ease); }
@keyframes ek-poke {
    0% { transform: none; }
    30% { transform: translateY(-12px) rotate(var(--hr, 4deg)) scale(1.06); }
    62% { transform: translateY(-2px) rotate(calc(var(--hr, 4deg) * -.6)) scale(1.01); }
    100% { transform: none; }
}
.ek-layer--caption { --l: 4%; --t: 66%; --w: 40%; --z: 3; }
.ek-layer__caption {
    position: absolute;
    white-space: nowrap;
    font-family: "Reenie Beanie", var(--ek-font-ui); /* never a generic cursive (Comic Sans) if the web font is blocked */
    font-size: clamp(18px, 1.6vw, 24px); /* a small handwritten caption, never display-sized */
    line-height: 1;
    color: var(--ek-on-dark);
    transform: rotate(-9deg);
}

/* touch targets: every action on these pages is at least 44px tall */
.ek-ihero .ek-btn, .ek-steps-cta .ek-btn, .ek-ask .ek-btn, .ek-ty .ek-btn, .ek-legal .ek-btn { min-height: 44px; }

/* ---------- section helpers ---------- */
.ek-ihead { max-width: 660px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.ek-ihead .ek-h2 { margin-bottom: 10px; }
.ek-ihead p { margin: 0; color: var(--ek-ink-soft); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.ek-ihead--left { margin-left: 0; text-align: left; }
.ek-divider { height: 1px; background: var(--ek-line); border: 0; margin: 0; opacity: 1; }

/* ---------- steps (maroon circles with cream icons) ---------- */
.ek-steps {
    --size: 88px;
    position: relative;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1080px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px clamp(10px, 1.6vw, 22px);
}
.ek-steps::before {
    content: "";
    position: absolute;
    top: calc(var(--size) / 2);
    left: 10%;
    right: 10%;
    border-top: 1px dashed rgba(112, 28, 28, .32);
}
.ek-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ek-step__icon {
    position: relative;
    flex: 0 0 auto;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: var(--ek-maroon);
    color: var(--ek-on-dark);
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 10px var(--ek-cream), 0 14px 26px rgba(112, 28, 28, .2);
    transition: transform .45s var(--ek-ease), background-color .3s var(--ek-ease);
}
.ek-step__icon img { width: 50%; height: 50%; object-fit: contain; }
.ek-step__icon svg { width: 50%; height: 50%; }
.ek-steps--detailed .ek-step__title { max-width: 17ch; min-height: 2.7em; display: flex; align-items: flex-end; justify-content: center; }
.ek-step__num {
    position: absolute;
    top: -3px;
    right: -7px;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--ek-paper);
    color: var(--ek-maroon);
    border: 1px solid rgba(112, 28, 28, .32);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}
.ek-step__body { display: grid; gap: 6px; justify-items: center; }
.ek-step__title { margin: 0; max-width: 15ch; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ek-ink); letter-spacing: .005em; }
.ek-step__text { margin: 0; max-width: 26ch; font-size: 14px; line-height: 1.55; color: var(--ek-ink-soft); }
.ek-step:hover .ek-step__icon { transform: translateY(-6px); background: var(--ek-brown); }
.ek-steps-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: clamp(32px, 4.4vw, 48px); }
.ek-textlink {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--ek-maroon); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.ek-textlink span { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.ek-textlink:hover, .ek-textlink:focus-visible { color: var(--ek-brown); }

/* ---------- FAQ: search, topics, accordion ---------- */
.ek-faq-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
.ek-faq-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.ek-faq-aside { position: sticky; top: calc(var(--ek-header-h) + 28px); }
.ek-faq-aside__title { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ek-ink-soft); }
.ek-faq-topics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ek-line); }
.ek-faq-topics a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    min-height: 46px; padding: 10px 0; border-bottom: 1px solid var(--ek-line);
    color: var(--ek-ink); text-decoration: none; font-size: 14px; font-weight: 700; transition: color .2s, padding .3s var(--ek-ease);
}
.ek-faq-topics a small { font-size: 12px; font-weight: 400; color: var(--ek-ink-soft); }
.ek-faq-topics a:hover, .ek-faq-topics a.is-active { color: var(--ek-maroon); padding-left: 6px; }
.ek-faq-aside__mail { margin: 22px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ek-ink-soft); }
.ek-faq-aside__mail a { color: var(--ek-maroon); word-break: break-word; }

.ek-faq-search { position: relative; margin: 0 0 6px; }
.ek-faq-search__input {
    width: 100%;
    height: 56px;
    padding: 0 54px 0 52px;
    border-radius: 999px;
    border: 1px solid rgba(79, 48, 23, .2);
    background: var(--ek-sand);
    color: var(--ek-ink);
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.ek-faq-search__input::placeholder { color: var(--ek-ink-soft); opacity: .85; }
.ek-faq-search__input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.ek-faq-search__input:focus { outline: none; background: var(--ek-paper); border-color: var(--ek-maroon); box-shadow: 0 0 0 3px rgba(112, 28, 28, .12); }
.ek-faq-search__icon { position: absolute; left: 20px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--ek-ink); pointer-events: none; }
.ek-faq-search__clear {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ek-ink);
    display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s;
}
.ek-faq-search__clear:hover { background: var(--ek-maroon); color: var(--ek-on-dark); }
.ek-faq-search__clear[hidden] { display: none; }
.ek-faq-status { min-height: 1.5em; margin: 10px 4px 22px; font-size: 13.5px; color: var(--ek-ink-soft); }
.ek-faq-empty {
    display: grid; justify-items: center; gap: 8px; text-align: center;
    padding: clamp(28px, 4vw, 44px) 20px; border: 1px dashed rgba(79, 48, 23, .25); border-radius: var(--ek-radius);
}
.ek-faq-empty[hidden] { display: none; }
.ek-faq-empty__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ek-maroon); }
.ek-faq-empty p { margin: 0; color: var(--ek-ink-soft); font-size: 14.5px; }
.ek-faq-chips { display: none; }
.ek-faq-chips[hidden] { display: none !important; }

.ek-faq__section { scroll-margin-top: calc(var(--ek-header-h) + 20px); }
.ek-faq__section + .ek-faq__section { margin-top: clamp(30px, 4vw, 44px); }
.ek-faq__section[hidden] { display: none; }
.ek-faq__title { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ek-maroon); }

.ek-acc { border-top: 1px solid rgba(79, 48, 23, .26); }
.ek-acc__item { border-bottom: 1px solid rgba(79, 48, 23, .26); scroll-margin-top: calc(var(--ek-header-h) + 20px); }
.ek-acc__item[hidden] { display: none; }
.ek-acc__head { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.ek-acc__btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px;
    min-height: 62px; padding: 17px 2px; border: 0; background: none; text-align: left; cursor: pointer;
    color: var(--ek-ink); font-size: clamp(15.5px, 1.2vw, 17.5px); font-weight: 700; line-height: 1.35; letter-spacing: .003em;
    transition: color .2s var(--ek-ease);
}
.ek-acc__btn:hover { color: var(--ek-maroon); }
.ek-acc__btn:focus-visible { outline: 2px solid var(--ek-nude); outline-offset: 2px; border-radius: 6px; }
.ek-acc__num { flex: 0 0 2.4em; color: var(--ek-maroon); font-size: .82em; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.ek-acc__q { flex: 1 1 auto; }
.ek-acc__icon {
    position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(79, 48, 23, .3); color: var(--ek-ink);
    transition: background-color .3s var(--ek-ease), border-color .3s var(--ek-ease), color .3s;
}
.ek-acc__icon::before, .ek-acc__icon::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; border-radius: 2px;
    background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ek-ease);
}
.ek-acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ek-acc__btn:hover .ek-acc__icon { border-color: var(--ek-maroon); color: var(--ek-maroon); }
.ek-acc__btn[aria-expanded="true"] .ek-acc__icon { background: var(--ek-maroon); border-color: var(--ek-maroon); color: var(--ek-on-dark); }
.ek-acc__btn[aria-expanded="true"] .ek-acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.ek-acc__body { padding: 0 52px 24px 2px; font-size: 15px; line-height: 1.7; color: var(--ek-ink); }
.ek-acc__body > :last-child { margin-bottom: 0; }
.ek-acc__body p { margin: 0 0 10px; }
.ek-acc__body ul, .ek-acc__body ol { margin: 0 0 12px; padding-left: 1.25em; }
.ek-acc__body li { margin: 5px 0; padding-left: .2em; }
.ek-acc__body li::marker { color: var(--ek-maroon); }
.ek-acc__body a { color: var(--ek-maroon); text-decoration: underline; text-underline-offset: 3px; }
.ek-acc__body a:hover { color: var(--ek-brown); }
.ek-acc__note { font-style: italic; color: var(--ek-ink-soft); }
.ek-acc__more { margin-top: 14px !important; }
.ek-acc__more a { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ek-acc__num + .ek-acc__q { margin-left: 0; }
mark.ek-hl {
    padding: 0; border-radius: 2px; color: inherit;
    background: rgba(209, 164, 120, .45); box-shadow: 0 0 0 2px rgba(209, 164, 120, .45);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* "Still have questions?" */
.ek-ask {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px clamp(20px, 3vw, 36px);
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(22px, 3vw, 30px) clamp(20px, 3.4vw, 40px);
    background: var(--ek-sand);
    border-radius: var(--ek-radius);
}
.ek-ask__art { width: 86px; transform: rotate(-7deg); transition: transform .5s var(--ek-ease); filter: drop-shadow(0 8px 14px rgba(51, 34, 25, .18)); }
.ek-ask__art img { display: block; width: 100%; height: auto; border-radius: 4px; }
.ek-ask:hover .ek-ask__art { transform: rotate(-2deg) translateY(-4px); }
.ek-ask__title { margin: 0 0 4px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; color: var(--ek-maroon); line-height: 1.25; }
.ek-ask__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ek-ink); }
.ek-ask__text a { color: var(--ek-maroon); word-break: break-word; }
.ek-ask__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- legal pages ---------- */
.ek-legal {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}
.ek-legal__aside { position: sticky; top: calc(var(--ek-header-h) + 28px); }
.ek-toc > summary {
    list-style: none; cursor: pointer;
    margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ek-ink-soft);
}
.ek-toc > summary::-webkit-details-marker { display: none; }
.ek-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ek-line); }
.ek-toc a {
    display: block; margin-left: -1px; padding: 8px 0 8px 16px; border-left: 2px solid transparent;
    color: var(--ek-ink-soft); text-decoration: none; font-size: 13.5px; line-height: 1.4; transition: color .2s, border-color .2s;
}
.ek-toc a:hover { color: var(--ek-maroon); }
.ek-toc a.is-active { color: var(--ek-maroon); border-left-color: var(--ek-maroon); font-weight: 700; }
.ek-legal__related { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--ek-line); display: grid; gap: 4px; }
.ek-legal__related a { color: var(--ek-ink); font-size: 13.5px; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.ek-legal__related a:hover { color: var(--ek-maroon); text-decoration: underline; text-underline-offset: 3px; }

.ek-legal__doc { min-width: 0; max-width: 780px; }
.ek-legal__head { margin: 0 0 clamp(22px, 3vw, 32px); }
.ek-legal__head .ek-h1 { margin-bottom: 8px; }
.ek-legal__meta { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ek-ink-soft); }
.ek-legal__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.ek-legal__tools .ek-btn { min-height: 44px; }
.ek-legal__tools p { margin: 0; font-size: 13.5px; color: var(--ek-ink-soft); }
.ek-legal__intro { padding: clamp(20px, 3vw, 28px); margin: 0 0 clamp(22px, 3vw, 30px); background: var(--ek-paper); border: 1px solid var(--ek-line); border-radius: var(--ek-radius); }
.ek-legal__intro h2 { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--ek-maroon); line-height: 1.35; }
.ek-legal__text { font-size: 15px; line-height: 1.75; color: var(--ek-ink); }
.ek-legal__text > :last-child { margin-bottom: 0; }
.ek-legal__text p { margin: 0 0 12px; }
.ek-legal__text ul { list-style: none; margin: 0 0 12px; padding: 0; }
.ek-legal__text ul > li { position: relative; margin: 6px 0; padding-left: 22px; }
.ek-legal__text ul > li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 10px; height: 1px; background: var(--ek-maroon); }
.ek-legal__text a { color: var(--ek-maroon); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.ek-legal__text strong { color: var(--ek-ink); }
.ek-callout {
    margin: 14px 0; padding: 14px 18px; border-radius: var(--ek-radius-sm);
    background: var(--ek-sand); border-left: 2px solid var(--ek-maroon);
    font-size: 14.5px; line-height: 1.65; color: var(--ek-ink);
}
.ek-legal__text ul > li.ek-callout { padding-left: 18px; }
.ek-legal__text ul > li.ek-callout::before { display: none; }
.ek-legal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 14px; }
.ek-legal__panel { padding: 16px 18px; border-radius: var(--ek-radius-sm); background: var(--ek-sand); }
.ek-legal__panel h3 { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ek-maroon); }
.ek-legal__panel p, .ek-legal__panel li { font-size: 14px; }
.ek-legal__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 14px; }
.ek-legal__stat { padding: 18px 20px; border-radius: var(--ek-radius-sm); background: var(--ek-sand); }
.ek-legal__stat > strong { display: block; font-size: 30px; line-height: 1.1; color: var(--ek-maroon); font-variant-numeric: tabular-nums; }
.ek-legal__stat > span { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-ink); }
.ek-legal__stat p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }

/* privacy: open sections */
.ek-legal__section { padding: clamp(22px, 3vw, 30px) 0; border-top: 1px solid rgba(79, 48, 23, .22); scroll-margin-top: calc(var(--ek-header-h) + 16px); }
.ek-legal__section:first-of-type { border-top: 0; padding-top: 0; }
.ek-legal__section h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-size: clamp(17px, 1.4vw, 19px); font-weight: 700; color: var(--ek-ink); line-height: 1.35; }
.ek-legal__section h2 .ek-acc__num { flex: 0 0 auto; }
.ek-legal__mail {
    display: inline-flex; align-items: center; gap: 14px; margin-top: 6px; padding: 12px 20px 12px 12px;
    border-radius: 999px; border: 1px solid rgba(112, 28, 28, .3); color: var(--ek-ink) !important; text-decoration: none !important;
    transition: background-color .25s, color .25s, border-color .25s;
}
.ek-legal__mail-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ek-maroon); color: var(--ek-on-dark); transition: background-color .25s; }
.ek-legal__mail small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ek-ink-soft); }
.ek-legal__mail strong { font-size: 15px; word-break: break-all; }
.ek-legal__mail:hover { background: var(--ek-maroon); border-color: var(--ek-maroon); color: var(--ek-on-dark) !important; }
.ek-legal__mail:hover small { color: var(--ek-on-dark); }
.ek-legal__mail:hover .ek-legal__mail-icon { background: var(--ek-brown); }
.ek-legal__foot { margin: clamp(28px, 4vw, 40px) 0 0; padding-top: 18px; border-top: 1px solid var(--ek-line); font-size: 13px; color: var(--ek-ink-soft); }

/* terms: accordion sections */
.ek-legal .ek-acc__btn { min-height: 64px; }
.ek-legal .ek-acc__body { padding-right: 8px; padding-left: calc(2.4em * .82 + 2px); }

/* policy hero title (P1: script line, then STATEMENT clearly below it) */
.ek-ihero--policy .ek-ihero__inner { align-items: center; }
.ek-ihero--policy .ek-stage { aspect-ratio: 16 / 9; }
.ek-ihero--policy .ek-ihero__inner { padding-bottom: clamp(24px, 3vw, 40px); }
.ek-ptitle { position: relative; display: flex; align-items: flex-start; gap: clamp(8px, 1.4vw, 18px); }
.ek-ptitle__flowers { flex: 0 0 auto; width: clamp(46px, 5.4vw, 76px); margin-top: -.2em; }
.ek-ptitle__flowers img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgba(30, 8, 8, .3)); animation: ek-float 8s ease-in-out infinite; }
.ek-ptitle .ek-display .italic-text { font-size: clamp(36px, 4vw, 58px); line-height: 1.05; }
.ek-ptitle .ek-display .bold-text { font-size: clamp(40px, 5vw, 74px); margin-top: .1em; }
.ek-ptitle--long .ek-display .italic-text { font-size: clamp(34px, 3.5vw, 52px); }
.ek-ptitle--long .ek-display .bold-text { margin-top: .16em; }

/* ---------- thank you ---------- */
.ek-ty {
    max-width: 760px;
    margin: 0 auto;
    background: var(--ek-paper);
    border: 1px solid var(--ek-line);
    border-radius: var(--ek-radius);
    box-shadow: var(--ek-shadow-sm);
    padding: clamp(22px, 4vw, 44px);
}
.ek-ty__ref { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-bottom: 20px; border-bottom: 1px solid var(--ek-line); }
.ek-ty__ref span { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ek-ink-soft); }
.ek-ty__ref strong { font-size: clamp(18px, 2vw, 22px); color: var(--ek-maroon); letter-spacing: .04em; word-break: break-all; }
.ek-ty__items { list-style: none; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--ek-line); }
.ek-ty__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; }
.ek-ty__item + .ek-ty__item { border-top: 1px solid var(--ek-line); }
.ek-ty__thumb { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--ek-sand); }
.ek-ty__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ek-ty__name { margin: 0; font-size: 15px; font-weight: 700; color: var(--ek-ink); }
.ek-ty__meta { margin: 4px 0 0; font-size: 13.5px; color: var(--ek-ink-soft); }
.ek-ty__next { padding-top: 22px; }
.ek-ty__next h2 { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ek-maroon); }
.ek-ty__next ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 15px; line-height: 1.6; }
.ek-ty__next li::marker { color: var(--ek-maroon); font-weight: 700; }
.ek-ty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- 404 ---------- */
.ek-ihero--full .ek-ihero__inner { min-height: min(56vh, 520px); align-items: center; }
.ek-404__code { display: block; margin: 0 0 22px; color: var(--ek-nude); font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .ek-faq-layout, .ek-legal { grid-template-columns: minmax(0, 1fr); }
    .ek-ihero--full .ek-ihero__inner { min-height: 0; }
    .ek-faq-aside { display: none; }
    .ek-faq-chips {
        display: flex; gap: 8px; margin: 0 calc(-1 * clamp(16px, 3.4vw, 40px)) 16px 0; padding: 2px clamp(16px, 3.4vw, 40px) 4px 0; overflow-x: auto; scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .ek-faq-chips::-webkit-scrollbar { display: none; }
    .ek-faq-chips .ek-chip { flex: 0 0 auto; min-height: 44px; }
    .ek-legal__aside { position: static; border: 1px solid var(--ek-line); border-radius: var(--ek-radius-sm); background: var(--ek-paper); padding: 0 16px; }
    .ek-toc > summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin: 0; color: var(--ek-ink); }
    .ek-toc > summary::after { content: "+"; font-size: 20px; font-weight: 400; letter-spacing: 0; color: var(--ek-maroon); }
    .ek-toc[open] > summary::after { content: "–"; }
    .ek-toc ol { margin-bottom: 14px; }
    .ek-toc a { padding-top: 12px; padding-bottom: 12px; }
    .ek-legal__related { display: none; }
    .ek-steps--detailed { --size: 72px; grid-template-columns: 1fr; max-width: 560px; gap: 26px; }
    .ek-steps--detailed::before { top: 36px; bottom: 36px; left: 36px; right: auto; border-top: 0; border-left: 1px dashed rgba(112, 28, 28, .32); }
    .ek-steps--detailed .ek-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 22px; }
    .ek-steps--detailed .ek-step__body { justify-items: start; padding-top: 8px; }
    .ek-steps--detailed .ek-step__title, .ek-steps--detailed .ek-step__text { max-width: none; }
    .ek-steps--detailed .ek-step__title { min-height: 0; display: block; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .ek-ihero__inner { padding-top: 30px; } /* clear the fixed header before the collage starts */
    .ek-layer--caption { --l: 0%; --t: 74%; }
    .ek-layer__caption { font-size: 19px; } /* stays clear of the notebook in the narrow column */
}
@media (max-width: 767.98px) {
    /* compact phone hero: a smaller collage (same 16:11 proportions as desktop so the layers keep
       their composition) with clear space under the fixed header, then the title and one button.
       The secondary text links are repeated just below the hero, so they are dropped here. */
    .ek-ihero__inner { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 24px; padding-bottom: 26px; }
    .ek-ihero .ek-stage { order: -1; width: min(100%, 300px); margin: 0 auto; aspect-ratio: 16 / 11; }
    .ek-ihero--policy .ek-stage { width: min(100%, 360px); aspect-ratio: 16 / 8.6; }
    .ek-ihero:not(.ek-ihero--policy) .ek-stage { margin-bottom: -10px; } /* the lowest layers end in transparent margin */
    .ek-ihero--full .ek-stage { width: min(100%, 280px); }
    .ek-404__code { margin-bottom: 14px; }
    .ek-ihero__actions { margin-top: 18px; }
    .ek-ihero__link--more, .ek-ihero__actions--more { display: none; }
    .ek-ihero__lead { font-size: 15px; margin-top: 14px; }
    .ek-ihero .ek-display .italic-text { font-size: min(40px, 10vw); }
    .ek-ihero .ek-display .bold-text { font-size: min(44px, 11vw); }
    .ek-page--howtorent .ek-ihero .ek-display .bold-text { font-size: min(44px, 9.6vw); } /* "How To Rent" on one line */
    .ek-ptitle { gap: 8px; }
    .ek-ptitle__flowers { width: clamp(34px, 11vw, 46px); }
    .ek-ptitle .ek-display .italic-text { font-size: min(36px, 8.8vw); }
    .ek-ptitle .ek-display .bold-text { font-size: min(40px, 9.4vw); }
    .ek-layer--caption { --l: 0%; --t: 74%; --w: 42%; }
    .ek-layer__caption { font-size: clamp(17px, 5.2vw, 22px); }
    .ek-ask { grid-template-columns: minmax(0, 1fr); text-align: left; }
    .ek-ask__art { display: none; }
    .ek-ask__actions { justify-content: flex-start; }
    .ek-legal__grid, .ek-legal__split { grid-template-columns: minmax(0, 1fr); }
    .ek-acc__body { padding-right: 6px; }
    .ek-legal .ek-acc__body { padding-left: 2px; }
}
@media (max-width: 639.98px) {
    .ek-steps { --size: 64px; grid-template-columns: 1fr; max-width: 420px; gap: 20px; }
    .ek-steps::before { top: 32px; bottom: 32px; left: 32px; right: auto; border-top: 0; border-left: 1px dashed rgba(112, 28, 28, .32); }
    .ek-step { flex-direction: row; align-items: center; text-align: left; gap: 20px; }
    .ek-step__icon { box-shadow: 0 0 0 7px var(--ek-cream), 0 10px 20px rgba(112, 28, 28, .18); }
    .ek-step__num { min-width: 24px; height: 24px; font-size: 10px; right: -8px; }
    .ek-step__body { justify-items: start; }
    .ek-step__title { max-width: none; font-size: 15.5px; }
    .ek-steps--detailed .ek-step { align-items: flex-start; }
    .ek-steps--detailed .ek-step__body { padding-top: 2px; }
    .ek-steps-cta .ek-btn { width: 100%; max-width: 420px; }
    .ek-acc__btn { gap: 14px; }
    .ek-ty__actions .ek-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ek-layer__float, .ek-ptitle__flowers img { animation: none !important; }
    .ek-layer:hover .ek-layer__img, .ek-step:hover .ek-step__icon { transform: none; }
}
@media print {
    .ek-ihero .ek-stage, .ek-legal__aside, .ek-legal__tools, .ek-acc__icon { display: none !important; }
    .ek-legal, .ek-faq-layout { grid-template-columns: 1fr; }
    .ek-acc .collapse { display: block !important; height: auto !important; }
    .ek-ihero { background: none; color: var(--ek-ink); padding-top: 0; }
}

/* larger hero collages on How to Rent / Become a Vendor / FAQ (client feedback 22 Oct) */
@media (min-width: 992px) {
    .ek-ihero:not(.ek-ihero--policy) .ek-ihero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
    .ek-ihero:not(.ek-ihero--policy) .ek-stage { width: min(100%, 760px); }
}
@media (max-width: 991.98px) {
    .ek-ihero:not(.ek-ihero--policy) .ek-stage { width: min(100%, 400px); }
}
