/*
Theme Name: True Reflections Photo Booth Co.
Theme URI: https://truereflectionsevents.com/
Author: True Reflections Photo Booth Co.
Description: A custom one-page WordPress theme for True Reflections Photo Booth Co., with editable brand imagery and a WordPress-powered contact form.
Version: 1.0.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: true-reflections
*/

:root {
  --black: #020403;
  --charcoal: #090d0b;
  --charcoal-soft: #111510;
  --ivory: #f3efe7;
  --muted: #c8c5bd;
  --olive: #797a3e;
  --olive-bright: #98964c;
  --gold: #c59a34;
  --field: #252720;
  --line: rgba(158, 151, 72, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ivory);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  margin-top: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
}

::selection {
  background: var(--olive);
  color: white;
}

.content-width,
.site-header,
.site-footer {
  width: calc(100% - 110px);
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  height: clamp(90px, 10.2vw, 116px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  background: var(--black);
}

.logo-link {
  width: clamp(222px, 25.2vw, 285px);
  height: clamp(66px, 7.8vw, 88px);
  overflow: hidden;
  flex: none;
}

.reference-crop {
  position: relative;
  overflow: hidden;
}

.reference-crop img {
  max-width: none;
  position: absolute;
  user-select: none;
  pointer-events: none;
}

.logo-crop,
.footer-logo-crop {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--black);
}

.logo-crop img,
.footer-logo-crop img {
  width: 394%;
  left: -13%;
  top: -21%;
}

.brand-logo-image {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 100%;
  position: static;
  object-fit: contain;
  object-position: left center;
}

.footer-logo-crop .brand-logo-image {
  object-position: left center;
}

.outline-button,
.solid-button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.105em;
  font-size: 10px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.outline-button:hover,
.outline-button:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.header-button {
  width: 240px;
  justify-content: space-between;
  padding: 0 17px 0 22px;
  white-space: nowrap;
  line-height: 1;
}

.header-button svg {
  flex: none;
  transition: transform 180ms ease;
}

.header-button:hover svg,
.header-button:focus-visible svg {
  transform: translateX(3px);
}

.header-button-compact {
  display: none;
}

.hero-section {
  width: 100%;
  max-width: 1200px;
  min-height: 620px;
  height: clamp(620px, calc(100svh - 100px), 780px);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  position: relative;
  background: var(--black);
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--black) 0%,
    rgba(2, 4, 3, 0.92) 30%,
    rgba(2, 4, 3, 0.62) 43%,
    rgba(2, 4, 3, 0.18) 56%,
    transparent 68%
  );
}

.hero-photo img {
  width: auto;
  height: 100%;
  min-width: 0;
  right: 0;
  left: auto;
  top: 0;
  transform: none;
}

.hero-copy {
  width: min(37%, 410px);
  margin-left: max(55px, calc((100% - 1090px) / 2));
  padding-top: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.kicker {
  margin: 0 0 16px;
  color: var(--olive-bright);
  text-transform: uppercase;
  letter-spacing: 0.135em;
  font-size: 11px;
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.025em;
}

h1 {
  margin-bottom: 9px;
  font-size: clamp(52px, 5.8vw, 70px);
  line-height: 0.99;
}

h1 span {
  display: block;
  margin-top: 1px;
  color: var(--olive);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  text-transform: none;
  letter-spacing: -0.07em;
  font-size: 0.7em;
  line-height: 1.1;
}

.short-rule {
  width: 40px;
  height: 1px;
  margin: 12px 0 14px;
  background: var(--gold);
}

.hero-description {
  max-width: 350px;
  margin-bottom: 20px;
  color: #efede7;
  font-size: 12px;
  line-height: 1.58;
}

.solid-button {
  min-height: 38px;
  background: linear-gradient(90deg, #7f803f, #65672f);
  border-color: #7f803f;
  color: #fff;
  padding-inline: 23px 18px;
  font-size: 9px;
}

.solid-button:hover,
.solid-button:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.about-section {
  min-height: clamp(640px, 85svh, 860px);
  padding-block: 88px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 76% 34%, rgba(107, 105, 57, 0.07), transparent 34%),
    linear-gradient(90deg, #080b09, #0b0e0c 55%, #070a08);
}

.about-grid {
  min-height: 289px;
  display: grid;
  grid-template-columns: 49% 1fr;
  align-items: center;
  gap: 55px;
}

.about-collage {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1.49 / 1;
  border: 1px solid rgba(197, 154, 52, 0.72);
}

.about-collage img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: 50% 35%;
}

.about-copy {
  max-width: 470px;
}

.about-copy .kicker {
  margin-bottom: 13px;
}

.about-copy h2 {
  margin-bottom: 9px;
  font-size: clamp(28px, 3.05vw, 37px);
  line-height: 1.1;
  letter-spacing: 0.065em;
}

.about-copy h2 span {
  color: var(--olive);
}

.about-copy p:not(.kicker) {
  max-width: 450px;
  margin-bottom: 16px;
  color: #eeece6;
  font-size: 11.5px;
  line-height: 1.7;
}

.about-copy .outline-button {
  min-width: 222px;
  min-height: 36px;
  font-size: 9px;
}

.services-section {
  min-height: clamp(620px, 80svh, 820px);
  padding-block: 88px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 50% 6%, rgba(132, 129, 67, 0.06), transparent 35%),
    var(--black);
}

.services-heading {
  margin-bottom: 38px;
  text-align: center;
}

.services-heading .kicker {
  margin-bottom: 12px;
  font-size: 13px;
}

.services-heading h2 {
  margin-bottom: 13px;
  color: var(--ivory);
  font-size: clamp(32px, 3.8vw, 46px);
  letter-spacing: 0.105em;
}

.center-rule {
  width: 42px;
  height: 1px;
  margin: 0 auto 13px;
  background: var(--gold);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 250px;
  padding: 0 46px;
  text-align: center;
}

.service-card + .service-card {
  border-left: 1px solid var(--line);
}

.service-icon {
  display: block;
  margin: 0 auto 18px;
  color: var(--olive-bright);
}

.service-card h3 {
  max-width: 275px;
  min-height: 50px;
  margin: 0 auto 12px;
  color: var(--olive-bright);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.42;
}

.service-card p {
  max-width: 275px;
  min-height: 66px;
  margin: 0 auto 13px;
  color: #eceae4;
  font-size: 13px;
  line-height: 1.62;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.contact-section {
  min-height: clamp(640px, 82svh, 840px);
  padding-block: 88px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 88% 50%, rgba(87, 92, 57, 0.17), transparent 32%),
    linear-gradient(90deg, #11140f, #090c09 58%, #0e120d);
  border-top: 1px solid rgba(255, 255, 255, 0.025);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: stretch;
}

.form-column .kicker,
.contact-information .kicker {
  margin-bottom: 13px;
  font-size: 13px;
}

.form-column h2 {
  margin-bottom: 12px;
  font-size: clamp(36px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.form-column .short-rule {
  margin: 0 0 20px;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form label {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(193, 160, 74, 0.1);
  border-radius: 0;
  outline: 0;
  background: rgba(37, 39, 32, 0.78);
  color: #fff;
  font-size: 13px;
}

.contact-form input {
  height: 44px;
  margin-bottom: 12px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 108px;
  margin-bottom: 12px;
  padding: 13px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ecebe6;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: inset 0 0 0 1px var(--gold);
}

.contact-form button {
  width: 100%;
  height: 46px;
  border: 0;
  background: linear-gradient(90deg, #77783d, #686a35);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}

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

.form-status {
  min-height: 16px;
  margin: 8px 0 0;
  color: #aaa77d;
  text-align: center;
  font-size: 11px;
}

.form-status.is-success {
  color: #b9be75;
}

.form-status.is-error {
  color: #e4a1a1;
}

.contact-form-honeypot {
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
  left: -10000px !important;
  overflow: hidden !important;
}

.contact-information {
  min-height: 420px;
  padding-left: 64px;
  border-left: 1px solid rgba(193, 160, 74, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.contact-list a,
.contact-list > div {
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: center;
  gap: 12px;
  color: #f1efe8;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-list svg {
  color: #c1a04a;
}

.script-note {
  width: min(100%, 460px);
  margin: 26px 0 0 0;
  padding-bottom: 13px;
  position: relative;
  color: var(--gold);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.35;
  transform: rotate(-2deg);
}

.script-note::after {
  width: min(78%, 360px);
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--gold);
  content: "";
}

.site-footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 255px 1fr 100px;
  align-items: center;
  gap: 24px;
  background: var(--black);
}

.footer-logo-crop {
  width: 215px;
  height: 64px;
}

.site-footer > p {
  margin: 0;
  color: #8d8b84;
  text-align: center;
  font-size: 9px;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.social-links > a,
.social-links > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.social-letter {
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.instagram-mark {
  font-size: 24px;
  line-height: 1;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  position: absolute;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .content-width,
  .site-header,
  .site-footer {
    width: calc(100% - 48px);
    max-width: 760px;
  }

  .hero-section {
    height: auto;
    min-height: 760px;
    padding-top: 1px;
  }

  .hero-copy {
    width: calc(100% - 48px);
    max-width: 510px;
    margin: 55px auto 0;
    padding: 0;
    position: relative;
    top: auto;
    transform: none;
  }

  .hero-photo {
    inset: auto 0 0;
    width: 100%;
    height: 400px;
  }

  .hero-photo::after {
    background: linear-gradient(180deg, var(--black), transparent 25%);
  }

  .hero-photo img {
    width: auto;
    height: 100%;
    min-width: 0;
    right: 0;
    left: auto;
    top: 0;
    transform: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 0;
  }

  .about-collage {
    width: min(100%, 510px);
  }

  .about-copy {
    max-width: 580px;
  }

  .service-card {
    padding-inline: 22px;
  }

  .contact-grid {
    gap: 42px;
  }

  .contact-information {
    padding-left: 40px;
  }

  .site-footer {
    grid-template-columns: 215px 1fr auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 86px;
  }

  .logo-link {
    width: 180px;
    height: 55px;
  }

  .header-button {
    width: 190px;
    min-height: 36px;
    padding: 0 13px 0 16px;
    font-size: 8px;
  }

  .hero-section {
    min-height: 720px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin-top: 46px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 65px);
  }

  .hero-photo {
    height: 360px;
  }

  .hero-photo img {
    width: auto;
    height: 100%;
    right: 0;
    left: auto;
    top: 0;
  }

  .content-width,
  .site-header,
  .site-footer {
    width: calc(100% - 36px);
    max-width: none;
  }

  .about-section,
  .services-section,
  .contact-section {
    min-height: 100svh;
    padding-block: 72px;
  }

  .about-grid {
    padding-block: 0;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 34px 10px;
  }

  .service-card + .service-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-card p,
  .service-card h3 {
    min-height: 0;
  }

  .contact-grid {
    gap: 42px;
  }

  .contact-information {
    min-height: 0;
    padding: 42px 0 0;
    border-top: 1px solid rgba(193, 160, 74, 0.25);
    border-left: 0;
    justify-content: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding-block: 12px;
  }

  .footer-logo-crop {
    width: 185px;
    height: 56px;
  }

  .site-footer > p {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 8px;
  }
}

@media (max-width: 450px) {
  .logo-link {
    width: 140px;
    height: 44px;
  }

  .header-button {
    width: 126px;
    min-width: 0;
    padding-inline: 11px;
  }

  .header-button-full {
    display: none;
  }

  .header-button-compact {
    display: inline;
  }

  .solid-button {
    width: 100%;
    padding-inline: 12px;
    font-size: 8px;
  }

  .about-collage {
    aspect-ratio: 1.45 / 1;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-list a,
  .contact-list > div {
    font-size: 10px;
  }

  .script-note {
    font-size: 15px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .site-footer > p {
    grid-row: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
