:root {
    --pw-ink: #17221d;
    --pw-ink-soft: #526057;
    --pw-brown: #76543f;
    --pw-brown-dark: #4e382c;
    --pw-sage: #dfe7df;
    --pw-cream: #f4efe7;
    --pw-paper: #fffdf9;
    --pw-line: rgba(31, 47, 39, .14);
    --pw-danger: #8f332d;
    --pw-success: #286342;
    --pw-radius: 22px;
    --pw-motion: 260ms cubic-bezier(.22, 1, .36, 1);
}

.pw-utility {
    color: var(--pw-ink);
    background: var(--pw-paper);
    overflow: hidden;
}

.pw-utility *, .pw-auth * { box-sizing: border-box; }
.pw-utility-shell { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.pw-reading-shell { width: min(900px, calc(100% - 48px)); margin-inline: auto; }
.pw-utility a { color: inherit; }

.pw-utility-hero {
    position: relative;
    min-height: clamp(380px, 52vw, 650px);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: #25342c;
}
.pw-utility-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(14, 24, 19, .83) 0%, rgba(14, 24, 19, .48) 52%, rgba(14, 24, 19, .12) 100%);
}
.pw-utility-hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pw-utility-hero-content { width: min(720px, 100%); padding: clamp(110px, 14vw, 190px) 0 clamp(56px, 8vw, 100px); color: #fff; }
.pw-utility .pw-utility-hero .pw-utility-hero-content,
.pw-utility .pw-utility-hero .pw-utility-hero-content h1,
.pw-utility .pw-utility-hero .pw-utility-hero-content .pw-eyebrow {
    color: #fff !important;
}
.pw-eyebrow { margin: 0 0 18px; font-size: 12px; line-height: 1.2; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.pw-utility-hero h1, .pw-utility-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 94px);
    line-height: .92;
    font-weight: 500;
    letter-spacing: -.035em;
}
.pw-utility .pw-utility-hero .pw-utility-hero-content > p:not(.pw-eyebrow) { max-width: 660px; margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; color: rgba(255,255,255,.88) !important; }
.pw-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; font-size: 13px; color: rgba(255,255,255,.7); }
.pw-crumbs a { text-decoration: none; }

.pw-utility-section { padding: clamp(68px, 8vw, 120px) 0; }
.pw-utility-section.is-cream { background: var(--pw-cream); }
.pw-utility-intro { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.pw-utility-intro h2, .pw-contact-panel h2, .pw-faq-head h2, .pw-article-content h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1;
    letter-spacing: -.025em;
}
.pw-richtext { color: var(--pw-ink-soft); font-size: 17px; line-height: 1.85; }
.pw-richtext p, .pw-article-content p, .pw-richtext li, .pw-article-content li { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
.pw-richtext h1, .pw-richtext h2, .pw-richtext h3, .pw-richtext h4, .pw-article-content h1, .pw-article-content h2, .pw-article-content h3, .pw-article-content h4 { color: var(--pw-ink) !important; }
.pw-richtext > *:first-child { margin-top: 0; }
.pw-richtext h2, .pw-richtext h3 { color: var(--pw-ink); font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.12; margin: 1.8em 0 .6em; }
.pw-richtext h2 { font-size: clamp(31px, 4vw, 48px); }
.pw-richtext h3 { font-size: clamp(25px, 3vw, 34px); }
.pw-richtext img { display: block; max-width: 100%; height: auto; border-radius: 18px; margin: 36px 0; }
.pw-richtext a { color: var(--pw-brown-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.pw-about-image { margin-top: clamp(48px, 8vw, 100px); position: relative; }
.pw-about-image img { display: block; width: 100%; height: auto; min-height: 320px; max-height: 680px; object-fit: cover; border-radius: 22px; }
.pw-about-caption { position: absolute; left: 24px; bottom: 24px; max-width: 390px; padding: 18px 22px; background: rgba(255,253,249,.92); backdrop-filter: blur(12px); border-radius: 14px; font-size: 14px; line-height: 1.6; }

.pw-contact-layout { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pw-contact-aside { position: sticky; top: 120px; }
.pw-contact-aside h2 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4vw, 58px); line-height: 1; font-weight: 500; }
.pw-contact-aside > p { color: var(--pw-ink-soft); line-height: 1.7; }
.pw-contact-details { display: grid; gap: 12px; margin-top: 34px; }
.pw-contact-detail { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; min-height: 68px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--pw-line); }
.pw-contact-detail i { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--pw-line); border-radius: 50%; font-size: 21px; color: var(--pw-brown); }
.pw-contact-detail small { display: block; margin-bottom: 2px; color: var(--pw-ink-soft); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pw-contact-detail strong, .pw-contact-detail address { margin: 0; color: var(--pw-ink); font-style: normal; font-size: 15px; line-height: 1.55; }
.pw-contact-location-line { display: inline-flex; align-items: center; gap: 9px; }
.pw-contact-uae-flag { width: 28px; height: 18px; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(28,39,33,.1); }

.pw-contact-panel, .pw-auth-card { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--pw-line); border-radius: var(--pw-radius); background: #fff; box-shadow: 0 28px 80px rgba(28, 39, 33, .08); }
.pw-contact-panel-head { margin-bottom: 34px; }
.pw-contact-panel-head p { margin: 12px 0 0; color: var(--pw-ink-soft); line-height: 1.65; }
.pw-request-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 32px; padding: 6px; border-radius: 14px; background: var(--pw-cream); }
.pw-request-switch button { min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--pw-ink-soft); cursor: pointer; font: inherit; font-weight: 700; transition: color var(--pw-motion), background var(--pw-motion), box-shadow var(--pw-motion); }
.pw-request-switch button[aria-pressed="true"] { color: #fff; background: var(--pw-brown-dark); box-shadow: 0 8px 24px rgba(78,56,44,.2); }

.pw-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pw-field { min-width: 0; }
.pw-field.is-wide { grid-column: 1 / -1; }
.pw-field label { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 8px; color: var(--pw-ink); font-size: 13px; font-weight: 700; }
.pw-field label small { color: var(--pw-ink-soft); font-weight: 400; }
.pw-field input, .pw-field textarea, .pw-field select {
    width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid rgba(31,47,39,.22); border-radius: 10px; background: #fff; color: var(--pw-ink); font: inherit; font-size: 16px; transition: border-color var(--pw-motion), box-shadow var(--pw-motion);
}
.pw-field textarea { min-height: 150px; resize: vertical; }
.pw-field input:focus, .pw-field textarea:focus, .pw-field select:focus { outline: none; border-color: var(--pw-brown); box-shadow: 0 0 0 4px rgba(118,84,63,.13); }
.pw-field [aria-invalid="true"], .pw-field .is-invalid { border-color: var(--pw-danger); }
.pw-field-error, .invalid-feedback { display: block; margin-top: 7px; color: var(--pw-danger); font-size: 13px; line-height: 1.45; }
.pw-form-status { display: none; margin: 20px 0 0; padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.55; }
.pw-form-status.is-visible { display: block; }
.pw-form-status.is-success { color: var(--pw-success); background: rgba(40,99,66,.1); }
.pw-form-status.is-error { color: var(--pw-danger); background: rgba(143,51,45,.09); }

.pw-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border: 1px solid var(--pw-brown-dark); border-radius: 999px; background: var(--pw-brown-dark); color: #fff !important; text-decoration: none !important; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform var(--pw-motion), background var(--pw-motion), color var(--pw-motion), box-shadow var(--pw-motion); }
.pw-button:hover { transform: translateY(-1px); background: var(--pw-brown); box-shadow: 0 14px 30px rgba(78,56,44,.18); }
.pw-button:focus-visible, .pw-request-switch button:focus-visible, .pw-faq-trigger:focus-visible, .pw-auth-tab:focus-visible { outline: 3px solid rgba(118,84,63,.35); outline-offset: 3px; }
.pw-button.is-secondary { background: transparent; color: var(--pw-brown-dark) !important; box-shadow: none; }
.pw-button:disabled { cursor: wait; opacity: .58; transform: none; }

.pw-faq-layout { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: clamp(40px, 7vw, 100px); }
.pw-faq-head { position: sticky; top: 120px; align-self: start; }
.pw-faq-head p { color: var(--pw-ink-soft); line-height: 1.7; }
.pw-faq-list { border-top: 1px solid var(--pw-line); }
.pw-faq-item { border-bottom: 1px solid var(--pw-line); }
.pw-faq-trigger { width: 100%; min-height: 76px; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center; padding: 22px 0; border: 0; background: none; color: var(--pw-ink); text-align: left; font: inherit; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; cursor: pointer; }
.pw-faq-icon { position: relative; width: 24px; height: 24px; }
.pw-faq-icon::before, .pw-faq-icon::after { content: ""; position: absolute; left: 3px; top: 11px; width: 18px; height: 1px; background: currentColor; transition: transform var(--pw-motion); }
.pw-faq-icon::after { transform: rotate(90deg); }
.pw-faq-trigger[aria-expanded="true"] .pw-faq-icon::after { transform: rotate(0); }
.pw-faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--pw-motion); }
.pw-faq-answer > div { overflow: hidden; }
.pw-faq-answer p { margin: 0; padding: 0 48px 24px 0; color: var(--pw-ink-soft); font-size: 16px; line-height: 1.75; }
.pw-faq-item.is-open .pw-faq-answer { grid-template-rows: 1fr; }

.pw-article-page { padding: clamp(110px, 13vw, 180px) 0 clamp(72px, 9vw, 130px); }
.pw-article-header { margin-bottom: clamp(48px, 7vw, 84px); padding-bottom: 42px; border-bottom: 1px solid var(--pw-line); }
.pw-article-header .pw-eyebrow { color: var(--pw-brown); }
.pw-article-content { font-size: 17px; line-height: 1.85; color: var(--pw-ink-soft); }
.pw-article-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.pw-article-content h1, .pw-article-content h2, .pw-article-content h3 { color: var(--pw-ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
.pw-article-content img, .pw-article-content figure, .pw-article-content table { max-width: 100%; }
.pw-article-content img { height: auto; border-radius: 16px; }

.pw-auth { position: relative; isolation: isolate; min-height: calc(100dvh - 76px); display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); padding-bottom: 58px; background: var(--pw-cream); color: var(--pw-ink); }
.pw-auth::after { content: ""; position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 86px; pointer-events: none; background: var(--pw-cream); clip-path: polygon(0 62%, 33% 46%, 70% 14%, 100% 0, 100% 100%, 0 100%); }
.pw-auth-art { position: relative; min-height: 720px; overflow: hidden; background: #233129; }
.pw-auth-art img { width: 100%; height: 100%; object-fit: cover; opacity: .76; }
.pw-auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,19,15,.06) 22%, rgba(23,18,14,.84) 100%); }
.pw-auth-art-copy { position: absolute; z-index: 4; left: clamp(28px, 5vw, 72px); right: clamp(28px, 5vw, 72px); bottom: clamp(94px, 8vw, 126px); color: #fff !important; }
.pw-auth .pw-auth-art .pw-auth-art-copy .pw-eyebrow { margin: 0 0 18px; color: #f1dfd1 !important; text-shadow: 0 1px 18px rgba(18,12,9,.28); }
.pw-auth .pw-auth-art .pw-auth-art-copy h1 { margin: 0; color: #fff !important; -webkit-text-fill-color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5vw, 76px); line-height: .95; font-weight: 500; text-shadow: 0 2px 28px rgba(15,10,7,.3); }
.pw-auth .pw-auth-art .pw-auth-art-copy > p:not(.pw-eyebrow) { max-width: 520px; margin: 20px 0 0; color: rgba(255,255,255,.92) !important; text-shadow: 0 1px 18px rgba(18,12,9,.24); font-size: 17px; line-height: 1.65; }
.pw-auth-stage { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: center; padding: clamp(24px, 3.4vh, 42px) clamp(24px, 6vw, 90px) clamp(60px, 6vw, 82px); background: var(--pw-paper); }
.pw-auth-inner { width: min(560px, 100%); }
.pw-auth-heading { margin-bottom: 14px; }
.pw-auth-heading .pw-eyebrow { color: var(--pw-brown); }
.pw-auth-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.2vw, 56px); line-height: .98; font-weight: 500; white-space: nowrap; }
.pw-auth-heading p { margin: 10px 0 0; color: var(--pw-ink-soft); line-height: 1.55; }
.pw-auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 0 0 14px; padding: 4px; background: var(--pw-cream); border-radius: 13px; }
.pw-auth-tab { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--pw-ink-soft); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pw-auth-tab[aria-selected="true"] { background: #fff; color: var(--pw-ink); box-shadow: 0 7px 20px rgba(31,47,39,.08); }
.pw-auth-pane[hidden] { display: none !important; }
.pw-auth .pw-form-grid { grid-template-columns: 1fr; gap: 12px; }
.pw-auth .pw-auth-card { padding: clamp(26px, 2.5vw, 32px); }
.pw-auth-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.pw-auth-actions .pw-button { flex: 1 1 210px; }
.pw-text-link { color: var(--pw-brown-dark) !important; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.pw-password-wrap { position: relative; }
.pw-password-wrap input { padding-right: 54px; }
.pw-password-toggle { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--pw-ink-soft); cursor: pointer; font-size: 20px; }
.pw-auth-note { margin-top: 12px; color: var(--pw-ink-soft); font-size: 12.5px; line-height: 1.55; }
.pw-step-hint { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; color: var(--pw-ink-soft); font-size: 13px; }
.pw-step-hint span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--pw-line); border-radius: 50%; color: var(--pw-brown-dark); font-weight: 700; }

[data-pw-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.22,1,.36,1); }
[data-pw-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 991px) {
    .pw-utility-intro, .pw-contact-layout, .pw-faq-layout { grid-template-columns: 1fr; }
    .pw-contact-aside, .pw-faq-head { position: static; }
    .pw-auth { grid-template-columns: 1fr; padding-bottom: 34px; }
    .pw-auth::after { height: 34px; clip-path: none; }
    .pw-auth-art { min-height: 420px; }
    .pw-auth-art-copy { top: clamp(48px, 8vw, 72px); bottom: auto; }
    .pw-auth-stage { padding-top: 48px; }
    .pw-auth-heading h2 { white-space: normal; }
}

@media (max-width: 640px) {
    .pw-utility-shell, .pw-reading-shell { width: min(100% - 32px, 1280px); }
    .pw-utility-hero { min-height: 480px; }
    .pw-utility-hero-content { padding-top: 120px; }
    .pw-form-grid { grid-template-columns: 1fr; gap: 18px; }
    .pw-field.is-wide { grid-column: auto; }
    .pw-contact-panel, .pw-auth-card { padding: 24px 18px; border-radius: 18px; }
    .pw-contact-aside h2 { font-size: 42px; }
    .pw-contact-location-line { gap: 8px; }
    .pw-about-caption { position: static; max-width: none; margin-top: 12px; background: var(--pw-cream); }
    .pw-faq-answer p { padding-right: 8px; }
    .pw-auth-art { min-height: 410px; }
    .pw-auth-art-copy { top: 48px; left: 24px; right: 24px; }
    .pw-auth .pw-auth-art .pw-auth-art-copy h1 { font-size: clamp(38px, 11vw, 48px); line-height: .98; }
    .pw-auth .pw-auth-art .pw-auth-art-copy > p:not(.pw-eyebrow) { margin-top: 16px; font-size: 15px; line-height: 1.58; }
    .pw-auth-stage { padding: 40px 16px 68px; }
    .pw-auth-tabs, .pw-request-switch { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .pw-utility *, .pw-auth * { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
    [data-pw-reveal] { opacity: 1; transform: none; }
}
