/* Darul Uloom Numaniyya: formal seminary prospectus. Ivory, forest green and antique gold; masthead and ruled lines. */
:root {
	--bg: #f8f5ec; --ink: #17261f; --muted: #53625a; --accent: #0b573e; --gold: #9a7a33; --green: #0a3326;
	--line: rgba(23, 38, 31, .18); --card: #fffdf7; --radius: 0px; --btn-radius: 0px;
	--font-head: "Libre Caslon Display", Georgia, serif; --font-body: "Source Sans 3", system-ui, sans-serif;
	--head-bg: #fffdf7; --foot-bg: #07261c; --foot-ink: #b8cdc3; --foot-head: #f2e6c4;
}
body { font-size: 17px; }
h1, h2, h3 { font-weight: 400; }

/* Two-row masthead: name on top, menu on its own ruled line */
.hd { position: relative; border-top: 6px solid var(--accent); border-bottom: 3px double var(--gold); }
.hd > .w { flex-direction: column; align-items: stretch; gap: 14px; padding-block: 22px 0; }
.hd .brand { gap: 18px; }
.hd .brand-mark { width: 68px; height: 68px; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px var(--head-bg), 0 0 0 5px var(--line); }
.hd .brand-mark svg { width: 44px; height: 44px; }
.hd .brand-text b { font-size: clamp(24px, 3.4vw, 34px); font-weight: 400; letter-spacing: 1px; }
.hd .brand-text small { color: var(--gold); letter-spacing: 3.6px; text-transform: uppercase; opacity: 1; }
.hd-nav { justify-content: space-between; width: 100%; margin: 0; padding: 6px 0; border-top: 1px solid var(--line); }
.hd-nav ul a { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.btn { font-size: 13.5px; letter-spacing: 2px; text-transform: uppercase; }

.sec h2 { font-size: clamp(32px, 4.2vw, 50px); }
.sec p { color: var(--muted); }
.du-small { display: block; margin-bottom: 12px; color: var(--gold); font-weight: 700; font-size: 12.5px; letter-spacing: 3.4px; text-transform: uppercase; }
.du-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

.du-hero { padding: 44px 0 0; }
.du-frame { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; border: 1px solid var(--gold); background: var(--card); }
.du-window { min-height: 470px; background-size: cover; background-position: center; }
.du-title { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px 36px; border: 3px double var(--gold); text-align: center; }
.du-title h1 { margin-bottom: 6px; font-size: clamp(40px, 5vw, 66px); line-height: 1.08; color: var(--accent); }
.du-arabic { margin: 0 0 8px; color: var(--gold); font-size: 38px; line-height: 1.5; }
.du-title p:not(.du-arabic) { max-width: 380px; margin-bottom: 30px; color: var(--muted); }

.du-editorial { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.du-editorial article { font-family: "Libre Caslon Text", Georgia, serif; font-size: 17.5px; line-height: 1.95; }
.du-editorial article p { max-width: 68ch; }
.du-drop::first-letter { float: left; margin: 6px 12px 0 0; color: var(--accent); font: 400 76px/.86 var(--font-head); }
.du-notice { padding: 32px; border: 1px solid var(--line); border-top: 5px solid var(--accent); background: var(--card); }
.du-notice h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 27px; }
.du-notice .clist li { border-bottom: 1px dotted var(--line); }
.du-notice .clist li:last-child { border-bottom: 0; }

.du-green { background: var(--green); color: #f2e6c4; text-align: center; }
.du-tradition > * { max-width: 900px; margin-inline: auto; }
.du-green .du-small { color: #d6b668; }
.sec .du-quote { margin-bottom: 14px; color: #f7efd8; font: 400 clamp(28px, 4vw, 46px)/1.4 var(--font-head); }
.du-tradition cite { font-style: normal; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: #d6b668; }
.du-verse { margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(214, 182, 104, .4); }
.du-verse b { display: block; font-size: clamp(25px, 3.2vw, 36px); font-weight: 400; line-height: 2; color: #e7cd8b; }
.du-verse span { display: block; margin-top: 8px; color: #b8cdc3; font-size: 15.5px; }

.du-register { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px double var(--gold); }
.du-register li { display: flex; gap: 26px; padding: 34px 28px; border-bottom: 1px solid var(--line); }
.du-register li:nth-child(odd) { border-right: 1px solid var(--line); }
.du-register li > span { flex: 0 0 52px; color: var(--gold); font: 400 40px/1 var(--font-head); text-align: center; }
.du-register h3 { font-size: 25px; }
.du-register p { margin: 0; }

.du-desk { background: #eee8d8; }
.du-letter { max-width: 780px; margin: 0 auto; padding: 56px; background: var(--card); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -9px; box-shadow: 0 30px 60px rgba(23, 38, 31, .12); }
.du-letter .du-head { margin-bottom: 30px; }
.du-letter input, .du-letter select, .du-letter textarea { border-width: 0 0 1.5px; background: transparent; padding-left: 2px; }
.du-letter .form-actions { justify-content: center; }
.du-letter .form-note { text-align: center; }

@media (max-width: 1140px) {
	.hd > .w { flex-direction: row; align-items: center; padding-block: 14px; }
	.hd .brand { gap: 12px; }
	.hd .brand-mark { width: 50px; height: 50px; }
	.hd .brand-mark svg { width: 34px; height: 34px; }
	.hd .brand-text b { font-size: 21px; letter-spacing: 0; }
	.hd .brand-text small { font-size: 10px; letter-spacing: 2px; }
	.hd-nav { justify-content: flex-start; }
}
@media (max-width: 860px) {
	.du-frame, .du-editorial, .du-register { grid-template-columns: minmax(0, 1fr); }
	.du-editorial { gap: 36px; }
	.du-window { min-height: 260px; }
	.du-register li:nth-child(odd) { border-right: 0; }
}
@media (max-width: 560px) {
	.du-title { padding: 36px 18px; }
	.du-letter { padding: 34px 22px; }
	.du-register li { gap: 14px; padding: 26px 4px; }
	.du-notice { padding: 24px 20px; }
}
