/* Talaria, a new website. Same content as talaria.sa, a new design built only from the
   brand's colours (sugar, umber, gold, ink, Nobel green) and its one shape: the parallelogram
   at -22deg. Interaction ideas borrowed from outside real estate: a product-launch scroll story,
   a gallery of exhibits, an index list, a fashion-style full-screen menu. */
@font-face { font-family: "Jannat"; src: url("/img/jannat.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jannat"; src: url("/img/jannat-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --sugar: #F5EDE8;
  --paper: #FBF6F1;
  --umber: #8C4931;
  --umber-600: #7C3F2A;
  --umber-700: #843D21;
  --umber-800: #5E2D1A;
  --umber-900: #3C1C10;
  --gold: #CDAC81;
  --gold-600: #B8945F;
  --gold-100: #F2E6D2;
  --gold-200: #E6D1AE;
  --gold-300: #DABF93;
  --green: #CEDEBD;
  --green-800: #374823;
  --ink: #14100D;
  --body: #2A2019;
  --muted: #6B594B;
  --line: #E7D9CD;
  --skew: -22deg;
  --tan: 0.404;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(18px, 4.5vw, 64px);
  --max: 1320px;
  --head: 76px;
  --font: "Jannat", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--sugar); color: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; color: var(--ink); letter-spacing: -.012em; }
/* one heading scale for every section below the hero */
.h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; margin-top: 18px; }
.sec { padding-block: clamp(72px, 9vw, 128px); }
/* tilted shapes may lean past the edge; trim them so the page never scrolls sideways (in English
   they lean to the right, where a browser would otherwise let you scroll to them) */
main { overflow-x: clip; }
:focus-visible { outline: 2px solid var(--umber); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--sugar); padding: 8px 14px; }
.skip:focus { inset-inline-start: 8px; }

/* small brand marks */
.mark { display: inline-block; width: 12px; height: 16px; background: var(--gold); transform: skewX(var(--skew)); flex: none; }
.label { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: .02em; color: var(--umber-600); }
.label::before { content: ""; width: 15px; height: 21px; background: var(--gold); transform: skewX(var(--skew)); }
.label.light { color: var(--gold-300); }
.label .en { font-size: clamp(14px, 1.1vw, 16px); letter-spacing: .14em; text-transform: uppercase; }

/* buttons: a parallelogram that settles square on hover */
.cta { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 30px; font-size: 17px; font-weight: 700; color: var(--sugar); isolation: isolate; transition: color .3s var(--ease); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--umber-600); transform: skewX(var(--skew)); transition: transform .42s var(--ease), background .3s var(--ease); }
.cta:hover::before { transform: skewX(0deg); background: var(--umber-700); }
main .cta { margin-inline-start: 11px; }
.cta.ghost { color: var(--ink); }
.cta.ghost::before { background: transparent; border: 1px solid var(--muted); }
.cta.ghost:hover::before { background: rgba(124,63,42,.06); }
.cta.on-dark { color: var(--ink); }
.cta.on-dark::before { background: var(--gold); }
.cta.on-dark:hover::before { background: var(--gold-200); }
.cta.line-light { color: var(--sugar); }
.cta.line-light::before { background: transparent; border: 1px solid rgba(245,237,232,.55); }
.cta.line-light:hover::before { background: rgba(245,237,232,.1); }

/* ---------- header ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head); display: flex; align-items: center; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.head.solid { background: rgba(245,237,232,.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.head .logo img { height: 28px; width: auto; }
.head .links { display: none; gap: clamp(20px, 2.4vw, 36px); font-size: 15px; font-weight: 700; color: var(--ink); }
.head .links a { position: relative; padding-block: 6px; }
.head .links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.head .links a:hover::after, .head .links a[aria-current]::after { transform: scaleX(1); }
[dir="ltr"] .head .links a::after { transform-origin: left; }
.head .tools { display: flex; align-items: center; gap: 10px; }
/* the language sits with the page links, set apart by a hairline */
.head .links .lang { margin-inline-start: 2px; padding-inline-start: clamp(20px, 2.4vw, 36px); border-inline-start: 1px solid rgba(20,16,13,.18); }
.head .links .lang::after { inset-inline-start: clamp(20px, 2.4vw, 36px); }
.head .cta { min-height: 40px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 6px 0 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.menu-btn .bars { position: relative; width: 26px; height: 12px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; inset-inline-start: 0; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.menu-btn .bars::before { top: 0; width: 26px; }
.menu-btn .bars::after { bottom: 0; width: 16px; }
.menu-btn:hover .bars::after { width: 26px; }
@media (max-width: 560px) { .head .cta { display: none; } .menu-btn .word { display: none; } }
@media (min-width: 1000px) { .head .links { display: flex; } .menu-btn { display: none; } }

/* ---------- full-screen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 150; background: var(--umber-800); color: var(--gold-100); display: grid; grid-template-rows: auto 1fr auto; clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path .42s var(--ease); visibility: hidden; }
.menu.open { clip-path: polygon(-45% 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
.menu .top { height: var(--head); display: flex; align-items: center; }
.menu .top .wrap { display: flex; justify-content: space-between; align-items: center; }
.menu .top img { height: 28px; }
.menu .close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold-100); font-size: 30px; line-height: 1; }
.menu nav { align-self: center; }
.menu nav ul { list-style: none; }
.menu nav a { display: inline-flex; align-items: center; gap: 22px; padding: 6px 0; font-size: clamp(38px, 7vw, 84px); font-weight: 700; line-height: 1.12; color: var(--sugar); transition: color .3s var(--ease); }
.menu nav a::before { content: ""; width: 0; height: .62em; background: var(--gold); transform: skewX(var(--skew)); transition: width .42s var(--ease); }
.menu nav a:hover, .menu nav a[aria-current] { color: var(--gold-300); }
.menu nav a:hover::before, .menu nav a[aria-current]::before { width: .32em; }
.menu nav .lang-item { margin-top: 14px; }
.menu nav .lang-item a { font-size: clamp(22px, 3.4vw, 34px); color: var(--gold-200); }
.menu .foot { padding-block: 28px; border-top: 1px solid rgba(245,237,232,.15); }
.menu .foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; font-size: 15px; color: var(--gold-200); }
.menu .foot a:hover { color: #fff; }

/* ---------- hero: drawn, then the brand's window opens onto the building ---------- */
.story { position: relative; height: 200vh; background: var(--paper); }
@media (max-width: 760px) { .story { height: 170vh; } }
.story .stage { position: sticky; top: 0; height: 100vh; min-height: 560px; overflow: hidden; }
.story .drawing { position: absolute; inset: 0; color: var(--umber-600); }
.story .drawing svg { width: 100%; height: 100%; }
.story .drawing path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.story .drawing.done path { stroke-dashoffset: 0; }
.story .drawing-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .55; }
.story .paper { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, var(--paper) 0%, rgba(251,246,241,.94) 30%, rgba(251,246,241,0) 58%); }
.story .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--aperture, none); }
.story .frame { position: absolute; left: 0; top: 0; border: 1px solid var(--gold); transform-origin: center; pointer-events: none; opacity: 0; }
.story .scrim { position: absolute; inset: 0; opacity: var(--scrim, 1); pointer-events: none; background: linear-gradient(270deg, rgba(46,21,12,.86) 0%, rgba(46,21,12,.55) 38%, rgba(46,21,12,.12) 70%, rgba(46,21,12,0) 100%); }
/* English runs left to right, so the fades sit behind the words on the left */
[dir="ltr"] .story .paper { background: linear-gradient(90deg, var(--paper) 0%, rgba(251,246,241,.94) 30%, rgba(251,246,241,0) 58%); }
[dir="ltr"] .story .scrim { background: linear-gradient(90deg, rgba(46,21,12,.86) 0%, rgba(46,21,12,.55) 38%, rgba(46,21,12,.12) 70%, rgba(46,21,12,0) 100%); }
.story .copy { position: absolute; z-index: 2; inset: 0; display: flex; align-items: flex-end; padding-bottom: clamp(56px, 12vh, 120px); }
.story h1 { font-size: clamp(56px, 9vw, 132px); line-height: .98; margin-top: 18px; transition: color .42s var(--ease); }
.story p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; max-width: 40ch; margin-top: 22px; color: var(--body); transition: color .42s var(--ease); }
.story .label { transition: color .42s var(--ease); }
.story.built h1 { color: var(--sugar); }
.story.built p { color: var(--gold-100); }
.story.built .label { color: var(--gold-300); }
.story .meter { position: absolute; z-index: 2; bottom: 28px; inset-inline-end: var(--gutter); width: 120px; height: 2px; background: rgba(124,63,42,.15); }
.story .meter i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p, 0) * 100%); background: var(--umber-600); }
.story.built .meter { background: rgba(245,237,232,.25); }
.story.built .meter i { background: var(--gold); }
/* the shapes from the guideline, resting on the paper */
.story .shapes { position: absolute; z-index: 1; top: calc(var(--head) + 18px); inset-inline-end: 7%; pointer-events: none; transition: opacity .42s var(--ease); }
.story .shapes span { position: absolute; transform: skewX(var(--skew)); }
.story .shapes .a { width: 26px; height: 120px; background: var(--umber-600); top: 0; inset-inline-end: 0; }
.story .shapes .b { width: 14px; height: 70px; background: var(--gold); top: 60px; inset-inline-end: 44px; }
.story .shapes .c { width: 120px; height: 120px; border: 1px solid var(--gold); top: 30px; inset-inline-end: 10px; }
.story.built .shapes { opacity: 0; }
@media (max-width: 760px) {
  .story .paper, [dir="ltr"] .story .paper { background: linear-gradient(0deg, var(--paper) 0%, rgba(251,246,241,.95) 42%, rgba(251,246,241,0) 68%); }
  .story .scrim, [dir="ltr"] .story .scrim { background: linear-gradient(0deg, rgba(46,21,12,.9) 0%, rgba(46,21,12,.45) 60%, rgba(46,21,12,.1) 100%); }
  .story .shapes { display: none; }
}

/* ---------- our idea: the hero's caption, a detail of the same drawing ---------- */
.idea .grid { display: grid; grid-template-columns: 1fr minmax(260px, 40%); gap: clamp(32px, 6vw, 96px); align-items: center; }
.idea .statement { font-size: clamp(24px, 2.6vw, 36px); font-weight: 400; line-height: 1.5; max-width: 26ch; margin-top: 20px; color: var(--ink); }
.idea .window { position: relative; justify-self: end; width: min(100%, 420px); aspect-ratio: 4 / 5; }
.idea .window .pane { position: absolute; inset: 0; transform: skewX(var(--skew)); border: 1px solid var(--gold); background: var(--paper); overflow: hidden; }
.idea .window img { position: absolute; inset: -2% -30%; width: 160%; max-width: none; height: 104%; object-fit: cover; transform: skewX(22deg); }
@media (max-width: 760px) { .idea .grid { grid-template-columns: 1fr; } .idea .window { justify-self: center; width: 70%; } }

/* ---------- the series, as exhibits ---------- */

.series .grid { display: grid; grid-template-columns: minmax(280px, .8fr) 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.series .intro p { color: var(--muted); font-size: 18px; max-width: 36ch; margin-top: 22px; }
.series .intro .cta { margin-top: 34px; }
.exhibits { display: flex; gap: 14px; height: clamp(380px, 52vw, 560px); padding-inline-start: clamp(16px, 2.4vw, 32px); padding-inline-end: clamp(64px, 9vw, 100px); }
.exhibit { position: relative; flex: 1; min-width: 0; transform: skewX(var(--skew)); overflow: hidden; background: var(--umber-800); transition: flex .5s var(--ease); }
.exhibit:hover, .exhibit:focus-visible, .exhibits:not(:hover) .exhibit.lead { flex: 2; }
/* the panel is slanted; its photo and words stand upright inside it */
.exhibit .inner { position: absolute; inset: 0; z-index: 1; transform: skewX(22deg); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 28px 12px 34px; text-align: center; }
.exhibit img { position: absolute; top: 0; height: 100%; width: 190%; max-width: none; inset-inline-start: -45%; object-fit: cover; opacity: .9; transform: skewX(22deg); transition: transform .6s var(--ease); }
.exhibit:hover img { transform: skewX(22deg) scale(1.04); }
/* words sit low, where a slanted panel leans sideways: move them with the lean (tan 22° x their height) */
.exhibit .inner > * { transform: translateX(calc(-1 * clamp(62px, 8.6vw, 92px))); }
.exhibit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46,21,12,.75), rgba(46,21,12,0) 60%); }
.exhibit .name { position: relative; font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; line-height: 1; color: var(--sugar); white-space: nowrap; }
.exhibit .mean { position: relative; margin-top: 8px; font-size: 14px; color: var(--gold-200); white-space: nowrap; }
.exhibit .tag { position: relative; margin-top: 14px; font-size: 12px; font-weight: 700; padding: 4px 12px; background: var(--green); color: var(--green-800); white-space: nowrap; }
.exhibit .tag.soon { background: rgba(245,237,232,.16); color: var(--gold-100); }
.exhibit.rawi { background: var(--umber-600); }
.exhibit.diyar { background: var(--gold-600); }
.exhibit.rawi::after, .exhibit.diyar::after { display: none; }
.exhibit.diyar .name { color: var(--umber-900); }
.exhibit.diyar .mean { color: var(--umber-800); }
.exhibit.diyar .tag.soon { background: rgba(60,28,16,.12); color: var(--umber-900); }
.exhibit .pattern { position: absolute; inset: 0; opacity: .14; background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 34px); color: var(--sugar); }
@media (max-width: 900px) {
  .series .grid { grid-template-columns: 1fr; }
  .exhibits { height: 420px; padding-inline-start: 24px; padding-inline-end: 72px; }
}
@media (max-width: 560px) {
  .exhibits { flex-direction: column; height: auto; padding-inline: 0; gap: 10px; }
  .exhibit, .exhibit:hover, .exhibits:not(:hover) .exhibit.lead { flex: none; height: 150px; transform: none; }
  .exhibit.lead { height: 260px; }
  .exhibit .inner { transform: none; padding: 20px; align-items: flex-start; text-align: start; }
  .exhibit .inner > * { transform: none; }
  .exhibit img { width: 100%; inset-inline-start: 0; transform: none; }
  .exhibit:hover img { transform: scale(1.04); }
}

/* ---------- featured project: one plate, one link, the story told on glass ---------- */
.feature { padding-top: 0; }
.plate { position: relative; display: block; height: clamp(440px, 52vw, 640px); border-radius: 4px; overflow: hidden; background: var(--umber-800); color: var(--sugar); }
.plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46,21,12,.78) 0%, rgba(46,21,12,.25) 45%, rgba(46,21,12,0) 70%); }
/* a wide glass band at the brand angle; its contents stand upright */
.plate .panel { position: absolute; z-index: 1; inset-inline-start: clamp(44px, 5.5vw, 80px); bottom: clamp(24px, 3.4vw, 44px); transform: skewX(var(--skew)); background: rgba(46,21,12,.32); border: 1px solid rgba(245,237,232,.45); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); transition: background .42s var(--ease), border-color .42s var(--ease); }
.plate .body { transform: skewX(22deg); padding: clamp(22px, 2.4vw, 30px) clamp(44px, 5vw, 72px); }
.plate .label { color: var(--gold-300); }
.plate h2 { color: var(--sugar); font-size: clamp(34px, 3.6vw, 50px); margin-top: 8px; white-space: nowrap; }
.plate .where { margin-top: 8px; font-size: 15px; color: var(--gold-100); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.plate .chip { font-size: 12px; font-weight: 700; padding: 4px 12px; background: var(--green); color: var(--green-800); white-space: nowrap; }
/* the cue that the whole plate opens: a gold slant on the panel's leading edge that grows on hover */
.plate .go { position: absolute; inset-block: -1px; inset-inline-end: -1px; width: 6px; background: var(--gold); transition: width .42s var(--ease); }
.plate:hover > img, .plate:focus-visible > img { transform: scale(1.03); }
.plate:hover .panel, .plate:focus-visible .panel { background: rgba(46,21,12,.44); border-color: rgba(245,237,232,.7); }
.plate:hover .go, .plate:focus-visible .go { width: 18px; }
.plate:focus-visible { outline: 2px solid var(--umber); outline-offset: 4px; }
@media (max-width: 860px) {
  .plate { height: auto; min-height: 520px; display: flex; align-items: flex-end; }
  .plate .panel { position: relative; inset: auto; margin: 16px; transform: none; flex: 1; }
  .plate .body { transform: none; padding: 22px 24px; }
  .plate .go { inset-block: auto; bottom: -1px; inset-inline: -1px; width: auto; height: 4px; }
  .plate:hover .go { width: auto; height: 8px; }
}

/* ---------- services: compact, heading beside a slim list ---------- */
.services { background: var(--umber-800); color: var(--gold-100); }
.services .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.services .h2 { color: var(--sugar); }
.slim { list-style: none; border-top: 1px solid rgba(245,237,232,.18); }
.slim li { display: grid; grid-template-columns: 10px 1fr; column-gap: 18px; padding-block: 20px; border-bottom: 1px solid rgba(245,237,232,.18); }
.slim li::before { content: ""; grid-row: 1 / span 2; width: 10px; height: 14px; margin-top: 9px; background: var(--gold); transform: skewX(var(--skew)); }
.slim h3 { font-size: clamp(20px, 1.8vw, 26px); color: var(--sugar); transition: color .2s var(--ease); }
.slim li:hover h3 { color: var(--gold-300); }
.slim p { margin-top: 4px; font-size: 15px; color: var(--gold-200); }
@media (max-width: 820px) { .services .grid { grid-template-columns: 1fr; } }

/* ---------- closing: a bookend to the hero, its window closed back to a slit ---------- */
.closing .grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.closing .h2 { max-width: 16ch; }
.closing p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.closing .cta { margin-top: 32px; }
.closing .slit { justify-self: center; position: relative; width: clamp(120px, 14vw, 170px); height: clamp(280px, 30vw, 360px); transform: skewX(var(--skew)); overflow: hidden; }
.closing .slit img { position: absolute; top: 0; height: 100%; width: 420%; max-width: none; inset-inline-start: -150%; object-fit: cover; object-position: 50% 50%; transform: skewX(22deg); }
@media (max-width: 760px) { .closing .grid { grid-template-columns: 1fr; } .closing .slit { display: none; } }

/* ---------- footer ---------- */
.foot-site { background: var(--umber-800); color: var(--gold-100); padding-block: clamp(40px, 5vw, 56px) 20px; overflow: hidden; }
.foot-site .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; align-items: start; }
.foot-site .brand img { height: clamp(56px, 5vw, 68px); width: auto; }
.foot-site .brand p { margin-top: 10px; font-size: 14px; color: var(--gold-200); }
.foot-site h4 { font-size: 12px; color: var(--gold-300); margin-bottom: 8px; }
.foot-site ul { list-style: none; font-size: 14px; }
.foot-site li { padding: 2px 0; }
.foot-site a:hover { color: #fff; }
.foot-site .ltr { direction: ltr; unicode-bidi: isolate; }
.foot-site .bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(245,237,232,.14); font-size: 12px; color: var(--gold-200); }
.foot-site .social { display: flex; gap: 10px; }
.foot-site .social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(245,237,232,.3); transform: skewX(var(--skew)); transition: background .3s var(--ease); }
.foot-site .social a svg { transform: skewX(22deg); }
.foot-site .social a:hover { background: rgba(245,237,232,.12); }
@media (max-width: 820px) { .foot-site .grid { grid-template-columns: 1fr 1fr; } .foot-site .brand { grid-column: 1 / -1; } }

/* less motion: every scene shows its finished state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .story { height: auto; }
  .story .stage { position: relative; height: 100vh; }
}

/* =================== inner pages =================== */
/* page opening: label, title, lead; sits under the fixed header */
.page-head { padding-top: calc(var(--head) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.06; margin-top: 18px; max-width: 18ch; }
.page-head .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 52ch; margin-top: 20px; }
.page-head .statement { font-size: clamp(24px, 3vw, 40px); font-weight: 400; line-height: 1.5; color: var(--ink); max-width: 30ch; margin-top: 20px; letter-spacing: 0; }
/* the error page: a short, calm message in both languages */
.lost { min-height: 78vh; display: grid; align-items: center; padding-top: calc(var(--head) + 48px); padding-bottom: 72px; }
.lost h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; margin-top: 16px; }
.lost-ar p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 46ch; }
.lost-go { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.lost-en { margin-top: clamp(48px, 7vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); max-width: 46ch; text-align: left; margin-inline-start: auto; }
.lost-en h2 { font-size: 21px; color: var(--ink); }
.lost-en p { margin-top: 8px; color: var(--muted); }
.lost-en a { color: var(--umber-600); text-decoration: underline; text-underline-offset: 3px; }
/* privacy and other reading pages: one comfortable column */
.legal ul { margin-top: 10px; padding-inline-start: 22px; }
.legal li { margin-top: 6px; line-height: 1.8; }
/* a draft value Talaria must confirm before the page goes live */
mark.todo { background: #FFF1A8; color: var(--ink); padding: 0 4px; border-radius: 2px; }
.legal { padding-top: 0; }
.legal .wrap > * { max-width: 68ch; }
.legal h2 { font-size: clamp(21px, 1.9vw, 25px); color: var(--ink); margin-top: 36px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 10px; font-size: 17px; line-height: 1.85; }
.legal a { color: var(--umber-600); text-decoration: underline; text-underline-offset: 3px; }

/* a wide photo seen through the brand's slanted window */
.wide-window { position: relative; height: clamp(300px, 42vw, 560px); margin-inline: clamp(40px, 6vw, 90px); transform: skewX(var(--skew)); overflow: hidden; background: var(--line); }
.wide-window img { position: absolute; top: 0; height: 100%; width: 130%; max-width: none; inset-inline-start: -15%; object-fit: cover; transform: skewX(22deg); }
@media (max-width: 700px) { .wide-window { margin-inline: 0; transform: none; } .wide-window img { width: 100%; inset-inline-start: 0; transform: none; } }

/* a label beside a passage */
.pair .grid { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.pair p { font-size: clamp(20px, 2vw, 28px); line-height: 1.6; color: var(--ink); max-width: 40ch; }
@media (max-width: 760px) { .pair .grid { grid-template-columns: 1fr; } }

/* deep bands share the footer's colour */
.deep { background: var(--umber-800); color: var(--gold-100); }
.deep .h2, .deep h2 { color: var(--sugar); }
.deep p { color: var(--gold-200); }
.deep .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.deep .grid p { font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }
@media (max-width: 820px) { .deep .grid { grid-template-columns: 1fr; } }

/* the closing line of a page, with the slit window; white, so it stands apart from the sand section above */
.endnote { background: #fff; }
.endnote .grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.endnote p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.endnote .cta { margin-top: 32px; }
.endnote .slit { justify-self: center; position: relative; width: clamp(120px, 14vw, 170px); height: clamp(260px, 28vw, 340px); transform: skewX(var(--skew)); overflow: hidden; }
.endnote .slit img { position: absolute; top: 0; height: 100%; width: 420%; max-width: none; inset-inline-start: -150%; object-fit: cover; transform: skewX(22deg); }
@media (max-width: 760px) { .endnote .grid { grid-template-columns: 1fr; } .endnote .slit { display: none; } }

/* ---------- series page ---------- */
.plate .mean { margin-top: 6px; font-size: 15px; color: var(--gold-200); }
.series-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.series-detail .about p { font-size: 18px; line-height: 1.8; max-width: 56ch; }
.series-detail h3 { font-size: 15px; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-block: 1px solid var(--line); transition: padding .42s var(--ease); }
.row-link b { display: block; font-size: 22px; color: var(--ink); }
.row-link small { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 4px; color: var(--muted); font-size: 15px; }
.row-link .chip, .tag-open { font-size: 12px; font-weight: 700; padding: 4px 12px; background: var(--green); color: var(--green-800); }
.row-link .go { width: 12px; height: 34px; background: var(--gold); transform: skewX(var(--skew)); transition: width .42s var(--ease); flex: none; }
.row-link:hover { padding-inline-start: 10px; }
.row-link:hover .go { width: 22px; }
.coming-note { margin-top: 0; font-size: clamp(20px, 2vw, 26px); color: var(--muted); }
.coming { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.coming article { position: relative; border-radius: 4px; background: var(--umber-600); color: var(--gold-100); }
.coming article.gold { background: var(--gold-600); color: var(--umber-900); }
.coming .in { padding: 28px 32px; }
/* room under the name, so marks below the letters (the tanween of «راوٍ») clear the line beneath */
.coming h3 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.35; color: inherit; }
.coming .mean { font-size: 15px; opacity: .85; margin-top: 6px; }
.coming p { margin-top: 14px; font-size: 16px; line-height: 1.75; opacity: .95; }
.coming .soon { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; padding: 4px 12px; background: rgba(245,237,232,.16); }
.coming .gold .soon { background: rgba(60,28,16,.12); }
@media (max-width: 860px) { .series-detail { grid-template-columns: 1fr; } .coming { grid-template-columns: 1fr; } .coming .in { padding: 24px; } }
.series-plate { height: clamp(380px, 44vw, 560px); }
.series-plate img { object-position: 50% 30%; }
.series-detail h3 + .cta, .series-detail .latest-h { margin-top: 28px; }
@media (max-width: 560px) { .row-link .go { margin-inline-end: 6px; } }

/* ---------- project page ---------- */
.p-top { position: relative; height: min(88vh, 820px); min-height: 560px; overflow: hidden; background: var(--umber-800); color: var(--sugar); }
.p-top > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46,21,12,.8) 0%, rgba(46,21,12,.2) 50%, rgba(46,21,12,.35) 100%); }
.p-top .panel { position: absolute; z-index: 1; bottom: clamp(32px, 6vh, 64px); inset-inline-start: clamp(56px, 7vw, 120px); transform: skewX(var(--skew)); background: rgba(46,21,12,.34); border: 1px solid rgba(245,237,232,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.p-top .panel > div { transform: skewX(22deg); padding: clamp(24px, 3vw, 36px) clamp(52px, 6vw, 84px); }
.p-top .label { color: var(--gold-300); }
.p-top h1 { color: var(--sugar); font-size: clamp(40px, 5.6vw, 76px); line-height: 1; margin-top: 10px; white-space: nowrap; }
.p-top .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; color: var(--gold-100); font-size: 16px; }
.p-top .meta .sep { width: 6px; height: 10px; background: var(--gold); transform: skewX(var(--skew)); }
.p-top .cta { margin-top: 22px; }
@media (max-width: 700px) { .p-top .panel { inset-inline: 16px; transform: none; } .p-top .panel > div { transform: none; padding: 22px 24px; } .p-top h1 { white-space: normal; } }
.tagline { text-align: start; }
.tagline { padding-bottom: 0; }
.tagline p { font-size: clamp(26px, 3.4vw, 46px); font-weight: 700; line-height: 1.4; color: var(--ink); max-width: 24ch; padding-inline-start: 22px; border-inline-start: 3px solid var(--gold); }
.story-p p { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.8; max-width: 52ch; margin-top: 18px; color: var(--ink); }
.trio { display: flex; gap: 14px; height: clamp(280px, 34vw, 440px); margin-top: clamp(32px, 5vw, 56px); padding-inline: clamp(24px, 3vw, 40px) clamp(64px, 9vw, 100px); }
.trio figure { position: relative; flex: 1; transform: skewX(var(--skew)); overflow: hidden; background: var(--line); }
.trio img { position: absolute; top: 0; height: 100%; width: 170%; max-width: none; inset-inline-start: -35%; object-fit: cover; transform: skewX(22deg); }
@media (max-width: 700px) { .trio { flex-direction: column; height: auto; padding-inline: 0; } .trio figure { height: 220px; flex: none; transform: none; } .trio img { width: 100%; inset-inline-start: 0; transform: none; } }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.twocol > div > p { font-size: 18px; line-height: 1.8; margin-top: 16px; max-width: 46ch; }
.slim.on-paper { border-top-color: var(--line); margin-top: 16px; }
.slim.on-paper li { border-bottom-color: var(--line); }
.slim.on-paper h3 { color: var(--ink); }
.slim.on-paper p { color: var(--muted); }
.slim.on-paper li:hover h3 { color: var(--umber-600); }
.ticks { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.ticks li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.ticks li::before { content: ""; width: 8px; height: 12px; background: var(--gold); transform: skewX(var(--skew)); flex: none; }
@media (max-width: 820px) { .twocol { grid-template-columns: 1fr; } }
/* project page: the design ideas on their own, side by side with room between them;
   then the building and its features on a lighter band (as the live site separates them) */
.ideas-sec { padding-top: 0; }
.ideas { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 24px; }
/* the small mark sits beside the title, so it doesn't compete with the section's own */
.ideas h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); }
.ideas h3::before { content: ""; flex: none; width: 8px; height: 12px; background: var(--gold); transform: skewX(var(--skew)); }
.ideas p { margin-top: 10px; padding-inline-start: 20px; font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 36ch; }
.build-band { background: var(--paper); }
.build-band .twocol > div > p { margin-top: 22px; }
.build-band .ticks { border-top: 0; display: grid; gap: 16px; margin-top: 22px; }
.build-band .ticks li { border-bottom: 0; padding: 0; }
@media (max-width: 820px) { .ideas { grid-template-columns: 1fr; gap: 32px; } .build-band .twocol { row-gap: 56px; } }
.guarantees { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); margin-top: clamp(24px, 3vw, 36px); }
.guarantees li { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; align-items: center; padding-block: 18px; border-bottom: 1px solid rgba(245,237,232,.18); }
/* each warranty keeps the icon it has on the live site, set in the brand's slanted tile */
.guarantees .ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 48px; position: relative; color: var(--gold); }
.guarantees .ico::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(205,172,129,.45); background: rgba(205,172,129,.08); transform: skewX(var(--skew)); }
.guarantees .ico svg { position: relative; width: 22px; height: 22px; }
.guarantees h3 { font-size: clamp(18px, 1.6vw, 22px); color: var(--sugar); }
.guarantees p { margin-top: 2px; font-size: 15px; color: var(--gold-200); }
@media (max-width: 760px) { .guarantees { grid-template-columns: 1fr; } }
.pricing .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.pricing .range span { white-space: nowrap; }
.pricing .range { font-size: clamp(30px, 3.8vw, 52px); font-weight: 700; color: var(--ink); line-height: 1.15; margin-top: 18px; }
.pricing h2.label { margin: 0; }
.pricing .count { margin-top: 8px; color: var(--muted); font-size: 16px; }
.pricing .count b { color: var(--ink); }
.pricing .note { color: var(--muted); max-width: 40ch; font-size: 16px; }
.floors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 40px); }
.floors button { position: relative; isolation: isolate; min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.floors button::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--stone, #B49E8C); transform: skewX(var(--skew)); transition: background .3s var(--ease), border-color .3s var(--ease); }
.floors button span { font-size: 12px; opacity: .7; }
.floors button:hover::before { background: rgba(124,63,42,.06); }
.floors button[aria-pressed="true"] { color: var(--sugar); }
.floors button[aria-pressed="true"]::before { background: var(--umber-600); border-color: var(--umber-600); }
.homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.home { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.home[hidden] { display: none; }
.home .plan { position: relative; aspect-ratio: 4 / 3; background: #EFE6DE; border-bottom: 1px solid var(--line); }
.home .plan img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.home .state { position: absolute; top: 12px; inset-inline-start: 12px; font-size: 12px; font-weight: 700; padding: 4px 12px; background: var(--green); color: var(--green-800); }
.home.sold .state { background: var(--umber-600); color: var(--sugar); }
.home.sold .plan img { opacity: .5; }
.home .info { padding: 16px 18px; flex: 1; }
.home .line1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.home h3 { font-size: 20px; }
.home .floor { color: var(--muted); font-size: 14px; }
.home .spec { color: var(--muted); font-size: 14px; margin-top: 2px; }
.home .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); min-height: 56px; }
.home .amount { font-weight: 700; font-size: 18px; color: var(--ink); }
.home .ask { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-weight: 700; font-size: 15px; color: var(--umber-600); }
.home.sold .amount { font-weight: 400; font-size: 15px; color: var(--muted); }
.home .ask:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .homes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  /* on phones each home is a compact row: plan thumbnail beside its details */
  .homes { grid-template-columns: 1fr; gap: 10px; }
  .home { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; }
  .home .plan { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .home .state { top: 6px; inset-inline-start: 6px; padding: 2px 8px; font-size: 11px; }
  .home .info { padding: 12px 14px 4px; }
  .home h3 { font-size: 17px; }
  .home .foot { padding: 0 14px 6px; min-height: 0; border-top: 0; }
  .home .amount { font-size: 16px; }
}
.licence { display: flex; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); color: var(--muted); font-size: 15px; }
.licence::before { content: ""; width: 8px; height: 12px; background: var(--gold); transform: skewX(var(--skew)); }
.licence b { color: var(--ink); letter-spacing: .04em; }
.viewer { border: 0; padding: 0; background: #fff; max-width: min(1000px, 94vw); max-height: 92vh; overflow: hidden; margin: auto; box-shadow: 0 16px 40px rgba(52,24,13,.14); }
.viewer::backdrop { background: rgba(30,18,12,.72); }
.viewer img { display: block; width: 100%; max-height: calc(92vh - 52px); object-fit: contain; background: #EFE6DE; mix-blend-mode: multiply; }
.viewer p { padding: 12px 20px; font-weight: 700; color: var(--ink); }
.viewer-close { position: absolute; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; background: rgba(255,255,255,.94); font-size: 26px; line-height: 1; }

/* ---------- contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 100vh; margin-bottom: clamp(48px, 6vw, 80px); }
.contact-wrap .side { position: relative; overflow: hidden; background: var(--umber-800); color: var(--gold-100); padding: calc(var(--head) + clamp(40px, 6vw, 80px)) var(--gutter) clamp(40px, 6vw, 80px); }
.contact-wrap .side .label { color: var(--gold-300); }
.contact-wrap .side h1 { color: var(--sugar); font-size: clamp(36px, 4.4vw, 60px); margin-top: 16px; max-width: 14ch; }
.contact-wrap .side .lead { color: var(--gold-200); margin-top: 18px; max-width: 42ch; font-size: 18px; }
.contact-wrap .reach { position: relative; z-index: 1; margin-top: 40px; border-top: 1px solid rgba(245,237,232,.16); }
.contact-wrap .reach h2 { font-size: 13px; color: var(--gold-300); margin: 18px 0 8px; }
.contact-wrap .reach a, .contact-wrap .reach span { display: block; padding: 4px 0; font-size: 17px; }
.contact-wrap .reach a:hover { color: #fff; }
.contact-wrap .reach .social { display: flex; gap: 10px; margin-top: 18px; }
.contact-wrap .reach .social a { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(245,237,232,.3); transform: skewX(var(--skew)); }
.contact-wrap .reach .social svg { transform: skewX(22deg); }
.contact-wrap .reach .social a:hover { background: rgba(245,237,232,.12); }
/* the architect's drawing, faint, behind the details */
.contact-wrap .side .sketch { position: absolute; inset-inline-end: -8%; bottom: -6%; width: 70%; opacity: .1; filter: brightness(3) sepia(.2); pointer-events: none; }
.contact-wrap .form-side { padding: calc(var(--head) + clamp(40px, 6vw, 80px)) var(--gutter) clamp(40px, 6vw, 80px); }
.enquiry, .sent { max-width: 540px; }
.enquiry h2, .sent h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 24px; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--muted); border-radius: 0; padding: 10px 2px; min-height: 48px; transition: border-color .2s var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C3F2A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: 8px 50%; background-repeat: no-repeat; padding-inline-end: 30px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--umber); }
.field .req { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input:user-invalid { border-bottom: 2px solid var(--umber-700); }
.enquiry .cta { margin-top: 8px; }
.enquiry .cta[disabled] { opacity: .7; cursor: progress; }
.form-msg { margin: 4px 0 12px; padding: 12px 14px; border-inline-start: 3px solid #A23B2A; background: rgba(162,59,42,.08); color: #7A2A1D; font-size: 15px; }
.consent { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 52ch; }
.consent a { color: var(--umber-600); text-decoration: underline; text-underline-offset: 3px; }
.sent p { color: var(--muted); font-size: 18px; max-width: 40ch; }
.sent .cta { margin-top: 26px; }
.hp { position: absolute; inset-inline-start: -9999px; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; min-height: 0; } .contact-wrap .form-side { padding-top: clamp(40px, 6vw, 80px); } }
