/*!
Theme Name: Suad Alkuwari
Theme URI: https://underscores.me/
Author: Automattic
Author URI: https://automattic.com/
Description: Hi. I'm a starter theme called <code>Suad Alkuwari</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Suad Alkuwari
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Suad Alkuwari is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 3em 1.5em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-right: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-right: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: right;
	position: absolute;
	top: 100%;
	right: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	right: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	right: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	right: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1.5em;
}



/*/////////////////////////// custom css /////////////////////////////*/



@font-face {
    font-family: 'Nassim Arabic Web';
    src: url('assets/fonts/NassimArabicWeb-Bold.eot');
    src: url('assets/fonts/NassimArabicWeb-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/NassimArabicWeb-Bold.woff2') format('woff2'),
        url('assets/fonts/NassimArabicWeb-Bold.woff') format('woff'),
        url('assets/fonts/NassimArabicWeb-Bold.ttf') format('truetype'),
        url('assets/fonts/NassimArabicWeb-Bold.svg#NassimArabicWeb-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nassim Arabic Web';
    src: url('assets/fonts/NassimArabicWeb-Regular.eot');
    src: url('assets/fonts/NassimArabicWeb-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/NassimArabicWeb-Regular.woff2') format('woff2'),
        url('assets/fonts/NassimArabicWeb-Regular.woff') format('woff'),
        url('assets/fonts/NassimArabicWeb-Regular.ttf') format('truetype'),
        url('assets/fonts/NassimArabicWeb-Regular.svg#NassimArabicWeb-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



  :root {
    --espresso: #4b081e;
    --coffee: #580d26;
    --walnut: #801438;
    --bark: #742b43;
    --amber: #f3c76f;
    --amber-soft: #ffdd99;
    --amber-dim: oklch(0.55 0.12 60);
    --parchment: #ede0c2;
    --parchment-deep: #d9c79f;
    --ink: #801438;
    --cream: #f3e9d0;
    --muted: rgba(237, 224, 194, 0.65);
    --muted-deep: rgba(237, 224, 194, 0.4);
    /* Arabic type scale */
    --serif: "Nassim Arabic Web", Georgia, serif;
    --sans: "Nassim Arabic Web", system-ui, sans-serif;
    --script: "Nassim Arabic Web", "Amiri", cursive;
    --mono: "Nassim Arabic Web", ui-monospace, "Inter", monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html, body {
    background: var(--espresso);
    color: var(--cream);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ============ UTIL ============ */
  .container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
  .serif { font-family: var(--serif); }
  .script { font-family: var(--script); }

  /* ============ NAV ============ */
  nav.top {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 28px 0;
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .brand {
    display: flex; align-items: center; gap: 12px;
    color: var(--cream);
    text-decoration: none;
  }
  .brand-mark {
    width: 44px; height: 36px;
    display: grid; place-items: center;
    color: var(--amber-soft);
  }
  .brand-mark svg { width: 100%; height: 100%; }
  .brand-name {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--amber-soft);
  }
  .nav-links {
    display: flex; gap: 38px;
    list-style: none;
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: 0;
  }
  .nav-links a {
    color: var(--cream);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    width: 0; height: 1px;
    background: var(--amber);
    transition: all 0.35s ease;
    transform: translateX(-50%);
  }
  .nav-links a:hover { color: var(--amber-soft); }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.active { color: var(--amber-soft); }
  .nav-links a.active::after { width: 100%; }

  .menu-btn {
    width: 42px; height: 42px;
    border: 1px solid rgba(232, 200, 136, 0.3);
    background: rgba(20, 10, 5, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 4px;
    display: grid; place-items: center;
    cursor: pointer;
    color: var(--amber-soft);
    transition: all 0.3s;
  }
  .menu-btn:hover { border-color: var(--amber); background: rgba(212, 163, 74, 0.1); }

  /* ============ SMOKE OVERLAY ============ */
  .smoke-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
  }
  .smoke-overlay.absolute {
    position: absolute!important;
  }
  .smoke-overlay img {
    position: absolute;
    opacity: 0.11;
    max-width: 99%;
    mix-blend-mode: screen;
    filter: blur(3px) sepia(1) hue-rotate(-10deg) saturate(0.4);
  }
  .smoke-overlay img:nth-child(1) {
    left: 35%;
    bottom: 0;
    animation: smokeWave 8s 0.1s infinite linear;
  }
  .smoke-overlay img:nth-child(2) {
    right: -12%;
    bottom: -6%;
    animation: smokeWave 9s 0.1s infinite linear;
    opacity: 0.07;
  }
  .smoke-overlay img:nth-child(3) {
    left: -4%;
    bottom: -12%;
    animation: smokeWave 10s 0.1s infinite linear;
    opacity: 0.08;
  }
  @keyframes smokeWave {
    0%   { transform: rotateZ(0deg) translate3d(0, 13%, 0) rotateZ(0deg); }
    100% { transform: rotateZ(360deg) translate3d(0, 13%, 0) rotateZ(-360deg); }
  }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    opacity: 0.7;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
  }
  .hero::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 2;
  }

  .bokeh {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 1;
  }
  .bokeh span {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--amber-soft) 0%, rgba(212,163,74,0.4) 40%, transparent 70%);
    filter: blur(4px);
    opacity: 0.45;
    animation: flicker 4s ease-in-out infinite;
  }
  .bokeh span:nth-child(1)  { top: 15%; right: 8%;  width: 12px; height: 12px; animation-delay: 0s; }
  .bokeh span:nth-child(2)  { top: 35%; right: 18%; width: 8px;  height: 8px;  animation-delay: 0.8s; }
  .bokeh span:nth-child(3)  { top: 65%; right: 12%; width: 18px; height: 18px; animation-delay: 1.4s; opacity: 0.3; }
  .bokeh span:nth-child(4)  { top: 25%; left: 32%;  width: 24px; height: 24px; animation-delay: 2s;   opacity: 0.25; }
  .bokeh span:nth-child(5)  { top: 70%; left: 18%;  width: 14px; height: 14px; animation-delay: 0.5s; }
  .bokeh span:nth-child(6)  { top: 45%; left: 8%;   width: 10px; height: 10px; animation-delay: 1.8s; }
  .bokeh span:nth-child(7)  { top: 80%; left: 35%;  width: 16px; height: 16px; animation-delay: 2.5s; opacity: 0.35; }
  .bokeh span:nth-child(8)  { top: 10%; left: 15%;  width: 9px;  height: 9px;  animation-delay: 3s; }
  .bokeh span:nth-child(9)  { top: 55%; right: 45%; width: 7px;  height: 7px;  animation-delay: 1.2s; opacity: 0.3; }
  .bokeh span:nth-child(10) { top: 85%; right: 28%; width: 20px; height: 20px; animation-delay: 2.2s; opacity: 0.25; }

  @keyframes flicker {
    0%, 100% { opacity: var(--op, 0.45); transform: scale(1); }
    50% { opacity: calc(var(--op, 0.45) * 0.6); transform: scale(0.92); }
  }

  .hero-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
  }

  /* In RTL, copy is on the right, portrait on the left */
  .hero-copy { padding-left: 20px; }

  .eyebrow {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--amber-soft);
    letter-spacing: 0;
    margin-bottom: 22px;
    display: flex; align-items: center; gap: 16px;
  }
  /* Line flows from left (end side) toward text in RTL */
  .eyebrow::after {
    content: '';
    width: 42px; height: 1px;
    background: linear-gradient(270deg, transparent, var(--amber));
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(44px, 5.5vw, 78px);
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 28px;
    color: var(--cream);
  }
  .hero h1 em {
    font-style: normal;
    color: var(--amber-soft);
    font-weight: 400;
  }
  .hero-sub {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 44px;
    max-width: 480px;
  }

  .btn-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 32px;
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.35s ease;
    position: relative;
  }
  .btn-primary {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--amber);
    border-radius: 2px;
  }
  .btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--amber);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
  }
  .btn-primary:hover { color: var(--espresso); border-color: var(--amber-soft); }
  .btn-primary:hover::before { transform: scaleX(1); }

  .btn-ghost {
    background: none; color: var(--amber-soft);
    padding: 10px 0;
    border-bottom: 1px solid var(--amber-dim);
    border-radius: 0;
  }
  .btn-ghost:hover { color: var(--cream); border-color: var(--amber); }

  .btn .arrow {
    display: inline-block;
    transition: transform 0.3s;
  }
  .btn:hover .arrow { transform: translateX(-4px); }

  /* Portrait frame */
  .portrait-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 620px;
    margin-right: auto;
    border-radius: 2px;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(212, 163, 74, 0.2),
      0 40px 80px -20px rgba(0,0,0,0.6),
      inset 0 0 80px rgba(0,0,0,0.5);
  }
  .portrait-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .portrait-frame .portrait-overlay {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212, 163, 74, 0.08), transparent 70%),
      linear-gradient(to bottom, transparent 50%, rgba(14, 6, 4, 0.55) 100%);
    pointer-events: none;
  }
  .portrait-frame::before {
    content: '';
    position: absolute; inset: 12px;
    border: 1px solid rgba(212, 163, 74, 0.25);
    pointer-events: none;
    z-index: 2;
  }
  .portrait-corner {
    position: absolute;
    width: 20px; height: 20px;
    border: 1px solid var(--amber);
    z-index: 3;
  }
  .portrait-corner.tl { top: 20px; right: 20px; border-left: 0; border-bottom: 0; }
  .portrait-corner.tr { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
  .portrait-corner.bl { bottom: 20px; right: 20px; border-left: 0; border-top: 0; }
  .portrait-corner.br { bottom: 20px; left: 20px; border-right: 0; border-top: 0; }

  .scroll-indicator {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-family: var(--serif);
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.1em;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
  }
  .scroll-indicator::after {
    content: '';
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--amber), transparent);
    animation: drip 2.4s ease-in-out infinite;
  }
  @keyframes drip {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
  }

  /* ============ ABOUT ============ */
  section.about {
    position: relative;
    padding: 120px 0;
    background:
      radial-gradient(ellipse 60% 80% at 20% 50%, rgba(180, 140, 80, 0.18), transparent 60%),
      radial-gradient(ellipse 80% 60% at 90% 10%, rgba(140, 100, 60, 0.15), transparent 60%),
      linear-gradient(180deg, #ffdd99 0%, #d9c79f 50%, #c9b58a 100%);
    color: var(--ink);
    overflow: hidden;
  }
  .about-texture {
    position: absolute; inset: 0;
    background-image: url('assets/images/light-texture.webp');
    background-size: auto;
    background-position: bottom center;
    opacity: 0.30;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
  }
    .about-texture2 {
    position: absolute; inset: 0;
    background-image: url('assets/images/light-texture-2.webp');
    background-size: cover;
    background-position: bottom center;
    opacity: 0.50;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
  }

  .dark-texture {
    position: absolute; inset: 0;
    background-image: url('assets/images/dark-texture.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
  }
  .about::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 90% 20%, rgba(90, 55, 32, 0.08) 0, transparent 1%),
      radial-gradient(circle at 70% 60%, rgba(90, 55, 32, 0.06) 0, transparent 1%),
      radial-gradient(circle at 30% 40%, rgba(90, 55, 32, 0.07) 0, transparent 1%),
      radial-gradient(circle at 10% 80%, rgba(90, 55, 32, 0.05) 0, transparent 1%);
    background-size: 80px 80px, 120px 120px, 100px 100px, 90px 90px;
    opacity: 0.8;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
  }
  .about::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(90, 55, 32, 0.22) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .about-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
  }

  /* Book mockup — spine on right side for RTL */
  .book {
    position: relative;
    aspect-ratio: 3 / 4.2;
    max-width: 360px;
    margin: 0 auto;
    transform: perspective(1400px) rotateY(14deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    filter: drop-shadow(-40px 30px 40px rgba(30, 15, 5, 0.45));
  }
  .book:hover { transform: perspective(1400px) rotateY(6deg) rotateX(1deg); }
  .book-cover {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 50% 75%, rgba(212, 163, 74, 0.35), transparent 70%),
      linear-gradient(225deg, #2a1810 0%, #140a05 100%);
    border-radius: 6px 2px 2px 6px; /* spine on right */
    overflow: hidden;
    box-shadow:
      inset 0 0 0 1px rgba(212, 163, 74, 0.25),
      inset -4px 0 0 rgba(0,0,0,0.4),
      inset -8px 0 12px rgba(0,0,0,0.3);
  }
  .book-cover::before {
    content: '';
    position: absolute; inset: 16px;
    border: 1px solid rgba(212, 163, 74, 0.35);
  }
  .book-cover::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 18px;
    background: linear-gradient(270deg, rgba(0,0,0,0.55), transparent);
  }
  .book-content {
    position: absolute; inset: 32px;
    display: flex; flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--cream);
  }
  .book-author {
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: 0;
    color: var(--amber-soft);
    margin-top: 8px;
  }
  .book-divider {
    width: 30px; height: 1px;
    background: var(--amber);
    margin: 18px 0;
  }
  .book-art {
    flex: 1;
    width: 100%;
    margin: 12px 0;
    border: 1px solid rgba(212, 163, 74, 0.25);
    background:
      radial-gradient(circle at 50% 40%, rgba(212, 163, 74, 0.35) 0%, rgba(212, 163, 74, 0.1) 30%, transparent 60%),
      linear-gradient(180deg, #1a0d06, #0a0503);
    display: grid; place-items: end center;
    padding: 14px 8px;
    position: relative;
    overflow: hidden;
  }
  .book-art::before {
    content: '◇';
    position: absolute; top: 38%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    color: var(--amber);
    opacity: 0.5;
  }
  .book-art span {
    font-family: var(--serif);
    font-size: 10px;
    letter-spacing: 0;
    color: var(--amber-dim);
  }
  .book-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    margin-top: 14px;
    line-height: 1.4;
    letter-spacing: 0;
  }
  .book-title em { font-style: normal; color: var(--amber-soft); font-weight: 400; }
  .book-sub {
    font-family: var(--serif);
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    letter-spacing: 0;
  }

  .about-copy .section-label {
    font-family: var(--mono);
    font-size: 16px;
    letter-spacing: 0.3em;
    color: var(--bark);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 14px;
  }
  /* Line comes after the text in RTL (at the start/end visually on left) */
  .about-copy .section-label::after {
    content: '';
    width: 32px; height: 1px;
    background: var(--bark);
  }
  .about-copy h2 {
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 28px;
    letter-spacing: 0;
  }
  .about-copy h2 em { font-style: normal; color: var(--walnut); }
  .about-lead {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.7;
    color: var(--walnut);
    margin-bottom: 28px;
    max-width: 560px;
  }
  .about-body {
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.9;
    color: #4a3624;
    max-width: 560px;
    margin-bottom: 20px;
  }
  .about-body + .about-body { margin-bottom: 40px; }

  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 560px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(90, 55, 32, 0.3);
    border-bottom: 1px solid rgba(90, 55, 32, 0.3);
  }
  .stat .num {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    color: var(--walnut);
    line-height: 1;
  }
  .stat .lbl {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0;
    color: var(--bark);
    margin-top: 8px;
  }

  .btn-dark {
    background: var(--walnut);
    color: var(--parchment);
    border: 1px solid var(--walnut);
    border-radius: 2px;
  }
  .btn-dark:hover { background: var(--ink); border-color: var(--amber); color: var(--amber-soft); }

  .about-signature {
    font-family: var(--script);
    font-size: 36px;
    color: var(--walnut);
    margin-top: 32px;
    opacity: 0.85;
    text-align: right;
  }

  /* ============ FEATURED BOOK ============ */
  section.featured {
    position: relative;
    padding: 140px 0;
    background:
      radial-gradient(ellipse 70% 50% at 70% 60%, #75203c60, transparent 60%),
      radial-gradient(ellipse 50% 70% at 20% 30%, #80143827, transparent 60%),
      linear-gradient(180deg, #310815 0%, #240610 50%, #360c1b 100%);
    overflow: hidden;
  }

  .featured-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 3;
  }
  .featured-header .eyebrow-c {
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0;
    color: var(--amber-dim);
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; gap: 16px;
  }
  .featured-header .eyebrow-c::before,
  .featured-header .eyebrow-c::after {
    content: '';
    width: 48px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber-dim));
  }
  .featured-header .eyebrow-c::after {
    background: linear-gradient(270deg, transparent, var(--amber-dim));
  }
  .featured-header h2 {
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0;
    margin-bottom: 16px;
  }
  .ornament {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; color: var(--amber); opacity: 0.7;
  }
  .ornament .line { width: 80px; height: 1px; background: var(--amber); opacity: 0.4; }
  .ornament svg { width: 18px; height: 18px; }

  .featured-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  /* Scene */
  .scene {
    position: relative;
    aspect-ratio: 4 / 3.2;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(212, 163, 74, 0.2),
      0 40px 80px -20px rgba(0,0,0,0.6);
  }
  .scene img.scene-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .scene .scene-overlay {
    position: absolute; inset: 0;
    background: rgba(8, 4, 2, 0.42);
    pointer-events: none;
    z-index: 1;
  }
  .scene::before {
    content: '';
    position: absolute; inset: 10px;
    border: 1px solid rgba(212, 163, 74, 0.25);
    pointer-events: none;
    z-index: 3;
  }
  .scene .glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 160, 0.9) 0%, rgba(255, 180, 90, 0.4) 25%, transparent 60%);
    filter: blur(8px);
    z-index: 2;
  }
  .scene .glow.g1 { top: 38%; left: 22%; width: 60px; height: 60px; animation: flicker 3s infinite; }
  .scene .glow.g2 { top: 55%; left: 18%; width: 35px; height: 35px; animation: flicker 2.3s infinite 0.5s; }
  .scene .glow.g3 { top: 48%; left: 72%; width: 45px; height: 45px; animation: flicker 2.8s infinite 1s; }

  .scene .candle-flame {
    position: absolute;
    z-index: 4;
    animation: candleBlink 0.1s infinite;
  }
  .scene .candle-flame .flame-inner {
    width: 10px; height: 50px;
    margin: 0 auto;
    position: relative;
    animation: flameMove 3s infinite, flameMoveLeft 3s infinite;
    transform-origin: 50% 90%;
  }
  .scene .candle-flame .flame-top {
    width: 10px; height: 100%;
    position: absolute; top: 0; left: 0;
    background: white;
    border-top-left-radius: 500%; border-bottom-left-radius: 50px;
    border-top-right-radius: 500%; border-bottom-right-radius: 50px;
    transform: skewY(-10deg);
    box-shadow:
      0 0px 0px 2px white, 0 -10px 1px 2px white, 0 -14px 2px 2px gold,
      0 -18px 4px 3px #ff6a00, 0 0px 60px 6px #ff6a00, 0 -6px 2px 2px white;
    animation: flameUp 4s infinite;
  }
  .scene .candle-flame-left  { top: 33%; left: 19%; }
  .scene .candle-flame-right { top: 40%; left: 70%; }

  @keyframes flameMove    { 0% { transform: skewX(2deg) skewY(5deg); } 50% { transform: skewX(-2deg) skewY(0deg); } 100% { transform: skewX(2deg) skewY(5deg); } }
  @keyframes flameMoveLeft { 50% { transform: skewX(3deg); } }
  @keyframes flameUp { 50% { box-shadow: 0 0px 0px 2px white, 0 -16px 1px 1px white, 0 -19px 2px 2px gold, 0 -25px 4px 3px #ff6a00, 0 0px 60px 6px #ff6a00, 0 -6px 2px 2px white; } }
  @keyframes candleBlink { 50% { opacity: 0.96; } }

  .scene .scene-corners { position: absolute; inset: 18px; pointer-events: none; z-index: 4; }
  .scene .scene-corners::before,
  .scene .scene-corners::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border: 1px solid var(--amber);
  }
  .scene .scene-corners::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
  .scene .scene-corners::after  { bottom: 0; left: 0; border-right: 0; border-top: 0; }

  /* Poem — quote mark on right side for RTL */
  .poem { position: relative; }
  .poem .quote-mark {
    font-family: var(--serif);
    font-size: 120px;
    line-height: 1;
    color: var(--amber);
    opacity: 0.25;
    position: absolute;
    top: -40px; right: -8px;
  }
  .poem p {
    font-family: var(--serif);
    font-size: clamp(24px, 2.3vw, 32px);
    line-height: 1.75;
    color: var(--cream);
    font-weight: 400;
    letter-spacing: 0;
  }
  .poem p + p { margin-top: 4px; }
  .poem .sig {
    margin-top: 40px;
    text-align: left; /* in RTL, left is the end — author attribution sits at start of line */
    font-family: var(--script);
    font-size: 32px;
    color: var(--amber-soft);
  }

  .featured-cta {
    margin-top: 44px;
    display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  }

  /* ============ LATEST NEWS ============ */
  section.news {
    position: relative;
    padding: 130px 0;
    background:
      radial-gradient(ellipse 70% 50% at 50% 0%, rgba(90, 55, 32, 0.4), transparent 60%),
      linear-gradient(180deg, #0a0503 0%, #140a05 100%);
  }

  .news-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 64px;
    flex-wrap: wrap; gap: 24px;
  }
  .news-head h2 {
    font-family: var(--serif);
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 700;
    color: var(--coffee);
    letter-spacing: 0;
  }
  .news-head h2 em { font-style: normal; color: var(--bark); }
  .news-head .eyebrow-c {
    font-family: var(--mono);
    font-size: 16px;
    letter-spacing: 0.3em;
    color: var(--bark);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 14px;
  }
  .news-head .eyebrow-c::after { content: ''; width: 28px; height: 1px; background: var(--bark); }

  .news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* featured card on left in RTL (visually right) */
    gap: 28px;
  }

  .card {
    position: relative;
    background: linear-gradient(180deg, #801438 0%, #1f050d 100%);
    border: 1px solid rgba(212, 163, 74, 0.18);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: flex; flex-direction: column;
  }
  .card:hover {
    border-color: rgba(212, 163, 74, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 40px -10px rgba(212, 163, 74, 0.15);
  }
  .card-frame {
    position: absolute; inset: 8px;
    border: 1px solid rgba(212, 163, 74, 0.15);
    pointer-events: none; z-index: 2;
    transition: border-color 0.4s;
    border-radius: 12px;
  }
  .card:hover .card-frame { border-color: rgba(212, 163, 74, 0.4); }

  .card-img {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 163, 74, 0.15);
    border-radius: 12px;
  }
  .card-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    transition: transform 0.3s ease;
  }
  .card:hover .card-img img { transform: scale(1.1); }
  .card-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(8,4,2,0.25) 0%, rgba(8,4,2,0.6) 100%);
    pointer-events: none; z-index: 1;
  }
  .card-img.no-img {
    background:
      radial-gradient(ellipse 60% 50% at 50% 60%, rgba(212, 163, 74, 0.3), transparent 70%),
      linear-gradient(160deg, #3d2412, #0a0503);
  }
  .card-img.no-img::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(135deg, rgba(232,200,136,0.04) 0 2px, transparent 2px 16px);
  }
  .card-img .mini-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,210,140,0.7), transparent 60%);
    filter: blur(6px); z-index: 2;
  }
  .card-img-label {
    position: absolute;
    bottom: 12px; right: 14px; /* RTL: label on right side */
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--amber-soft);
    text-transform: uppercase;
    opacity: 0.7; z-index: 3;
  }
  .card-tag {
    position: absolute;
    top: 14px; right: 14px; /* RTL: tag on right */
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--amber-soft);
    text-transform: uppercase;
    background: rgba(20, 10, 5, 0.85);
    padding: 6px 12px;
    border: 1px solid rgba(212, 163, 74, 0.4);
    z-index: 3;
  }

  .card-body {
    padding: 28px 26px 30px;
    position: relative; z-index: 2;
    flex: 1; display: flex; flex-direction: column;
  }
  .card-meta {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-dim);
    margin-bottom: 14px;
    direction: ltr; /* dates and metadata stay LTR */
    justify-content: flex-end; /* align to right in RTL context */
  }
  .card-meta .dot { width: 3px; height: 3px; background: var(--amber-dim); border-radius: 50%; }
  .card h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--cream);
    margin-bottom: 12px;
    letter-spacing: 0;
  }
  .card h3 em { font-style: normal; color: var(--amber-soft); font-weight: 400; }
  .card p {
    font-family: var(--sans);
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 22px;
    flex: 1;
    letter-spacing: 0;
  }
  .card-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--serif);
    font-size: 16px;
    color: var(--amber-soft);
    text-decoration: none;
    letter-spacing: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(212, 163, 74, 0.25);
    align-self: flex-start;
    transition: all 0.3s;
  }
  .card-link:hover { color: var(--cream); border-color: var(--amber); }
  .card-link .arr { transition: transform 0.3s; }
  .card-link:hover .arr { transform: translateX(-4px); }

  /* In RTL grid: featured card spans 2 rows, placed at end (left visually) */
  .card.feature { grid-row: span 2; }
  .card.feature .card-img { aspect-ratio: 4 / 3; }
  .card.feature h3 { font-size: 28px; }

  /* ============ FOOTER / NEWSLETTER ============ */
  footer {
    position: relative;
    background:
      radial-gradient(ellipse 80% 100% at 50% 100%, #75203c70, transparent 70%),
      linear-gradient(180deg, #310815 0%, #360c1b 100%);
    padding: 90px 0 36px;
    overflow: hidden;
  }
  footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 163, 74, 0.4), transparent);
  }

  .newsletter {
    max-width: 720px;
    margin: 0 auto 80px;
    text-align: center;
  }
  .newsletter .eyebrow-c {
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0;
    color: var(--amber-dim);
    margin-bottom: 16px;
  }
  .newsletter h3 {
    font-family: var(--serif);
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 14px;
    letter-spacing: 0;
  }
  .newsletter h3 em { font-style: normal; color: var(--amber-soft); }
  .newsletter p {
    font-family: var(--serif);
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.75;
  }

  .subscribe-form {
    display: flex;
    flex-direction: row-reverse; /* button on right in RTL */
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(212, 163, 74, 0.35);
    background: rgba(20, 10, 5, 0.6);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.3s;
  }
  .subscribe-form:focus-within { border-color: var(--amber); }
  .subscribe-form input {
    flex: 1;
    background: transparent;
    border: 0; outline: 0;
    padding: 16px 22px;
    color: var(--cream);
    font-family: var(--sans);
    font-size: 15px;
    direction: ltr; /* email addresses are LTR */
    text-align: left;
  }
  .subscribe-form input::placeholder { color: rgba(237, 224, 194, 0.4); }
  .subscribe-form button {
    background: var(--amber);
    color: var(--espresso);
    border: 0;
    padding: 0 30px;
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: 0;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
  }
  .subscribe-form button:hover { background: var(--amber-soft); }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr; /* brand col on left (end in RTL) */
    gap: 50px;
    padding-top: 60px;
    border-top: 1px solid rgba(212, 163, 74, 0.15);
  }
  .footer-col h5 {
    font-family: var(--mono);
    font-size: 16px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber-dim);
    margin-bottom: 20px;
  }
  .footer-col a, .footer-col p {
    display: block;
    font-family: var(--serif);
    font-size: 16px;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
    letter-spacing: 0;
  }
  .footer-col a:hover { color: var(--amber-soft); }
  .footer-brand p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 280px;
  }
  .social-row { display: flex; gap: 14px; margin-top: 20px; }
  .social-row a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 1px solid rgba(212, 163, 74, 0.3);
    color: var(--amber-soft);
    margin: 0; border-radius: 50%;
    transition: all 0.3s; text-decoration: none;
  }
  .social-row a:hover { background: var(--amber); color: var(--espresso); border-color: var(--amber); }
  .social-row svg { width: 14px; height: 14px; }

  .copyline {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 163, 74, 0.1);
    display: flex; justify-content: space-between;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted-deep);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-wrap: wrap; gap: 12px;
  }

  /* ============ TWEAKS PANEL ============ */
  .tweaks {
    position: fixed;
    bottom: 24px; left: 24px; /* left side for RTL convention */
    width: 280px;
    background: rgba(20, 10, 5, 0.95);
    border: 1px solid rgba(212, 163, 74, 0.35);
    backdrop-filter: blur(12px);
    border-radius: 4px;
    padding: 18px;
    z-index: 100;
    font-family: var(--sans);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
    display: none;
    direction: rtl;
  }
  .tweaks.open { display: block; }
  .tweaks h4 {
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: 0;
    color: var(--amber-soft);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 163, 74, 0.2);
    display: flex; align-items: center; justify-content: space-between;
  }
  .tweaks .row { margin-bottom: 14px; }
  .tweaks label {
    display: block;
    font-family: var(--serif);
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .tweaks input[type="range"] { width: 100%; accent-color: var(--amber); direction: ltr; }
  .tweaks .seg {
    display: flex; gap: 4px;
    background: rgba(20,10,5,0.6);
    border: 1px solid rgba(212, 163, 74, 0.2);
    padding: 3px; border-radius: 2px;
  }
  .tweaks .seg button {
    flex: 1;
    background: transparent; border: 0;
    color: var(--muted);
    font-size: 13px; padding: 6px 4px;
    cursor: pointer;
    font-family: var(--serif);
    border-radius: 2px;
  }
  .tweaks .seg button.on { background: var(--amber); color: var(--espresso); }
  .tweaks .close {
    background: none; border: 0; cursor: pointer;
    color: var(--muted); font-size: 18px; line-height: 1;
  }

  .tweaks-toggle {
    position: fixed;
    bottom: 24px; left: 24px;
    background: rgba(20, 10, 5, 0.9);
    border: 1px solid rgba(212, 163, 74, 0.35);
    color: var(--amber-soft);
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 99;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
  }
  .tweaks-toggle:hover { border-color: var(--amber); background: rgba(212, 163, 74, 0.1); }
  .tweaks.open + .tweaks-toggle { display: none; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 960px) {
    .hero-inner, .about-inner, .featured-grid, .footer-grid { grid-template-columns: 1fr; gap: 48px; }
    .nav-links { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .card.feature { grid-row: auto; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .portrait-frame { max-width: 420px; margin: 0 auto; }
    .book { max-width: 280px; }
    .hero-copy { padding-left: 0; }
  }

  .hero-banner {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
  }
  .hero-banner img {
    position: absolute;
    width: 110%;
    height: 110%;
    object-fit: cover;
  }
    .hero-banner img:nth-child(3), .hero-banner img:nth-child(4) {
      width: 100%;
      object-fit: contain;
      backface-visibility: hidden;
      perspective: 1000px;
    } 
  .hero-banner-light {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  .hero-banner-light img {
    position: absolute;
    width: 110%;
    height: 110%;
    object-fit: cover;
  }

  @keyframes pulse {
    50% {
      opacity: 0.5;
    }
  }


  /*// Glow Border Animation //*/

  .center-box {
    position: relative;
    width: 100%;
    height: 100%;
  }

.animated-border-box, .animated-border-box-glow{
  max-height: 100%;
  max-width: 100%;
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden; 
  z-index: 0;
  /* Border Radius */
	border-radius: 10px;
}

.animated-border-box-glow{
  overflow: hidden;
  /* Glow Blur */
  filter: blur(20px);
}

.animated-border-box:before, .animated-border-box-glow:before {
  content: '';
  z-index: -2;
  text-align: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(0deg);
  position: absolute;
	width: 99999px;
	height: 99999px;
	background-repeat: no-repeat;
	background-position: 0 0;
  /*border color, change middle color*/
	background-image: conic-gradient(rgba(0,0,0,0), #801438, rgba(0,0,0,0) 50%);
  /* change speed here */
	animation: rotate 4s linear infinite;
}

.animated-border-box:after {
	content: '';
	position: absolute;
	z-index: -1;
  /* border width */
	left: 1px;
	top: 1px;
  /* double the px from the border width left */
	width: calc(100% - 10px);
	height: calc(100% - 10px);
  /*bg color*/
  /*box border radius*/
	border-radius: 7px;
}
.about-section-img {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100%; height: 100%;
  background-image: url('assets/images/about-section.webp');
  background-position: center; background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(0,0,0,0);
  animation: none;
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes rotate {
	100% {
		transform: translate(-50%, -50%) rotate(1turn);
	}
}

/*// Border Animation END//*/

.zoom-hover {
  transition: transform 0.3s ease-in-out 0s;
}
.zoom-hover:hover {
  transform: scale(1.1);
}
