/*
Theme Name: Paula Solanoy Design
Theme URI: https://paulasolanoydesign.com
Author: Paula Solanoy Design
Description: A minimal, editorial WordPress theme for Paula Solanoy Design — independent design studio. Includes Gutenberg block support, a custom Projects post type for the homepage gallery, and templates for Home, About, Services, Intake, Contact, Shop, Projects archive and Project Details.
Version: 1.5.4
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paula-solanoy-design
Tags: portfolio, blog, custom-logo, custom-menu, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ============ Reset + base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #f8f6f1;
  color: #181817;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.6; }

/* ============ Typography ============ */
.font-display, h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; }
.font-mono-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6a66;
}
.muted { color: #6a6a66; }

/* ============ Layout ============ */
.container { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-wide { max-width: 1500px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-narrow { max-width: 48rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) {
  .container, .container-wide { padding-left: 3rem; padding-right: 3rem; }
}

/* ============ Header ============ */
.site-header {
  position: absolute; inset-inline: 0; top: 0; z-index: 40;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.5rem;
}
@media (min-width: 768px) { .site-header { padding: 2rem 3rem; } }
.site-logo img { height: 9.5rem; width: auto; }
@media (min-width: 768px) { .site-logo img { height: 15.3rem; } }
.menu-toggle {
  background: none; border: none; cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #181817; padding: 0;
}
.menu-toggle:hover { opacity: 0.6; }

/* Menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(24, 24, 23, 0.95);
  backdrop-filter: blur(4px);
  color: #f8f6f1;
  overflow-y: auto;
  display: none;
}
.menu-overlay.open { display: block; }
.menu-overlay-inner {
  display: flex; justify-content: flex-end;
  padding: 1.5rem;
}
@media (min-width: 768px) { .menu-overlay-inner { padding: 2rem 3rem; } }
.menu-close {
  background: none; border: none; cursor: pointer; color: inherit;
}
.menu-close svg { width: 24px; height: 24px; }
.menu-nav {
  max-width: 48rem; margin: -0.5rem auto 0;
  padding: 0 1.5rem 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .menu-nav { gap: 2rem; } }
.menu-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .menu-nav a { font-size: 1.875rem; } }
.menu-nav ul { list-style: none; margin: 0; padding: 0; display: contents; }
.menu-nav li { display: block; }

/* ============ Hero ============ */
.hero {
  padding: 10rem 1.5rem 0;
}
@media (min-width: 768px) { .hero { padding: 12rem 5rem 0; } }
.hero-inner { margin-left: auto; max-width: 48rem; text-align: right; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1.05; }
.hero p { margin-top: 1.5rem; font-size: 0.875rem; color: #6a6a66; }

/* ============ Project grid (homepage) ============ */
.project-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem 0;
  padding: 5rem 1.5rem 7rem;
  max-width: 1500px; margin: 0 auto;
}
@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 3rem; row-gap: 4rem;
    padding: 7rem 5rem;
  }
}
.project-card { display: block; }
.project-card .img-wrap { overflow: hidden; background: #e7e3d9; }
.project-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover img { transform: scale(1.02); }
.project-card .meta { margin-top: 1rem; }
.project-card .cat { color: #6a6a66; }
.project-card .title { margin-top: 0.25rem; font-size: 0.875rem; }
/* asymmetric stagger */
@media (min-width: 768px) {
  .project-grid > :nth-child(1) { grid-column: 1 / span 6; }
  .project-grid > :nth-child(2) { grid-column: 8 / span 5; }
  .project-grid > :nth-child(3) { grid-column: 3 / span 4; padding-top: 6rem; }
  .project-grid > :nth-child(4) { grid-column: 7 / span 6; padding-top: 6rem; }
  .project-grid > :nth-child(5) { grid-column: 1 / span 6; padding-top: 6rem; }
  .project-grid > :nth-child(6) { grid-column: 8 / span 5; padding-top: 6rem; }
}

/* ============ Dark band ============ */
.dark-band { background: #181817; color: #f8f6f1; }
.dark-band .muted, .dark-band .font-mono-tag { color: rgba(248,246,241,0.6); }
.dark-band-inner {
  display: grid; gap: 3rem;
  padding: 6rem 1.5rem;
  max-width: 1400px; margin: 0 auto;
  align-items: center;
}


@media (min-width: 768px) {
  .dark-band-inner { grid-template-columns: repeat(12, 1fr); padding: 8rem 3rem; }
  .dark-band-inner .col-7 { grid-column: span 7; }
  .dark-band-inner .col-5 { grid-column: span 5; }
}
.dark-band h2, .dark-band .display-lg {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 1.5rem; line-height: 1.35; margin-top: 2.5rem;
}
@media (min-width: 768px) { .dark-band .display-lg { font-size: 2.25rem; } }

/* Phone mockups */
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.phone {
  width: 180px;
  border: 8px solid rgba(248,246,241,0.92);
  background: rgba(248,246,241,0.92);
  padding: 4px; border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.phone img {
  width: 100%; aspect-ratio: 9/19; object-fit: cover;
  border-radius: 2rem; display: block;
}
@media (min-width: 768px) { .phone { width: 220px; } .phone.offset { transform: translateY(3.5rem); } }
.phone.hide-mobile { display: none; }
@media (min-width: 1291px) { .phone.hide-mobile { display: block; } }


/* ============ Buttons ============ */
.btn-outline {
  display: inline-block; border: 1px solid #181817; border-radius: 9999px;
  padding: 0.75rem 2.5rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  transition: background-color 0.2s, color 0.2s;
}
.btn-outline:hover { background: #181817; color: #f8f6f1; opacity: 1; }
.btn-outline-light {
  display: inline-block;
  border: 1px solid rgba(248,246,241,0.6); color: #f8f6f1;
  border-radius: 9999px; padding: 0.75rem 2.5rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em;
  background: transparent; cursor: pointer;
}
.btn-outline-light:hover { background: #f8f6f1; color: #181817; opacity: 1; }
.link-underline {
  display: inline-block; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.18em; text-decoration: underline;
  text-underline-offset: 0.5rem; margin-top: 3rem;
}
.link-underline:hover { text-decoration: none; opacity: 1; }

/* ============ Testimonials ============ */
.testimonials {
  max-width: 1100px; margin: 0 auto;
  padding: 7rem 1.5rem 9rem;
}
.testimonial-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }
.testimonial { text-align: center; }
.testimonial blockquote {
  margin: 0; white-space: pre-line;
  font-size: 0.875rem; line-height: 1.6; color: #6a6a66;
}
.testimonial figcaption { margin-top: 1.5rem; }

/* ============ Logo marquee ============ */
.logo-marquee {
  margin-top: 5rem; overflow: hidden; opacity: 0.6;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
          mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-marquee-track {
  --logo-gap: 4rem;
  display: flex; align-items: center; gap: var(--logo-gap); width: max-content;
  animation: logo-marquee-scroll 30s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.logo-marquee-group {
  display: flex; align-items: center; gap: var(--logo-gap);
  flex: none;
}
.logo-marquee-track span {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 1rem; letter-spacing: 0.02em; white-space: nowrap;
}
.logo-marquee-track .client-logo {
  height: 3.5rem; width: auto; aspect-ratio: 300 / 124;
  display: block; object-fit: contain; flex: none;
}
@media (hover: hover) and (pointer: fine) {
  .logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
}
@keyframes logo-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - (var(--logo-gap) / 2)), 0, 0); }
}

/* ============ Contact band ============ */
.contact-band { background: #181817; color: #f8f6f1; }
.contact-band-inner {
  display: grid; gap: 3rem; max-width: 1400px; margin: 0 auto;
  padding: 6rem 1.5rem;
}
@media (min-width: 768px) {
  .contact-band-inner { grid-template-columns: repeat(12, 1fr); padding: 7rem 3rem; }
  .contact-band-inner .col-5 { grid-column: span 5; }
  .contact-band-inner .col-7 { grid-column: span 7; }
}
.contact-form { display: grid; gap: 1rem; }
.contact-form .row-2 { display: grid; gap: 1rem; }
@media (min-width: 768px) { .contact-form .row-2 { grid-template-columns: 1fr 1fr; } }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  background-color: #e3e0d7;
  color: #181817;
  border: 0;
  border-radius: 2px;
  font-family: inherit;
  font-weight: 300;
  outline: none;
  box-sizing: border-box;
}

/* Keep text inputs and dropdowns the same height in Safari, Chrome and Firefox. */
.contact-form input:not([type="hidden"]),
.contact-form select {
  height: 41px !important;
  min-height: 41px !important;
}

/* Remove Safari's native compact select UI and use a restrained custom chevron. */
.contact-form select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  display: block;
  line-height: 1.2 !important;
  padding: 0 2.75rem 0 1rem !important;
  margin: 0;
  background-color: #e3e0d7 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23181817' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 10px 6px !important;
  cursor: pointer;
}

.contact-form select::-ms-expand { display: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: rgba(24,24,23,0.5);
}
/* Lighter contact band variant used on project detail pages */
.contact-band--light { background: #f8f6f1; color: #181817; }
.contact-band--light .font-mono-tag { color: #6a6a66; }
.contact-band--light .btn-outline-light { border-color: rgba(24,24,23,0.6); color: #181817; }
.contact-band--light .btn-outline-light:hover { background: #181817; color: #f8f6f1; }
.contact-form textarea { resize: none; }
.contact-form .submit-row { display: flex; justify-content: center; padding-top: 0.5rem; }

/* ============ Shop banner (homepage bottom) ============ */
.shop-banner { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .shop-banner { grid-template-columns: 1fr 1fr; } }
.shop-banner img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 768px) { .shop-banner img { height: 100%; aspect-ratio: auto; } }
.shop-banner-text { display: flex; flex-direction: column; justify-content: center; padding: 4rem 2rem; }
@media (min-width: 768px) { .shop-banner-text { padding: 4rem 4rem; } }

/* ============ Footer ============ */
.site-footer { background: #181817; color: #f8f6f1; }
.site-footer-inner {
  display: grid; gap: 2.5rem; max-width: 1400px; margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}
@media (min-width: 768px) { .site-footer-inner { grid-template-columns: repeat(12, 1fr); padding: 5rem 3rem 2rem; } }
.site-footer .col-5 { grid-column: span 5; }
.site-footer .col-3 { grid-column: span 3; }
.site-footer .studio-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 1.25rem; }
.site-footer p { font-size: 0.875rem; line-height: 1.6; opacity: 0.7; margin: 0.75rem 0; }
.site-footer ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.site-footer li { font-size: 0.875rem; padding: 0.25rem 0; }
.site-footer-bottom {
  display: flex; justify-content: space-between; max-width: 1400px;
  margin: 0 auto; padding: 0 1.5rem 2rem; font-size: 11px; opacity: 0.6;
}
@media (min-width: 768px) { .site-footer-bottom { padding: 0 3rem 2rem; } }

/* ============ Mobile homepage refinements ============ */
@media (max-width: 767px) {
  .dark-band .display-lg {
    font-size: 1.6875rem;
  }

  .dark-band-inner .col-5 {
    padding-top: 1rem;
  }

  .phone {
    width: 200px;
  }

  .contact-band-inner h2,
  .shop-banner-text h2 {
    font-size: 2rem;
  }

  .logo-marquee-track {
    --logo-gap: 2.5rem;
    animation-duration: 28s;
  }

  .logo-marquee-track .client-logo {
    height: 4rem;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    text-align: left;
  }
}

/* ============ Generic page ============ */
.page-section {
  max-width: 1400px; margin: 6rem auto 0; padding: 0 1.5rem 6rem;
}
@media (min-width: 768px) { .page-section { padding: 0 3rem 8rem; margin-top: 8rem; } }
.page-hero { padding: 10rem 1.5rem 0; }
@media (min-width: 768px) { .page-hero { padding: 12rem 5rem 0; } }
.page-hero-inner { margin-left: auto; max-width: 48rem; text-align: right; }
.page-hero-inner h1 { margin-top: 1.5rem; }
.page-hero-inner p { margin-top: 1.5rem; font-size: 0.875rem; color: #6a6a66; }

/* ============ Services list ============ */
.services-list {
  max-width: 48rem; margin: 6rem auto 0; padding: 0 1.5rem;
  border-top: 1px solid rgba(24,24,23,0.2); border-bottom: 1px solid rgba(24,24,23,0.2);
}
.service-row {
  display: grid; gap: 1.5rem; padding: 3rem 0;
  border-bottom: 1px solid rgba(24,24,23,0.2);
}
.service-row:last-child { border-bottom: none; }
@media (min-width: 768px) { .service-row { grid-template-columns: 2fr 4fr 6fr; } }
.service-row .title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 1.5rem; }
@media (min-width: 768px) { .service-row .title { font-size: 1.875rem; } }
.service-row .body { font-size: 0.875rem; line-height: 1.6; color: #6a6a66; }
.services-cta {
  max-width: 48rem; margin: 6rem auto; padding: 0 1.5rem 9rem;
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start;
}
@media (min-width: 768px) { .services-cta { flex-direction: row; align-items: center; justify-content: space-between; } }
.services-cta p { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 1.5rem; max-width: 36rem; margin: 0; }
@media (min-width: 768px) { .services-cta p { font-size: 1.875rem; } }

/* ============ Projects archive ============ */
.projects-archive {
  max-width: 1400px; margin: 6rem auto 0;
  padding: 0 1.5rem 8rem;
  display: grid; gap: 5rem 2rem;
}
@media (min-width: 768px) {
  .projects-archive { grid-template-columns: 1fr 1fr; margin-top: 8rem; padding: 0 3rem 8rem; }
  .projects-archive > .full { grid-column: span 2; }
  .projects-archive > .full img { aspect-ratio: 16/9 !important; }
}
.archive-card .img-wrap { overflow: hidden; background: #e7e3d9; }
.archive-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.7s ease; }
.archive-card:hover img { transform: scale(1.02); }
.archive-card .row { display: block; margin-top: 1rem; }
.archive-card .row .cat { font-size: 10px; color: #6a6a66; display: block; margin-bottom: 0.75rem; }
.archive-card .row .title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 1.5rem; margin: 0; line-height: 1.15; }
.archive-card .row .meta-sub { font-size: 0.875rem; color: #6a6a66; margin-top: 0.125rem; }

/* ============ Single project ============ */
.project-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; margin-top: 2rem; }
.project-tag {
  border: 1px solid rgba(24,24,23,0.2); border-radius: 9999px;
  padding: 0.25rem 0.75rem; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; color: #6a6a66;
}
.proj-hero-img {
  max-width: 1400px; margin: 4rem auto 0; padding: 0 1.5rem;
}
@media (min-width: 768px) { .proj-hero-img { padding: 0 5rem; margin-top: 6rem; } }
.proj-hero-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.proj-section {
  max-width: 1400px; margin: 0 auto; padding: 8rem 1.5rem;
  display: grid; gap: 3rem;
}
@media (min-width: 768px) {
  .proj-section { padding: 8rem 5rem; grid-template-columns: repeat(12, 1fr); }
  .proj-section .col-5 { grid-column: span 5; align-self: center; }
  .proj-section .col-7 { grid-column: 7 / span 6; }
}
.proj-section h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .proj-section h2 { font-size: 2.25rem; } }
.proj-section p { margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.6; color: #6a6a66; }
.proj-section img { width: 100%; object-fit: cover; }
.proj-fullwidth img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.proj-fullwidth .caption-wrap { max-width: 1400px; margin: 0 auto; padding: 1rem 1.5rem 0; }
@media (min-width: 768px) { .proj-fullwidth .caption-wrap { padding: 1rem 5rem 0; } }
.proj-dark { background: #181817; color: #f8f6f1; overflow: visible; }
.proj-dark .proj-section { overflow: visible; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .proj-dark .proj-section { padding-top: 6rem; padding-bottom: 6rem; } }
.proj-dark .proj-section p { color: rgba(248,246,241,0.8); }
.proj-dark .proj-section .col-5 img { margin-top: 0; position: relative; z-index: 2; }
@media (min-width: 768px) {
  .proj-dark .proj-section .col-5 img.lift { margin-top: -10rem; }
}
.proj-back { max-width: 1400px; margin: 0 auto; padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .proj-back { padding: 2.5rem 5rem; } }

/* ============ Unified caption styles ============ */
.caption,
.proj-hero-img .caption,
.proj-section .caption,
.proj-fullwidth .caption {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #6a6a66;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
}
.proj-dark .caption { color: rgba(248,246,241,0.7); }

/* ============ Shop grid ============ */
.shop-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem 2rem;
  max-width: 1400px; margin: 6rem auto 0; padding: 0 1.5rem 8rem;
}
@media (min-width: 640px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(4, 1fr); padding: 0 3rem 8rem; margin-top: 8rem; } }
.product .img-wrap { overflow: hidden; background: #e7e3d9; }
.product img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.7s ease; }
.product:hover img { transform: scale(1.02); }
.product .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; }
.product .name { font-size: 0.875rem; }
.product .price { font-size: 0.875rem; }
.product .add {
  margin-top: 1rem; width: 100%; border: 1px solid #181817; background: transparent;
  border-radius: 9999px; padding: 0.5rem 0; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em; cursor: pointer;
  font-family: inherit;
}
.product .add:hover { background: #181817; color: #f8f6f1; }

/* ============ Forms (contact, intake) ============ */
.styled-form { max-width: 48rem; margin: 6rem auto 0; padding: 0 1.5rem 9rem; display: grid; gap: 3rem; }
@media (min-width: 768px) { .styled-form { margin-top: 8rem; } }
.field { display: block; }
.field > .label { font-family: ui-monospace, Menlo, monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6a6a66; }
.field input[type=text], .field input[type=email], .field textarea {
  margin-top: 0.5rem; width: 100%;
  border: none; border-bottom: 1px solid rgba(24,24,23,0.2);
  background: transparent; padding: 0.75rem 0; font-size: 0.875rem;
  font-family: inherit; outline: none;
}
.field input:focus, .field textarea:focus { border-bottom-color: #181817; }
.field textarea { resize: none; }
.row-2-cols { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .row-2-cols { grid-template-columns: 1fr 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.pill {
  border: 1px solid rgba(24,24,23,0.2); background: transparent;
  border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: #6a6a66;
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.pill:hover { border-color: #181817; color: #181817; }
.pill.active { background: #181817; color: #f8f6f1; border-color: #181817; }

/* ============ Contact page split ============ */
.contact-page-grid {
  max-width: 1400px; margin: 6rem auto 0;
  padding: 0 1.5rem 9rem;
  display: grid; gap: 4rem;
}
@media (min-width: 768px) {
  .contact-page-grid { grid-template-columns: repeat(12, 1fr); padding: 0 3rem 11rem; margin-top: 8rem; }
  .contact-page-grid .col-5 { grid-column: span 5; }
  .contact-page-grid .col-6-7 { grid-column: 7 / span 6; }
}

/* ============ About ============ */
.about-img { max-width: 1400px; margin: 6rem auto 0; padding: 0 1.5rem; }
@media (min-width: 768px) { .about-img { padding: 0 3rem; margin-top: 8rem; } }
.about-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.about-text {
  max-width: 1400px; margin: 0 auto;
  display: grid; gap: 2.5rem; padding: 6rem 1.5rem 8rem;
}
@media (min-width: 768px) {
  .about-text { grid-template-columns: repeat(12, 1fr); padding: 6rem 3rem 8rem; }
  .about-text .col-3 { grid-column: span 3; }
  .about-text .col-7 { grid-column: 6 / span 7; }
}
.about-text p { margin: 0 0 1.5rem; font-size: 0.875rem; line-height: 1.7; color: #6a6a66; }
@media (min-width: 768px) { .about-text p { font-size: 1rem; } }
.about-text p.lead { color: #181817; }

/* ============ Utility ============ */
.text-right { text-align: right; }
.center { text-align: center; }
.hidden { display: none; }
.notice {
  background: #e9e5d8; color: #181817; padding: 1rem 1.25rem;
  border-radius: 4px; margin-bottom: 1rem; font-size: 0.875rem;
}
.notice.error { background: #f5d6d6; }

/* ============ Gutenberg block alignment ============ */
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.alignwide { width: 100%; max-width: 1400px; margin-left: auto; margin-right: auto; }
.wp-block-image img { display: block; }

/* ============ Intake form submit button ============ */
.intake-submit-btn {
  background: #f8f6f1;
  color: #181817;
  border-color: #181817;
}

.intake-submit-btn:hover {
  background: #181817;
  color: #f8f6f1;
}

.proj-hero-img video,
.proj-section video,
.proj-fullwidth video {
  width: 100%;
  display: block;
  object-fit: cover;
}
/* Form spam protection */
.psd-hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.psd-turnstile-wrap {
  margin-top: 0.25rem;
  max-width: 320px;
}
