/**
 * Peristyle theme styles — Brooklyn stacked layout.
 */

/* -------------------------------------------------------------------------- */
/* Design tokens                                                              */
/* -------------------------------------------------------------------------- */

:root {
  --bg: #F7F4EF;
  --cream: #EFE8DD;
  --pale: #f8f8f8;
  --taupe: #B8A89A;
  --stone: #8E8377;
  --charcoal: #1F1F1F;
  --white: #FFFFFF;
  --soft: #666157;
  --line: rgba(31, 31, 31, .12);
  --max: 1040px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Questrial", Arial, sans-serif;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.7;
  letter-spacing: .015em;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

/* -------------------------------------------------------------------------- */
/* Layout & utilities                                                         */
/* -------------------------------------------------------------------------- */

.wrap {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.narrow {
  width: min(860px, calc(100% - 44px));
  margin-inline: auto;
}

.smallcaps {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--stone);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 13px 24px;
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
  transition: .25s;
  background: transparent;
}

.btn:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.section-title--sub {
  font-size: 26px;
  margin-top: 26px;
}

.divider-title--sm {
  font-size: 18px;
}

.divider-title--spaced {
  margin-top: 44px;
}

.crest-label {
  margin-bottom: 28px;
}

.lead--contact {
  color: rgba(255, 255, 255, .84);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--white);
  clip: auto !important;
  clip-path: none;
  color: var(--charcoal);
  display: block;
  font-size: 14px;
  height: auto;
  left: 12px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  top: 12px;
  width: auto;
  z-index: 100000;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

#header-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 96px;
  display: flex;
  align-items: center;
  color: var(--white);
  transition: .35s ease;
  background: linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

#header-section.scrolled {
  height: 76px;
  background: rgba(247, 244, 239, .93);
  backdrop-filter: blur(18px);
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.center-menu {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  width: min(1100px, calc(100% - 34px));
  margin: auto;
}

.menu-side {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.menu-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu-side li {
  margin: 0;
  padding: 0;
}

.menu-left {
  justify-content: flex-end;
}

.menu-right {
  justify-content: flex-start;
}

.site-logo {
  font-family: var(--serif);
  font-size: 31px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.site-logo span {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .36em;
  margin-top: 7px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font-size: 28px;
}

#header-section.open .menu-left {
  border-bottom: 1px solid var(--line);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

#ut-hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: var(--charcoal);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 28s infinite;
  transform: scale(1.06);
}

.hero-slide:nth-child(1) {
  background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-one-1.jpeg");
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-four.jpeg");
  animation-delay: 7s;
}

.hero-slide:nth-child(3) {
  background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-two-1.jpeg");
  animation-delay: 14s;
}

.hero-slide:nth-child(4) {
  background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-three-1.jpeg");
  animation-delay: 21s;
}

#ut-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 24, .54);
  z-index: 1;
}

@keyframes heroFade {
  0%,
  100% {
    opacity: 0;
  }

  8%,
  27% {
    opacity: 1;
  }

  35% {
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 42px));
  padding-top: 75px;
}

.hero-mark {
  font-family: var(--serif);
  font-size: clamp(92px, 15vw, 178px);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 46px);
  margin-top: 22px;
}

.hero-content h2 {
  font-family: var(--sans);
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 16px;
}

.hero-content .btn {
  margin-top: 38px;
}

.hero-content .btn:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

/* -------------------------------------------------------------------------- */
/* Page sections                                                              */
/* -------------------------------------------------------------------------- */

.vc_section {
  padding: 86px 0;
}

.section-center {
  text-align: center;
}

.section-title {
  font-size: clamp(34px, 5vw, 50px);
  margin: 16px auto 18px;
  max-width: 850px;
}

.section-title b {
  font-weight: 600;
}

.lead {
  font-size: 17px;
  color: var(--soft);
  max-width: 780px;
  margin: 0 auto;
}

.divider-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
}

.divider-title::before,
.divider-title::after {
  content: "";
  width: 92px;
  height: 1px;
  background: var(--line);
}

.light {
  background: #f7f7f7;
}

.simple-section {
  padding: 60px 0;
  text-align: center;
}

.brand-feature {
  padding: 70px 0;
  text-align: center;
}

.feature-image {
  width: min(560px, calc(100% - 44px));
  margin: 0 auto 24px;
  border: 1px solid rgba(31, 31, 31, .08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
  background: #ddd;
}

.feature-image img {
  width: 100%;
  height: auto;
}

.feature-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stacked-copy {
  max-width: 760px;
  margin: auto;
  color: var(--soft);
  font-size: 16px;
}

/* Etsy */

.etsy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 42px;
  align-items: start;
}

.etsy-card {
  text-align: center;
}

.etsy-card .shot {
  background: white;
  padding: 9px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .08);
  border: 1px solid rgba(31, 31, 31, .08);
  margin-bottom: 18px;
}

.etsy-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.etsy-card p {
  font-size: 14px;
  color: var(--soft);
  max-width: 360px;
  margin: 10px auto 18px;
}

/* Testimonials */

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 58px;
  align-items: start;
}

.review-card {
  background: white;
  padding: 0 0 28px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .09);
  border: 1px solid rgba(31, 31, 31, .06);
  text-align: center;
}

.review-card:nth-child(2) {
  margin-top: 32px;
}

.review-head {
  padding: 24px 22px 12px;
}

.review-head h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.stars {
  font-size: 15px;
  letter-spacing: .18em;
  margin-top: 6px;
}

.review-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.review-card blockquote {
  margin: 22px 24px 14px;
  font-size: 14px;
  color: var(--soft);
  line-height: 1.75;
}

.review-card cite {
  font-style: normal;
  font-size: 13px;
  color: var(--stone);
  display: block;
  margin-bottom: 18px;
}

/* Featured & services */

.crest {
  width: 104px;
  height: auto;
  margin: 0 auto 18px;
  opacity: .72;
}

.product-list,
.service-list {
  max-width: 820px;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: 16px;
}

.product-list p,
.service-list p {
  margin-bottom: 18px;
}

/* Metrics */

.metric {
  background: #f4f5f6;
  text-align: center;
  padding: 74px 0;
}

.metric h2 {
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
}

.metric p {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--soft);
}

/* Image slider */

.image-slider {
  height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.image-slider .s {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: sliderFade 18s infinite;
}

.image-slider .s:nth-child(1) {
  background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-three-1.jpeg");
  animation-delay: 0s;
}

.image-slider .s:nth-child(2) {
  background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-one-1.jpeg");
  animation-delay: 6s;
}

.image-slider .s:nth-child(3) {
  background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-two-1.jpeg");
  animation-delay: 12s;
}

.image-slider .s:nth-child(4) {
	background-image: url("https://peristyleinteriors.com/wp-content/uploads/2026/06/peristyle-background-image-four.jpeg");
	animation-delay:18s;
} 

.image-slider::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 130px;
  background: rgba(247, 244, 239, .62);
  display: grid;
  place-items: center;
  font-size: 64px;
  font-family: var(--serif);
  color: var(--charcoal);
}

@keyframes sliderFade {
  0%,
  100% {
    opacity: 0;
  }

  10%,
  34% {
    opacity: 1;
  }

  44% {
    opacity: 0;
  }
}

/* Contact */

.contact-section {
  position: relative;
  background: url("https://peristyleinteriors.com/wp-content/uploads/2026/05/peristyle_work.jpeg") center / cover;
  color: var(--white);
  padding: 92px 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 24, .72);
}

.contact-section .wrap {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 44px;
  text-align: left;
}

.contact-details p,
.contact-details li {
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.contact-details ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.contact-details a {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .91);
  padding: 12px;
  font-family: var(--sans);
  font-size: 14px;
}

.contact-form button {
  justify-self: start;
  border: 0;
  background: #111;
  color: var(--white);
  padding: 12px 22px;
  text-transform: uppercase;
  letter-spacing: .2em;
  cursor: pointer;
  font-size: 11px;
}

.contact-form button:disabled {
  opacity: .65;
  cursor: wait;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-notice {
  grid-column: 1 / -1;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.contact-notice--success {
  background: rgba(255, 255, 255, .94);
  color: #1f4d2c;
  border-color: rgba(31, 77, 44, .18);
}

.contact-notice--error {
  background: rgba(255, 255, 255, .94);
  color: #6b1f1f;
  border-color: rgba(107, 31, 31, .18);
}

/* -------------------------------------------------------------------------- */
/* Footer — three tiers: social · nav+crest · legal strip                     */
/* -------------------------------------------------------------------------- */

#footer.site-footer {
  background: #101112;
  color: rgba(255, 255, 255, .88);
  padding: 0;
}

.footer-stack {
  width: min(1200px, calc(100% - 44px));
  margin-inline: auto;
  padding: 40px 0 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-tier {
  width: 100%;
}

.footer-tier--social {
  display: flex;
  justify-content: center;
  padding-bottom: 4px;
}

.footer-tier--social .footer-icons {
  justify-content: center;
  gap: 22px;
}

.footer-tier--main.footer-sc {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav--left {
  align-items: flex-start;
  text-align: right;
  padding-right: 16px;
}

.footer-nav--right {
  align-items: flex-end;
  text-align: right;
  padding-left: 16px;
}

.footer-nav-link {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .86);
  transition: color .2s ease;
}

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

.footer-crest {
  display: block;
  justify-self: center;
  line-height: 0;
}

.footer-crest img {
  width: 104px;
  height: auto;
  opacity: .95;
}

.footer-crest:hover img {
  opacity: 1;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-icon {
  display: inline-flex;
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease, transform .2s ease;
}

.footer-icon:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.footer-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

#legal.site-legal {
  background: #0a0b0c;
  border-top: 1px solid rgba(255, 255, 255, .08);
  min-height: 36px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legal-sc {
  width: min(1200px, calc(100% - 44px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding: 8px 0;
}

.legal-copy {
  margin: 0;
  justify-self: start;
  color: rgba(255, 255, 255, .58);
}

.legal-copy-sep {
  color: rgba(255, 255, 255, .28);
}

.legal-brand {
  color: rgba(255, 255, 255, .72);
}

.legal-links {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.legal-links a {
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--white);
}

.legal-links-list,
.legal-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.legal-links-list li,
.legal-links li {
  margin: 0;
}

.legal-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.legal-credit,
.legal-top {
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
}

.legal-credit:hover,
.legal-top:hover {
  color: var(--white);
}

/* -------------------------------------------------------------------------- */
/* Legal pages                                                                */
/* -------------------------------------------------------------------------- */

.legal-section {
  padding: 140px 0 88px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .06);
  padding: 48px 44px;
}

.legal-effective {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
}

.legal-card h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 24px;
}

.legal-card h2 {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 28px 0 12px;
  font-weight: 600;
}

.legal-card p,
.legal-card li {
  color: var(--soft);
  font-size: 15px;
}

.legal-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-card a {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  #header-section {
    height: 76px;
    background: rgba(20, 22, 24, .55);
  }

  .center-menu {
    display: flex;
    justify-content: space-between;
  }

  .menu-side {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  #header-section.open .menu-side {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--bg);
    color: var(--charcoal);
    flex-direction: column;
    text-align: center;
    padding: 28px;
  }

  .etsy-grid,
  .review-cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .review-card:nth-child(2) {
    margin-top: 0;
  }

  .vc_section {
    padding: 68px 0;
  }

  .image-slider {
    height: 430px;
  }

  .divider-title::before,
  .divider-title::after {
    width: 44px;
  }

  .footer-stack {
    padding: 36px 0 40px;
    gap: 28px;
  }

  .footer-tier--main.footer-sc {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .footer-nav--left,
  .footer-nav--right {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .footer-tier--social .footer-icons {
    justify-content: center;
  }

  .legal-sc {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    padding: 12px 0 14px;
  }

  .legal-copy,
  .legal-actions {
    justify-self: center;
  }

  .legal-links {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .legal-card {
    padding: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .image-slider .s {
    animation: none;
    opacity: 0;
  }

  .hero-slide:nth-child(1),
  .image-slider .s:nth-child(1) {
    opacity: 1;
  }
}
