/*
  AJ Visuals — main.css
*/

/* ── Spacing tokens ─────────────────────────────────── */
:root {
  --s-xs:   var(--wp--preset--spacing--xs,   0.75rem);
  --s-sm:   var(--wp--preset--spacing--sm,   1.5rem);
  --s-md:   var(--wp--preset--spacing--md,   2rem);
  --s-lg:   var(--wp--preset--spacing--lg,   3rem);
  --s-xl:   var(--wp--preset--spacing--xl,   4rem);
  --s-2xl:  var(--wp--preset--spacing--2xl,  5rem);
  --s-3xl:  var(--wp--preset--spacing--3xl,  6rem);
  --s-pad:  var(--wp--preset--spacing--pad-x, clamp(1.5rem, 5vw, 4rem));
}

/* ── Site header ────────────────────────────────────── */
.hide-on-mobile{
	display:none !important;
}
.ajv-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  padding: 0 var(--s-pad);
  border-bottom: 1px solid currentColor;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.ajv-site-logo .wp-block-site-title,
.ajv-site-logo .wp-block-site-title a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ajv-site-nav .wp-block-navigation__container a,
.ajv-site-header .wp-block-navigation a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.ajv-site-nav .wp-block-navigation__container a:hover,
.ajv-site-header .wp-block-navigation a:hover {
  opacity: 1;
}


/* ── Site footer ────────────────────────────────────── */

.ajv-site-footer {
  padding: var(--s-md) var(--s-pad);
  border-top: 1px solid #dcdcdc;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.ajv-footer-copy {
  margin: 0;
  opacity: 0.5;
  font-size: 11px;
  letter-spacing: 0.12em;
}


/* ── Main content area ──────────────────────────────── */

.ajv-main {
  min-height: 60vh;
}



/* ── Portfolio header ───────────────────────────────── */

.ajv-portfolio-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--s-xl) 0 var(--s-lg);
  border-bottom: 1px solid #dcdcdc;
}

.ajv-portfolio-title {
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
}

.ajv-portfolio-count {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0;
}


/* ── Filter bar ─────────────────────────────────────── */

.ajv-filter-bar {
  display: flex;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid #dcdcdc;
  margin: 0!important;
}

.ajv-filter-bar p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ajv-filter-bar p + p {
  padding-left: 1.25rem;
  margin-left: 1.25rem;
  border-left: 1px solid currentColor;
}

.ajv-filter-btn:not(.ajv-filter-active) {
  opacity: 0.4;
}


/* ── Portfolio grid ─────────────────────────────────── */

.ajv-portfolio-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2.5rem 2rem;
  padding: var(--s-lg) 0 var(--s-3xl);
  list-style: none;
  margin: 0;
}

@media (max-width: 900px) {
  .ajv-portfolio-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 560px) {
  .ajv-portfolio-grid { grid-template-columns: 1fr !important; !important; gap: var(--s-md); }
  .ajv-portfolio-grid li { min-width:100 !important;}
}


/* ── Card ───────────────────────────────────────────── */

.ajv-card {
  cursor: pointer;
  position: relative;
  align-items: left !important;
}


.ajv-card .ajv-card-image,
.ajv-card .wp-block-post-featured-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
}

.ajv-card .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.ajv-card:hover .wp-block-post-featured-image img {
  transform: scale(1.04);
}

.ajv-card-body {
  padding-top: 1.25rem;

  gap: 0.4rem;
}

.ajv-card-body p,
.ajv-card-body .wp-block-post-terms,
.ajv-card-body .wp-block-post-title {
  margin: 0;
}

.ajv-card-type {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  background: rgba(26, 26, 26, 0.75);
  color: #fff;
  padding: 0.35rem 0.6rem;
  margin: 0;
  line-height: 1;
  z-index: 1;
}

.ajv-card-title {
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: opacity 0.2s;
}

.ajv-card-title a {
  text-decoration: none;
}

.ajv-card:hover .ajv-card-title {
  opacity: 0.65;
}

.ajv-card-body .wp-block-shortcode,
.ajv-card-meta {
  font-size: 11px;
  letter-spacing: 0.10em;
  opacity: 0.5;
  margin: 0;
  line-height: 1;
}

.ajv-card-divider {
  height: 1px !important;
  width: 2.5rem !important;
  min-width: unset !important;
  margin: 0.25rem 0 !important;
  border: none !important;
  transition: width 0.3s ease !important;
}

.ajv-card:hover .ajv-card-divider {
  width: var(--s-2xl) !important;
}

.ajv-card-link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.ajv-card-link a {
  text-decoration: none;
}

.ajv-card:hover .ajv-card-link {
  opacity: 1;
}


/* ── Project hero ───────────────────────────────────── */

.ajv-project-hero {
  display: block;
  width: 100%;
  margin: 0 !important;
}

.ajv-project-hero img,
.ajv-project-hero .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .ajv-project-hero img,
  .ajv-project-hero .wp-block-post-featured-image img {
    aspect-ratio: 4 / 3;
  }
  .home-hero-mobile-flex{
	flex-direction: column;
  }
}


/* ── Project header ─────────────────────────────────── */

.ajv-project-header {
  padding: 3.5rem 0 var(--s-lg);
  border-bottom: 1px solid currentColor;
}

.ajv-project-header p {
  margin: 0;
}

.ajv-back-link a {
  text-decoration: none;
  opacity: 0.5;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.ajv-back-link a:hover {
  opacity: 1;
}

.ajv-back-link {
  margin: 0 0 1.5rem !important;
}

.ajv-project-title {
  margin: 0 !important;
  font-weight: 300;
  letter-spacing: 0.10em;
  line-height: 1;
}

.ajv-project-type {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  white-space: nowrap;
}

.ajv-project-type a {
  text-decoration: none;
}


/* ── Meta strip ─────────────────────────────────────── */

.ajv-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xl);
  padding: 2.25rem 0;
  border-bottom: 1px solid #dcdcdc;
}

.ajv-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ajv-meta-item p {
  margin: 0;
}

.ajv-meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
}

.ajv-meta-value {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .ajv-meta-strip { gap: var(--s-md); }
}


/* ── Project body columns ───────────────────────────── */

.ajv-project-body {
  padding: var(--s-xl) 0 !important;
  gap: var(--s-2xl) !important;
  align-items: start;
}

.ajv-project-body .ajv-project-description {
  flex: 1;
  position: sticky;
  top: 120px;
}

.ajv-project-body .ajv-gallery {
  flex: 2;
}

.ajv-project-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem !important;
}

.ajv-project-desc p {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.7;
  margin: 0 0 1rem !important;
}

.ajv-project-desc p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 860px) {
  .ajv-project-body {
    flex-direction: column !important;
    gap: 2.5rem !important;
  }

  .ajv-project-body .ajv-project-description {
    position: static;
    flex: none;
    width: 100%;
  }

  .ajv-project-body .ajv-gallery {
    flex: none;
    width: 100%;
  }
}


/* ── Gallery patterns ───────────────────────────────── */

.ajv-gallery .wp-block-image,
.ajv-gallery-img {
  margin: 0;
  overflow: hidden;
}

.ajv-gallery .wp-block-image img,
.ajv-gallery-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ajv-gallery .wp-block-image:hover img,
.ajv-gallery-img:hover img {
  transform: scale(1.02);
}

/* Aspect ratios via CSS class — never via inline styles */
.ajv-gallery-img--wide img  { aspect-ratio: 16 / 9; }
.ajv-gallery-img--std img   { aspect-ratio: 4 / 3; }
.ajv-gallery-img--square img { aspect-ratio: 1; }

/* Gap between stacked pattern rows */
.ajv-gallery .wp-block-columns {
  gap: 1rem !important;
}


/* ── Video embed patterns ───────────────────────────── */

.ajv-video-embed {
  margin: 0;
  width: 100%;
}

.ajv-video-embed .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
}

.ajv-video-embed .wp-block-embed__wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.ajv-video-embed--wide .wp-block-embed__wrapper  { aspect-ratio: 16 / 9; }
.ajv-video-embed--std .wp-block-embed__wrapper   { aspect-ratio: 4 / 3; }
.ajv-video-embed--square .wp-block-embed__wrapper { aspect-ratio: 1; }

.ajv-gallery .ajv-video-embed,
.wp-block-columns .ajv-video-embed {
  height: 100%;
}

.ajv-gallery > * + * {
  margin-top: 1rem;
}


/* ── Bottom prev / next navigation ─────────────────── */

.ajv-bottom-nav {
  border-top: 1px solid currentColor;
  margin-top: 70px;
  margin-bottom: var(--s-xl);
  display: flex !important;
}

.ajv-bottom-nav .wp-block-post-navigation-link {
  flex: 1;
}

.ajv-bottom-nav .ajv-nav-next {
  border-left: 1px solid #dcdcdc;
  text-align: right;
}

.ajv-nav-next a {
  justify-content: right;
}
.ajv-nav-next a .post-navigation-link__label{
	order: 2;
}

.ajv-bottom-nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ajv-bottom-nav a:hover {
  opacity: 0.6;
}

.ajv-bottom-nav .wp-block-post-navigation-link__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  white-space: nowrap;
}

.ajv-bottom-nav .wp-block-post-navigation-link__title {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.10em;
  line-height: 1.2;
}

@media (max-width: 560px) {
  .ajv-bottom-nav { flex-direction: column !important; }

  .ajv-bottom-nav .ajv-nav-next {
    border-left: none;
    border-top: 1px solid currentColor;
    direction: ltr;
    text-align: left;
  }
}


/* ── Contact page ───────────────────────────────────── */

.ajv-contact-header {
  padding: var(--s-xl) 0 var(--s-lg);
  border-bottom: 1px solid currentColor;
}

.ajv-contact-title {
  font-weight: 300 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.ajv-contact-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0;
}

.ajv-contact-body {
  padding: var(--s-xl) 0 var(--s-3xl);
  gap: var(--s-2xl) !important;
  align-items: start;
}

.ajv-contact-info {
  display: flex !important;
  flex-direction: column;
  gap: var(--s-md);
}

.ajv-contact-tagline {
  font-size: 1.35rem !important;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  margin: 0 !important;
}

.ajv-contact-description {
  font-size: 13px !important;
  line-height: 1.8;
  opacity: 0.6;
  margin: 0 !important;
}

.ajv-contact-details {
  border-top: 1px solid currentColor;
  padding-top: var(--s-md);
  gap: 0.75rem !important;
}

.ajv-contact-detail {
  gap: 1rem !important;
}

.ajv-detail-label {
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 !important;
  min-width: 1rem;
}

.ajv-detail-value {
  font-size: 13px !important;
  opacity: 0.6;
  margin: 0 !important;
}

.ajv-contact-social {
  border-top: 1px solid currentColor;
  padding-top: var(--s-md);
  gap: 1.5rem !important;
}

.ajv-contact-social p {
  margin: 0 !important;
}

.ajv-contact-social a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.ajv-contact-social a:hover {
  opacity: 1;
}

.ajv-contact-form-col {
  flex: 2 !important;
}

@media (max-width: 860px) {
  .ajv-contact-body { flex-direction: column !important; gap: var(--s-lg) !important; }
}


/* ── Contact Form 7 ─────────────────────────────────── */

.ajv-cf7-wrap {
  display: flex;
  flex-direction: column;
}

.ajv-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ajv-cf7-field {
  border: 1px solid currentColor;
  opacity: 0.35;
}

.ajv-cf7-field + .ajv-cf7-field {
  border-top: none;
}

.ajv-cf7-row .ajv-cf7-field + .ajv-cf7-field {
  border-left: none;
  border-top: 1px solid currentColor;
}

.ajv-cf7-row + .ajv-cf7-field {
  border-top: none;
  opacity: 0.35;
}

.ajv-cf7-wrap .wpcf7-form-control-wrap {
  display: block;
}

.ajv-cf7-wrap input[type="text"],
.ajv-cf7-wrap input[type="email"],
.ajv-cf7-wrap textarea {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: currentColor;
  padding: 1.4rem 1.5rem;
  resize: none;
  opacity: 1;
}

.ajv-cf7-wrap input::placeholder,
.ajv-cf7-wrap textarea::placeholder {
  opacity: 0.7;
}

.ajv-cf7-wrap textarea {
  height: 220px;
  display: block;
}

.ajv-cf7-submit {
  margin-top: 1.5rem;
}

.ajv-cf7-submit input[type="submit"] {
  background: none;
  border: 1px solid currentColor;
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: currentColor;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  opacity: 0.5;
}

.ajv-cf7-submit input[type="submit"]:hover {
  opacity: 1;
}

.wpcf7-not-valid-tip {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 0.4rem;
  display: block;
}

.wpcf7-response-output {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 1.5rem !important;
  padding: 1rem 1.5rem !important;
  border: 1px solid currentColor !important;
  opacity: 0.6;
}

@media (max-width: 560px) {
  .ajv-cf7-row { grid-template-columns: 1fr; }
  .ajv-cf7-row .ajv-cf7-field + .ajv-cf7-field {
    border-left: 1px solid currentColor;
    border-top: none;
  }
}


/* ── Home page ──────────────────────────────────────── */

/* ── Home page — hero (split layout) ───────────────── */

.ajv-hero-split {
  height: calc(100vh - 72px);
  align-items: stretch !important;
}

.ajv-hero-text {
  background: var(--wp--preset--color--bg, #F0EDE8);
  padding: var(--s-pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--wp--preset--color--border, #D8D4CF);
}

.ajv-hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
}

.ajv-hero-tagline {
  font-size: clamp(2rem, 4.5vw, 4rem) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  max-width: 520px;
}

.ajv-hero-scroll {
  font-size: 10px !important;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.35;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0 !important;
}

@media (max-width: 760px) {
  .ajv-hero-text { border-right: none; border-bottom: 1px solid var(--wp--preset--color--border, #D8D4CF); }
}

.ajv-intro-strip {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-xl);
  border-bottom: 1px solid currentColor;
}

.ajv-intro-discipline {
  font-size: 11px !important;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 !important;
  white-space: nowrap;
}

.ajv-intro-statement {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem) !important;
  font-weight: 300;
  line-height: 1.5 !important;
  letter-spacing: 0.02em;
  margin: 0 !important;
}

.ajv-section-header {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
}

.ajv-section-label {
  font-size: 11px !important;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 !important;
}

.ajv-section-link {
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
  margin: 0 !important;
}

.ajv-section-link a {
  text-decoration: none;
}

.ajv-section-link:hover { opacity: 1; }


.ajv-feat-large {
  grid-row: 1 / 3;
}

.ajv-feat-large .wp-block-post-featured-image,
.ajv-feat-large .ajv-feat-img {
  aspect-ratio: 3 / 4 !important;
}

.ajv-feat-small .wp-block-post-featured-image,
.ajv-feat-small .ajv-feat-img {
  aspect-ratio: 4 / 3 !important;
}
.ajv-feat-card.ajv-feat-small:first-child{
	padding-bottom: 34px;
}
.ajv-feat-card {
  display: flex !important;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.ajv-feat-img {
  overflow: hidden;
  background: currentColor;
  opacity: 1;
}

.ajv-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.ajv-feat-card:hover .ajv-feat-img img {
  transform: scale(1.04);
}

.ajv-feat-info {
  width: 100%;
  justify-content: space-between;
  padding: 1rem 0 0 !important;
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.ajv-feat-name {
  font-weight: 300 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase;
  transition: opacity 0.2s;
  margin: 0 !important;
}

.ajv-feat-card:hover .ajv-feat-name { opacity: 0.6; }

.ajv-feat-loc {
  font-size: 11px !important;
  opacity: 0.5;
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin: 0 !important;
}

@media (max-width: 760px) {
  .ajv-featured-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .ajv-feat-large { grid-row: auto; }
  .ajv-feat-large .ajv-feat-img { aspect-ratio: 4 / 3 !important; }
  .ajv-intro-strip { flex-direction: column !important; gap: 1.5rem !important; }
}


/* ── About page ─────────────────────────────────────── */

.ajv-about-header {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--s-xl) 0 var(--s-lg) !important;
  border-bottom: 1px solid currentColor;
}

.ajv-about-title {
  font-weight: 300 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.ajv-about-label {
  font-size: 11px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 !important;
}

.ajv-about-body {
  padding: var(--s-xl) 0 var(--s-3xl) !important;
  gap: var(--s-2xl) !important;
  align-items: start;
}

.ajv-about-portrait {
  position: sticky;
  top: calc(72px + 2rem);
}

.ajv-about-portrait .wp-block-image,
.ajv-portrait-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0 !important;
}

.ajv-about-portrait .wp-block-image img,
.ajv-portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ajv-portrait-caption {
  margin-top: 1.25rem !important;
  gap: 0.3rem !important;
}

.ajv-portrait-name {
  font-weight: 300 !important;
  letter-spacing: 0.08em !important;
  margin: 0 !important;
}

.ajv-portrait-role {
  font-size: 11px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 !important;
}

.ajv-about-content {
  display: flex !important;
  flex-direction: column;
  gap: 3.5rem;
}

.ajv-about-quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
  font-weight: 300 !important;
  font-style: italic;
  line-height: 1.5 !important;
  letter-spacing: 0.02em !important;
  padding-bottom: 3.5rem !important;
  border-bottom: 1px solid #dcdcdc;
  margin: 0 !important;
}

.ajv-about-section {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}

.ajv-about-section-label {
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 !important;
}

.ajv-about-section p {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.7;
  margin: 0 !important;
}

.ajv-services-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  margin-top: 0.5rem;
}

.ajv-service-item {
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 !important;
}

.ajv-clients-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem 2rem !important;
  margin-top: 0.5rem;
}

.ajv-client-name {
  font-size: 11px !important;
  opacity: 0.5;
  letter-spacing: 0.12em;
  margin: 0 !important;
}

.ajv-about-cta {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.ajv-cta-text {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem) !important;
  font-weight: 300 !important;
  font-style: italic;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
}

.ajv-cta-link {
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
  margin: 0 !important;
}

.ajv-cta-link a {
  text-decoration: none;
}

.ajv-cta-link:hover { opacity: 1; }

@media (max-width: 860px) {
  .ajv-about-body { flex-direction: column !important; gap: var(--s-lg) !important; }
  .ajv-about-portrait { position: static; }
  .ajv-about-cta { flex-direction: column !important; align-items: flex-start !important; gap: 1.5rem !important; }
}

@media (max-width: 560px) {
  .ajv-services-grid { grid-template-columns: 1fr !important; }
}


/* ── Home page — hero meta ──────────────────────────── */

.ajv-hero-meta {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ajv-hero-name {
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 !important;
}


/* ── Home page — intro strip ────────────────────────── */

.ajv-intro-right {
  display: flex !important;
  flex-direction: column;
  gap: 1.25rem;
}

.ajv-intro-body {
  font-size: 13px !important;
  opacity: 0.6;
  line-height: 1.9;
  margin: 0 !important;
}


/* ── Home page — services ───────────────────────────── */

.ajv-home-services {
  border-top: 1px solid currentColor;
}

.ajv-home-services-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--s-lg);
}

.ajv-home-services-intro {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
}

.ajv-home-services-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0 !important;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
}

.ajv-home-service-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ajv-service-num {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  opacity: 0.4;
}

.ajv-service-title {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.ajv-service-body {
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  opacity: 0.55;
}


/* ── Home page — clients strip ──────────────────────── */

.ajv-clients-strip {
  display: flex;
  align-items: center;
  gap: var(--s-2xl);
  border-top: 1px solid currentColor;
}

.ajv-clients-strip-label {
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  white-space: nowrap;
  margin: 0;
}

.ajv-clients-strip-list {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.ajv-client-strip-name {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.10em;
  opacity: 0.6;
  margin: 0;
}


/* ── Home page — about teaser ───────────────────────── */

.ajv-about-teaser {
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: var(--s-2xl) !important;
  border-top: 1px solid currentColor;
  align-items: end;
}

.ajv-teaser-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.ajv-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.ajv-teaser-content {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  padding-bottom: 1rem;
}

.ajv-teaser-eyebrow {
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0;
}

.ajv-teaser-quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

.ajv-teaser-body {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.9;
  margin: 0;
}

.ajv-teaser-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  align-self: flex-start;
  margin: 0;
  transition: opacity 0.2s;
}

.ajv-teaser-link a { text-decoration: none; }
.ajv-teaser-link:hover { opacity: 1; }


/* ── Home page — CTA ────────────────────────────────── */

.ajv-home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  border-top: 1px solid #dcdcdc;
}

.ajv-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

.ajv-cta-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid #dcdcdc;
  padding: 1rem 2.5rem;
  transition: background 0.2s, color 0.2s;
}

.ajv-cta-btn:hover {
  background: #1A1A1A;
  color: #F0EDE8;
}

.ajv-cta-sub {
  font-size: 11px;
  opacity: 0.4;
  letter-spacing: 0.12em;
  margin: 0;
}

@media (max-width: 900px) {
  .ajv-about-teaser { grid-template-columns: 1fr !important; gap: var(--s-lg) !important; }
  .ajv-home-services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ajv-clients-strip { flex-direction: column; align-items: flex-start; gap: var(--s-md); }
}

@media (max-width: 600px) {
  .ajv-home-services-grid { grid-template-columns: 1fr !important; }
  .ajv-home-cta { flex-direction: column; align-items: flex-start; }
  .ajv-cta-action { align-items: flex-start; }
}


/* ── About page — page header ───────────────────────── */

.ajv-about-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-md);
}

.ajv-about-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ajv-about-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0;
}

.ajv-about-name {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 !important;
}

.ajv-about-name em { font-style: italic; }

.ajv-about-header-right {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.8;
  text-align: right;
  flex-shrink: 0;
  max-width: 280px;
  margin: 0;
}


/* ── About page — portrait + intro ─────────────────── */

.ajv-about-intro {
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: var(--s-2xl) !important;
  align-items: start;
}

.ajv-portrait-col {
  position: sticky;
  top: calc(72px + 2rem);
}

.ajv-portrait-name {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0 0 0.25rem !important;
}

.ajv-portrait-role {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 !important;
}

.ajv-about-content-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  padding-top: 0.5rem;
}

.ajv-about-bio p {
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0 0 1.25em !important;
}

.ajv-about-bio p:last-child { margin-bottom: 0 !important; }


/* ── About page — journey ───────────────────────────── */

.ajv-journey {
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: var(--s-2xl) !important;
  align-items: start;
}

.ajv-journey-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
  position: sticky;
  top: calc(72px + 2rem);
}

.ajv-journey-content {
  display: flex;
  flex-direction: column;
  gap: var(--s-xl);
}

.ajv-journey-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ajv-journey-year {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.5;
}

.ajv-journey-heading {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0 !important;
}

.ajv-journey-text {
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0;
}


/* ── About page — services ──────────────────────────── */


.ajv-about-services-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--s-lg);
}

.ajv-about-services-intro {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
}


/* ── About page — clients grid ──────────────────────── */

.ajv-clients-about {
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: var(--s-2xl) !important;
  align-items: start;
}

.ajv-clients-about-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ajv-clients-about-intro {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0;
}

.ajv-clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ajv-client-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ajv-client-card-name {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ajv-client-card-type {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
}


/* ── About page — values ────────────────────────────── */


.ajv-values-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.02em;
  max-width: 640px;
  margin: 0 0 var(--s-lg) !important;
}

.ajv-values-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
}

.ajv-value-card {
  padding: 2rem 1.75rem;
}

.ajv-value-word {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem !important;
}

.ajv-value-desc {
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin: 0 !important;
}

/* About page — reuse .ajv-about-cta for the bottom CTA */
/* .ajv-cta-text and .ajv-cta-btn are already defined above */

.ajv-about-cta .ajv-cta-action {
  align-items: flex-end;
}

@media (max-width: 900px) {
  .ajv-about-page-header { flex-direction: column; align-items: flex-start; }
  .ajv-about-header-right { text-align: left; max-width: 100%; }
  .ajv-about-intro { grid-template-columns: 1fr !important; gap: var(--s-lg) !important; }
  .ajv-portrait-col { position: static; }
  .ajv-journey { grid-template-columns: 1fr !important; gap: var(--s-md) !important; }
  .ajv-journey-label { position: static; }
  .ajv-clients-about { grid-template-columns: 1fr !important; gap: var(--s-lg) !important; }
  .ajv-values-row { grid-template-columns: 1fr 1fr !important; }
  .ajv-about-cta { flex-direction: column !important; align-items: flex-start !important; gap: 1.5rem !important; }
  .ajv-about-cta .ajv-cta-action { align-items: flex-start; }
}

@media (max-width: 600px) {
  .ajv-clients-grid { grid-template-columns: 1fr; }
  .ajv-values-row { grid-template-columns: 1fr !important; }
}


/* ═══════════════════════════════════════════════════════
   MOBILE — comprehensive responsive styles
   ─────────────────────────────────────────────────────── */

/* ── 900px: tablet ──────────────────────────────────── */

@media (max-width: 900px) {
  /* Journey blocks closer together on tablet */
  .ajv-journey-content { gap: var(--s-lg); }

  /* Services top header stacks on narrow tablet */
  .ajv-home-services-top,
  .ajv-about-services-top { flex-direction: column; align-items: flex-start; gap: 1rem; }
}


/* ── 760px: most phones ─────────────────────────────── */

@media (max-width: 760px) {
  /* ·· Navigation overlay ·· */
  /* WordPress nav block renders the overlay when overlayMenu:"mobile" */
  .wp-block-navigation__responsive-container.is-menu-open {
    background: #1A1A1A !important;
    color: #F0EDE8 !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open a {
    color: #F0EDE8 !important;
    opacity: 0.85;
    font-size: 1.6rem !important;
    letter-spacing: 0.12em !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open a:hover {
    opacity: 1;
  }

  .wp-block-navigation__responsive-container-close button,
  .wp-block-navigation__responsive-container-open button {
    color: inherit !important;
  }

  /* ·· Footer ·· */
  .ajv-site-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* ·· Filter bar — scroll horizontally ·· */
  .ajv-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.25rem;
    gap: 0;
    scrollbar-width: none;
  }

  .ajv-filter-bar::-webkit-scrollbar { display: none; }

  .ajv-filter-bar p { white-space: nowrap; }

  /* ·· Portfolio header ·· */
  .ajv-portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 2.5rem 0 2rem;
  }

  /* ·· Home hero ·· */
  .ajv-hero-text { padding: 2.5rem var(--s-pad) 2rem; }

  /* ·· Section headings ·· */
/*   .ajv-section-header { flex-direction: column; align-items: flex-start; gap: 1rem; } */

  /* ·· Journey ·· */
  .ajv-journey-content { gap: 2.5rem; }

  /* ·· Contact header ·· */
  .ajv-contact-header { padding: 2.5rem 0 2rem; }
}


/* ── 600px: small phones ────────────────────────────── */

@media (max-width: 600px) {
  /* ·· About services top ·· */
  .ajv-about-services-intro { font-size: 1.25rem; }

  .ajv-cta-text { font-size: clamp(1.5rem, 7vw, 2.5rem) !important; }

  /* ·· Values heading ·· */
  .ajv-values-heading { margin-bottom: var(--s-md) !important; }

  /* ·· Client card padding ·· */
  .ajv-client-card { padding: 1.75rem 1.25rem; }
  .ajv-client-card-name { font-size: 1.15rem; }

  /* ·· Value card padding ·· */
  .ajv-value-card { padding: 1.5rem 1.25rem; }

/* home page selected work images	 */
	.ajv-feat-img {
		width: 100%;
	}
}


/* ── 480px: very small ──────────────────────────────── */

@media (max-width: 480px) {
  /* ·· About page name ·· */
  .ajv-about-name { font-size: clamp(2.4rem, 11vw, 3.5rem) !important; }

  /* ·· About header right text — full width on tiny screens ·· */
  .ajv-about-header-right { font-size: 12px; }

  /* ·· Clients strip — wrap names ·· */
  .ajv-clients-strip-list { gap: 1.5rem; }
  .ajv-client-strip-name { font-size: 1rem; }

  /* ·· Portfolio grid title ·· */
  .ajv-portfolio-title { font-size: clamp(1.8rem, 10vw, 3rem) !important; }

  /* ·· Journey year label ·· */
  .ajv-journey-block { gap: 0.5rem; }

  /* ·· Contact ·· */
  .ajv-contact-tagline { font-size: clamp(1.8rem, 9vw, 3rem) !important; }
}
