/* ==========================================================
   Skyline Realty — Corporate Landing Page
   ========================================================== */

:root {
  --bg: #0A0A0B;
  --bg-2: #101012;
  --surface: #151517;
  --surface-2: #1B1B1E;
  --line: #242428;
  --line-2: #2F2F34;
  --gold: #C9A45C;
  --gold-2: #E2C285;
  --gold-dim: rgba(201, 164, 92, .16);
  --gold-line: rgba(201, 164, 92, .3);
  --text: #EFEAE1;
  --heading: #F8F4EC;
  --muted: #A39C90;
  --dim: #7F796F;

  --f-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-head: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  --f-latin: 'Marcellus', serif;

  --container: 1240px;
  --nav-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
a:hover { color: #F3DAA6; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--heading); margin: 0; line-height: 1.35; font-weight: 600; }
h2 { font-size: clamp(28px, 3.3vw, 44px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.lead { font-size: 18px; color: #C4BDB0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; right: 16px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--bg); }
.skip-link:focus { top: 12px; }

.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 30px; height: 30px; stroke-width: 1.3; color: var(--gold); }
.icon--arrow { transition: transform .3s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px; border-radius: var(--radius);
  font-family: var(--f-head); font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover .icon--arrow { transform: translateX(-4px); }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn--gold { background: var(--gold); color: #0A0A0B; }
.btn--gold:hover { background: var(--gold-2); color: #0A0A0B; }
.btn--outline { border-color: var(--gold-line); color: var(--gold-2); }
.btn--outline:hover { border-color: var(--gold); background: var(--gold-dim); color: var(--gold-2); }
.btn--dark { background: #0A0A0B; color: var(--gold-2); }
.btn--dark:hover { background: #1A1A1C; color: var(--gold-2); }
.btn--dark-outline { border-color: rgba(10,10,11,.5); color: #0A0A0B; }
.btn--dark-outline:hover { background: rgba(10,10,11,.08); color: #0A0A0B; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; }
.topbar { background: #070708; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: margin-top .35s var(--ease); }
.topbar__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a { display: grid; place-items: center; width: 32px; height: 32px; color: var(--muted); }
.topbar__social a:hover { color: var(--gold-2); }
.topbar__social .icon { width: 16px; height: 16px; }
.header.is-scrolled .topbar { margin-top: -41px; }

.navbar { background: rgba(10,10,11,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .3s; }
.header.is-scrolled .navbar { background: rgba(10,10,11,.95); border-bottom-color: var(--gold-dim); }
.navbar__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 50px; height: 50px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; direction: ltr; }
.brand__name { font-family: var(--f-latin); font-size: 21px; letter-spacing: 3px; color: var(--heading); }
.brand__sub { font-family: var(--f-latin); font-size: 10px; letter-spacing: 7px; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 8px 14px; color: #CFC8BB; text-decoration: none; font-family: var(--f-head); font-size: 15px; font-weight: 400; }
.nav__link::after { content: ""; position: absolute; right: 14px; left: 14px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--gold-2); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-right: 14px; }

.menu-toggle { display: none; width: 46px; height: 46px; padding: 13px 11px; background: transparent; border: 1px solid var(--gold-line); border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 1.5px; background: var(--gold-2); transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 560px; }
.hero__content { display: flex; flex-direction: column; gap: 26px; }

.label { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border: 1px solid var(--gold-line); border-radius: 100px; font-size: 14px; color: var(--gold-2); background: rgba(201,164,92,.06); }
.label__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.2); }

.hero__title { font-size: clamp(40px, 5.4vw, 74px); font-weight: 700; line-height: 1.25; }
.hero__lead { max-width: 560px; font-size: 18px; color: #B8B1A4; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__motto { font-family: var(--f-latin); font-size: 13px; letter-spacing: 6px; color: var(--dim); }
.hero__motto span { color: var(--gold); padding: 0 6px; }

[data-anim] { opacity: 0; transform: translateY(20px); animation: up .9s var(--ease) forwards; }
[data-anim]:nth-child(2) { animation-delay: .1s; }
[data-anim]:nth-child(3) { animation-delay: .2s; }
[data-anim]:nth-child(4) { animation-delay: .3s; }
[data-anim]:nth-child(5) { animation-delay: .4s; }
@keyframes up { to { opacity: 1; transform: none; } }

.hero__art { position: relative; justify-self: center; width: 100%; max-width: 500px; }
.skyline-art { width: 100%; height: auto; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) forwards; }
.d1 { animation-delay: .2s; stroke-width: 2.2; }
.d2 { animation-delay: .3s; stroke: var(--line-2); }
.d3 { animation-delay: .6s; stroke: var(--heading); stroke-width: 1.6; }
.d4 { animation-delay: .8s; stroke: var(--heading); stroke-width: 1.6; }
.d5 { animation-delay: 1.2s; opacity: .45; }
.d6 { animation-delay: 1s; stroke: var(--dim); }
.d7 { animation-delay: 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__card {
  position: absolute; display: flex; flex-direction: column; padding: 14px 22px;
  background: rgba(21,21,23,.9); backdrop-filter: blur(8px); border: 1px solid var(--gold-line); border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,.45); opacity: 0; animation: up .9s var(--ease) forwards;
}
.hero__card strong { font-family: var(--f-latin); font-size: 34px; color: var(--gold-2); line-height: 1.1; font-weight: 400; }
.hero__card span { font-size: 13px; color: var(--muted); }
.hero__card--a { top: 14%; right: -4%; animation-delay: 1.8s; }
.hero__card--b { bottom: 18%; left: -4%; animation-delay: 2.1s; }

.hero__strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding: 26px 0; border-top: 1px solid var(--line); font-family: var(--f-head); font-size: 15px; color: var(--muted); }
.hero__strip li { display: flex; align-items: center; gap: 12px; }
.hero__strip li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--f-head); font-size: 14px; font-weight: 500; color: var(--gold); }
.section-tag span { font-family: var(--f-latin); padding-left: 12px; border-left: 1px solid var(--gold-line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 56px; }
.section-head__desc { max-width: 420px; color: var(--muted); }
.section-head--center { justify-content: center; text-align: center; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about__visual { position: relative; }
.about__frame {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(201,164,92,.14), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.about__frame::before, .about__frame::after { content: ""; position: absolute; border: 1px solid var(--gold-line); }
.about__frame::before { inset: 20px; }
.about__frame::after { width: 70%; aspect-ratio: 1; border-radius: 50%; border-color: rgba(201,164,92,.18); }
.about__logo { position: relative; z-index: 1; width: 58%; border-radius: 50%; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.about__year { position: absolute; bottom: 40px; left: 40px; display: flex; flex-direction: column; line-height: 1; z-index: 1; }
.about__year span { font-family: var(--f-latin); font-size: 12px; letter-spacing: 4px; color: var(--dim); }
.about__year strong { font-family: var(--f-latin); font-size: 40px; font-weight: 400; color: var(--gold-2); }
.about__quote {
  position: absolute; bottom: -36px; right: -28px; max-width: 280px; margin: 0;
  padding: 22px 26px; background: var(--gold); color: #0A0A0B;
  font-family: var(--f-head); font-size: 18px; font-weight: 600; line-height: 1.6;
  border-radius: var(--radius); box-shadow: 0 24px 50px rgba(0,0,0,.5);
}
.about__quote cite { display: block; margin-top: 6px; font-family: var(--f-body); font-size: 13px; font-style: normal; font-weight: 500; opacity: .75; }

.about__content { display: flex; flex-direction: column; gap: 22px; }
.about__content > p:not(.lead) { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.pillar { padding: 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.pillar:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.pillar__icon { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.pillar h3 { font-size: 18px; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 56px 24px; text-align: center; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.stat:last-child { border-left: 0; }
.stat strong { font-family: var(--f-latin); font-size: clamp(40px, 4.4vw, 58px); font-weight: 400; line-height: 1; color: var(--gold-2); }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { position: relative; padding: 44px 36px 40px; background: var(--bg-2); display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: background .35s; }
.service::before { content: ""; position: absolute; top: 0; right: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.service:hover { background: var(--surface); }
.service:hover::before { transform: scaleX(1); }
.service__num { position: absolute; top: 28px; left: 32px; font-family: var(--f-latin); font-size: 15px; color: var(--dim); letter-spacing: 2px; }
.service__icon { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; transition: transform .4s var(--ease); }
.service:hover .service__icon { transform: translateY(-4px); }
.service h3 { font-size: 21px; }
.service p { color: var(--muted); font-size: 15px; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 100px; background: transparent; color: #CFC8BB; font-family: var(--f-head); font-size: 14px; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--gold); color: var(--gold-2); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #0A0A0B; font-weight: 500; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 24px; }
.project { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); animation: up .6s var(--ease) both; }
.project:hover { border-color: var(--gold-line); transform: translateY(-6px); }
.project--wide { grid-column: span 2; }
.project__art { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 100%, rgba(201,164,92,.12), transparent 70%), #0E0E10; border-bottom: 1px solid var(--line); overflow: hidden; }
.project--wide .project__art { aspect-ratio: 16 / 7.4; }
.project__art svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease); }
.project:hover .project__art svg { transform: scale(1.04); }
.project__status { position: absolute; top: 16px; right: 16px; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; }
.status--done { background: var(--gold); color: #0A0A0B; }
.status--progress { background: rgba(10,10,11,.85); color: var(--gold-2); border: 1px solid var(--gold-line); }
.status--soon { background: rgba(10,10,11,.85); color: #CFC8BB; border: 1px solid var(--line-2); }
.project__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.project__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--gold); }
.project__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project__meta .icon { width: 14px; height: 14px; }
.project h3 { font-size: 21px; }
.project p { font-size: 15px; color: var(--muted); }
.project__facts { display: flex; gap: 24px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.project__facts div { display: flex; flex-direction: column; line-height: 1.4; }
.project__facts strong { font-family: var(--f-head); font-size: 16px; color: var(--heading); font-weight: 500; }
.project__facts small { font-size: 12px; color: var(--dim); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.process::before { content: ""; position: absolute; top: 32px; right: 12%; left: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 15%, var(--gold-line) 85%, transparent); }
.process__step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 8px; }
.process__num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--gold); font-family: var(--f-latin); font-size: 24px; color: var(--gold-2); margin-bottom: 8px; transition: background .3s, color .3s; }
.process__step:hover .process__num { background: var(--gold); color: #0A0A0B; }
.process h3 { font-size: 19px; }
.process p { color: var(--muted); font-size: 15px; max-width: 240px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.why__content { position: sticky; top: calc(var(--nav-h) + 40px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.why__list { display: flex; flex-direction: column; }
.why__list li { display: flex; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.why__list li:first-child { padding-top: 0; }
.why__list h3 { font-size: 20px; margin-bottom: 4px; }
.why__list p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--gold); color: #0A0A0B; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; left: -80px; top: -120px; width: 380px; height: 380px; border: 1px solid rgba(10,10,11,.15); border-radius: 50%; box-shadow: 0 0 0 40px rgba(10,10,11,.04), 0 0 0 80px rgba(10,10,11,.03); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; padding: 72px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #0A0A0B; font-size: clamp(26px, 3vw, 38px); }
.cta p { margin-top: 8px; font-size: 17px; color: #2A2418; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__list { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.contact__list li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold); flex-shrink: 0; }
.contact__list div { display: flex; flex-direction: column; line-height: 1.5; }
.contact__list small { font-size: 13px; color: var(--dim); }
.contact__list span, .contact__list a { font-size: 16px; color: var(--text); text-decoration: none; }
.contact__list a:hover { color: var(--gold-2); }
.contact__list a[dir="ltr"] { text-align: right; }

.form { padding: 40px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.form h3 { font-size: 24px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #BDB6A9; }
.optional { color: var(--dim); font-size: 12px; }
.form input, .form select, .form textarea {
  min-height: 50px; padding: 0 16px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { padding: 14px 16px; resize: vertical; }
.form input[dir="ltr"] { text-align: right; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.15); }
.form .is-invalid { border-color: #D9826A; }
.form__error { color: #EFA48D; font-size: 14px; }
.form__success { color: var(--gold-2); font-size: 14px; }
.form .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { background: #070708; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand p, .footer__col p { color: var(--muted); font-size: 15px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--muted); transition: all .25s; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold-2); background: var(--gold-dim); }
.footer__col h4 { font-size: 17px; margin-bottom: 22px; padding-bottom: 12px; position: relative; }
.footer__col h4::after { content: ""; position: absolute; bottom: 0; right: 0; width: 32px; height: 2px; background: var(--gold); }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s, padding .2s; }
.footer__col a:hover { color: var(--gold-2); padding-right: 6px; }
.newsletter { display: flex; margin-top: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.newsletter input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; background: var(--bg); border: 0; color: var(--text); font: inherit; text-align: right; }
.newsletter input:focus { outline: none; }
.newsletter:focus-within { border-color: var(--gold); }
.newsletter button { width: 54px; border: 0; background: var(--gold); color: #0A0A0B; cursor: pointer; display: grid; place-items: center; }
.newsletter button:hover { background: var(--gold-2); }
.newsletter__msg { margin-top: 10px; color: var(--gold-2) !important; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-inner { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: var(--dim); }
.footer__motto { font-family: var(--f-latin); letter-spacing: 4px; }

.to-top { position: fixed; bottom: 24px; left: 24px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-line); background: rgba(21,21,23,.9); color: var(--gold-2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #0A0A0B; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: 8px 10px; font-size: 14px; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --nav-h: 72px; }
  .topbar__info span:last-child { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; background: rgba(10,10,11,.98); border-bottom: 1px solid var(--gold-dim);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .header:not(.is-scrolled) .nav { top: calc(var(--nav-h) + 41px); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 18px 0 0; }

  .hero__inner, .about, .why, .contact { grid-template-columns: 1fr; }
  .hero__inner { min-height: 0; gap: 56px; }
  .hero__art { max-width: 420px; }
  .about { gap: 88px; }
  .about__visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .why__content { position: static; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process::before { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .topbar__info { display: none; }
  .topbar__inner { justify-content: center; }
  .hero { padding-top: 48px; }
  .hero__card--a { right: 0; }
  .hero__card--b { left: 0; }
  .hero__card strong { font-size: 26px; }
  .hero__strip { justify-content: flex-start; }
  .pillars, .services, .projects, .form__row, .process, .footer__grid { grid-template-columns: 1fr; }
  .project--wide { grid-column: auto; }
  .project--wide .project__art { aspect-ratio: 16 / 10; }
  .about__quote { right: 0; left: 24px; max-width: none; bottom: -48px; }
  .form { padding: 26px 20px; }
  .form .btn { align-self: stretch; }
  .cta__actions, .cta__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-anim], .hero__card { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}
