/* ==========================================================================
   Decor Loom — Timeless Luxury Home Decor Journal
   Theme: deep navy · onyx slate · antique gold · frosted glass
   Built for readability (audience 45–65+)
   ========================================================================== */

:root {
  --navy: #171E2B;          /* header / deep bands */
  --navy-2: #1B2332;
  --slate: #242A2F;         /* page background */
  --slate-2: #2A3137;       /* raised panels */
  --slate-3: #323A41;       /* borders on panels / inputs */
  --text: #F2EFEA;          /* headings */
  --body: #C9CED3;          /* body copy */
  --muted: #9AA2AA;
  --gold: #C2A46D;
  --gold-hi: #D9C08A;
  --gold-lo: #9C824F;
  --gold-grad: linear-gradient(135deg, #D2B880 0%, #B39660 48%, #977C4B 100%);
  --line: rgba(242, 239, 234, .1);
  --line-2: rgba(242, 239, 234, .16);
  --ok: #8CC7A1;
  --err: #F0A3A3;

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --r: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}

html { font-size: 100%; scroll-behavior: smooth; background: var(--slate); }   /* 16px — normal size */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.7; color: var(--body); background: var(--slate); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--text); line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1.15em; }
i.b, em.b { font-style: italic; font-weight: 600; color: var(--gold-hi); }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 999; background: var(--gold); color: var(--navy); padding: .8rem 1.2rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.sec--s { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.on-dark { background: var(--navy); }
.on-paper { background: var(--slate-2); }

.label { display: flex; align-items: center; gap: .8rem; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.label b { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; font-weight: 600; font-style: italic; color: var(--gold-hi); }
.label::after { content: ""; flex: 0 0 44px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: 1.08rem; max-width: 40em; color: var(--body); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .label { justify-content: center; }

/* Buttons — exact theme: gold gradient fill + gold outline */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; padding: .75rem 1.6rem;
  border-radius: var(--r); border: 1.5px solid transparent; background: var(--gold-grad); color: #1A1A17;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -14px rgba(194, 164, 109, .7);
  transition: transform .3s var(--ease), filter .3s, background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--brass { }
.btn--line, .btn--ghost-light { background: transparent; color: var(--gold-hi); border-color: var(--gold); box-shadow: none; }
.btn--line:hover, .btn--ghost-light:hover { background: rgba(194, 164, 109, .12); filter: none; }
.btn svg { width: 20px; height: 20px; }
.more { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--gold-hi); white-space: nowrap; border-bottom: 1px solid rgba(194, 164, 109, .5); padding-bottom: 2px; }
.more svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(5px); }

/* ---------- Header (deep navy, logo left, nav right) ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(23, 30, 43, .97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo__mark { width: 52px; height: 52px; flex: none; }
.logo__name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--gold); line-height: .95; display: block; }
.logo__name i { font-style: normal; display: block; padding-left: .9rem; }
.logo__tag { display: none; }
.hdr__right { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.menu { display: flex; align-items: center; gap: clamp(1.2rem, 2.8vw, 2.8rem); }
.menu a { text-decoration: none; font-weight: 400; font-size: 1rem; color: #E7E4DE; padding: .4rem 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--gold-hi); }
.hdr__cta { display: flex; gap: .5rem; align-items: center; }
.ibtn { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 50px; border-radius: var(--r); border: 1px solid var(--line-2); background: none; color: #E7E4DE; cursor: pointer; text-decoration: none; }
.ibtn:hover { border-color: var(--gold); color: var(--gold-hi); }
.ibtn svg { width: 22px; height: 22px; }
.burger { display: none; }

.drawer-nav { position: fixed; inset: 0; z-index: 90; background: var(--navy); padding: 1.5rem; display: flex; flex-direction: column; transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; }
.drawer-nav.open { transform: none; visibility: visible; }
.drawer-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.drawer-nav nav a { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--text); text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.drawer-nav nav a::after { content: "→"; font-family: var(--sans); font-size: 1.2rem; color: var(--gold); }
.drawer-nav p { margin-top: auto; color: var(--muted); }
.drawer-nav p a { color: var(--gold-hi); }

.search { position: fixed; inset: 0; z-index: 95; background: rgba(23, 30, 43, .97); display: grid; align-content: start; padding: 12vh 1.25rem 2rem; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.search.open { visibility: visible; opacity: 1; }
.search__box { width: min(100%, 820px); margin-inline: auto; }
.search label { color: var(--gold); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.search input { width: 100%; background: none; border: 0; border-bottom: 2px solid var(--gold); color: var(--text); font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem); padding: .6rem 0; margin-top: .6rem; }
.search input:focus { outline: none; }
.search__results { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.search__results a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 1.15rem; }
.search__results a small { display: block; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.search__results a:hover { color: var(--gold-hi); }
.search .ibtn { position: absolute; top: 1.5rem; right: 1.5rem; }

/* ---------- Hero (exact theme: square photo left, serif headline right, glass shapes) ---------- */
.hero { position: relative; background: var(--slate); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .03); }
.hero__rules { display: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4.5rem, 8vw, 7rem); }
.hero__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; box-shadow: var(--shadow); background: var(--navy); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.12; margin-bottom: .55em; }
.hero h1 i { font-style: normal; }
.hero .lead { font-size: 1.05rem; max-width: 30em; color: #D4D7DA; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }
.hero__meta { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__meta div { font-size: .92rem; color: var(--muted); }
.hero__meta b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.hero__caption { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(23, 30, 43, .72); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); color: var(--text); padding: .9rem 1.1rem; text-decoration: none; display: block; }
.hero__caption small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); font-weight: 600; }
.hero__caption b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.3; display: block; margin-top: .15rem; }
.hero__caption:hover b { text-decoration: underline; text-decoration-color: var(--gold); }
.hero__word { display: none; }

/* Frosted glass petals (bottom-right, as in the theme) */
.glass { position: absolute; right: -40px; bottom: -120px; width: 420px; height: 380px; z-index: 1; pointer-events: none; }
.glass span { position: absolute; border-radius: 48% 52% 46% 54% / 58% 50% 50% 42%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .42), rgba(190, 198, 205, .16) 45%, rgba(120, 128, 136, .1));
  border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 18px rgba(255, 255, 255, .18), 0 30px 60px -20px rgba(0, 0, 0, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass span:nth-child(1) { width: 250px; height: 270px; right: 40px; bottom: 40px; transform: rotate(-18deg); }
.glass span:nth-child(2) { width: 230px; height: 250px; right: -20px; bottom: 90px; transform: rotate(22deg); opacity: .9; }
.glass span:nth-child(3) { width: 200px; height: 220px; right: 150px; bottom: -10px; transform: rotate(-48deg); opacity: .8; }
.phead .glass, .a-head .glass { width: 340px; height: 300px; right: -80px; bottom: -120px; opacity: .65; }

/* ---------- Rooms index ---------- */
.rooms { border-top: 1px solid var(--line); }
.room-row { display: grid; grid-template-columns: 5rem 1fr auto 3rem; align-items: center; gap: 1.5rem; padding: 1.4rem .6rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .35s var(--ease), padding .35s var(--ease); border-radius: var(--r); }
.room-row:hover { background: var(--slate-2); padding-left: 1.4rem; }
.room-row b { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--gold); font-size: 1.3rem; }
.room-row h3 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 700; }
.room-row span { color: var(--muted); }
.room-row svg { width: 26px; height: 26px; color: var(--gold); transition: transform .35s var(--ease); }
.room-row:hover svg { transform: translateX(6px); }

/* Room tiles with photos */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); text-decoration: none; background: var(--navy); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 30, 43, 0) 40%, rgba(23, 30, 43, .92)); }
.tile:hover img { transform: scale(1.05); }
.tile div { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 2; }
.tile h3 { margin: 0; font-size: 1.45rem; }
.tile span { color: var(--gold-hi); font-size: .92rem; }

/* ---------- Featured story ---------- */
.feature { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--slate-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; }
.feature__img { overflow: hidden; min-height: 380px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.03); }
.feature__body { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.feature__body h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.feature__body .more { align-self: flex-start; }
.feature:hover h2 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* ---------- Post cards ---------- */
.tag { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .9rem; }
.meta span + span::before { content: "·"; margin-right: 1rem; color: var(--gold); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; }
.post { display: flex; flex-direction: column; }
.post__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); margin-bottom: 1.2rem; border-radius: var(--r); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post h3 { margin: .45rem 0 .55rem; font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--gold-hi); }
.post p { margin-bottom: .9rem; }
.post .meta { margin-top: auto; }
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem 2rem; }
.editorial .post:nth-child(1) { grid-column: span 7; }
.editorial .post:nth-child(2) { grid-column: span 5; padding-top: 5rem; }
.editorial .post:nth-child(3) { grid-column: span 4; }
.editorial .post:nth-child(4) { grid-column: span 4; padding-top: 3rem; }
.editorial .post:nth-child(5) { grid-column: span 4; }
.editorial .post:nth-child(1) h3 { font-size: 2rem; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.head-row h2 { margin: 0; max-width: 18ch; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.principle { padding: 2rem 1.6rem; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, transform .3s var(--ease); }
.principle:hover { border-color: rgba(194, 164, 109, .55); transform: translateY(-4px); }
.principle b { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; font-style: italic; color: var(--gold); line-height: 1; display: block; margin-bottom: 1.1rem; }
.principle h3 { font-size: 1.4rem; }
.principle p { margin: 0; }

/* ---------- Quote ---------- */
.quote { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.25; color: var(--text); max-width: 22ch; margin: 0 auto; text-align: center; }
.quote i { color: var(--gold-hi); }
.quote-mark { font-family: var(--serif); font-size: 6rem; line-height: .5; color: var(--gold); display: block; text-align: center; margin-bottom: 1.5rem; }

/* ---------- Newsletter ---------- */
.letter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4.5rem); border-radius: var(--r); position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1B2332, #232B36); border: 1px solid rgba(194, 164, 109, .4); }
.letter::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 164, 109, .18), transparent 70%); pointer-events: none; }
.inline-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
.note { font-size: .9rem; color: var(--muted); margin: .8rem 0 0; }
.note a { color: var(--gold-hi); }

/* ---------- Forms ---------- */
label { display: block; font-weight: 500; margin-bottom: .45rem; color: var(--text); }
input[type=text], input[type=email], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: .85rem 1.1rem; background: #1D232A; color: var(--text); border: 1.5px solid var(--slate-3); border-radius: var(--r); font-size: 1rem; }
input::placeholder, textarea::placeholder { color: #8A929A; }
textarea { min-height: 180px; resize: vertical; }
select option { background: var(--slate); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(194, 164, 109, .2); }
.field { margin-bottom: 1.3rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.err { display: none; color: var(--err); font-size: .92rem; margin: .35rem 0 0; }
.field.bad input, .field.bad textarea { border-color: var(--err); }
.field.bad .err { display: block; }
.chk { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; color: var(--body); }
.chk input { width: 22px; height: 22px; margin-top: .3rem; flex: none; accent-color: var(--gold); }
.chk a, .f-card a { color: var(--gold-hi); }
.ok { display: none; margin-top: 1rem; padding: 1rem 1.2rem; background: rgba(140, 199, 161, .1); color: var(--ok); border: 1px solid rgba(140, 199, 161, .35); border-radius: var(--r); }
.ok.show { display: block; }
.ok a { color: var(--ok); }

/* ---------- Page head ---------- */
.phead { background: var(--navy); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.phead .wrap { position: relative; z-index: 2; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.phead h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); max-width: 18ch; }
.phead h1 i { font-style: normal; color: var(--gold-hi); }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1.3rem; }
.crumbs a { color: #D9D6D0; }
.crumbs [aria-current] { color: var(--gold-hi); }

/* ---------- Journal ---------- */
.filterbar { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding-bottom: 1.6rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 48px; padding: .5rem 1.15rem; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--slate-2); color: var(--text); cursor: pointer; font-weight: 500; font-size: .95rem; transition: all .25s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold-grad); color: #1A1A17; border-color: var(--gold); }
.blog-search { position: relative; flex: 0 1 340px; }
.blog-search input { padding-left: 3rem; }
.blog-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- Article ---------- */
.progress { position: fixed; left: 0; top: 0; height: 4px; background: var(--gold-grad); width: 0; z-index: 100; }
.a-head { background: var(--navy); position: relative; overflow: hidden; }
.a-head .wrap { position: relative; z-index: 2; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(5rem, 9vw, 7rem); max-width: 960px; text-align: center; }
.a-head h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: .8rem auto .5em; max-width: 20ch; }
.a-head .dek { font-size: 1.08rem; color: #D4D7DA; max-width: 36em; margin: 0 auto 1.6rem; }
.a-head .meta { justify-content: center; }
.a-hero { width: min(100% - 2.5rem, 1000px); margin: clamp(-6rem, -7vw, -3.5rem) auto 0; position: relative; z-index: 3; }
.a-hero img { width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: 520px; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.a-hero figcaption { font-size: .86rem; color: var(--muted); margin-top: .8rem; text-align: right; }
.a-hero figcaption a { color: var(--muted); }
.a-layout > *, .legal > * { min-width: 0; }
.a-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 4rem; justify-content: center; padding: clamp(3rem, 6vw, 5rem) 0; }
.a-side { position: sticky; top: 120px; align-self: start; }
.a-side h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .9rem; }
.toc { list-style: none; margin: 0 0 2rem; padding: 0; border-left: 1px solid var(--line-2); counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: block; padding: .45rem 0 .45rem 1.1rem; text-decoration: none; color: var(--body); font-size: .95rem; line-height: 1.45; border-left: 2px solid transparent; margin-left: -1px; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; color: var(--gold); font-weight: 600; font-size: .8rem; }
.toc a:hover, .toc a.active { color: var(--text); border-left-color: var(--gold); }
.tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.tools a, .tools button { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 .8rem; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--slate-2); color: var(--text); cursor: pointer; text-decoration: none; font-size: .88rem; font-weight: 500; }
.tools a:hover, .tools button:hover { border-color: var(--gold); }
.tools svg { width: 20px; height: 20px; }

.prose { font-size: 1.0625rem; color: var(--body); }
.prose > p:first-of-type::first-letter { font-family: var(--serif); font-weight: 700; float: left; font-size: 4.4em; line-height: .82; padding: .08em .12em 0 0; color: var(--gold); }
.prose h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin: 2.2em 0 .6em; scroll-margin-top: 120px; }
.prose h3 { font-size: 1.4rem; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-hi); }
.prose strong { color: var(--text); }
.takeaways { background: var(--slate-2); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: 1.6rem 1.8rem; margin: 0 0 2.5rem; }
.takeaways h2 { font-family: var(--sans); font-size: .82rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem !important; font-weight: 600; }
.takeaways ul { margin: 0; }
.tip { margin: 2rem 0; padding: 1.4rem 1.6rem 1.4rem 4.6rem; background: var(--navy); border: 1px solid rgba(194, 164, 109, .35); border-radius: var(--r); position: relative; }
.tip::before { content: "✦"; position: absolute; left: 1.6rem; top: 1.25rem; font-size: 1.5rem; color: var(--gold); }
.tip strong { color: var(--gold-hi); display: block; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: .2rem; }
.tip p { margin: 0; }
.pull { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.3; color: var(--text); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 1.5rem 0; margin: 2.5rem 0; font-style: italic; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 2.2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border: 1.5px solid var(--gold); border-radius: 3px; }
.checklist li::after { content: ""; position: absolute; left: .4rem; top: .5em; width: .4rem; height: .7rem; border: solid var(--gold-hi); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.table-wrap { overflow-x: auto; margin: 1.8rem 0; border: 1px solid var(--line-2); border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--navy); color: var(--gold-hi); font-weight: 600; }
.prose tbody tr:last-child td { border-bottom: 0; }
.author { display: grid; grid-template-columns: 76px 1fr; gap: 1.3rem; padding: 1.8rem 0; margin-top: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author__mark { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; border: 1px solid rgba(194, 164, 109, .4); }
.author__mark svg { width: 46px; height: 46px; }
.author h2 { font-size: 1.3rem !important; margin: 0 0 .3rem !important; }
.author p { margin: 0; font-size: 1rem; }
.updated { font-size: .92rem; color: var(--muted); margin-top: 1.2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: var(--r); font-family: var(--sans); font-size: 1.4rem; color: var(--gold-hi); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding-bottom: 1.3rem; max-width: 46em; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.photo { overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--sq { aspect-ratio: 1 / 1; }
.photo--tall { aspect-ratio: 4 / 5; }
.duo { position: relative; padding: 0 3rem 3rem 0; }
.duo .photo:nth-child(2) { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1; border: 6px solid var(--slate); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 2rem; }
.stats div { padding: 1.4rem 1rem 1.4rem 0; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.stats b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .92rem; }
.standards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.standards li { padding: 1.4rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3rem 1fr; gap: .8rem; }
.standards b { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.5rem; font-weight: 600; }
.standards h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.standards p { margin: 0; }
.standards a { color: var(--gold-hi); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.c-card { background: var(--navy); border: 1px solid rgba(194, 164, 109, .35); border-radius: var(--r); padding: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.c-card a { color: var(--gold-hi); }
.c-card .photo { margin: -3rem -3rem 2rem; border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.c-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.c-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.c-list small { display: block; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.f-card { background: var(--slate-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 4vw, 3rem); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 4rem; justify-content: center; }
.legal .a-side ol { padding-left: 1.2rem; margin: 0; }
.legal .a-side li { padding: .28rem 0; }
.legal .a-side li::marker { color: var(--gold); }
.legal .a-side a { text-decoration: none; color: var(--body); }
.legal .a-side a:hover { color: var(--gold-hi); }
.legal .prose > p:first-of-type::first-letter { all: unset; }
.callout { background: var(--slate-2); border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; padding: 1.2rem 1.4rem; margin: 1.5rem 0; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy); color: var(--muted); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr .9fr 1.3fr .9fr; gap: 3rem; padding: 3.5rem 0; }
.ftr h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.2rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { padding: .32rem 0; }
.ftr a { color: #E2DFD9; text-decoration: none; }
.ftr a:hover { color: var(--gold-hi); text-decoration: underline; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.4rem 0 1.8rem; border-top: 1px solid var(--line); font-size: .9rem; }
.ftr__bottom p { margin: 0; }

.ftr__news { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; padding: 2.4rem 2.6rem; border-radius: var(--r);
  background: linear-gradient(135deg, #222B3A, #1B2230); border: 1px solid rgba(194, 164, 109, .35); }
.ftr .ftr__news h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: .35rem; }
.ftr__news p { margin: 0; }
.ftr__news .label { margin-bottom: .7rem; }
.ftr__news .note { margin-top: .7rem; }
.ftr__brand p { margin: 1.1rem 0 1.2rem; max-width: 34ch; }
.ftr__mail { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold-hi) !important; font-weight: 500; }
.ftr__mail svg { width: 20px; height: 20px; }
.ftr__cats { columns: 2; column-gap: 1.5rem; }
.ftr__top { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-hi) !important; font-weight: 500; }
.ftr__top svg { width: 18px; height: 18px; }

/* ---------- Home: topics strip ---------- */
.topics { background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topics .wrap { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; }
.topics__label { flex: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.topics ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.topics a { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .5rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: .92rem; color: var(--text); transition: border-color .25s, background .25s; }
.topics a:hover { border-color: var(--gold); background: rgba(194, 164, 109, .1); }
.topics a span { font-size: .75rem; color: var(--gold-hi); }

/* ---------- Home: editor's picks bento ---------- */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.25rem; min-height: 560px; }
.ov { position: relative; display: block; overflow: hidden; border-radius: var(--r); text-decoration: none; background: var(--navy); min-height: 260px; }
.ov--big { grid-row: span 2; }
.ov img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 30, 43, .05) 25%, rgba(23, 30, 43, .94)); }
.ov:hover img { transform: scale(1.04); }
.ov__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem 1.6rem; }
.ov__body h3 { font-size: 1.3rem; font-weight: 700; margin: .4rem 0 .5rem; }
.ov--big .ov__body { padding: 2.2rem; }
.ov--big .ov__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.ov__body p { color: #D4D7DA; max-width: 40em; margin-bottom: .8rem; }
.ov:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); }

/* ---------- Home: latest + sidebar ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; }
.hlist { display: grid; gap: 1.5rem; }
.hcard { display: grid; grid-template-columns: 260px 1fr; gap: 1.6rem; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.hcard__img { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--slate); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hcard:hover .hcard__img img { transform: scale(1.04); }
.hcard h3 { font-size: 1.3rem; font-weight: 700; margin: .35rem 0 .45rem; }
.hcard h3 a { text-decoration: none; }
.hcard h3 a:hover { color: var(--gold-hi); }
.hcard p { margin-bottom: .6rem; }
.side { display: grid; gap: 1.5rem; position: sticky; top: 110px; }
.widget { background: var(--slate); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.widget--about { padding: 0 0 1.5rem; overflow: hidden; }
.widget--about img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1.2rem; }
.widget--about h3, .widget--about p, .widget--about .more { margin-left: 1.5rem; margin-right: 1.5rem; }
.widget--about h3 { font-size: 1.25rem; }
.widget__title { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.popular { list-style: none; margin: 0; padding: 0; }
.popular li + li { border-top: 1px solid var(--line); }
.popular a { display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem; padding: .8rem 0; text-decoration: none; color: var(--text); font-family: var(--serif); font-weight: 600; line-height: 1.35; }
.popular a:hover span { color: var(--gold-hi); }
.popular b { font-style: italic; color: var(--gold); }
.catlist { list-style: none; margin: 0; padding: 0; }
.catlist a { display: flex; justify-content: space-between; padding: .55rem 0; text-decoration: none; color: var(--body); border-bottom: 1px dashed var(--line); }
.catlist li:last-child a { border-bottom: 0; }
.catlist a:hover { color: var(--gold-hi); }
.catlist span { color: var(--gold); font-size: .9rem; }

/* ---------- Home: philosophy steps + CTA ---------- */
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: .8rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.steps b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.4rem; color: var(--gold); }
.steps h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.steps p { margin: 0; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 2.4rem 2.6rem; border-radius: var(--r); background: var(--navy); border: 1px solid rgba(194, 164, 109, .35); }
.cta h2 { margin-bottom: .3rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta p { margin: 0; max-width: 46ch; }

/* ---------- Cookie / back to top / reveal ---------- */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 110; max-width: 780px; margin-inline: auto; background: rgba(27, 35, 50, .96); backdrop-filter: blur(12px); border: 1px solid rgba(194, 164, 109, .45); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.3rem 1.5rem; display: none; gap: 1.2rem; align-items: center; }
.cookie.show { display: flex; }
.cookie p { margin: 0; font-size: .98rem; }
.cookie a { color: var(--gold-hi); }
.cookie div { display: flex; gap: .6rem; flex: none; }
.cookie .btn { min-height: 48px; padding: .55rem 1.2rem; font-size: .92rem; }
.totop { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; width: 56px; height: 56px; border: 0; border-radius: var(--r); background: var(--gold-grad); color: #1A1A17; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.totop.show { opacity: 1; visibility: visible; }
.totop svg { width: 22px; height: 22px; }
.credit { font-size: .82rem; color: var(--muted); }
.credit a { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  html, body { background: #fff; color: #000; }
  .hdr, .ftr, .a-side, .cookie, .totop, .progress, .letter, .related, .glass { display: none !important; }
  .a-head { background: none; } .a-head h1, .prose h2, .prose h3 { color: #000; } .prose { color: #222; } .a-layout { display: block; padding: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .editorial .post:nth-child(n) { grid-column: span 6; padding-top: 0; }
  .editorial .post:nth-child(1) { grid-column: span 12; }
  .principles { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .a-layout, .legal { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .a-side { position: static; }
}
@media (max-width: 920px) {
  .with-side, .ftr__news { grid-template-columns: 1fr; }
  .side { position: static; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .ov--big { grid-row: auto; min-height: 420px; }
  .menu { display: none; }
  .burger { display: inline-flex; }
  .hero .wrap, .split, .letter, .contact, .feature { grid-template-columns: 1fr; }
  .hero__photo { max-width: 560px; }
  .feature__img { min-height: 0; aspect-ratio: 4 / 3; }
  .standards { grid-template-columns: 1fr; }
  .room-row { grid-template-columns: 3rem 1fr 2rem; }
  .room-row span { display: none; }
  .glass { width: 300px; height: 280px; right: -110px; bottom: -110px; opacity: .7; }
}
@media (max-width: 640px) {
  .a-hero img { aspect-ratio: 4 / 3; }
  .glass { display: none; }
  .hcard { grid-template-columns: 1fr; gap: 1rem; }
  .topics .wrap { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .topics ul { width: 100%; }
  .ftr__news, .cta { padding: 1.8rem 1.4rem; }
  .ftr__cats { columns: 1; }
  .hdr .wrap { min-height: 76px; }
  .logo__mark { width: 44px; height: 44px; }
  .logo__name { font-size: 1.35rem; }
  .hdr__cta a.ibtn { display: none; }
  .posts, .editorial, .principles { grid-template-columns: 1fr; }
  .editorial .post:nth-child(n) { grid-column: auto; }
  .tiles { gap: .8rem; }
  .tile h3 { font-size: 1.2rem; }
  .ftr__grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .cookie.show { flex-direction: column; align-items: stretch; }
  .tip { padding-left: 1.4rem; padding-top: 3.4rem; }
  .filterbar { flex-direction: column; align-items: stretch; }
  .blog-search { flex: 1 1 auto; }
  .meta { gap: .2rem 1rem; }
  .meta span + span::before { content: none; }
  .duo { padding: 0 1.5rem 1.5rem 0; }
  .c-card .photo { margin: -2rem -2rem 1.6rem; }
}
