/* Egypt Passage — threshold & crossing place writing */
:root {
  --plum: #3d2b3d;
  --plum-deep: #2a1e2a;
  --aegean: #3a6d8c;
  --aegean-light: #5a8fad;
  --sand: #d9c8a9;
  --sand-pale: #ebe2d0;
  --ivory: #f8f5f0;
  --ink: #2c2a30;
  --muted: #6d6a72;
  --line: #ddd5c8;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Sora', system-ui, sans-serif;
  --w: 1100px;
  --read: 650px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.72; color: var(--ink); background: var(--ivory); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aegean); text-decoration: none; border-bottom: 1px solid var(--sand); }
a:hover { color: var(--plum); border-color: var(--plum); }

.container { max-width: var(--w); margin: 0 auto; padding: 0 1.3rem; }

/* Arch header motif */
.gate { background: var(--plum); color: #fff; text-align: center; padding: .45rem; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; }
.header { background: var(--ivory); border-bottom: 4px solid var(--sand); position: sticky; top: 0; z-index: 50; }
.header__row { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; gap: 1rem; }
.sig { display: flex; flex-direction: column; }
.sig__arch { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--aegean); font-weight: 700; }
.sig__name { font-family: var(--serif); font-size: 1.45rem; color: var(--plum); line-height: 1.1; }
.nav { display: flex; gap: 1.5rem; list-style: none; }
.nav a { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: none; }
.nav a.here, .nav a:hover { color: var(--plum); }
.menu-open { display: none; background: var(--sand-pale); border: none; padding: .45rem .7rem; font-size: .72rem; font-weight: 700; cursor: pointer; color: var(--plum); }

/* Hero threshold */
.threshold { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.threshold__copy { padding: 3.5rem 2rem 3.5rem 0; display: flex; flex-direction: column; justify-content: center; }
.threshold__tag { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aegean); margin-bottom: .8rem; }
.threshold h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; color: var(--plum); margin-bottom: 1rem; }
.threshold__lead { color: var(--muted); font-size: 1.03rem; margin-bottom: 1.4rem; max-width: 430px; }
.threshold__enter { display: inline-block; background: var(--aegean); color: #fff; padding: .75rem 1.35rem; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border: none; }
.threshold__enter:hover { background: var(--plum); color: #fff; }
.threshold__visual { position: relative; overflow: hidden; }
.threshold__visual img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.threshold__arch { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: var(--ivory); clip-path: ellipse(55% 100% at 50% 100%); }

/* Passages list */
.passages { padding: 3.5rem 0 4.5rem; }
.passages__title { text-align: center; margin-bottom: 2.5rem; }
.passages__title h2 { font-family: var(--serif); font-size: 1.85rem; color: var(--plum); }
.passages__title p { color: var(--muted); margin-top: .4rem; }
.pass-row { display: flex; flex-direction: column; gap: 0; }
.pass { display: grid; grid-template-columns: 80px 200px 1fr; gap: 1.5rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.pass:hover { background: var(--sand-pale); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.pass__num { font-family: var(--serif); font-size: 2rem; color: var(--aegean); font-weight: 400; line-height: 1; }
.pass__thumb { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; }
.pass__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pass__label { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }
.pass__where { font-size: .72rem; color: var(--muted); margin: .15rem 0 .35rem; }
.pass h3 { font-family: var(--serif); font-size: 1.15rem; line-height: 1.28; margin-bottom: .3rem; }
.pass h3 a { color: var(--ink); border: none; }
.pass h3 a:hover { color: var(--aegean); }
.pass p { font-size: .85rem; color: var(--muted); }

/* Inset */
.inset { background: var(--plum); color: #fff; padding: 3rem 0; text-align: center; }
.inset p { font-family: var(--serif); font-size: 1.32rem; max-width: 560px; margin: 0 auto; line-height: 1.5; }

/* Article */
.crossing { padding-bottom: 4rem; }
.crossing__img { height: 34vh; min-height: 220px; max-height: 360px; overflow: hidden; }
.crossing__img img { width: 100%; height: 100%; object-fit: cover; }
.crossing__body { padding-top: 2rem; }
.trail { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .9rem; }
.cross-head { max-width: var(--read); margin-bottom: 1.75rem; }
.cross-head__n { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aegean); }
.cross-head h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.1; margin: .35rem 0 .5rem; }
.cross-head__m { font-size: .8rem; color: var(--muted); }
.cross-layout { display: grid; grid-template-columns: 1fr 180px; gap: 2.5rem; }
.body { max-width: var(--read); }
.body .lede { font-family: var(--serif); font-size: 1.18rem; font-style: italic; color: var(--plum); margin-bottom: 1.45rem; line-height: 1.78; }
.body h2 { font-family: var(--serif); font-size: 1.32rem; color: var(--aegean); margin: 2rem 0 .65rem; }
.body p { margin-bottom: 1rem; color: #3e3c44; }
.body ul { margin: 0 0 1rem 1.2rem; color: #3e3c44; }
.body li { margin-bottom: .35rem; }
.note { background: var(--sand-pale); border-left: 4px solid var(--aegean); padding: 1rem 1.15rem; margin: 1.5rem 0; }
.note strong { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--plum); margin-bottom: .3rem; }
.note p { margin: 0; font-size: .9rem; }
.next { position: sticky; top: 4.5rem; border: 1px solid var(--line); padding: 1rem; background: #fff; }
.next h3 { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .65rem; }
.next a { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); border: none; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.next a:last-child { border-bottom: none; }

/* Static */
.page { padding: 3.5rem 0 4.5rem; }
.page h1 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: .75rem; }
.page-lead { color: var(--muted); margin-bottom: 1.75rem; max-width: 540px; }
.page h2 { font-family: var(--serif); font-size: 1.25rem; color: var(--aegean); margin: 1.5rem 0 .5rem; }
.page p { margin-bottom: .85rem; max-width: 580px; color: #3e3c44; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.form { display: grid; gap: .9rem; max-width: 420px; }
.form label { display: grid; gap: .25rem; font-size: .82rem; font-weight: 600; }
.form input, .form textarea { padding: .7rem; border: 1px solid var(--line); font: inherit; background: #fff; }
.submit { background: var(--aegean); color: #fff; border: none; padding: .7rem 1.2rem; font-weight: 700; font-size: .78rem; text-transform: uppercase; cursor: pointer; }

/* Footer */
.base { background: var(--plum-deep); color: rgba(255,255,255,.72); padding: 2.75rem 0 1rem; margin-top: 2rem; }
.base__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.base strong { font-family: var(--serif); font-size: 1.1rem; color: #fff; display: block; margin-bottom: .4rem; }
.base p { font-size: .84rem; opacity: .7; }
.base h4 { font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sand); margin-bottom: .55rem; }
.base a { color: rgba(255,255,255,.65); font-size: .84rem; display: block; margin-bottom: .3rem; border: none; }
.base a:hover { color: #fff; }
.base__end { display: flex; justify-content: space-between; padding-top: 1rem; font-size: .7rem; opacity: .4; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 900px) {
  .threshold, .pass, .cross-layout, .base__grid, .two { grid-template-columns: 1fr; }
  .pass { gap: 1rem; }
}
@media (max-width: 768px) {
  .menu-open { display: block; }
  .nav { display: none; position: fixed; inset: 0 0 0 28%; background: var(--ivory); flex-direction: column; padding: 4.5rem 1.25rem; z-index: 40; border-left: 4px solid var(--sand); }
  .nav.is-open { display: flex; }
}
