/* =========================================================================
   RAJMUDRA ARCHITECTS — Editorial luxury studio site
   Palette + type per art direction. Substituted fonts:
     Canela → Cormorant Garamond   ·   Neue Haas Grotesk → Jost
   ========================================================================= */

:root {
  --bg: #F7F5F2;
  --white: #FFFFFF;
  --ink: #161616;
  --muted: #666666;
  --border: #DDDDDD;
  --accent: #8C7355;
  --hover: #222222;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;

  --maxw: 1600px;
  --content: 1320px;
  --pad-section: clamp(64px, 8vw, 112px);
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--white); }

.wrap { max-width: var(--content); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---- Type helpers ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(40px, 6.4vw, 78px);
  margin: 0;
}
.headline {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.005em;
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 0;
}
.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--ink);
}
.muted { color: var(--muted); }
em, .italic { font-style: italic; }

/* ---- Reveal (GSAP toggles .is-in) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-line { overflow: hidden; }
.reveal-line > * { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.reveal-line.is-in > * { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================================
   Custom cursor
   ========================================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease), opacity .3s;
}
.cursor.grow { width: 78px; height: 78px; background: #fff; }
.cursor.dot { width: 6px; height: 6px; }
.cursor__label {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  transform: translate(-50%, -50%);
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); mix-blend-mode: difference;
  opacity: 0; transition: opacity .3s;
}
.cursor__label.show { opacity: 1; }
@media (hover: none), (max-width: 900px) { .cursor, .cursor__label { display: none; } }

/* =========================================================================
   Loader
   ========================================================================= */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: #0d0d0d; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 26px;
}
.loader img { width: 88px; height: 88px; object-fit: contain; opacity: 0; transform: scale(.92); }
.loader__name {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); opacity: 0;
}
.loader__bar { width: 120px; height: 1px; background: rgba(255,255,255,0.18); position: relative; overflow: hidden; opacity: 0; }
.loader__bar i { position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); }
.loader.done { transform: translateY(-100%); transition: transform 1.1s var(--ease); }

/* =========================================================================
   Header
   ========================================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  transition: padding .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
  color: var(--white);
}
.header.scrolled {
  padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand__name {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.02em; line-height: 1;
}
.brand__name span { display:block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; margin-top: 3px; opacity: .7; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; }

/* Mobile slide-down menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190; background: var(--bg); color: var(--ink);
  transform: translateY(-100%); transition: transform .7s var(--ease);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
}
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--serif); font-size: 40px; font-weight: 500; padding: 10px 0; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--white); }
.hero__media { position: absolute; inset: 0; }
.hero__media video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 1.6s ease;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
.hero__media video.ready { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .hero__media video { animation: none; } }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(to bottom, rgba(13,13,13,.42) 0%, rgba(13,13,13,.30) 42%, rgba(13,13,13,.55) 100%); }
.hero__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--gutter);
}
.hero__mark { width: 76px; height: 76px; object-fit: contain; margin-bottom: 34px; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 7vw, 96px); line-height: 1; letter-spacing: 0.01em; margin: 0; }
.hero__tag { margin-top: 22px; font-family: var(--sans); font-size: clamp(13px,1.4vw,16px); letter-spacing: 0.34em; text-transform: uppercase; font-weight: 300; opacity: .9; }
.hero__bottom {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 34px;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 0 var(--gutter);
}
.hero__explore { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.hero__explore .ln { width: 46px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.hero__explore:hover .ln { width: 76px; }
.scrollcue { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; opacity: .85; }
.scrollcue .rail { width: 1px; height: 54px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.scrollcue .rail i { position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: #fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(250%);} }

/* =========================================================================
   Sections
   ========================================================================= */
section { position: relative; }
.section { padding-block: var(--pad-section); }
.section-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }

/* About / intro editorial */
.intro-lines { display: flex; flex-direction: column; gap: 6px; max-width: 20ch; }
.intro-lines .display span { color: var(--accent); font-style: italic; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gutter); align-items: end; }
.intro-quote { max-width: 30ch; }

/* Practice */
.practice-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.practice-left { position: sticky; top: clamp(88px, 12vh, 120px); }
.practice-portrait { margin: 0; overflow: hidden; }
.practice-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.practice-id { margin-top: 28px; }
.practice-id .name { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.02; letter-spacing: -0.01em; color: var(--ink); }
.practice-id .role { font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-top: 12px; }
.practice-id .meta { font-family: var(--sans); font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--muted); margin-top: 16px; }
.practice-quote { margin: 26px 0 0; padding-top: 24px; border-top: 1px solid var(--border); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); max-width: 34ch; }
.practice-heading { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); margin: 16px 0 0; }
.practice-body { margin-top: 28px; }
.practice-body p { margin: 0 0 1.15em; }
.practice-body p:last-child { margin-bottom: 0; }
.practice-body .lead { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.32; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 22px; }
.practice-body p:not(.lead) { font-family: var(--sans); font-weight: 300; font-size: 16.5px; line-height: 1.75; color: var(--muted); max-width: 62ch; }
.expertise { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--border); }
.expertise .chip { font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: 0.03em; color: var(--ink); border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; transition: border-color .4s var(--ease), color .4s var(--ease); }
.expertise .chip:hover { border-color: var(--ink); color: var(--accent); }
@media (max-width: 900px) {
  .practice-grid { grid-template-columns: 1fr; gap: 32px; }
  .practice-left { position: static; }
  .practice-portrait img { aspect-ratio: 4/5; }
  .practice-id { margin-top: 24px; }
  .practice-quote { max-width: none; }
  .practice-heading { margin-top: 4px; }
  .practice-body { margin-top: 22px; }
  .practice-body p:not(.lead) { max-width: none; }
}

/* Featured projects */
.project { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: center; margin-bottom: clamp(56px,8vw,100px); }
.project:nth-child(even) .project__media { order: 2; }
.project__media { position: relative; overflow: hidden; }
.project__media image-slot { width: 100%; aspect-ratio: 4/5; display:block; }
.project:nth-child(3n) .project__media image-slot { aspect-ratio: 3/4; }
.project__index { font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 22px; }
.project__name { font-family: var(--serif); font-weight: 500; font-size: clamp(32px,4vw,52px); line-height: 1.02; margin: 0 0 26px; }
.project__meta { display: grid; grid-template-columns: repeat(2, minmax(0,180px)); gap: 20px 40px; margin-bottom: 34px; }
.project__meta dt { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.project__meta dd { margin: 0; font-family: var(--serif); font-size: 20px; }
.link-cta { display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.link-cta .ln { width: 40px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.link-cta:hover .ln { width: 68px; }

/* Services */
.services-grid { border-top: 1px solid var(--border); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 64px 56px 1fr minmax(200px, 340px);
  align-items: center; gap: 32px;
  padding: 34px 6px; border-bottom: 1px solid var(--border); cursor: pointer;
  color: var(--ink); text-decoration: none;
  transition: background .4s ease-in-out;
}
.service:hover { background: color-mix(in srgb, var(--bg) 97%, var(--ink)); }
.service__no { font-family: var(--sans); font-size: 13px; letter-spacing: 0.2em; color: var(--accent); }
.service__icon { color: var(--ink); display: inline-flex; align-items: center; transition: transform .4s ease-in-out, color .4s ease-in-out; }
.service__icon svg { width: 34px; height: 34px; display: block; }
.service:hover .service__icon { transform: rotate(5deg); color: var(--accent); }
.service__name { font-family: var(--serif); font-size: clamp(24px,3vw,38px); font-weight: 500; line-height: 1.04; margin: 0; transition: transform .4s ease-in-out, color .4s ease-in-out; }
.service:hover .service__name { transform: translateX(10px); color: var(--accent); }
.service__end { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.service__desc { font-family: var(--sans); font-size: 14px; color: var(--muted); max-width: 34ch; text-align: right; line-height: 1.5; }
.service__arrow { color: var(--muted); display: inline-flex; flex-shrink: 0; transition: transform .4s ease-in-out, color .4s ease-in-out; }
.service__arrow svg { width: 24px; height: 24px; display: block; }
.service:hover .service__arrow { transform: translateX(8px); color: var(--ink); }
.service__line { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s ease-in-out; }
.service:hover .service__line { transform: scaleX(1); }
@media (max-width: 760px){
  .service { grid-template-columns: 46px 44px 1fr minmax(150px, 42%); gap: 20px; padding: 30px 4px; }
}
@media (max-width: 620px){
  .service { grid-template-columns: auto 1fr; align-items: center; gap: 12px 18px; padding: 26px 2px; }
  .service__no { grid-row: 1; grid-column: 1; }
  .service__icon { grid-row: 1; grid-column: 2; justify-self: start; }
  .service__name { grid-row: 2; grid-column: 1 / -1; }
  .service:hover .service__name { transform: translateX(6px); }
  .service__end { grid-row: 3; grid-column: 1 / -1; justify-content: space-between; gap: 18px; }
  .service__desc { text-align: left; max-width: none; }
}
@media (prefers-reduced-motion: reduce){
  .service, .service__icon, .service__name, .service__arrow, .service__line { transition: none; }
}

/* Philosophy band */
.philosophy { background: var(--ink); color: var(--bg); }
.philosophy .accent { color: var(--accent); font-style: italic; }

/* Testimonials */
.quote-stage { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity 1.1s var(--ease); display: flex; flex-direction: column; gap: 26px; }
.quote.active { opacity: 1; pointer-events: auto; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px,3.4vw,44px); line-height: 1.28; }
.quote figcaption { font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.quote-dots { display: flex; gap: 12px; margin-top: 40px; }
.quote-dots button { width: 34px; height: 2px; border: 0; background: var(--border); cursor: pointer; padding: 0; }
.quote-dots button.on { background: var(--ink); }

/* Journal */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.article { cursor: pointer; }
.article__media image-slot { width: 100%; aspect-ratio: 3/2; display: block; margin-bottom: 22px; }
.article__cat { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.article__title { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; margin: 12px 0 8px; transition: color .4s; }
.article:hover .article__title { color: var(--accent); }
.article__date { font-family: var(--sans); font-size: 13px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.info-block { margin-bottom: 40px; }
.info-block dt { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info-block dd { margin: 0; font-family: var(--serif); font-size: clamp(22px,2.4vw,30px); }
.info-block dd a:hover { color: var(--accent); }
address { font-style: normal; }
.map { width: 100%; height: 600px; margin-top: 30px; border: 1px solid var(--border); border-radius: 18px; filter: grayscale(1) contrast(1.05); }
.map--full { margin-top: clamp(48px, 7vw, 90px); }
.field { position: relative; margin-bottom: 34px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--border); background: transparent;
  font-family: var(--sans); font-size: 17px; font-weight: 300; color: var(--ink); padding: 12px 0; outline: none;
  transition: border-color .4s;
}
.field textarea { resize: none; min-height: 90px; }
.field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--border); background: transparent;
  font-family: var(--sans); font-size: 17px; font-weight: 300; color: var(--ink); padding: 12px 24px 12px 0; outline: none;
  transition: border-color .4s; appearance: none; -webkit-appearance: none; border-radius: 0; cursor: pointer;
}
.field select:focus { border-color: var(--ink); }
.select-field::after { content: ""; position: absolute; right: 2px; top: 16px; width: 8px; height: 8px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 0; top: 12px; color: var(--muted); pointer-events: none; transition: all .35s var(--ease); font-size: 17px; }
.field input:focus ~ label, .field input:valid ~ label,
.field textarea:focus ~ label, .field textarea:valid ~ label,
.field select:focus ~ label, .field select:valid ~ label { top: -12px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 16px; cursor: pointer;
  background: var(--ink); color: var(--bg); border: 0;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 20px 34px; transition: background .4s;
}
.btn:hover { background: var(--accent); }
.btn.sent { background: var(--accent); }

/* Contact action buttons */
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 4px; }
.cbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--border); color: var(--ink); background: transparent;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.cbtn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.form-note { margin: 22px 0 0; font-family: var(--serif); font-size: 20px; color: var(--accent); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.form-note.show { opacity: 1; transform: none; }
.field-error { position: absolute; left: 0; bottom: -22px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.01em; color: #9E4A3C; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.field.error .field-error { opacity: 1; }
.field.error input, .field.error select, .field.error textarea { border-bottom-color: #9E4A3C; }
@media (max-width: 760px){ .map { height: 350px; } }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 6px; font-family: var(--serif); font-size: clamp(20px,2.4vw,28px); font-weight: 500; color: var(--ink); transition: color .4s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 11px; height: 11px; flex-shrink: 0; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); transition: transform .4s var(--ease); }
.faq__item[open] summary { color: var(--accent); }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { margin: 0 6px; padding: 0 40px 28px 6px; max-width: 72ch; font-family: var(--sans); font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: var(--bg); padding-block: clamp(64px,8vw,104px) 40px; }
.footer__cta { font-family: var(--serif); font-weight: 500; font-size: clamp(40px,8vw,120px); line-height: 0.98; letter-spacing: -0.01em; margin: 0 0 clamp(40px,6vw,60px); }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gutter); padding-block: 60px; border-top: 1px solid rgba(255,255,255,.14); }
.footer__cols h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 20px; font-weight: 400; }
.footer__cols a, .footer__cols p { display: block; color: var(--bg); margin-bottom: 12px; font-size: 16px; font-weight: 300; }
.footer__cols a:hover { color: var(--accent); }
.footer__base { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 14px; }
.footer__seo { margin: 26px 0 0; max-width: 88ch; font-family: var(--sans); font-size: 13px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.42); }
.footer__social { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.footer__social .social { display: inline-flex; margin: 0; color: var(--bg); opacity: .6; transition: transform .3s ease, opacity .3s ease; }
.footer__social .social svg { width: 22px; height: 22px; display: block; }
.footer__social .social:hover { color: var(--bg); opacity: 1; transform: translateY(-2px) scale(1.1); }
@media (max-width: 560px){
  .footer__social { justify-content: center; }
  .footer__social .social svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce){ .footer__social .social:hover { transform: none; } }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items:center; gap:10px; background:none; border:0; color: currentColor; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
  .intro-grid, .project, .contact-grid, .journal-grid { grid-template-columns: 1fr; }
  .project:nth-child(even) .project__media { order: 0; }
  .journal-grid { gap: 50px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){ .journal-grid { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: 1fr; } }
