/*
Theme Name: Studio Urbanseed
Theme URI: https://studiourbanseed.com/
Author: Rectifier Infotech
Author URI: https://rectifierinfotech.com/
Description: A premium minimalist WordPress theme for architecture and interior design with Elementor compatibility and demo import.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studio-urbanseed
Tags: custom-logo, custom-menu, full-width-template, accessibility-ready, responsive-layout, one-column
*/

:root {
  --white: #ffffff;
  --black: #1A1A1A;
  --muted: #6f6f6f;
  --accent: #C5A880;
  --accent-soft: rgba(197,168,128,0.14);
  --border: rgba(26,26,26,0.08);
  --max-width: 1320px;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
}

img, picture, video, canvas, svg {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-wrapper {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: -5.25rem;
  color: #fff;
  background: rgba(26,26,26,.52);
  transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

body:not(.home) .site-header {
  margin-bottom: 0;
  color: var(--black);
  background: #fff;
}

.site-header.is-scrolled {
  color: var(--black);
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 5.25rem;
  padding: .8rem var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.custom-logo-link {
  display: block;
}

.custom-logo {
  width: auto;
  max-height: 3rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: currentColor;
}

.logo-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-navigation {
  display: flex;
  align-items: center;
}

.primary-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.primary-menu li a {
  padding: 0.5rem 0;
}

.menu-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -0.5rem;
}

.menu-icon::after {
  top: 0.5rem;
}

.hero {
  min-height: min(100svh, 980px);
  position: relative;
  display: grid;
  align-items: end;
  padding: clamp(8rem, 17vh, 12rem) var(--page-gutter) clamp(5rem, 11vh, 8rem);
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__intro {
  max-width: 850px;
  margin: 0;
  text-align: left;
}

.hero__eyebrow {
  letter-spacing: 0.33em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero__title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  max-width: 13ch;
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.035em;
}

.hero__text {
  margin: 1.75rem 0 2rem;
  max-width: 32rem;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
}

.hero__actions {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.hero__caption {
  position: absolute;
  right: var(--page-gutter);
  bottom: 2rem;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero__caption a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.hero__caption a:hover,
.hero__caption a:focus-visible {
  color: var(--accent);
}

.btn, .btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.25rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn {
  background: var(--black);
  color: var(--white);
}

.btn--ghost {
  border: 1px solid rgba(255,255,255,.72);
  color: #fff;
  background: transparent;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  color: var(--black);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--black);
  border-color: var(--accent);
  background: var(--accent);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) var(--page-gutter);
}

.section--compact {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  max-width: 16ch;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 1rem;
  color: #8c7657;
  font-size: .7rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--muted);
  max-width: 28rem;
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--accent);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: #8c7657;
}

.about-grid,
.projects-grid,
.services-grid,
.metadata-grid,
.project-gallery {
  display: grid;
  gap: 2rem;
}

.about-grid {
  grid-template-columns: 1fr .78fr;
  gap: clamp(3rem, 10vw, 10rem);
  align-items: center;
}

.about-copy {
  max-width: 42rem;
}

.about-copy p {
  margin: 1.75rem 0;
  color: var(--muted);
  max-width: 34rem;
}

.about-visual {
  min-height: 0;
  aspect-ratio: 4 / 5;
  background: var(--accent-soft);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.project-card {
  position: relative;
  grid-column: span 5;
  min-height: clamp(22rem, 43vw, 38rem);
  overflow: hidden;
  background: #faf8f4;
}

.project-card:nth-child(4n + 1),
.project-card:nth-child(4n + 4) {
  grid-column: span 7;
}

.project-card:nth-child(even) {
  margin-top: clamp(1rem, 5vw, 5rem);
}

.project-card__visual {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .75s cubic-bezier(.2,.65,.3,1);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20,20,19,.78));
  opacity: .8;
  transition: opacity .3s ease;
}

.project-card:hover .project-card__overlay,
.project-card:focus-within .project-card__overlay {
  opacity: 1;
}

.project-card:hover .project-card__visual,
.project-card:focus-within .project-card__visual {
  transform: scale(1.035);
}

.project-card__content {
  position: absolute;
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  right: 1.25rem;
  color: #fff;
  z-index: 1;
}

.project-card__label {
  display: block;
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: 0.9;
}

.project-card__title {
  margin: 0.35rem 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
}

.project-card__link {
  position: absolute;
  inset: 0;
  display: block;
}

.projects-empty {
  grid-column: 1 / -1;
  color: var(--muted);
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 1.5rem 1rem 0 0;
  border-top: 1px solid rgba(26,26,26,.22);
  display: grid;
  align-content: start;
  gap: 1.25rem;
  min-height: 16rem;
}

.service-number {
  color: #8c7657;
  font-size: .72rem;
  letter-spacing: .12em;
}

.service-card h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.project-single {
  width: 100%;
}

.project-hero {
  min-height: min(76svh, 850px);
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  background-size: cover;
  background-position: center;
}

.project-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.3), rgba(26,26,26,0.94));
}

.project-hero__content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.project-meta {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.75rem;
  background: #f7f6f2;
}

.project-meta .section-title {
  font-size: 1.9rem;
  margin-bottom: .75rem;
}

.project-details-layout {
  display: grid;
  grid-template-columns: minmax(14rem, .7fr) 1.3fr;
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.project-meta__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.project-meta__label {
  font-weight: 600;
}

.project-content {
  color: var(--muted);
}

.project-description {
  margin-top: 0;
}

.project-gallery {
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.project-gallery figure {
  margin: 0;
  background: #f9f7f2;
}

.project-gallery img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
}

.section--contact {
  background: #f5f3ed;
}

.contact-cta {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.contact-cta .section-title {
  max-width: 14ch;
  margin-bottom: 1rem;
}

footer.site-footer {
  background: var(--black);
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) var(--page-gutter) 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr .7fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.footer-column h3 {
  margin: 0 0 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
}

.footer-column p,
.footer-column a,
.footer-column li {
  color: rgba(255,255,255,.72);
  font-size: .88rem;
}

.footer-column p {
  max-width: 22rem;
  margin-top: 0;
}

.footer-social-menu {
  display: grid;
  gap: .55rem;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-newsletter-widget {
  display: grid;
  gap: 1rem;
}

.footer-newsletter-widget input[type="email"],
.footer-newsletter-widget input[type="text"] {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.footer-newsletter-widget button,
.footer-newsletter-widget input[type="submit"] {
  width: max-content;
  padding: .9rem 1.2rem;
  border: 0;
  background: var(--accent);
  color: var(--black);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.62);
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr .8fr;
    gap: 3rem;
  }

  .project-card,
  .project-card:nth-child(4n + 1),
  .project-card:nth-child(4n + 4) {
    grid-column: span 6;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding-bottom: 1rem;
  }
}

@media (max-width: 780px) {
  .site-header {
    margin-bottom: -4.5rem;
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .primary-menu {
    position: absolute;
    left: var(--page-gutter);
    right: var(--page-gutter);
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 1rem 1.25rem;
    color: var(--black);
    box-shadow: 0 18px 60px rgba(0,0,0,.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-.75rem);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .primary-menu li a {
    display: block;
    padding: .8rem 0;
  }

  .site-navigation.open .primary-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
    color: currentColor;
  }

  .custom-logo-link,
  .custom-logo {
    display: block;
  }

  .custom-logo {
    width: auto;
    max-height: 2.8rem;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 90svh;
    padding-bottom: 5rem;
  }

  .section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero__title {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .hero__caption {
    left: var(--page-gutter);
    right: auto;
    font-size: .6rem;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-grid,
  .project-details-layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    aspect-ratio: 4 / 3;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:nth-child(4n + 1),
  .project-card:nth-child(4n + 4) {
    grid-column: 1;
    min-height: 26rem;
    margin-top: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .project-meta__item {
    justify-content: flex-start;
  }

  .project-meta__label {
    min-width: 5rem;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: .75rem 1rem;
  overflow: visible;
  clip: auto;
  color: var(--black);
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.hero {
  background-position: center 54%;
}

.hero__title {
  max-width: 11ch;
}

.section-note {
  max-width: 46rem;
  margin: -1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: .82rem;
}

.image-note {
  display: block;
  padding: .8rem 1rem;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-visual {
  position: relative;
}

.about-visual .image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  background: rgba(26,26,26,.58);
}

.project-card__type {
  display: block;
  margin-top: .5rem;
  color: rgba(255,255,255,.78);
  font-size: .63rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-principles {
  padding: 2rem var(--page-gutter);
  color: #fff;
  background: #252522;
}

.studio-principles__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
}

.studio-principles__inner p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.studio-principles__inner span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
}

.editorial-hero {
  min-height: min(68svh, 720px);
  display: flex;
  align-items: end;
  padding: clamp(8rem, 14vw, 12rem) var(--page-gutter) clamp(4rem, 8vw, 7rem);
  color: #fff;
  background-color: #49463e;
  background-position: center;
  background-size: cover;
}

.editorial-hero__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.editorial-hero__title {
  max-width: 10ch;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.035em;
}

.editorial-hero__rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  margin-top: 2rem;
  background: var(--accent);
}

.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2.5rem, 9vw, 9rem);
}

.editorial-split__body {
  padding-top: 1rem;
}

.editorial-image {
  margin-top: clamp(3rem, 8vw, 7rem);
}

.editorial-image img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}

.editorial-image .image-note {
  padding-left: 0;
}

.editorial-intro {
  max-width: 50rem;
  margin: 0 0 4rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.service-detail {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26,26,26,.2);
}

.service-detail h2 {
  margin: 2.4rem 0 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.service-detail p {
  color: var(--muted);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: clamp(2rem, 8vw, 8rem);
}

.contact-page-copy {
  padding-top: 1rem;
}

.editorial-content {
  max-width: 50rem;
}

.portfolio-hero {
  padding: clamp(9rem, 16vw, 14rem) var(--page-gutter) clamp(4rem, 8vw, 7rem);
  background: #f5f3ed;
}

.portfolio-hero .section-title {
  font-size: clamp(4rem, 9vw, 8rem);
}

.portfolio-hero .section-subtitle {
  margin-top: 1.5rem;
}

.portfolio-section {
  padding-top: 3rem;
}

.project-hero--detail {
  min-height: min(82svh, 900px);
  background-position: center 54%;
}

.project-hero--detail .project-hero__content {
  max-width: 60rem;
}

.project-hero--detail .section-title {
  max-width: 14ch;
  font-size: clamp(3.6rem, 9vw, 8rem);
}

.project-disclaimer {
  padding: 1rem var(--page-gutter);
  color: #5f513b;
  background: #f3efe7;
  font-size: .75rem;
  letter-spacing: .035em;
  text-align: center;
}

.project-meta {
  border-top: 2px solid var(--accent);
}

.project-meta__item {
  align-items: flex-start;
}

.project-meta__item > span:last-child {
  text-align: right;
}

.project-description {
  max-width: 48rem;
  font-size: 1.08rem;
}

.project-description p:first-child {
  margin-top: 0;
}

.project-gallery {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.project-gallery figure:nth-child(even) {
  margin-top: 5rem;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: none;
  object-fit: cover;
}

.elementor-home-content,
.elementor-page-content {
  min-height: 50vh;
}

@media (max-width: 780px) {
  .editorial-split,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-detail h2 {
    margin-top: 1.5rem;
  }

  .studio-principles__inner {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .editorial-hero {
    min-height: 65svh;
  }

  .editorial-hero__title,
  .portfolio-hero .section-title {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .studio-principles__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .studio-principles__inner p {
    grid-column: 1 / -1;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery figure:nth-child(even) {
    margin-top: 0;
  }
}
