@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   ARTL Studio Design System — Adapted for Architetto Patrizia Drudi
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f8f8f7;
  --bg-warm: #f2f2ef;
  --text: #1f2429;
  --text-soft: #4b525a;
  --text-muted: #7b838c;
  --navy: #375875;
  --navy-dark: #233b50;
  --slate: #8fa5b0;
  --line: #e6e6e2;
  --hover-box-bg: rgba(31, 36, 41, 0.14);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1440px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

button, a, [role="button"], .hamburger, .tappable {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   Navigation Bar (ARTL Desktop Header + Screenshot Mobile Popup)
   ========================================================================== */

.nav-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, height 0.3s ease;
}

.nav-bar.scrolled {
  height: 80px;
}

.brand {
  position: relative;
  z-index: 1010;
  margin-left: 50px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand---logo-img {
  height: 42px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  display: block;
}

.logo---text,
.logo {
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.38ch;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.logo.space-below {
  margin-bottom: 28px;
}

/* Desktop Header Navigation Links (matching ARTL desktop version) */
.nav---menu {
  position: relative;
  z-index: 1010;
  display: flex;
  align-items: center;
  margin-right: 50px;
  list-style: none;
  gap: 36px;
}

.nav---link {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14ch;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nav---link:hover {
  opacity: 0.6;
}

.nav---link.w--current,
.nav---link.active {
  border-bottom-color: var(--text);
}

/* Hamburger Toggle for Mobile / Tablet */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  margin-right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1020;
}

.hamburger---line {
  width: 22px;
  height: 1.5px;
  background-color: var(--text);
  margin: 3px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active .hamburger---line.top {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-active .hamburger---line.middle {
  opacity: 0;
}

.hamburger.is-active .hamburger---line.bottom {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Popup Navigation Menu (Exact replica of user screenshot for ARTL popup)
   ========================================================================== */

.nav---popup-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.nav---popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav---popup-container {
  width: 100%;
  max-width: var(--max-width);
  background-color: #ffffff;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 50px 36px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.nav---popup-overlay.is-open .nav---popup-container {
  transform: translateY(0);
}

.nav---popup-header {
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav---popup-header .brand {
  margin-left: 0;
}

.nav---popup-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav---popup-close:hover {
  opacity: 0.6;
  transform: scale(1.08);
}

.nav---popup-close-svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
  stroke-width: 1.5;
}

.nav---popup-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  column-gap: 60px;
  align-items: center;
  padding: 20px 0 40px;
}

.nav---popup-image-div {
  width: 100%;
  height: 100%;
  max-height: 68vh;
  min-height: 400px;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--bg-soft);
}

.nav---popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nav---popup-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
  height: 100%;
  max-height: 52vh;
  padding: 20px 0;
}

.nav---popup-primary-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}

.nav---popup-link {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16ch;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: block;
}

.nav---popup-link:hover {
  opacity: 0.55;
  transform: translateX(-4px);
}

.nav---popup-link.w--current,
.nav---popup-link.active {
  color: var(--navy);
}

.nav---popup-secondary-links {
  margin-top: 60px;
}

.nav---popup-link-sub {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14ch;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav---popup-link-sub:hover {
  color: var(--text);
}

/* ==========================================================================
   Hero Section (ARTL home---hero---section)
   ========================================================================== */

.home---hero---section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 112px;
  padding-bottom: 60px;
  position: relative;
}

.home---hero---grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  column-gap: 48px;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 50px;
}

.home---hero---image-wrap {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  max-height: 80vh;
  overflow: hidden;
  border-radius: 2px;
}

.home---hero---image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home---hero---div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.home---hero---tagline {
  font-family: var(--font-main);
  font-size: 5.5vw;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 2.5vw;
  text-transform: uppercase;
  color: var(--text);
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.home---hero---tagline.top {
  letter-spacing: 0.5ch;
  text-indent: 0.5ch;
}

.home---hero---tagline.mid {
  letter-spacing: 0.55ch;
  text-indent: 0.55ch;
}

.home---hero---tagline.low {
  letter-spacing: 0.75ch;
  text-indent: 0.75ch;
  margin-bottom: 3vw;
}

.home---hero---h1 {
  font-size: 1.35vw;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18ch;
  text-indent: 0.18ch;
  color: var(--text);
  text-align: center;
  margin-top: 0.5vw;
}

.pointer {
  background-color: var(--text);
  width: 2px;
  height: 2.2vw;
  position: relative;
  margin-top: 2vw;
  animation: pointerPulse 2.4s ease-in-out infinite;
}

@keyframes pointerPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.4); opacity: 0.3; }
}

.image---100 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* ==========================================================================
   Home Section (Studio Intro / Publications)
   ========================================================================== */

.home---section {
  display: flex;
  flex-direction: column;
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}

.home---grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 48px;
  align-items: center;
}

.home---image-div {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  border-radius: 2px;
}

.home---about---div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 54ch;
}

.text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 16px;
  font-weight: 400;
}

.text strong {
  color: var(--text);
  font-weight: 600;
}

.text.matte {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 0;
}

.text-button {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14ch;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 4px;
  margin-top: 18px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.text-button:hover {
  opacity: 0.65;
  transform: translateX(3px);
}

/* ==========================================================================
   Projects Collection (ARTL collection---section)
   ========================================================================== */

.collection---section {
  display: flex;
  flex-direction: column;
  padding-top: 84px;
  padding-bottom: 96px;
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}

.collection---collection-list.home {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 84px;
}

.collection---collection-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 36px;
  row-gap: 64px;
}

.projects---collection-item {
  display: flex;
  flex-direction: column;
}

.projects---collection-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
}

.projects---image-div {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-soft);
}

.projects---image-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects---collection-link:hover .projects---image-div img {
  transform: scale(1.035);
}

.hover-box {
  position: absolute;
  inset: 0;
  background-color: var(--hover-box-bg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 2px;
}

.projects---collection-link:hover .hover-box {
  opacity: 1;
}

.projects---collection-name {
  margin-top: 20px;
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}

.projects---collection-location {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ==========================================================================
   Publications / Accreditation Bar
   ========================================================================== */

.home---publication---div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 24px;
}

.text.press {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16ch;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.publication-block {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.press-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12ch;
  color: var(--text-soft);
  background: var(--bg-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.press-badge:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ==========================================================================
   Footer (ARTL footer---div)
   ========================================================================== */

.footer---div {
  width: 100%;
  border-top: 1px solid var(--line);
  margin-top: 96px;
  background-color: var(--bg);
}

.footer---grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 50px 32px;
}

.footer---link {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1ch;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer---link:hover {
  color: var(--text);
}

.footer---copyright {
  font-family: var(--font-main);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06ch;
  color: var(--text-muted);
  text-align: right;
}

/* ==========================================================================
   Projects Index Page Layout
   ========================================================================== */

.hero---section {
  padding-top: 140px;
  padding-bottom: 60px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}

.hero---grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 32px;
  align-items: end;
}

.hero---title {
  font-family: var(--font-main);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.projects---hero---image-div {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  margin-top: 36px;
}

.projects---hero---image-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects---hero---image-div:hover img {
  transform: scale(1.03);
}

.projects---hero---featured-div {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   About / Studio Page Layout
   ========================================================================== */

.about---section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}

.about---top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.about---text---div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 54ch;
}

.about---image---div {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  border-radius: 2px;
}

.text.about-1 {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 400;
}

.text.about-testimonial {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
  border-left: 2px solid var(--text);
  padding-left: 24px;
  margin: 48px 0 16px;
}

.text.about-client {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12ch;
  color: var(--text-muted);
  padding-left: 26px;
  margin-bottom: 64px;
}

.about---grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 40px;
  margin-top: 64px;
  margin-bottom: 84px;
}

.about---heading {
  grid-column: 1 / -1;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1ch;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.image---bio {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  max-width: 480px;
}

.text.about-2 {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.text.about-2 strong {
  color: var(--text);
  font-weight: 700;
}

.faq---div {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.about---subheading {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08ch;
  margin-bottom: 10px;
  color: var(--text);
}

/* Call to action card (About page bottom) */
.cta---section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 50px 0;
}

.cta---grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 32px;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.opt-in-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
}

.opt-in---div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cta---opt-in---tagline {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.cta---opt-in---text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.cta---opt-in---email {
  margin-top: 4px;
}

.cta---email-link {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 4px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta---email-link:hover {
  opacity: 0.65;
  transform: translateX(3px);
}

.button, .w-button {
  display: inline-block;
  background-color: var(--text);
  color: #ffffff;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14ch;
  text-transform: uppercase;
  border: 1px solid var(--text);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button:hover, .w-button:hover {
  background-color: transparent;
  color: var(--text);
}

/* ==========================================================================
   Contact Page Layout (Exact ARTL Studio replica)
   ========================================================================== */

.contact---hero---section {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact---grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  grid-template-rows: auto auto;
  grid-column-gap: 56px;
  grid-row-gap: 40px;
  align-items: center;
  width: 100%;
}

.contact---div {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 40px 20px 20px;
}

.contact---text {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

.contact---email {
  margin-bottom: 0;
  text-align: center;
}

.contact---email .link {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  padding-bottom: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact---email .link:hover {
  opacity: 0.65;
}

.contact---job {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-soft);
  text-align: center;
  max-width: 360px;
}

.contact---image-wrap {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.contact---image {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  display: block;
}

.contact---address {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  align-self: end;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: right;
  padding-right: 20px;
}

@media (max-width: 991px) {
  .contact---hero---section {
    padding-top: 110px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .contact---grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 36px;
  }

  .contact---div {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding: 0;
  }

  .contact---image-wrap {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .contact---address {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    text-align: center;
    padding-right: 0;
    align-self: center;
  }
}

.contact---form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1ch;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-control {
  font-family: var(--font-main);
  font-size: 15px;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-bottom-color: var(--text);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* ==========================================================================
   Project Detail Template Layout
   ========================================================================== */

.project---hero---section {
  padding-top: 130px;
  padding-bottom: 48px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}

.project---hero---image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
}

.project---hero---div {
  margin-top: 40px;
  max-width: 800px;
}

.project---title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
}

.project---location {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.project---text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.project---text p {
  margin-bottom: 16px;
}

.project---nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 48px 0;
}

.project---nav---link-block {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12ch;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.project---nav---link-block:hover {
  border-color: var(--text);
  background-color: var(--text);
  color: #ffffff;
}

.project---content---desktop {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin: 64px 0;
}

.project-figure {
  width: 100%;
  margin: 0;
}

.project-figure img {
  width: 100%;
  border-radius: 2px;
}

.project-figure.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.project-figure.captioned figcaption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.project---summary---section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.project---summary---grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 56px;
  row-gap: 32px;
}

.project---summary---title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08ch;
  color: var(--text);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile-Native Polish
   ========================================================================== */

/* Hover state gated strictly to mice/pointers that support real hover */
@media (hover: hover) and (pointer: fine) {
  .nav---link:hover { opacity: 0.6; }
  .nav---popup-link:hover { opacity: 0.55; transform: translateX(-4px); }
  .text-button:hover { opacity: 0.65; transform: translateX(3px); }
  .button:hover { background-color: var(--navy); border-color: var(--navy); }
  .nav---popup-close:hover { opacity: 0.6; transform: scale(1.08); }
}

/* Touch active press feedback */
@media (pointer: coarse) {
  button:active,
  .hamburger:active,
  .nav---popup-close:active,
  .nav---link:active,
  .nav---popup-link:active,
  .text-button:active,
  .projects---collection-link:active {
    transform: scale(0.97);
    opacity: 0.65;
    transition: transform 80ms ease, opacity 80ms ease;
  }
}

@media (max-width: 991px) {
  .nav-bar {
    height: calc(72px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand {
    margin-left: 0;
    gap: 12px;
  }

  .brand---logo-img {
    height: 34px;
  }

  .logo---text {
    font-size: 15.5px;
    letter-spacing: 0.26ch;
  }

  .nav---menu {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-right: 0;
  }

  /* Half-Page Top Menu Drawer matching ARTL mobile popup screenshot */
  .nav---popup-overlay {
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .nav---popup-container {
    padding: 0 20px 16px;
    max-height: 52dvh;
    min-height: auto;
    height: auto;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav---popup-overlay.is-open .nav---popup-container {
    transform: translateY(0);
  }

  .nav---popup-header {
    height: calc(56px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav---popup-header .brand---logo-img {
    height: 30px;
  }

  .nav---popup-header .logo---text {
    font-size: 15px;
    letter-spacing: 0.25ch;
  }

  .nav---popup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    padding: 4px 0 10px;
    align-items: stretch;
    height: calc(48dvh - 70px);
    max-height: 250px;
  }

  .nav---popup-image-div {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 2px;
    overflow: hidden;
  }

  .nav---popup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .nav---popup-links {
    height: 100%;
    max-height: 100%;
    padding: 2px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
  }

  .nav---popup-primary-links {
    gap: 12px;
    align-items: flex-end;
  }

  .nav---popup-link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14ch;
  }

  .nav---popup-secondary-links {
    margin-top: auto;
    padding-top: 6px;
  }

  .nav---popup-link-sub {
    font-size: 9.5px;
    letter-spacing: 0.12ch;
  }

  /* Top-of-page Hero Sections (Clears the fixed navbar + safe area on mobile) */
  .home---hero---section,
  .hero---section,
  .project---hero---section,
  .contact---hero---section,
  .legal---section {
    padding-top: calc(108px + env(safe-area-inset-top, 0px));
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
  }

  .home---hero---grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding: 0;
  }

  .home---hero---image-wrap {
    order: 1;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3.4;
    max-height: 48dvh;
    border-radius: 2px;
    overflow: hidden;
    margin: 0;
  }

  .home---hero---image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .home---hero---div {
    order: 2;
    padding: 0;
    width: 100%;
    text-align: left;
  }

  .home---hero---tagline {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
  }

  .home---hero---h1 {
    font-size: clamp(10.5px, 3.2vw, 13px);
    letter-spacing: 0.16ch;
    margin-top: 14px;
  }

  .pointer {
    height: 24px;
    margin-top: 20px;
  }

  /* Subsequent / Non-hero sections on Mobile */
  .home---section,
  .collection---section,
  .about---section,
  .cta---section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 48px;
    padding-bottom: 48px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 1-Column Responsive Grids */
  .home---grid,
  .about---top-grid,
  .about---grid,
  .hero---grid,
  .cta---grid,
  .project---summary---grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
    width: 100%;
  }

  /* Image Alignments across all sections */
  .home---image-div,
  .about---hero---image-div,
  .about---image---div {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 100%;
    overflow: hidden;
    border-radius: 2px;
    margin: 0;
  }

  .home---image-div img,
  .about---hero---image-div img,
  .about---image---div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .image---bio {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 2px;
    display: block;
  }

  .opt-in-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 2px;
    display: block;
  }

  /* Projects List on Mobile: Clean Full-width items with perfect alignment */
  .collection---collection-list {
    grid-template-columns: 1fr;
    row-gap: 40px;
    width: 100%;
  }

  .projects---image-div {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
    display: block;
  }

  .projects---image-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .projects---collection-name {
    margin-top: 14px;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
  }

  .projects---collection-location {
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: left;
  }

  /* Project detail page image splits */
  .project-figure.split {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .project---hero---image {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 48dvh;
    border-radius: 2px;
    overflow: hidden;
  }

  .project---hero---image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .project-figure img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    display: block;
  }

  /* Footer on Mobile */
  .footer---grid {
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .nav-bar {
    height: calc(64px + env(safe-area-inset-top, 0px));
  }

  .home---hero---section,
  .hero---section,
  .project---hero---section,
  .contact---hero---section,
  .legal---section {
    padding-top: calc(96px + env(safe-area-inset-top, 0px));
  }

  .brand---logo-img {
    height: 30px;
  }

  .logo---text {
    font-size: 14.5px;
    letter-spacing: 0.24ch;
  }

  .home---hero---tagline {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .home---hero---h1 {
    font-size: clamp(9.5px, 3.4vw, 12px);
  }

  .collection---collection-list {
    row-gap: 36px;
  }
}
