/* eleira.net — one stylesheet for every page (Oct 2026).
   Navy + rose, like Eleira Studio. Phone first. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #1A1040; --navy2: #2D1B69; --rose: #A84863; --rose-soft: #F2C9D5; --rose-xl: #FBEFF3;
  --bg: #FAF8FC; --surface: #FFFFFF; --surface2: #F3EFF8; --border: #E8E1F0;
  --text: #1A1040; --text2: #5C5070; --text3: #7A6E8C; --sage: #4A8B6B;
  --serif: 'DM Serif Display', Georgia, serif; --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(30px, 6vw, 46px); margin: 0 0 14px; }
h2 { font-size: clamp(24px, 4.4vw, 32px); margin: 0 0 12px; }
h3 { font-size: 21px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text2); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand .mark { width: 36px; height: 36px; border-radius: 11px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand .wm { font-family: var(--serif); font-size: 22px; line-height: 1; }
.nav { display: flex; gap: 2px; flex-wrap: nowrap; justify-content: flex-end; }
.nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--surface2); }
.nav a[aria-current="page"] { color: var(--rose); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav a { padding: 0 8px; font-size: 14px; } }
@media (max-width: 400px) { .brand .wm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn:hover { filter: brightness(1.06); }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 60%, #3B2280 100%); color: #fff; padding: 52px 0 64px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 18px; color: #E4DCF2; max-width: 640px; }
.hero .kicker { color: var(--rose-soft); font-weight: 700; letter-spacing: .08em; font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* sections and cards */
section.block { padding: 48px 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.card .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.lift { margin-top: -40px; position: relative; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon.rose { background: var(--rose-xl); } .icon.navy { background: var(--surface2); }
ul.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
ul.ticks li { padding-left: 26px; position: relative; margin: 6px 0; }
ul.ticks li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* find a decorator form */
.find { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; }
.find label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text2); }
select, input[type=text] { min-height: 48px; border-radius: 12px; border: 1px solid var(--border); background: #fff; padding: 0 12px; font-family: var(--sans); font-size: 15px; color: var(--text); width: 100%; }

/* decorator cards */
.dcard { display: flex; gap: 14px; text-decoration: none; color: inherit; align-items: flex-start; }
.dcard:hover h3 { color: var(--rose); }
.avatar { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--surface2); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; background: var(--surface2); color: var(--text2); border-radius: 999px; padding: 3px 10px; }
.price { font-weight: 700; color: var(--sage); font-size: 14px; }

/* profile */
.cover { height: 220px; background: var(--navy) center/cover no-repeat; }
@media (min-width: 720px) { .cover { height: 300px; } }
.phead { display: flex; gap: 16px; align-items: flex-end; margin-top: -48px; }
.phead .avatar { width: 104px; height: 104px; border-radius: 24px; border: 4px solid #fff; box-shadow: 0 6px 24px rgba(26,16,64,.15); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; } .gallery img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; width: 100%; }
.gallery figcaption { font-size: 13px; color: var(--text2); margin-top: 4px; }
.notice { background: var(--rose-xl); border-radius: 12px; padding: 12px 14px; }

/* article */
article.post { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px 20px; }
@media (min-width: 720px) { article.post { padding: 40px 48px; } }
article.post h2 { margin-top: 34px; }
article.post h3 { margin-top: 22px; font-size: 20px; }
article.post figure { margin: 22px 0; }
article.post figure img { border-radius: 14px; }
article.post figcaption { font-size: 14px; color: var(--text2); margin-top: 8px; }
article.post ol, article.post ul { padding-left: 22px; }
article.post li { margin: 6px 0; }
.summary { background: var(--surface2); border-left: 4px solid var(--rose); border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 0 0 22px; }
.author { display: flex; gap: 14px; align-items: center; background: var(--surface2); border-radius: 16px; padding: 16px; margin-top: 32px; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.cta-box { background: var(--navy); color: #fff; border-radius: 18px; padding: 22px; margin: 28px 0; }
.cta-box h3 { color: #fff; } .cta-box p { color: #E4DCF2; }
.crumbs { font-size: 14px; color: var(--text3); margin: 20px 0 14px; }
.crumbs a { color: var(--text2); }
.palette { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.palette li { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0 !important; }
.palette span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); display: inline-block; }

/* faq */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; min-height: 52px; display: flex; align-items: center; }
details p { color: var(--text2); }

footer.foot { background: var(--navy); color: #CFC6E2; padding: 36px 0; margin-top: 40px; font-size: 14px; }
footer.foot a { color: #fff; }
footer.foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
footer.foot h4 { font-family: var(--sans); color: #fff; margin: 0 0 8px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
footer.foot ul { list-style: none; padding: 0; margin: 0; } footer.foot li { margin: 6px 0; }

/* directory banner with a real decoration photo behind a navy shade */
.hero-photo { position: relative; background:
  linear-gradient(180deg, rgba(26,16,64,.80) 0%, rgba(26,16,64,.66) 60%, rgba(26,16,64,.50) 100%),
  var(--hero-s) center 30% / cover no-repeat, var(--navy); }
@media (min-width: 761px) { .hero-photo { background:
  linear-gradient(100deg, rgba(26,16,64,.92) 0%, rgba(26,16,64,.74) 42%, rgba(45,27,105,.18) 100%),
  var(--hero-l) center 30% / cover no-repeat, var(--navy); } }
.hero-photo h1, .hero-photo .lead, .hero-photo .crumbs { text-shadow: 0 1px 14px rgba(26,16,64,.75); }
/* later: a strip of the decorators' own work — one row */
.hero-strip { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hero-strip li:nth-child(n+5) { display: none; }
@media (min-width: 761px) { .hero-strip { grid-template-columns: repeat(8, 1fr); } .hero-strip li:nth-child(n+5) { display: block; } }
.hero-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; border: 2px solid rgba(255,255,255,.25); }
.hero-strip a:hover img { border-color: var(--rose-soft); }
