/* =========================================================
   Buildya — Premium Redesign
   ========================================================= */

:root {
  /* Palette */
  --bone:        #F3EEE3;
  --bone-2:      #ECE5D5;
  --bone-3:      #DDD3BD;
  --ink:         #0E0F0D;
  --ink-2:       #1A1B18;
  --ink-3:       #2A2B27;
  --muted:       #6E6A5E;
  --rule:        #C9C0AC;
  --accent:      #B5571E;     /* burnished copper */
  --accent-2:    #8C3F12;
  --paper:       #F8F4EA;

  /* Type */
  --serif: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --pad-x: clamp(20px, 4vw, 64px);
  --max:   1480px;
}

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

html, body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

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

::selection { background: var(--ink); color: var(--bone); }

/* Reusable */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.rule { height: 1px; background: var(--rule); width: 100%; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.italic { font-style: italic; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  transition: backdrop-filter .4s, background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(243, 238, 227, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(14,15,13,0.08);
}
.nav.over-dark:not(.scrolled) { color: var(--bone); }
.nav.over-dark:not(.scrolled) .nav-cta { border-color: rgba(243,238,227,0.4); }

.nav-logo {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.nav-logo .mark {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  transform: translateY(-3px);
  margin-right: 6px;
}

.nav-links {
  display: flex; gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a { opacity: 0.75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 880px) {
  .nav-links { display: none; }
}

.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid rgba(14,15,13,0.25);
  border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s;
}
.nav-cta:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 108vh;
  min-height: 760px;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.62) contrast(1.05) saturate(0.85);
  transform: scale(1.08);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(14,15,13,0.35) 0%,
    rgba(14,15,13,0.15) 40%,
    rgba(14,15,13,0.65) 100%);
}

.hero-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-inner {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) 64px;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 238, 227, 0.7);
  margin-bottom: 48px;
}
.hero-meta .col { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .col span:first-child { color: rgba(243,238,227,0.45); }

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.92;
  font-size: clamp(56px, 11vw, 178px);
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(.2,.7,.15,1) forwards;
}
.hero-headline .line:nth-child(2) > span { animation-delay: .18s; }
.hero-headline .line:nth-child(3) > span { animation-delay: .36s; }
.hero-headline em {
  font-style: italic;
  color: var(--bone-3);
}

@keyframes rise {
  to { transform: translateY(0); }
}

.hero-sub {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-sub p {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243, 238, 227, 0.78);
  opacity: 0;
  animation: fade 1s 0.7s forwards;
}
@keyframes fade { to { opacity: 1; } }

.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 26px 18px 26px;
  background: var(--bone);
  color: var(--ink);
  border-radius: 999px;
  transition: transform .3s cubic-bezier(.2,.7,.15,1), background .3s;
  opacity: 0;
  animation: fade 1s 0.9s forwards;
}
.hero-cta:hover { background: var(--accent); color: var(--bone); transform: translateY(-2px); }
.hero-cta .arrow {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bone);
  font-family: var(--sans);
  font-size: 14px;
  transition: background .3s;
}
.hero-cta:hover .arrow { background: var(--bone); color: var(--accent); }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243,238,227,0.6);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .bar {
  width: 1px; height: 36px; background: rgba(243,238,227,0.4);
  position: relative; overflow: hidden;
}
.hero-scroll .bar::after {
  content: "";
  position: absolute; top: -100%;
  width: 100%; height: 100%;
  background: var(--bone);
  animation: scrolldown 2.4s ease-in-out infinite;
}
@keyframes scrolldown {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

/* Mask reveal numbers row inside hero */
.hero-stats {
  position: absolute;
  top: 14%;
  right: var(--pad-x);
  display: flex; flex-direction: column; gap: 20px;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243,238,227,0.6);
  border-right: 1px solid rgba(243,238,227,0.25);
  padding-right: 18px;
  opacity: 0;
  animation: fade 1s 1.1s forwards;
  z-index: 3;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-top: 4px;
  text-transform: none;
}
@media (max-width: 1180px) {
  .hero-stats { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink);
  color: var(--bone);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(243,238,227,0.08);
  border-bottom: 1px solid rgba(243,238,227,0.08);
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .sep {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTION SCAFFOLD
   ========================================================= */
.section {
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.96;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   WHO WE ARE (editorial)
   ========================================================= */
.about {
  background: var(--bone);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.about-lede em { font-style: italic; color: var(--accent); }

.about-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.about-body p:last-child { margin-bottom: 0; }

.about-figure {
  position: relative;
  margin-top: 40px;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
}
.about-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(.2,.7,.15,1);
}
.about-figure:hover img { transform: scale(1.0); }

/* Mask reveal class — applied via IntersectionObserver */
.mask-reveal {
  clip-path: inset(0% 100% 0% 0%);
  -webkit-clip-path: inset(0% 100% 0% 0%);
  transition: clip-path 1.4s cubic-bezier(.7, 0, .25, 1), -webkit-clip-path 1.4s cubic-bezier(.7, 0, .25, 1);
}
.mask-reveal.in {
  clip-path: inset(0% 0% 0% 0%);
  -webkit-clip-path: inset(0% 0% 0% 0%);
}

.text-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.15,1);
}
.text-reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   STICKY SCROLL SERVICES
   ========================================================= */
.services {
  background: var(--ink);
  color: var(--bone);
  padding: 0;
  position: relative;
}
.services-intro {
  padding: clamp(80px, 12vh, 140px) var(--pad-x) 80px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: end;
}
.services-intro .eyebrow { color: rgba(243,238,227,0.55); }
.services-intro .eyebrow .dot { background: var(--accent); }
.services-intro h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.96;
}
.services-intro h2 em { font-style: italic; color: var(--bone-3); }
.services-intro .lede {
  color: rgba(243,238,227,0.7);
  font-size: 16px; line-height: 1.6;
  max-width: 460px;
}
@media (max-width: 880px) {
  .services-intro { grid-template-columns: 1fr; gap: 24px; }
}

.services-sticky {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(80px, 12vh, 140px);
  gap: 80px;
}
@media (max-width: 880px) {
  .services-sticky { grid-template-columns: 1fr; gap: 40px; }
}

.services-left {
  position: sticky;
  top: 12vh;
  height: 70vh;
  align-self: start;
}
.services-stage {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.services-stage .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .8s ease, transform 1.4s cubic-bezier(.2,.7,.15,1);
  background-size: cover; background-position: center;
}
.services-stage .slide.active { opacity: 1; transform: scale(1); }
.services-stage::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,13,0.0) 60%, rgba(14,15,13,0.55));
  pointer-events: none;
}
.services-stage .stage-label {
  position: absolute;
  left: 24px; bottom: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243,238,227,0.85);
  z-index: 2;
  display: flex; gap: 8px; align-items: center;
}
.services-stage .stage-label .idx {
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 2px;
  color: var(--bone);
}

.services-right { display: flex; flex-direction: column; }
.service-item-img { display: none; }
.service-item {
  padding: 60px 0;
  border-top: 1px solid rgba(243,238,227,0.12);
  transition: opacity .4s;
  opacity: 0.35;
}
.service-item.active { opacity: 1; }
.service-item:last-child { border-bottom: 1px solid rgba(243,238,227,0.12); }

.service-item .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
}
.service-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.025em;
  line-height: 0.96;
  margin-bottom: 22px;
}
.service-item h3 em { font-style: italic; color: var(--bone-3); }
.service-item p {
  color: rgba(243,238,227,0.7);
  font-size: 16px;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 22px;
}
.service-item .link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(243,238,227,0.3);
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}
.service-item .link:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 880px) {
  /* Sticky stage overlaps stacked text on mobile, replace it with an inline
     image per service item. */
  .services-left { display: none; }
  .services-sticky { gap: 0; padding-top: 0; padding-bottom: 80px; }
  .service-item {
    padding: 40px 0 48px;
    opacity: 1;
  }
  .service-item-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 28px;
  }
  .service-item h3 { margin-bottom: 18px; }
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects { background: var(--bone); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.project .img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 1.2s cubic-bezier(.2,.7,.15,1);
}
.project:hover .img { transform: scale(1.05); }
.project::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,13,0) 50%, rgba(14,15,13,0.7));
}
.project .meta {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  display: flex; justify-content: space-between; align-items: flex-end;
  color: var(--bone);
  z-index: 2;
}
.project .meta h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.project .meta .info {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
  opacity: 0.85;
  line-height: 1.6;
}

.project.large { grid-column: span 7; aspect-ratio: 16/11; }
.project.medium { grid-column: span 5; aspect-ratio: 1; }
.project.tall { grid-column: span 4; aspect-ratio: 3/4; }
.project.wide { grid-column: span 8; aspect-ratio: 16/9; }

@media (max-width: 880px) {
  .project.large, .project.medium, .project.tall, .project.wide {
    grid-column: span 12; aspect-ratio: 4/3;
  }
}

.project .tag {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(243,238,227,0.92);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 2px;
  z-index: 2;
}

/* =========================================================
   APPROACH
   ========================================================= */
.approach { background: var(--paper); }
.approach-list { display: flex; flex-direction: column; }
.approach-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 200px;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.approach-row:last-child { border-bottom: 1px solid var(--rule); }
.approach-row .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.approach-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.approach-row h3 em { font-style: italic; }
.approach-row p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.approach-row .duration {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.approach-row:hover { background: rgba(255,255,255,0.5); }
@media (max-width: 880px) {
  .approach-row {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .approach-row p, .approach-row .duration {
    grid-column: 2;
  }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(70px, 10vh, 110px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-cell {
  border-left: 1px solid rgba(243,238,227,0.15);
  padding-left: 24px;
}
.stat-cell .num {
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.stat-cell .num em { font-style: italic; color: var(--accent); }
.stat-cell .label {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243,238,227,0.6);
}
@media (max-width: 880px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--bone-2); }
.testimonial-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 60px;
  margin: 0 calc(var(--pad-x) * -1);
  padding-left: var(--pad-x); padding-right: var(--pad-x);
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.t-card {
  min-width: 480px;
  max-width: 480px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 36px 32px 28px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 24px;
}
.t-card .quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.t-card .quote::before { content: "“"; color: var(--accent); margin-right: 4px; }
.t-card .quote::after { content: "”"; color: var(--accent); margin-left: 2px; }
.t-card .who {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.t-card .who .name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.t-card .who .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-card .stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }

@media (max-width: 880px) {
  .t-card { min-width: 80vw; max-width: 80vw; }
}

/* =========================================================
   INSIGHTS / BLOG
   ========================================================= */
.insights { background: var(--bone); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .insights-grid { grid-template-columns: 1fr; } }

.insight {
  display: flex; flex-direction: column; gap: 18px;
  cursor: pointer;
}
.insight .img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .8s cubic-bezier(.2,.7,.15,1);
}
.insight:hover .img { transform: scale(0.98); }
.insight .img-wrap { overflow: hidden; border-radius: 4px; }
.insight .img-wrap .img { transition: transform 1s cubic-bezier(.2,.7,.15,1); }
.insight:hover .img-wrap .img { transform: scale(1.06); }
.insight .meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.insight .meta .cat { color: var(--accent); }
.insight h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 95%;
}
.insight .read-more {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color .3s, border-color .3s;
}
.insight:hover .read-more { color: var(--accent); border-color: var(--accent); }

/* =========================================================
   CTA / FOOTER
   ========================================================= */
.cta-block {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(90px, 14vh, 160px) 0;
  position: relative;
  overflow: hidden;
}
.cta-block h2 {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 156px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.9;
  max-width: 1200px;
}
.cta-block h2 em { font-style: italic; color: var(--accent); }
.cta-block .row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-block p {
  max-width: 460px;
  color: rgba(243,238,227,0.7);
  font-size: 16px;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 22px 30px;
  background: var(--accent);
  color: var(--bone);
  border-radius: 999px;
  transition: background .3s, transform .3s cubic-bezier(.2,.7,.15,1);
}
.cta-button:hover { background: var(--bone); color: var(--ink); transform: translateY(-2px); }
.cta-button .arrow {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(243,238,227,0.18);
  color: var(--bone);
  font-size: 14px;
}
.cta-button:hover .arrow { background: var(--accent); color: var(--bone); }

.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(243,238,227,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243,238,227,0.45);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 15px;
  color: rgba(243,238,227,0.85);
  transition: color .3s;
}
.footer ul a:hover { color: var(--accent); }
.footer-brand .logo {
  font-family: var(--serif);
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.footer-brand .logo .mark {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  transform: translateY(-8px);
}
.footer-brand p {
  margin-top: 20px;
  max-width: 320px;
  color: rgba(243,238,227,0.7);
  font-size: 14px;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(243,238,227,0.1);
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243,238,227,0.45);
  flex-wrap: wrap; gap: 16px;
}

/* Newsletter input */
.newsletter {
  display: flex;
  border-bottom: 1px solid rgba(243,238,227,0.3);
  align-items: center;
  margin-top: 16px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 0;
}
.newsletter input::placeholder { color: rgba(243,238,227,0.4); }
.newsletter button {
  background: transparent;
  border: 0;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 0;
  transition: color .3s;
}
.newsletter button:hover { color: var(--accent); }

/* =========================================================
   Helpers
   ========================================================= */
.row-flex { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.spacer-sm { height: 40px; }
.spacer-md { height: 80px; }
