/* Rayaan Perfumes v2 - readable type, generous touch targets, self-contained assets. */
:root {
  --ink: #101411;
  --ink-soft: #171d18;
  --forest: #1c241f;
  --gold: #d5b078;
  --ivory: #f4eee4;
  --muted: #c0c1b4;
  --border: #343b31;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --page-gutter: clamp(22px, 5vw, 76px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
::selection { background: var(--gold); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(54px, 4.8vw, 78px); letter-spacing: -2px; margin: 25px 0 27px; }
h1 em { color: var(--gold); font-size: .83em; line-height: 1.18; }
h2 { font-size: clamp(40px, 3.6vw, 58px); letter-spacing: -1.4px; }
h2 em { color: var(--gold); line-height: 1.2; }
.skip-link { position: fixed; left: 20px; top: -150px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 12px 20px; }
.skip-link:focus { top: 10px; }
.announcement { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 18px; text-align: center; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: .3px; }
.announcement img { width: 19px; height: 19px; filter: brightness(.1); }
.announcement:hover { background: var(--ivory); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(16,20,17,.98); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1520px; margin: auto; padding: 22px var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; min-height: 48px; }
.brand img { width: 190px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: 16px; line-height: 1.4; }
.main-nav a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; transition: color .2s; }
.main-nav a:hover { color: var(--gold); }
.header-contact { display: flex; align-items: center; justify-content: center; min-height: 48px; gap: 10px; color: var(--gold); font-size: 16px; font-weight: 600; white-space: nowrap; }
.header-contact:hover { color: var(--ivory); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 49% 51%; max-width: 1680px; margin: auto; min-height: 700px; }
.hero-copy { padding: 65px 6% 55px 10.2%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; }
.eyebrow { display: block; font-size: 13px; line-height: 1.65; letter-spacing: 1.8px; font-weight: 600; color: var(--gold); }
.hero .eyebrow { display: flex; gap: 12px; align-items: center; }
.hero .eyebrow span { display: block; flex: 0 0 25px; height: 1px; background: var(--gold); }
.hero-copy p { color: var(--muted); font-size: 19px; line-height: 1.8; margin-bottom: 30px; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; width: 100%; }
.button { min-height: 58px; padding: 15px 23px; background: var(--gold); color: var(--ink); border: 1px solid var(--gold); display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-align: center; font-size: 17px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background .2s, transform .2s; }
.button img { filter: brightness(.12); width: 24px; height: 24px; flex: 0 0 24px; }
.button:hover { background: var(--ivory); border-color: var(--ivory); transform: translateY(-2px); }
.button-outline { background: transparent; border-color: #77674c; color: var(--gold); }
.button-outline img { filter: none; }
.button-outline:hover { background: var(--forest); border-color: var(--gold); }
.hero-foot { margin-top: 34px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: 1px; }
.mini-rule { height: 1px; background: #6a705e; flex: 0 0 22px; }
.hero-art { min-height: 700px; min-width: 0; position: relative; }
.hero-art picture { position: absolute; inset: 0; display: block; }
.hero-art picture > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; }
.hero-art::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg,var(--ink),transparent 18%),linear-gradient(0deg,rgba(16,20,17,.72),transparent 24%); }
.art-caption { position: absolute; z-index: 2; bottom: 22px; left: 28px; right: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; line-height: 1.5; letter-spacing: 1px; color: var(--ivory); }
.art-caption span { color: #e6cc9f; }
.concept-note { background: #141a15; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--muted); text-align: center; font-size: 14px; line-height: 1.7; padding: 18px var(--page-gutter); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: middle; }
.mood-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px 45px; padding: 27px 5%; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 1.6; letter-spacing: 1.7px; color: #d5c7b0; }
.mood-strip i { font-style: normal; color: var(--gold); font-size: 18px; }
.section-wrap { max-width: 1440px; margin: auto; padding: 88px var(--page-gutter); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 42px; }
.section-heading h2 { margin-top: 18px; }
.section-heading > p { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 36ch; padding-bottom: 5px; }
.mood-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.mood-card { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; }
.card-image { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--forest); }
.card-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mood-card:hover .card-image > img { transform: scale(1.035); }
.card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.2),transparent 40%,rgba(0,0,0,.28)); }
.card-index { position: absolute; top: 18px; left: 18px; z-index: 1; font: italic 25px var(--serif); }
.card-open { display: flex; align-items: center; justify-content: center; position: absolute; bottom: 18px; right: 18px; z-index: 1; width: 48px; height: 48px; border: 1px solid rgba(213,176,120,.5); background: rgba(16,20,17,.88); }
.card-kicker { display: block; margin: 23px 0 9px; color: var(--gold); font-size: 13px; line-height: 1.7; letter-spacing: 1.5px; }
.card-title { display: block; font: 31px/1.22 var(--serif); letter-spacing: -.5px; }
.card-caption { display: block; color: var(--muted); font-size: 17px; line-height: 1.7; margin-top: 10px; }
.section-note { margin-top: 30px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.story { display: grid; grid-template-columns: 1fr 1fr; max-width: 1440px; margin: 0 auto 24px; background: var(--forest); }
.story-image { min-height: 600px; overflow: hidden; position: relative; }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.story-copy { position: relative; isolation: isolate; padding: 64px 12%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.story-copy::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .17; background: url('assets/brand/arch-pattern.svg') no-repeat right top / 500px; }
.story-mark { width: 80px; margin-left: -8px; margin-bottom: 32px; }
.story-copy h2 { margin: 18px 0 26px; }
.story-copy p { max-width: 40ch; margin-bottom: 20px; font-size: 18px; line-height: 1.8; color: #d0d1c5; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; font-size: 17px; line-height: 1.5; color: var(--gold); padding: 10px 0; margin-top: 10px; border-bottom: 1px solid var(--gold); }
.text-link img { flex-shrink: 0; }
.contact-section { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 65px; padding-top: 90px; padding-bottom: 95px; }
.contact-intro h2 { margin: 23px 0 27px; }
.contact-intro p { max-width: 42ch; color: var(--muted); font-size: 19px; line-height: 1.8; }
.contact-domain { display: block; margin-top: 26px; color: var(--gold); font-size: 16px; letter-spacing: .5px; }
.contact-card { min-width: 0; background: var(--ink-soft); border: 1px solid #5f523d; padding: 34px; }
.contact-label { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 12px; line-height: 1.6; letter-spacing: 1.4px; }
.contact-label img { flex: 0 0 26px; }
.contact-number { display: inline-flex; align-items: center; min-height: 54px; margin: 18px 0 4px; font: 39px/1.3 var(--serif); color: var(--ivory); letter-spacing: -.5px; white-space: nowrap; }
.contact-card > p { font-size: 17px; color: var(--muted); }
.contact-primary { display: flex; width: 100%; margin-top: 25px; gap: 12px; }
.contact-primary > span:last-child { margin-left: auto; }
.contact-options { margin: 12px 0 19px; display: grid; }
.contact-options a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; color: var(--ivory); font-size: 17px; border-bottom: 1px solid var(--border); padding: 11px 0; }
.contact-options a:hover { color: var(--gold); }
.contact-card .contact-help { font-size: 14px; line-height: 1.8; }
.site-footer { max-width: 1440px; margin: auto; padding: 40px var(--page-gutter) 28px; border-top: 1px solid var(--border); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 30px; }
.footer-brand > a { display: flex; align-items: center; min-height: 48px; }
.footer-brand img { width: 190px; }
.footer-brand p { font: italic 25px/1.4 var(--serif); color: var(--muted); margin-top: 20px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; font-size: 17px; }
.footer-contact > span { color: var(--muted); font-size: 14px; margin-bottom: 5px; }
.footer-contact a { color: var(--gold); display: inline-flex; align-items: center; gap: 9px; min-height: 48px; }
.footer-contact a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); padding-top: 23px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.floating-contact { position: fixed; z-index: 25; bottom: 22px; right: 24px; padding: 12px 19px; display: flex; align-items: center; gap: 10px; min-height: 56px; font-size: 16px; line-height: 1.5; font-weight: 600; background: var(--gold); color: var(--ink); border: 1px solid #f0d4a9; border-radius: 50px; box-shadow: 0 4px 30px #0006; }
.floating-contact img { filter: brightness(.12); }
.floating-contact:hover { background: var(--ivory); }
.website-page .site-footer { padding-bottom: 98px; }
.mobile-contact-bar { display: none; }
dialog { width: min(900px,calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; background: var(--ink); color: var(--ivory); border: 1px solid #65563e; overflow: auto; overscroll-behavior: contain; }
dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
#dialog-image { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.dialog-body { min-width: 0; padding: 62px 30px 30px; }
.dialog-body h2 { font-size: 40px; margin: 19px 0 22px; }
.dialog-body > p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.dialog-whatsapp { display: flex; margin-top: 24px; gap: 12px; width: 100%; }
.dialog-body .dialog-note { padding-top: 19px; margin-top: 23px; border-top: 1px solid var(--border); font-size: 14px; line-height: 1.8; }
.dialog-close { position: sticky; top: 12px; right: 12px; float: right; margin: 12px 12px -60px auto; grid-column: 1/-1; z-index: 2; width: 48px; height: 48px; flex: 0 0 48px; padding: 0; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--gold); cursor: pointer; }
.no-scroll { overflow: hidden; }
.closing { text-align: center; }
.closing p { font-size: 18px; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
/* The retained asset gallery also benefits from readable supporting text. */
.library-top p, .library-note { font-size: 17px; }
.library-top .eyebrow { flex-wrap: wrap; gap: 16px; }
.library-heading h2 { font-size: 15px; line-height: 1.6; }
.library-heading > span, .logo-tile > a, .swatch p, .swatch code, .artwork-grid p, .artwork-grid a, .crop-grid p, .icon-tile span, .plain-footer { font-size: 14px; line-height: 1.7; }
.logo-tile { min-height: 270px; padding-bottom: 75px; }
.logo-tile > a { min-height: 44px; display: flex; align-items: center; }
.artwork-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.library-heading { align-items: flex-start; }
@media (max-width: 1120px) {
  .header-contact { display: none; }
  .hero { grid-template-columns: 50% 50%; }
  .hero-copy { padding: 56px 7% 48px 10%; }
  .hero-copy h1 { font-size: clamp(46px,5.2vw,59px); }
  .hero-actions .button { width: 100%; }
  .hero-copy p { font-size: 18px; }
  .hero-art { min-height: 650px; }
  .hero-foot { letter-spacing: .5px; }
  .story-copy { padding: 48px 10%; }
  .story-copy h2 { font-size: 44px; }
  .section-heading > p { max-width: 29ch; }
  .card-title { font-size: 29px; }
  .contact-section { gap: 32px; }
  .contact-card { padding: 28px; }
  .contact-number { font-size: 34px; }
  .contact-intro h2 { font-size: 44px; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .logo-tile:first-child { grid-column: 1/-1; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 100px; }
  .header-inner { flex-wrap: wrap; gap: 12px; padding: 14px 22px; }
  .brand img { width: 181px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; min-width: 90px; padding: 10px 0 10px 12px; font-size: 16px; background: transparent; border: 0; cursor: pointer; }
  .main-nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; font-size: 18px; }
  .js-enabled .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 24px 22px; background: var(--ink-soft); border-bottom: 1px solid #65563e; box-shadow: 0 18px 25px #0005; max-height: calc(100dvh - 98px); overflow-y: auto; }
  .js-enabled .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 56px; padding: 13px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 43px var(--page-gutter) 35px; }
  .hero-copy h1 { font-size: clamp(46px,9.6vw,66px); letter-spacing: -1.6px; line-height: 1.07; margin: 23px 0 25px; }
  .hero-copy h1 em { font-size: .85em; }
  .hero-copy p { max-width: 42ch; font-size: 18px; line-height: 1.8; margin-bottom: 28px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { flex: 1 1 250px; }
  .button { min-height: 58px; font-size: 17px; padding: 15px 20px; }
  .hero-foot { font-size: 12px; margin-top: 27px; letter-spacing: .55px; }
  .hero-art { min-height: 0; height: min(112vw,660px); }
  .hero-art picture > img { object-position: 50% 55%; }
  .hero-art::before { background: linear-gradient(180deg,var(--ink),transparent 15%),linear-gradient(0deg,rgba(16,20,17,.78),transparent 26%); }
  .art-caption { bottom: 20px; left: 22px; right: 22px; font-size: 12px; letter-spacing: .7px; }
  .concept-note { font-size: 14px; text-align: left; padding: 19px var(--page-gutter); }
  .mood-strip { gap: 12px 22px; padding: 24px var(--page-gutter); font-size: 13px; letter-spacing: 1px; }
  .mood-strip i { display: none; }
  .section-wrap { padding: 63px var(--page-gutter); }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading h2 { font-size: clamp(41px,8.7vw,58px); margin-top: 18px; }
  .section-heading > p { margin-top: 25px; font-size: 18px; max-width: 44ch; }
  .section-heading > p br { display: none; }
  .mood-grid { grid-template-columns: 1fr; gap: 39px; }
  .card-image { aspect-ratio: 1.1; }
  .card-kicker { font-size: 13px; margin-top: 21px; }
  .card-title { font-size: 34px; }
  .card-caption { font-size: 18px; margin-top: 9px; }
  .section-note { font-size: 14px; margin-top: 29px; }
  .story { grid-template-columns: 1fr; margin-bottom: 0; }
  .story-image { min-height: 0; height: min(112vw,660px); }
  .story-copy { padding: 51px var(--page-gutter) 57px; }
  .story-mark { width: 78px; margin-bottom: 27px; }
  .story-copy h2 { font-size: clamp(42px,9.1vw,58px); margin-bottom: 27px; }
  .story-copy p { max-width: 50ch; font-size: 18px; line-height: 1.8; }
  .text-link { font-size: 18px; min-height: 52px; }
  .contact-section { grid-template-columns: 1fr; gap: 32px; }
  .contact-intro h2 { font-size: clamp(40px,8.6vw,56px); margin-top: 22px; }
  .contact-intro p { font-size: 18px; max-width: 48ch; }
  .contact-domain { font-size: 17px; margin-top: 23px; }
  .contact-card { padding: 28px; }
  .contact-label { font-size: 12px; letter-spacing: 1px; }
  .contact-number { font-size: clamp(33px,8.6vw,44px); margin-top: 18px; }
  .contact-card > p { font-size: 18px; }
  .contact-primary { margin-top: 25px; padding-left: 18px; padding-right: 18px; }
  .contact-options a { min-height: 56px; font-size: 17px; }
  .contact-card .contact-help { font-size: 14px; }
  .site-footer { padding: 38px var(--page-gutter) 30px; }
  .website-page .site-footer { padding-bottom: calc(118px + env(safe-area-inset-bottom,0px)); }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-contact { align-items: flex-start; font-size: 17px; }
  .footer-contact > span { font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 12px; font-size: 14px; }
  .floating-contact { display: none; }
  .mobile-contact-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(10px + env(safe-area-inset-bottom,0px)); background: rgba(16,20,17,.98); border-top: 1px solid #5d513e; box-shadow: 0 -5px 25px #0005; }
  .mobile-contact-bar > a { display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 9px 20px; color: var(--ink); background: var(--gold); font-size: 18px; font-weight: 600; line-height: 1.25; }
  .mobile-contact-bar img { width: 28px; height: 28px; flex: 0 0 28px; filter: brightness(.12); }
  .mobile-contact-bar small { display: block; font-size: 13px; font-weight: 400; margin-top: 3px; }
  .mobile-contact-arrow { margin-left: auto; font-size: 26px; font-weight: 400; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  dialog[open] { grid-template-columns: 1fr; }
  #dialog-image { height: min(62vw,340px); min-height: 0; }
  .dialog-body { padding: 28px 25px 30px; }
  .dialog-body h2 { font-size: 36px; }
  .dialog-body > p { font-size: 18px; }
  .dialog-body .dialog-note { font-size: 14px; }
  .dialog-whatsapp { font-size: 16px; }
  .library-top { padding: 38px var(--page-gutter); }
  .library-top h1 { font-size: 45px; }
  .library-top .eyebrow { font-size: 12px; }
  .library-section { padding: 28px var(--page-gutter); }
  .library-heading { flex-direction: column; gap: 8px; }
  .logo-grid { grid-template-columns: 1fr; }
  .logo-tile:first-child { grid-column: auto; }
  .palette { grid-template-columns: repeat(3,1fr); gap: 18px; }
  .artwork-grid, .crop-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(3,1fr); }
  .library-note { padding: 20px; }
}
@media (max-width: 370px) {
  :root { --page-gutter: 20px; }
  .announcement { font-size: 13px; gap: 8px; }
  .header-inner { padding-left: 20px; padding-right: 20px; gap: 10px; }
  .brand img { width: 158px; }
  .menu-toggle { min-width: 86px; gap: 7px; }
  .hero-copy h1 { font-size: 43px; }
  .eyebrow { font-size: 12px; letter-spacing: 1.2px; }
  .hero-foot { letter-spacing: .1px; font-size: 12px; }
  .hero-foot .mini-rule { display: none; }
  .art-caption { font-size: 11px; }
  .contact-card { padding: 22px 18px; }
  .contact-number { font-size: 33px; }
  .contact-primary { gap: 8px; padding: 14px 12px; font-size: 16px; }
  .contact-primary img { width: 22px; height: 22px; flex-basis: 22px; }
  .dialog-body { padding-left: 21px; padding-right: 21px; }
  .dialog-whatsapp { font-size: 15px; padding: 14px 10px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .site-header { position: relative; }
  .mobile-contact-bar { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom,0px)); }
  .mobile-contact-bar > a { min-height: 46px; }
  .mobile-contact-bar small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
