/* about styles, scoped under .ame for the combined page */
:root{
  --ink:#080b14;
  --ink-2:#0b101d;
  --paper:#eef1f7;
  --amber:#f2a01f;
  --amber-soft:#ffbe5c;
  --muted:#b9c2d4;
  --line:rgba(160,178,206,.13);

  --desk-top:78%;        /* desk surface line, % of scene height */
  --char-w:46%;          /* character frame width, % of scene width */
  --char-left:12%;
  --lamp-x:31%;
}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:'TomAR','Noto Sans Arabic','Segoe UI',system-ui,sans-serif;
}.ame{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:radial-gradient(120% 90% at 26% 62%, #121827 0%, #0b101d 46%, #080b14 80%);
}/* ---------- backdrop, same language as the hero ---------- */
/* ---------- topbar ---------- */
.ame .topbar{
  position:relative; height:76px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 54px; direction:ltr; z-index:6;
}.ame .topbar::after{
  content:''; position:absolute; left:54px; right:54px; bottom:0; height:1px;
  background:linear-gradient(to left, rgba(190,205,228,.16), rgba(190,205,228,.06) 45%, transparent 92%);
}.ame .mark{text-decoration:none; font-weight:900; font-size:21px; letter-spacing:.06em; direction:ltr; color:var(--paper)}.ame .mark-b{color:var(--amber)}.ame .nav{display:flex; align-items:center; gap:34px; direction:rtl}.ame .nav a{
  position:relative; text-decoration:none; color:rgba(238,241,247,.72);
  font-size:15px; font-weight:500; padding:6px 0; transition:color .2s ease;
}.ame .nav a:hover{color:var(--paper)}.ame .nav a.on{color:var(--paper)}.ame .nav a.on::after{
  content:''; position:absolute; right:0; left:0; bottom:-2px; height:1.5px;
  background:var(--amber); border-radius:2px; box-shadow:0 0 12px rgba(242,160,31,.55);
}.ame .burger{display:none}/* ---------- body ---------- */
.ame .body{
  position:relative; z-index:2;
  display:grid; grid-template-columns:minmax(0,1fr) clamp(344px,32vw,500px);
  min-height:calc(100vh - 76px);
  direction:ltr;            /* scene physically on the left, as in the reference */
}/* ---------- scene ---------- */
.ame .scene{
  position:relative;
  height:100%;
  min-height:calc(100vh - 76px);
  overflow:hidden;
  border-right:1px solid rgba(160,178,206,.1);
  isolation:isolate;
  background:#080b14;
}/* pinned notes */
/* chair */
/* ---------- lamp ---------- */
.ame .lamp{position:absolute; left:var(--lamp-x); top:0; width:0; height:0; z-index:3}.ame .lamp-cord{position:absolute; left:-.5px; top:0; width:1px; height:124px; background:rgba(150,165,190,.24)}.ame .lamp-shade{
  position:absolute; left:-60px; top:110px; width:120px; height:60px;
  clip-path:polygon(33% 0%, 67% 0%, 100% 100%, 0% 100%);
  background:linear-gradient(180deg,#3a445c 0%,#1e2637 40%,#121826 76%,#0b1019 100%);
}.ame .lamp-glow{
  position:absolute; left:0; top:158px; transform:translateX(-50%);
  width:96px; height:16px; border-radius:50%;
  background:radial-gradient(closest-side, #fff8e2 0%, #ffe0a6 38%, #ffc268 66%, rgba(255,170,80,.35) 86%, rgba(255,170,80,0) 100%);
  box-shadow:0 0 40px 10px rgba(255,186,96,.32), 0 0 84px 26px rgba(255,170,70,.14);
  filter:brightness(.28) blur(.4px);
  transition:filter 2.2s cubic-bezier(.33,.05,.2,1);
}.ame.lit .lamp-glow{filter:brightness(1)}.ame .lamp-cone{
  position:absolute; left:var(--lamp-x); top:156px;
  bottom:calc(100% - var(--desk-top));
  width:clamp(300px,40vw,520px);
  transform:translateX(-50%) scaleY(.05);
  transform-origin:50% 0;
  clip-path:polygon(34% 0%, 66% 0%, 116% 100%, -16% 100%);
  background:linear-gradient(180deg,
    rgba(255,222,168,.34) 0%,
    rgba(255,199,118,.20) 20%,
    rgba(255,183,96,.10) 48%,
    rgba(255,176,88,.03) 72%,
    rgba(255,170,80,0) 92%);
  -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 44%, #000 56%, transparent 100%);
  mask-image:linear-gradient(to right, transparent 0%, #000 44%, #000 56%, transparent 100%);
  filter:blur(30px);
  opacity:0;
  transition:opacity 2s cubic-bezier(.33,.05,.2,1), transform 2.6s cubic-bezier(.33,.05,.2,1);
  pointer-events:none; z-index:2;
}.ame.lit .lamp-cone{opacity:1; transform:translateX(-50%) scaleY(1)}/* ---------- character ---------- */
.ame .sit{
  position:absolute;
  left:var(--char-left);
  bottom:calc(100% - var(--desk-top) - 2px);
  width:var(--char-w);
  z-index:2;
  filter:brightness(.52) saturate(.92);
  transition:filter 2.2s cubic-bezier(.33,.05,.2,1);
}.ame.lit .sit{filter:brightness(1.03) saturate(1.02)}.ame .sit canvas{
  display:block; width:100%; height:auto;
  animation:ab-breathe 5.4s ease-in-out infinite;
  transform-origin:50% 100%;
}@keyframes ab-breathe{
  0%,100%{transform:translateY(0) scaleY(1)}
  50%{transform:translateY(-1px) scaleY(1.004)}
}/* ---------- props ---------- */
.ame .p{position:absolute; z-index:5; display:block; pointer-events:none}/* ---------- desk ---------- */
.ame .desk{position:absolute; inset:0; z-index:4; pointer-events:none}/* ---------- copy ---------- */
.ame .copy{
  position:relative; align-self:center; direction:rtl;
  padding:54px 40px 54px 32px; max-width:560px; text-align:right;
}.ame .kicker{margin:0 0 6px; font-size:13px; font-weight:500; letter-spacing:.02em; color:rgba(242,160,31,.85)}.ame .title{
  margin:0 0 14px; font-weight:900;
  font-size:clamp(46px,5.2vw,84px); line-height:1.05;
  background:linear-gradient(180deg,#ffc46a 0%,#f2a01f 62%,#c97c12 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 22px rgba(242,160,31,.16));
}.ame .lead{margin:0 0 18px; font-size:clamp(17px,1.45vw,21px); font-weight:700; color:var(--paper); line-height:1.65}.ame .para{margin:0 0 12px; font-size:clamp(14px,1.1vw,16.5px); font-weight:500; color:var(--muted); line-height:1.95; max-width:34em}.ame .cta{
  display:inline-block; font-size:clamp(16px,1.4vw,20px); font-weight:700;
  color:var(--amber-soft); text-decoration:none; padding-bottom:7px;
  border-bottom:1.5px solid rgba(242,160,31,.75);
  transition:color .2s ease, border-color .2s ease;
}.ame .cta:hover{color:#ffd79a; border-color:#ffd79a}/* ---------- mobile ---------- */
/* narrow desktops: keep the figure filling the scene and stop the fact grid cramping */
/* ---------- mobile ---------- */
/* narrow desktops: keep the figure filling the scene and stop the fact grid cramping */
@media (max-width:1180px) and (min-width:901px){:root{--char-w:56%; --char-left:12%; --desk-top:74%; --lamp-x:26%}.ame .copy{padding:40px 26px 40px 24px}.ame .facts{grid-template-columns:1fr}.ame .fact{padding:12px 2px 13px 2px}.ame .fact:nth-child(odd){border-left:0; padding-right:2px}
}@media (max-width:900px){.ame .topbar{height:64px; padding:0 20px}.ame .topbar::after{left:20px; right:20px}.ame .mark{font-size:19px}.ame .nav{display:none}.ame.nav-open .nav{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:absolute; left:0; right:0; top:100%; z-index:12;
    padding:6px 20px 12px;
    background:#080b14;
    border-bottom:1px solid var(--line);
    box-shadow:0 18px 30px rgba(0,0,0,.45);
  }.ame.nav-open .nav a{padding:13px 2px; font-size:16px; text-align:right; border-bottom:1px solid rgba(160,178,206,.09)}.ame.nav-open .nav a:last-child{border-bottom:0}.ame.nav-open .nav a.on::after{display:none}.ame.nav-open .nav a.on{color:var(--amber-soft)}.ame .burger{
    display:flex; flex-direction:column; gap:4px; justify-content:center;
    width:34px; height:34px; padding:0 6px;
    background:none; border:1px solid rgba(190,205,228,.16); border-radius:8px;
  }.ame .burger i{display:block; height:1.5px; background:rgba(238,241,247,.8); border-radius:2px}.ame .body{grid-template-columns:1fr; min-height:0}.ame .scene{
    min-height:0; height:auto; aspect-ratio:1.45 / 1;
    border-right:0; border-bottom:1px solid rgba(160,178,206,.1);
  }:root{--char-w:41%; --char-left:12%; --lamp-x:27%; --desk-top:77%}.ame .lamp-shade{left:-40px; width:80px; height:30px; top:14px}.ame .lamp-glow{width:64px; top:42px}.ame .lamp-cone{top:42px; width:clamp(150px,56vw,300px); filter:blur(26px)}.ame .lamp-cord{height:14px}.ame .copy{padding:30px 22px 52px; max-width:none}.ame .title{font-size:clamp(44px,12vw,64px)}
}@media (prefers-reduced-motion: reduce){.ame .sit canvas{animation:none} .ame .lamp-glow, .ame .lamp-cone, .ame .sit{transition:none}
}

   FOCUS BUILD - character + laptop only.
   The scene layer keeps the page's dark ground; everything that made the room
   (wall, notes, chair, lamp, desk, props, chair base, floor pool) is removed.
   Only light stays: a soft warm screen glow behind the figure and a contact
   shadow under the laptop so the cutout sits on the page instead of floating.
   ========================================================================== */
.ame .scene{
  border-right:0;
  border-bottom:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 18px;
  overflow:visible;
}
.ame .scene::before{
  content:"";
  position:absolute; left:50%; top:50%;
  width:104%; height:104%;
  transform:translate(-50%,-50%);
  background:radial-gradient(closest-side, rgba(150,176,220,.075), rgba(150,176,220,.035) 46%, transparent 74%);
  pointer-events:none; z-index:0;
}
.ame .scene::after{
  content:"";
  position:absolute; left:50%; top:56%;
  width:96%; height:96%;
  transform:translate(-50%,-50%);
  background:radial-gradient(closest-side, rgba(255,168,64,.14), rgba(255,150,50,.055) 48%, transparent 73%);
  pointer-events:none; z-index:0;
}
.ame .char{
  position:relative; z-index:1;
  width:min(100%, 560px);
  aspect-ratio:1 / 1;
  filter:drop-shadow(0 18px 24px rgba(0,0,0,.55)) drop-shadow(0 2px 3px rgba(0,0,0,.5));
}
.ame .char canvas{
  display:block; width:100%; height:100%;
  animation:ab-breathe 5.4s ease-in-out infinite;
  transform-origin:50% 100%;
}

@media (max-width:900px){
  .ame .scene{
    aspect-ratio:auto; min-height:0;
    padding:20px 12px 22px;
  }
  .ame .char{width:min(100%, 420px)}
}

@media (prefers-reduced-motion: reduce){
  .ame .char canvas{animation:none}
}

/* Title: same metrics as the approved static-plate build so the final letter's
   two dots are never clipped by the line box (line-height 1.05 clipped them). */
.ame .title{
  line-height:1.34;
  padding:0 0 .1em 0;
  background:linear-gradient(180deg,#f7bc63 0%,#e89a2c 58%,#c9801a 100%);
  -webkit-background-clip:text; background-clip:text;
}

/* about: seated typing figure on the section's own background, no sky modes */
.ame .char{width:min(100%,520px) !important;height:auto !important;aspect-ratio:1 / 1;filter:drop-shadow(0 14px 18px rgba(0,0,0,.5))}
.ame .char canvas{width:100% !important;height:100% !important;animation:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%)}
.ame .scene::after{left:50%;top:46%;width:min(100%,520px);height:70%;background:radial-gradient(ellipse closest-side, rgba(255,150,50,.16), rgba(255,140,40,.05) 58%, transparent 80%)}
@media (min-width:901px){.ame .body{grid-template-columns:minmax(0,520px) minmax(0,1fr)}}
@media (max-width:900px){
  .ame .body{display:block;direction:rtl;padding:84px 18px 24px}
  .ame .scene{padding:0;min-height:0}
  .ame .char{width:min(100%,360px) !important;margin:0 auto}
  .ame .copy{padding:8px 0 0}
}
@media (min-width:901px){.ame .body{max-width:1100px;margin-left:auto;margin-right:auto;column-gap:32px;align-items:center}.ame .scene{padding:20px 0}}
