/* ==========================================================================
   ARIF RAHMAN & ASSOCIATE — LAW FIRM
   Full-Width Desktop Editorial Corporate Stylesheet
   Palette: Sovereign Navy (#0B1D33), Burnished Gold (#B8964C), Cotton Ivory (#F7F5F0)
   Typography: 100% Pre-Installed Native (Palatino Linotype, Georgia, Segoe UI)
   ========================================================================== */

@import url('assets/design-tokens.css');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: #FFFFFF;
  color: var(--ara-charcoal);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Full-Screen Desktop Fluid Container — fills 1440px / 1920px cleanly without squishing center */
:root {
  --container-gutter: clamp(24px, 4.5vw, 84px);
}

.container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding-inline: var(--container-gutter);
}

/* ==========================================================================
   Two-Tier Crisp White Executive Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  transition: box-shadow 0.25s;
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(6, 17, 32, 0.09);
}

/* Tier 1: Utility Contact Bar */
.topbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--ara-border);
  font-size: 12.5px;
  color: var(--ara-slate);
}

.topbar-inner {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tb-dot {
  width: 5px;
  height: 5px;
  background: var(--ara-gold);
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

.topbar-item a:hover { color: var(--ara-navy); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--ara-border);
  border-radius: 2px;
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  color: var(--ara-slate);
  border: none;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--ara-navy);
  color: var(--ara-gold-light);
}

/* Tier 2: Main White Navbar with Prominent, Razor-Sharp Vector + HTML Lockup */
.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(11, 29, 51, 0.08);
}

.navbar-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-crest-nav {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.brand-wordmark-wrap {
  padding-left: 16px;
  border-left: 1.2px solid rgba(184, 150, 76, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ara-navy);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-wordmark .amp {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--ara-gold);
  font-size: 1.12em;
}

.brand-sub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  width: 100%;
}

.brand-sub-rule {
  display: block;
  height: 1.2px;
  background: var(--ara-gold);
  flex-shrink: 0;
}

.brand-sub-rule--left {
  width: 34px;
}

.brand-sub-rule--right {
  flex: 1 1 auto;
  min-width: 16px;
  height: 1px;
  opacity: 0.52;
}

.brand-sub-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.42em;
  padding-right: 0;
  margin-right: -0.42em;
  color: var(--ara-slate);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.brand-sub-row--light .brand-sub-rule {
  background: var(--ara-gold-light);
}

.brand-sub-row--light .brand-sub-label {
  color: var(--ara-gold-light);
}

.nav-mobile-lang,
.nav-mobile-cta {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ara-navy);
  letter-spacing: 0.04em;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--ara-gold);
  transition: width 0.25s var(--ease-classic);
}

.nav-menu a:hover { color: var(--ara-gold-deep); }
.nav-menu a:hover::after { width: 100%; }

.btn-nav-outline {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ara-navy);
  background: transparent;
  border: 1.5px solid var(--ara-gold);
  padding: 11px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.22s var(--ease-classic);
  white-space: nowrap;
}

.btn-nav-outline:hover {
  background: var(--ara-navy);
  border-color: var(--ara-navy);
  color: var(--ara-gold-light);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ara-border);
  color: var(--ara-navy);
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 2px;
}

/* Shared Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-classic);
  white-space: nowrap;
}

.btn-gold {
  background: var(--ara-gold);
  color: var(--ara-navy-deep);
  border-color: var(--ara-gold);
}

.btn-gold:hover {
  background: var(--ara-gold-light);
  border-color: var(--ara-gold-light);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--ara-navy);
  color: var(--ara-gold-light);
  border-color: var(--ara-navy);
}

.btn-navy:hover {
  background: var(--ara-navy-mid);
  transform: translateY(-1px);
}

/* ==========================================================================
   Full-Viewport Multi-Background Architectural Hero Carousel
   ========================================================================== */
.hero-slider {
  position: relative;
  height: calc(100vh - 130px);
  min-height: 640px;
  max-height: 860px;
  background-color: var(--ara-navy-deep);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--ara-gold);
}

/* Dedicated Full-Bleed Crossfading Background Layers (Unique Image Per Slide) */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease-classic), transform 6.8s ease-out;
  z-index: 0;
}

.hero-bg-layer.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(6, 17, 32, 0.92) 0%, rgba(11, 29, 51, 0.72) 48%, rgba(6, 17, 32, 0.26) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  display: grid;
  min-height: 310px;
}

/* Left-Aligned Wide Editorial Composition (NOT squished to center) */
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
  min-width: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-classic), transform 0.6s var(--ease-classic), visibility 0.6s;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ara-gold-light);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ara-gold-light);
}

.hero-slide h1, .hero-slide h2 {
  font-family: var(--font-editorial);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 1.13;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.hero-slide p {
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 36px;
  max-width: 600px;
}

/* Carousel Controls — Positioned cleanly at bottom-right & outer edges */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 17, 32, 0.44);
  border: 1px solid rgba(212, 184, 118, 0.42);
  color: #FFFFFF;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s;
  z-index: 6;
}

.slider-arrow:hover {
  background: var(--ara-gold);
  border-color: var(--ara-gold);
  color: var(--ara-navy-deep);
}

.slider-prev { left: 22px; }
.slider-next { right: 22px; }

.slider-footer-bar {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 6;
}

.slider-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 28px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: width 0.25s;
}

.slider-dot::after {
  content: "";
  display: block;
  width: 100%;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.34);
  transition: background 0.25s;
}

.slider-dot.active {
  width: 48px;
}

.slider-dot.active::after {
  background: var(--ara-gold-light);
}

.slider-counter {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: rgba(212, 184, 118, 0.85);
}

/* ==========================================================================
   Asymmetric 2-Column Positioning Strip (Full-Width Cotton Ivory + Ghost AR)
   ========================================================================== */
.positioning-strip {
  position: relative;
  background: var(--ara-ivory);
  border-bottom: 1px solid var(--ara-border);
  padding: 76px 0;
  overflow: hidden;
}

.strip-watermark {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  opacity: 0.045;
  pointer-events: none;
}

.positioning-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0;
  align-items: center;
}

.pos-left {
  padding-right: clamp(32px, 4.5vw, 72px);
  border-right: 1px solid var(--ara-border);
}

.eyebrow-gold {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ara-gold-deep);
  margin-bottom: 12px;
}

.pos-left h2 {
  font-family: var(--font-editorial);
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.28;
  color: var(--ara-navy);
}

.pos-right {
  padding-left: clamp(32px, 4.5vw, 72px);
}

.pos-right p {
  font-size: 15.5px;
  color: var(--ara-slate);
  line-height: 1.78;
  margin-bottom: 18px;
}

.pos-pillars {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ara-gold-deep);
}

/* ==========================================================================
   50/50 Managing Partner Section (Pure White + Exact Untouched Photo)
   ========================================================================== */
.welcome-section {
  background: #FFFFFF;
  padding: 104px 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(44px, 5vw, 88px);
  align-items: center;
}

.welcome-copy h2 {
  font-family: var(--font-editorial);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.22;
  color: var(--ara-navy);
  margin-bottom: 22px;
}

.welcome-copy p {
  font-size: 16px;
  color: var(--ara-slate);
  line-height: 1.8;
  margin-bottom: 26px;
  max-width: 620px;
}

.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.cred-pill {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ara-navy);
  background: var(--ara-ivory);
  border: 1px solid var(--ara-border);
  padding: 7px 15px;
}

/* Exact Untouched Original Portrait Cutout Stage */
.partner-stage {
  max-width: 540px;
  width: 100%;
  margin-left: auto;
}

.partner-frame {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #193454 0%, #0D2038 56%, #071424 100%);
  border: 1px solid var(--ara-border);
  padding: 20px 16px 0 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.partner-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 184, 118, 0.22);
  pointer-events: none;
  z-index: 1;
}

.partner-bg-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 76%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

.partner-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.partner-caption {
  background: var(--ara-navy);
  padding: 16px 22px;
  border-top: 1.5px solid var(--ara-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.partner-caption strong {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
}

.partner-caption span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ara-gold-light);
}

/* ==========================================================================
   Full-Width Minimalist Practice Focus Section (Cotton Ivory)
   ========================================================================== */
.practice-strip {
  background: var(--ara-ivory);
  border-top: 1px solid var(--ara-border);
  padding: 92px 0;
}

.sec-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 48px;
}

.sec-top-row h2 {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--ara-navy);
}

.sec-top-note {
  font-size: 14.5px;
  color: var(--ara-slate);
  max-width: 440px;
  text-align: right;
}

.practice-compact-list {
  width: 100%;
  border-top: 1px solid var(--ara-border);
}

.practice-row {
  display: grid;
  grid-template-columns: 72px 340px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 24px 8px;
  border-bottom: 1px solid var(--ara-border);
  cursor: pointer;
  transition: background 0.2s, padding-left 0.2s;
}

.practice-row:hover,
.practice-row:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  padding-left: 16px;
  outline: none;
}

.pr-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ara-gold-deep);
  letter-spacing: 0.16em;
}

.pr-main {
  min-width: 0;
}

.pr-title {
  display: block;
  font-family: var(--font-editorial);
  font-size: 21px;
  color: var(--ara-navy);
  line-height: 1.25;
}

.pr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pr-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ara-slate);
  background: rgba(11, 29, 51, 0.045);
  border: 1px solid rgba(11, 29, 51, 0.09);
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.35;
}

.pr-desc {
  font-size: 15px;
  color: var(--ara-slate);
}

.pr-cue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ara-gold-deep);
  white-space: nowrap;
}

.practice-mobile-head {
  display: none;
}

/* ==========================================================================
   Full-Width Mid-Page Architectural Consultation Banner
   ========================================================================== */
.cta-banner {
  background-color: var(--ara-navy-deep);
  background-image:
    linear-gradient(95deg, rgba(6, 17, 32, 0.92) 0%, rgba(11, 29, 51, 0.76) 56%, rgba(6, 17, 32, 0.42) 100%),
    url('assets/images/ara-skyline-hero.jpg');
  background-size: cover;
  background-position: center 35%;
  color: #FFFFFF;
  padding: 84px 0;
  border-top: 1.5px solid var(--ara-gold);
  border-bottom: 1.5px solid var(--ara-gold);
}

.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
}

/* ==========================================================================
   Full-Width Text-Only Editorial Legal Insights (3-Column Clean Journal Grid)
   ========================================================================== */
.insights-section {
  background: #FFFFFF;
  padding: 96px 0;
}

.insights-grid-wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  border-top: 1px solid var(--ara-border);
  padding-top: 40px;
}

.insight-entry {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 28px;
  border-right: 1px solid var(--ara-border);
  cursor: pointer;
  transition: transform 0.22s var(--ease-classic);
}

.insight-entry:last-child {
  border-right: none;
  padding-right: 0;
}

.insight-entry:hover {
  transform: translateY(-3px);
}

.insight-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ara-gold-deep);
  margin-bottom: 12px;
}

.insight-entry h3 {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 400;
  color: var(--ara-navy);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.insight-entry:hover h3 {
  color: var(--ara-gold-deep);
}

.insight-entry p {
  font-size: 14.5px;
  color: var(--ara-slate);
  line-height: 1.68;
  margin-bottom: 20px;
}

.insight-link-cue {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ara-navy);
}

/* ==========================================================================
   3-Column Deep Sovereign Navy Footer (Crisp Prominent Brand Lockup)
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ara-navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
  border-top: 2px solid var(--ara-gold);
}

.footer-watermark {
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-54%);
  width: 320px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.site-footer > .container,
.site-footer > .footer-legal {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 54px;
  align-items: start;
}

.footer-col--divided {
  border-left: 1px solid rgba(212, 184, 118, 0.16);
  padding-left: clamp(22px, 3vw, 44px);
}

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ara-gold-light);
  background: rgba(212, 184, 118, 0.08);
  border: 1px solid rgba(212, 184, 118, 0.45);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.22s var(--ease-classic);
}

.btn-footer-cta:hover {
  background: var(--ara-gold);
  border-color: var(--ara-gold);
  color: var(--ara-navy-deep);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.footer-crest {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.footer-wordmark-wrap {
  padding-left: 16px;
  border-left: 1.2px solid rgba(212, 184, 118, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  line-height: 1.15;
  white-space: nowrap;
}

.footer-wordmark .amp {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--ara-gold-light);
  font-size: 1.12em;
}

.footer-subtext {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 420px;
}

.subscribe-form {
  display: flex;
  max-width: 420px;
  border: 1px solid rgba(212, 184, 118, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.subscribe-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 13.5px;
}

.subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.subscribe-form input:focus { outline: none; }

.subscribe-form button {
  background: var(--ara-gold);
  color: var(--ara-navy-deep);
  border: none;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.subscribe-form button:hover { background: var(--ara-gold-light); }

.sub-msg {
  font-size: 12px;
  color: var(--ara-gold-light);
  margin-top: 8px;
  min-height: 18px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ara-gold-light);
  margin-bottom: 18px;
}

.footer-col p, .footer-col li {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 9px;
}

.footer-col ul { list-style: none; }
.footer-col a:hover { color: var(--ara-gold-light); }

.footer-legal {
  border-top: 1px solid rgba(212, 184, 118, 0.16);
  padding: 24px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.54);
}

.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-right: calc(var(--container-gutter) + 72px);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(212, 184, 118, 0.78);
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a:hover { color: var(--ara-gold-light); }

/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  right: calc(26px + env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ara-navy);
  color: var(--ara-gold-light);
  border: 1px solid var(--ara-gold);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 900;
}

.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--ara-gold); color: var(--ara-navy-deep); transform: translateY(-2px); }

/* ==========================================================================
   Clean Modal (Consultation Form & Legal Insights Reader)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 32, 0.76);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open { display: flex; }

.modal-box {
  background: #FFFFFF;
  max-width: 640px;
  width: 100%;
  max-height: 85dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-top: 3px solid var(--ara-gold);
  box-shadow: var(--shadow-executive);
  padding: 36px 40px;
  position: relative;
  z-index: 9999;
}

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  width: 34px; height: 34px;
  border: 1px solid var(--ara-border);
  background: var(--ara-ivory);
  color: var(--ara-navy);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: var(--ara-navy); color: var(--ara-gold-light); }

.modal-box h3 {
  font-family: var(--font-editorial);
  font-size: 26px;
  font-weight: 400;
  color: var(--ara-navy);
  line-height: 1.28;
  margin-bottom: 14px;
  padding-right: 40px;
}

.practice-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-footer-actions {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ara-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-outline-muted {
  background: transparent;
  color: var(--ara-slate);
  border-color: var(--ara-border);
  padding: 11px 20px;
}

.btn-outline-muted:hover {
  border-color: var(--ara-navy);
  color: var(--ara-navy);
}

.modal-body p { font-size: 15px; color: var(--ara-charcoal); margin-bottom: 12px; }
.modal-body ul { margin: 8px 0 16px 18px; }
.modal-body li { font-size: 14.5px; margin-bottom: 8px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > .field { min-width: 0; }
.field { margin-bottom: 13px; }
.field label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ara-navy);
  margin-bottom: 5px;
}

.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--ara-border);
  background: var(--ara-ivory);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ara-charcoal);
  border-radius: 2px;
}

.field input:focus, .field textarea:focus { outline: none; border-color: var(--ara-gold); background: #FFFFFF; }
.field textarea { min-height: 92px; resize: vertical; }

.form-status { margin-top: 12px; padding: 10px 14px; font-size: 13px; display: none; }
.form-status.ok { display: block; background: rgba(31, 92, 66, 0.1); border-left: 3px solid var(--ara-success); color: var(--ara-success); }
.form-status.err { display: block; background: rgba(138, 44, 44, 0.08); border-left: 3px solid var(--ara-danger); color: var(--ara-danger); }

/* Containment & Overflow Safety across Flex/Grid Children */
.positioning-grid > *,
.welcome-grid > *,
.insights-grid-wide > *,
.footer-grid > *,
.cta-banner-inner > * {
  min-width: 0;
}

.footer-col p,
.footer-col a,
.welcome-copy p,
.pos-right p,
.insight-entry p,
.modal-body p,
.modal-body li {
  overflow-wrap: break-word;
}

.footer-col a[href^="mailto:"],
.footer-col a[href^="http"] {
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop -> Tablet -> Compact -> Small/Micro 280-380px)
   ========================================================================== */
@media (max-width: 1080px) {
  .topbar { display: none; }
  .nav-menu, .btn-nav-outline { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #FFFFFF;
    padding: 12px clamp(16px, 4.5vw, 24px) calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 2px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 2px solid var(--ara-gold);
    box-shadow: var(--shadow-card);
    z-index: 999;
  }
  .nav-menu.mobile-open li {
    border-bottom: 1px solid rgba(226, 221, 211, 0.55);
  }
  .nav-menu.mobile-open li:nth-last-child(2),
  .nav-menu.mobile-open li:last-child {
    border-bottom: none;
  }
  .nav-menu.mobile-open li a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 15px;
  }
  .nav-menu.mobile-open .nav-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 10px 0;
  }
  .nav-mobile-lang-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ara-slate);
    letter-spacing: 0.04em;
  }
  .nav-menu.mobile-open .nav-mobile-lang .lang-switch {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: var(--ara-ivory);
    border: 1px solid rgba(184, 150, 76, 0.45);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(6, 17, 32, 0.04);
  }
  .nav-menu.mobile-open .nav-mobile-lang .lang-btn {
    min-height: 30px;
    min-width: 38px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu.mobile-open .nav-mobile-cta {
    display: block;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--ara-border);
  }
  .nav-menu.mobile-open .nav-mobile-cta .btn {
    width: 100%;
    min-height: 44px;
    padding: 12px 20px;
  }
  .positioning-grid, .welcome-grid, .insights-grid-wide, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-col--divided {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(212, 184, 118, 0.14);
    padding-top: 24px;
  }
  .sec-top-row { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .sec-top-note { text-align: left; }
  .pos-left {
    padding-right: 0; padding-bottom: 24px;
    border-right: none; border-bottom: 1px solid var(--ara-border);
  }
  .pos-right { padding-left: 0; }
  .partner-stage { margin: 0 auto; }
  .practice-row { grid-template-columns: 44px 1fr auto; gap: 6px 14px; align-items: start; }
  .pr-desc { grid-column: 2 / -1; margin-top: 4px; }
  .insight-entry {
    border-right: none;
    padding-right: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ara-border);
  }
  .insight-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .slider-arrow { display: none; }
}

@media (max-width: 640px) {
  :root { --container-gutter: 16px; }

  .navbar-inner { height: 62px; gap: 10px; }
  .brand-lockup { gap: 9px; min-width: 0; flex: 1 1 auto; max-width: calc(100% - 50px); }
  .brand-crest-nav { width: clamp(32px, 9.2vw, 40px); height: clamp(32px, 9.2vw, 40px); }
  .brand-wordmark-wrap { padding-left: clamp(8px, 2.4vw, 12px); flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .brand-wordmark { font-size: clamp(11px, 3.25vw, 14.5px); letter-spacing: clamp(0.02em, 0.55vw, 0.08em); }
  .brand-sub-row { gap: clamp(6px, 1.8vw, 9px); margin-top: 3px; }
  .brand-sub-rule--left { width: clamp(12px, 4vw, 20px); }
  .brand-sub-rule--right { min-width: 8px; }
  .brand-sub-label {
    font-size: clamp(7.5px, 2vw, 9px);
    letter-spacing: clamp(0.16em, 0.75vw, 0.28em);
    margin-right: calc(-1 * clamp(0.16em, 0.75vw, 0.28em));
  }
  .nav-right { gap: 0; flex-shrink: 0; }
  .mobile-toggle { width: 42px; height: 42px; font-size: 19px; }

  .hero-bg-layer::after {
    background: linear-gradient(180deg, rgba(6, 17, 32, 0.86) 0%, rgba(11, 29, 51, 0.78) 52%, rgba(6, 17, 32, 0.9) 100%);
  }
  .hero-slider {
    height: auto;
    min-height: clamp(410px, 68svh, 520px);
    max-height: none;
    padding: 38px 0 74px;
  }
  .hero-slides { min-height: 0; }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.15em;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .hero-eyebrow::before { width: 20px; }
  .hero-slide h1, .hero-slide h2 {
    font-size: clamp(25px, 6.8vw, 36px);
    line-height: 1.18;
    margin-bottom: 14px;
  }
  .hero-slide p {
    font-size: clamp(14px, 3.7vw, 15.5px);
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .slider-footer-bar { bottom: 14px; }
  .slider-dot { width: 22px; }
  .slider-dot.active { width: 38px; }
  .slider-counter { font-size: 11.5px; letter-spacing: 0.16em; }

  .btn {
    min-height: 44px;
    padding: 12px 22px;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    white-space: normal;
    text-align: center;
  }
  .hero-slide .btn {
    width: auto;
    max-width: 100%;
    padding: 12px 24px;
  }

  .positioning-strip { padding: 44px 0; }
  .strip-watermark { width: 150px; right: -24px; opacity: 0.035; }
  .pos-left h2 { font-size: clamp(22px, 5.8vw, 30px); }
  .pos-right p { font-size: 14.5px; line-height: 1.72; }
  .pos-pillars { font-size: 10.5px; letter-spacing: 0.11em; line-height: 1.85; overflow-wrap: break-word; }

  .welcome-section, .insights-section, .practice-strip { padding: 46px 0; }
  .welcome-copy h2 { font-size: clamp(23px, 6.2vw, 32px); margin-bottom: 14px; }
  .welcome-copy p { font-size: 14.5px; line-height: 1.72; margin-bottom: 22px; }
  .partner-stage { max-width: 340px; }
  .partner-frame { padding: 16px 12px 0 12px; }
  .partner-frame::before { inset: 9px; }
  .partner-caption { flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 16px; }
  .partner-caption strong { font-size: 16.5px; }

  .sec-top-row { margin-bottom: 26px; }
  .sec-top-row h2 { font-size: clamp(23px, 6.2vw, 32px); }
  .sec-top-note { font-size: 14px; }
  .practice-mobile-head {
    display: grid;
    grid-template-columns: 34px 1fr 66px;
    gap: 10px;
    padding: 10px 8px;
    background: var(--ara-ivory-warm);
    border-bottom: 1px solid var(--ara-border);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ara-navy);
    user-select: none;
  }
  .practice-mobile-head span:first-child,
  .practice-mobile-head span:last-child { text-align: center; }
  .practice-row {
    grid-template-columns: 34px 1fr 66px;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 14px 8px;
  }
  .practice-row:hover { padding-left: 8px; }
  .pr-num { text-align: center; font-size: 12px; font-weight: 700; }
  .pr-title { font-size: clamp(14.5px, 4.1vw, 17px); font-weight: 700; overflow-wrap: break-word; }
  .pr-tags { gap: 4px; margin-top: 5px; }
  .pr-tag { font-size: 9px; padding: 2px 7px; max-width: 100%; }
  .pr-desc { display: none; }
  .pr-cue {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 0.07em;
    padding: 5px 6px;
    background: #FFFFFF;
    border: 1px solid var(--ara-border);
    border-radius: 2px;
  }
  .modal-footer-actions { flex-direction: column-reverse; }
  .modal-footer-actions .btn { width: 100%; }

  .cta-banner {
    padding: 46px 0;
    background-image:
      linear-gradient(180deg, rgba(6, 17, 32, 0.88) 0%, rgba(11, 29, 51, 0.84) 55%, rgba(6, 17, 32, 0.92) 100%),
      url('assets/images/ara-skyline-hero.jpg');
  }
  .cta-banner-inner { gap: 20px; }
  .cta-banner h2 { font-size: clamp(22px, 5.8vw, 30px); }
  .cta-banner p { font-size: 14px; line-height: 1.65; }

  .insights-grid-wide { gap: 24px; padding-top: 24px; }
  .insight-entry { padding-bottom: 24px; }
  .insight-entry h3 { font-size: clamp(19px, 5vw, 22px); }
  .insight-entry p { font-size: 14px; margin-bottom: 14px; }
  .insight-link-cue { display: inline-flex; align-items: center; min-height: 32px; }

  .site-footer { padding: 44px 0 0; }
  .footer-watermark { width: 190px; right: -48px; opacity: 0.028; }
  .footer-grid { gap: 26px; padding-bottom: 32px; }
  .footer-grid > .footer-col:last-child { display: none; }
  .footer-col--divided { padding-top: 22px; }
  .footer-brand { gap: 10px; margin-bottom: 16px; }
  .footer-crest { width: clamp(34px, 9.5vw, 44px); height: clamp(34px, 9.5vw, 44px); }
  .footer-wordmark-wrap { padding-left: clamp(10px, 2.6vw, 14px); flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .footer-wordmark { font-size: clamp(11px, 3.35vw, 15.5px); letter-spacing: clamp(0.025em, 0.65vw, 0.09em); }
  .subscribe-form { max-width: 100%; }
  .subscribe-form input { font-size: 16px; min-height: 44px; padding: 10px 12px; }
  .subscribe-form button { min-width: 48px; min-height: 44px; padding: 0 16px; }
  .btn-footer-cta { min-height: 44px; }
  .footer-legal { padding: 18px 0 calc(58px + env(safe-area-inset-bottom, 0px)); font-size: 12px; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: var(--container-gutter); }
  .footer-tagline { font-size: 10.5px; letter-spacing: 0.16em; }
  .legal-links { flex-wrap: wrap; gap: 4px 18px; }
  .legal-links a { display: inline-flex; align-items: center; min-height: 36px; }

  .form-row { grid-template-columns: 1fr; }
  .field input, .field textarea { font-size: 16px; min-height: 44px; }
  .modal-backdrop { padding: 12px; }
  .modal-box { padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)); max-height: 88dvh; }
  .modal-box h3 { font-size: 21px; padding-right: 44px; }
  .modal-close { top: 12px; right: 12px; width: 40px; height: 40px; }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: calc(14px + env(safe-area-inset-right, 0px));
    font-size: 16px;
  }
}

/* Small Mobile CTA & Natural Title Wrapping (<= 480px) */
@media (max-width: 480px) {
  .hero-br { display: none; }
  .welcome-copy .btn,
  .cta-banner .btn,
  .btn-footer-cta {
    width: 100%;
  }
  .strip-watermark { display: none; }
  .partner-stage { max-width: 290px; }
}

/* Small & Micro Mobile Devices (321px–380px, e.g. 360px Android, iPhone SE) */
@media (max-width: 380px) {
  :root { --container-gutter: 12px; }

  .navbar-inner { height: 56px; gap: 8px; }
  .brand-lockup { gap: 7px; max-width: calc(100% - 46px); }
  .brand-crest-nav { width: 28px; height: 28px; }
  .brand-wordmark-wrap { padding-left: 7px; }
  .brand-wordmark { font-size: clamp(9.5px, 3.05vw, 11.5px); letter-spacing: 0.025em; }
  .brand-sub-row { gap: 5px; margin-top: 2px; }
  .brand-sub-rule--left { width: 10px; height: 1px; }
  .brand-sub-rule--right { min-width: 6px; }
  .brand-sub-label { font-size: 7px; letter-spacing: 0.16em; margin-right: -0.16em; }
  .mobile-toggle { width: 38px; height: 38px; font-size: 18px; }

  .hero-slider { min-height: 390px; padding: 32px 0 64px; }
  .hero-eyebrow { font-size: 9.5px; letter-spacing: 0.12em; margin-bottom: 10px; }
  .hero-eyebrow::before { width: 16px; }
  .hero-slide h1, .hero-slide h2 { font-size: clamp(22px, 6.8vw, 27px); margin-bottom: 12px; }
  .hero-slide p { font-size: 13.5px; line-height: 1.62; margin-bottom: 20px; }
  .hero-slide .btn { padding: 11px 20px; font-size: 11px; }

  .positioning-strip, .welcome-section, .insights-section, .practice-strip, .cta-banner { padding: 36px 0; }
  .pos-left { padding-bottom: 18px; }
  .pos-left h2 { font-size: clamp(20px, 6vw, 25px); }
  .pos-right p, .welcome-copy p { font-size: 14px; }
  .pos-pillars { font-size: 10px; letter-spacing: 0.08em; line-height: 1.75; }
  .sec-top-row { margin-bottom: 20px; }
  .sec-top-row h2, .welcome-copy h2, .cta-banner h2 { font-size: clamp(21px, 6.2vw, 26px); }

  .practice-mobile-head {
    grid-template-columns: 28px 1fr 54px;
    gap: 6px;
    padding: 8px 4px;
    font-size: 9px;
  }
  .practice-row {
    grid-template-columns: 28px 1fr 54px;
    gap: 6px;
    padding: 12px 4px;
  }
  .pr-num { font-size: 11px; }
  .pr-title { font-size: 13.5px; }
  .pr-tag { font-size: 8.5px; padding: 1.5px 6px; }
  .pr-cue { font-size: 8.5px; padding: 4px 4px; }

  .insight-entry { padding-bottom: 20px; }
  .insight-entry h3 { font-size: 18.5px; }

  .footer-brand { gap: 8px; }
  .footer-crest { width: 30px; height: 30px; }
  .footer-wordmark-wrap { padding-left: 8px; }
  .footer-wordmark { font-size: clamp(9.5px, 3.15vw, 12px); letter-spacing: 0.025em; }
  .footer-tagline { font-size: 9.5px; letter-spacing: 0.12em; }
  .subscribe-form input { padding: 10px 10px; }
  .subscribe-form button { padding: 0 14px; }

  .modal-backdrop { padding: 8px; }
  .modal-box { padding: 18px 14px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .modal-box h3 { font-size: 19px; padding-right: 40px; }
}

/* Ultra-Small Micro Mobile Devices (<= 320px, e.g. Galaxy Fold cover 280px, iPhone SE 1st gen) */
@media (max-width: 320px) {
  :root { --container-gutter: 10px; }
  .navbar-inner { height: 54px; gap: 6px; }
  .brand-lockup { gap: 6px; max-width: calc(100% - 42px); }
  .brand-crest-nav { width: 25px; height: 25px; }
  .brand-wordmark-wrap { padding-left: 6px; }
  .brand-wordmark {
    font-size: clamp(8.5px, 2.95vw, 10px);
    letter-spacing: 0.015em;
    white-space: normal;
    line-height: 1.15;
  }
  .brand-sub-rule--left { width: 8px; }
  .brand-sub-label { font-size: 6.5px; letter-spacing: 0.12em; margin-right: -0.12em; }
  .mobile-toggle { width: 36px; height: 36px; font-size: 16px; }

  .partner-stage { max-width: 240px; }
  .practice-mobile-head { grid-template-columns: 24px 1fr 48px; gap: 5px; }
  .practice-row { grid-template-columns: 24px 1fr 48px; gap: 5px; }
  .pr-cue { font-size: 8px; padding: 3px 3px; letter-spacing: 0.04em; }

  .footer-crest { width: 26px; height: 26px; }
  .footer-wordmark {
    font-size: clamp(9px, 3.1vw, 10.5px);
    letter-spacing: 0.015em;
    white-space: normal;
    line-height: 1.18;
  }
}
